Raised This Month: $51 Target: $400
 12% 

[L4D2] Gifts Drop & Spawn


Post New Thread Reply   
 
Thread Tools Display Modes
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 11-17-2017 , 04:42   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #31

Quote:
Originally Posted by Aceleracion View Post
It is a good idea, it may be, but it is not liked by the current cooperative servers. For the moment I will add the kit to the list of weapons that are given when a special gift is collected. I have ideas that I want to implement in the future.

Greetings.
or maybe after pick gift, spawn a witch , im waiting...

Last edited by hoanganh81097; 11-17-2017 at 04:42.
hoanganh81097 is offline
Farmoza
Member
Join Date: Dec 2016
Old 11-17-2017 , 04:55   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #32

Quote:
Originally Posted by Aceleracion View Post
Change the value of DATABASE_CONFIG to the configuration you have for your statistics in databases.cfg

The plugin reads the "players" table to insert the points. You should have a table called "players" in your statistics.

I'm updating the plugin to make it more understandable and create that table if it does not exist.

Greetings.
Thank you we will wait thanks for the plugin to understand he can not sorry for my English
Farmoza is offline
Aceleracion
Member
Join Date: Jul 2017
Location: Ecuador
Old 11-18-2017 , 02:41   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #33

I have updated the plugin to version 1.3.6 improving important things and adding some functionalities that you have requested, for the moment. If share and support this plugin, you may continue to update when unoccupied.
Check the main page of this thread.

Greetings.
PD: If you know Spanish, it would be better for me hahaha
__________________
by Aceleración
To succeed in your goals, use your true potential

Last edited by Aceleracion; 11-18-2017 at 02:43.
Aceleracion is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 11-18-2017 , 13:16   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #34

Aceleracion, can u make after pick gift, spawn witch or super infected T_T pleaseeeee
hoanganh81097 is offline
Striker black
Member
Join Date: Apr 2013
Old 11-18-2017 , 20:52   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #35

I'm using the version 1.3.5 and gives me no problem, works great, an excellent complement and unique.
I love this plugin


_____________________________________________ ______________________


Last edited by Striker black; 01-11-2019 at 14:01.
Striker black is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 11-19-2017 , 08:20   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #36

I tried 1.3.6 and have 2 problems even if database is on false.

When i copy the new database file:
Code:
L 11/19/2017 - 14:11:46: SourceMod error session started
L 11/19/2017 - 14:11:46: Info (map "c8m5_rooftop") (file "errors_20171119.log")
L 11/19/2017 - 14:11:46: [SM] Unable to load extension "clientprefs.ext": Could not find any suitable database configs
L 11/19/2017 - 14:11:46: [SM] Unable to load plugin "clientprefs.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 11/19/2017 - 14:11:46: [SM] Unable to load plugin "L4D2ModelChanger.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 11/19/2017 - 14:11:48: [SM] Unable to load plugin "ThirdPerson_To_Pov.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
Then when i try to collect the gift, nothing happens.
Code:
L 11/19/2017 - 14:13:01: SourceMod error session started
L 11/19/2017 - 14:13:01: Info (map "c8m5_rooftop") (file "errors_20171119.log")
L 11/19/2017 - 14:13:01: [SM] Exception reported: Array index is out of bounds
L 11/19/2017 - 14:13:01: [SM] Blaming: l4d2_gifts.smx
L 11/19/2017 - 14:13:01: [SM] Call stack trace:
L 11/19/2017 - 14:13:01: [SM]   [1] Line 1064, E:\Games\L4D2 Szerver\Szerver összetevők\Source\l4d2_gifts.sp::NotifyGift
L 11/19/2017 - 14:13:01: [SM]   [2] Line 783, E:\Games\L4D2 Szerver\Szerver összetevők\Source\l4d2_gifts.sp::Event_PlayerUse
No problem in 1.3.5, but i don't have it know. :/
__________________

"I've Got You In My Sights!"
KasperH is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 11-19-2017 , 10:33   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #37

What is the output of the following command?

sm exts list
__________________
Spirit_12 is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 11-19-2017 , 11:05   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #38

Quote:
Originally Posted by Spirit_12 View Post
What is the output of the following command?

sm exts list
If you asking me.

Code:
sm exts list
[SM] Displaying 14 extensions:
[01] Automatic Updater (1.8.0.6036): Updates SourceMod gamedata files
[02] Webternet (1.8.0.6036): Extension for interacting with URLs
[03] Left 4 Downtown 2 Extension (0.5.4.2): Downtown1's extension to perform useful L4D1/L4D2 calls
[04] BinTools (1.8.0.6036): Low-level C/C++ Calling API
[05] SDK Hooks (1.8.0.6036): Source SDK Hooks
[06] Top Menus (1.8.0.6036): Creates sorted nested menus
[07] SDK Tools (1.8.0.6036): Source SDK Tools
[08] Regex (1.8.0.6036): Provides regex natives for plugins
[09] GeoIP (1.8.0.6036): Geographical IP information
[10] <FAILED> file "geoipcity.ext.dll": error code 0000007e
[11] <FAILED> file "clientprefs.ext.dll": Could not find any suitable database configs
[12] <FAILED> file "steamtools.ext.dll": error code 0000007e
[13] <FAILED> file "SteamWorks.ext.dll": error code 0000007e
[14] <FAILED> file "curl.ext.dll": error code 0000007e
__________________

"I've Got You In My Sights!"
KasperH is offline
ricksfishin
Senior Member
Join Date: Oct 2017
Old 11-19-2017 , 12:10   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #39

Since i cannot compile this plugin. Is it possible to create a cvar to disable databases? nevermind got fix

Last edited by ricksfishin; 11-19-2017 at 12:58.
ricksfishin is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 11-19-2017 , 13:57   Re: [L4D2] Gifts Drop & Spawn
Reply With Quote #40

Quote:
Originally Posted by KasperH View Post
If you asking me.

Code:
sm exts list
[SM] Displaying 14 extensions:
[10] <FAILED> file "geoipcity.ext.dll": error code 0000007e
[11] <FAILED> file "clientprefs.ext.dll": Could not find any suitable database configs
[12] <FAILED> file "steamtools.ext.dll": error code 0000007e
[13] <FAILED> file "SteamWorks.ext.dll": error code 0000007e
[14] <FAILED> file "curl.ext.dll": error code 0000007e
If that doesn't clear it up, then let me elaborate. This plugin uses functions coded into clientprefs extension. Based on the above output, it seems like the extension has not been installed properly. Do you have databases.cfg file in your configs folder? Open that file and post the output by removing your credentials.

This is what a default databases.cfg looks like.

PHP Code:
"Databases"
{
    
"driver_default"        "mysql"
    
    
// When specifying "host", you may use an IP address, a hostname, or a socket file path
    
    
"default"
    
{
        
"driver"            "default"
        "host"                "localhost"
        "database"            "sourcemod"
        "user"                "root"
        "pass"                ""
        
//"timeout"            "0"
        //"port"            "0"
    
}
    
    
"storage-local"
    
{
        
"driver"            "sqlite"
        "database"            "sourcemod-local"
    
}

    
"clientprefs"
    
{
        
"driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        
//"timeout"            "0"
        //"port"            "0"
    
}

This plugin will not work, unless you sort out your issues with the extensions. I also noticed that you have problems with a lot of other extensions as well. I would recommend you to fix all of them. Most of them are stock ones. Not sure what went wrong there.
__________________
Spirit_12 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode