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

SM Bank Mod: MySQL


Post New Thread Reply   
 
Thread Tools Display Modes
KeLcO
Junior Member
Join Date: Oct 2008
Old 10-14-2008 , 16:04   Re: SM Bank Mod: MySQL
Reply With Quote #161

mp_startmoney 800
__________________

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

Thank you, try the attachment plugin. I made the start money based on "mp_startmoney", but I am not sure if it will work.

If does not work it should log a message "SMBANK: Could not find mp_startmoney. 800 will be used."
Attached Files
File Type: sp Get Plugin or Get Source (bank.sp - 449 views - 23.7 KB)
__________________
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:20   Re: SM Bank Mod: MySQL
Reply With Quote #163

yes, i will test it tomorrow..thx for this update!
__________________

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

My pleasure.
__________________
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-15-2008 , 00:45   Re: SM Bank Mod: MySQL
Reply With Quote #165

Hi Nican,

The Update runs without any errors
But if i change mp_startmoney more than 800$ it gives nor error!
__________________

KeLcO is offline
sessus
Senior Member
Join Date: May 2006
Old 10-15-2008 , 02:09   Re: SM Bank Mod: MySQL
Reply With Quote #166

Nican,
what is the correct version to download from the first page? You have 3x .smx files in there and there is no description as to what bank_beta is supposed to be...
sessus is offline
sessus
Senior Member
Join Date: May 2006
Old 10-30-2008 , 08:07   Re: SM Bank Mod: MySQL
Reply With Quote #167

Nican,

could you add an extra cvar to set a limit of how many times the bank can be accessed during a round?
sessus is offline
3RMAC
Junior Member
Join Date: Jul 2006
Old 11-07-2008 , 17:56   Re: SM Bank Mod: MySQL
Reply With Quote #168

I keep getting the following errors:
Code:
L 11/07/2008 - 16:31:32: [bank.smx] Query failed! Unknown column 'money' in 'field list'
L 11/07/2008 - 16:31:32: [SM] Native "SQL_FetchRow" reported: Invalid query Handle 0 (error: 4)
L 11/07/2008 - 16:31:32: [SM] Debug mode is not enabled for "bank.smx"
L 11/07/2008 - 16:31:32: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 32 on
Any ideas? There mysql database is empty so it looks like nothing is being written, and there is not structure. Did the database get set up correctly?
3RMAC is offline
mauirixxx
Member
Join Date: Mar 2006
Old 11-07-2008 , 19:29   Re: SM Bank Mod: MySQL
Reply With Quote #169

looks like the sql side of things didn't get setup properly, due to the "Unknown column 'money' in 'field list'" line.

double and triple check your sql statements?
mauirixxx is offline
Send a message via AIM to mauirixxx Send a message via MSN to mauirixxx Send a message via Yahoo to mauirixxx
Harley
Member
Join Date: Aug 2006
Old 11-08-2008 , 05:45   Re: SM Bank Mod: MySQL
Reply With Quote #170

I have the bench with 1.1 tries Sourcemod unfortunately does not
The money I deposit disappears when you combine New
SM Bank 3.0
Database Manager 4.3 beta

I have 2 servers with sourcemod 1:04 and no problem
__________________
Harley 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 15:48.


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