AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Pluging dont read from sql.cfg (https://forums.alliedmods.net/showthread.php?t=116637)

timtimtim 01-25-2010 03:04

Pluging dont read from sql.cfg
 
hi i cant connect my plugin to database because it dont read my sql.cfg file, anyone knows how i fix this? ive tried to get some contact with the author but no answer ;( pleaase

Doc-Holiday 01-25-2010 04:17

Re: Pluging dont read from sql.cfg
 
Quote:

Originally Posted by timtimtim (Post 1066700)
hi i cant connect my plugin to database because it dont read my sql.cfg file, anyone knows how i fix this? ive tried to get some contact with the author but no answer ;( pleaase

plugin name?

Also if there are cvars in the plugin_init.. Try hard-coding your information into that.

With gun XP mod.. It wouldn't connect just putting the info in to the cfg..

When we hard coded the info into the plugin it worked flawlessly.

timtimtim 01-27-2010 23:37

Re: Pluging dont read from sql.cfg
 
Quote:

Originally Posted by NcB_Sav (Post 1066730)
plugin name?

Also if there are cvars in the plugin_init.. Try hard-coding your information into that.

With gun XP mod.. It wouldn't connect just putting the info in to the cfg..

When we hard coded the info into the plugin it worked flawlessly.


Hi, the plugins is called xp mod bye exolent 0.0.1 and you can find it here: http://forums.alliedmods.net/showthread.php?t=110031 can you help me with this? i dont get it ;(

YamiKaitou 01-28-2010 00:24

Re: Pluging dont read from sql.cfg
 
It does read from it. Are you sure you have the config set correctly? Are there any error messages? Do you have it set to save to SQL? Saving to SQL is not default

NiQu 01-28-2010 00:43

Re: Pluging dont read from sql.cfg
 
Dont help this guy :/ He should use the latest version.

timtimtim 01-28-2010 17:54

Re: Pluging dont read from sql.cfg
 
Quote:

Originally Posted by YamiKaitou (Post 1070281)
It does read from it. Are you sure you have the config set correctly? Are there any error messages? Do you have it set to save to SQL? Saving to SQL is not default


Yes, everything is set to correct values, i can connect to our dabases with other plugins but not with this.

YamiKaitou 01-28-2010 20:51

Re: Pluging dont read from sql.cfg
 
Quote:

Originally Posted by timtimtim (Post 1071049)
Yes, everything is set to correct values, i can connect to our dabases with other plugins but not with this.

Try using the latest version. I know that one uses the sql.cfg file.

timtimtim 01-28-2010 21:16

Re: Pluging dont read from sql.cfg
 
"Removed SQL support due to abilities being dynamic." thats from the newest version 0.0.3 and it has no sql support..

YamiKaitou 01-28-2010 22:05

Re: Pluging dont read from sql.cfg
 
Code still connects to the SQL database, have you tried it yet?

timtimtim 01-29-2010 13:39

Re: Pluging dont read from sql.cfg
 
Quote:

Originally Posted by YamiKaitou (Post 1071272)
Code still connects to the SQL database, have you tried it yet?

Yes i have but the mysql module dont load with the new version.


All times are GMT -4. The time now is 07:27.

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