Raised This Month: $ Target: $400
 0% 

Pluging dont read from sql.cfg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
timtimtim
Member
Join Date: Nov 2009
Old 01-25-2010 , 03:04   Pluging dont read from sql.cfg
Reply With Quote #1

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
timtimtim is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-25-2010 , 04:17   Re: Pluging dont read from sql.cfg
Reply With Quote #2

Quote:
Originally Posted by timtimtim View Post
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.
Doc-Holiday is offline
timtimtim
Member
Join Date: Nov 2009
Old 01-27-2010 , 23:37   Re: Pluging dont read from sql.cfg
Reply With Quote #3

Quote:
Originally Posted by NcB_Sav View Post
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 ;(
timtimtim is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-28-2010 , 00:24   Re: Pluging dont read from sql.cfg
Reply With Quote #4

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
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
NiQu
Veteran Member
Join Date: Nov 2009
Old 01-28-2010 , 00:43   Re: Pluging dont read from sql.cfg
Reply With Quote #5

Dont help this guy :/ He should use the latest version.
NiQu is offline
timtimtim
Member
Join Date: Nov 2009
Old 01-28-2010 , 17:54   Re: Pluging dont read from sql.cfg
Reply With Quote #6

Quote:
Originally Posted by YamiKaitou View Post
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.
timtimtim is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-28-2010 , 20:51   Re: Pluging dont read from sql.cfg
Reply With Quote #7

Quote:
Originally Posted by timtimtim View Post
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.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
timtimtim
Member
Join Date: Nov 2009
Old 01-28-2010 , 21:16   Re: Pluging dont read from sql.cfg
Reply With Quote #8

"Removed SQL support due to abilities being dynamic." thats from the newest version 0.0.3 and it has no sql support..
timtimtim is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-28-2010 , 22:05   Re: Pluging dont read from sql.cfg
Reply With Quote #9

Code still connects to the SQL database, have you tried it yet?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
timtimtim
Member
Join Date: Nov 2009
Old 01-29-2010 , 13:39   Re: Pluging dont read from sql.cfg
Reply With Quote #10

Quote:
Originally Posted by YamiKaitou View Post
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.
timtimtim 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 07:27.


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