Raised This Month: $32 Target: $400
 8% 

SM Bank Mod: MySQL


Post New Thread Reply   
 
Thread Tools Display Modes
Harley
Member
Join Date: Aug 2006
Old 05-03-2008 , 06:22   Re: SM Bank Mod: MySQL
Reply With Quote #151

Nice work Nican

Unfortunately, I have the same problems with the bank
Map to quickly change the accounts are empty or very full

in the beta version of the same
Harley is offline
LocutusH
Senior Member
Join Date: Dec 2007
Location: Hungary
Old 05-03-2008 , 07:58   Re: SM Bank Mod: MySQL
Reply With Quote #152

harley: try to modify your db settings. It seems that it can not get in contact with the mysql db.
The beta isnt working at all, dont try with that.
Also, do not change the persistent db connection in the a_mysql config. It wont work, if you have it on 0. Leave it at 1.
__________________
LocutusH is offline
Lilou
Junior Member
Join Date: Sep 2008
Old 09-18-2008 , 04:00   Re: SM Bank Mod: MySQL
Reply With Quote #153

i get this error:

Code:
L 09/18/2008 - 9:57:41: [SM] Native "SQL_FastQuery" reported: Invalid database Handle 0 <error: 4>
L 09/18/2008 - 9:57:41: [SM] Debug Mode is not enabled for "bank_beta.smx"
L 09/18/2008 - 9:57:41: [SM] To enable debug mode, edit the plugin_settings.cfg, or type sm plugins debug 9 on
Lilou is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 09-18-2008 , 06:44   Re: SM Bank Mod: MySQL
Reply With Quote #154

It seems like the plugin is not being able to connect to the database.
Or the plugin lost connection to the database.
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
KeLcO
Junior Member
Join Date: Oct 2008
Old 10-14-2008 , 07:22   Re: SM Bank Mod: MySQL
Reply With Quote #155

Hi Nican,

i have a little Problem, i have add the following lines to my server.cfg

sm_bank_allow 1
sm_bank_max 50000
sm_bank_fee 250
sm_bank_transfer 1
sm_bank_interest 5.0
sm_bank_pistol 1

But during the pistol round every user can take money from the bank!

Whats worong?
KeLcO is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 10-14-2008 , 15:01   Re: SM Bank Mod: MySQL
Reply With Quote #156

Hm, that is awkward.

The plugin detects the pistol round if every player has the money below or equal to 800. Can you make any connections to that?
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
KeLcO
Junior Member
Join Date: Oct 2008
Old 10-14-2008 , 15:56   Re: SM Bank Mod: MySQL
Reply With Quote #157

Hi..

Oh..that might be my problem, my startmoney was 950$

THX
KeLcO is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 10-14-2008 , 15:57   Re: SM Bank Mod: MySQL
Reply With Quote #158

How do you change the start money?
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
KeLcO
Junior Member
Join Date: Oct 2008
Old 10-14-2008 , 16:00   Re: SM Bank Mod: MySQL
Reply With Quote #159

hm..i hope i understand your question, i changed it in my server.cfg
KeLcO is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 10-14-2008 , 16:03   Re: SM Bank Mod: MySQL
Reply With Quote #160

Yeah, but what variable do you have to edit to change the start money?
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
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 09:55.


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