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

SM Bank Mod: MySQL


Post New Thread Reply   
 
Thread Tools Display Modes
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 09-04-2007 , 16:49   Re: SM Bank Mod: MySQL
Reply With Quote #21

Thanks for the Update.
__________________
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Old 09-05-2007 , 04:36   Re: SM Bank Mod: MySQL
Reply With Quote #22

OK I give up... ive tried everything.

Ive installed all the files, and ive installed the database. But i just get the error
Code:
Load error: Native "DB_GetColumnId" was not found.
Am I ment to have the database .smx installed because on the first page of that forum post it says you only need the .sp

So I tried removing it and it still doesnt work!!! Do I need to restart my server? Because with other mods they just automaticly update. And yes I have updated my databases.cfg

Please help me... Its driving me insane!!
__________________
bobbobagan is offline
Send a message via Skype™ to bobbobagan
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 09-05-2007 , 09:19   Re: SM Bank Mod: MySQL
Reply With Quote #23

Did you read this part:

Requirements
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Old 09-05-2007 , 18:54   Re: SM Bank Mod: MySQL
Reply With Quote #24

yes ive already installed that. This is what 'sm plugins list' shows:

41 <Error> "Database manager" (3.0) by Nican132
42 <Failed> "SM Bank" (2.0) by MaTTe, edit by Nican

And ive set the databases.cfg file up

And ive placed the .inc in the scripting/include folder and ive put the .sp in the scripting folder.

I found this in the logs
Code:
11:02:23: [SM] Plugin encountered error 25: Call was aborted
L 09/06/2007 - 11:02:23: [SM] Native "SetFailState" reported: [MYSQLmanager] Fail state: Could not connect to mysql
L 09/06/2007 - 11:02:23: [SM] Debug mode is not enabled for "a_mysql.smx"
L 09/06/2007 - 11:02:23: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 41 on
L 09/06/2007 - 11:02:23: [SM] Unable to load plugin "bank.smx": Native "DB_GetColumnId" was not found.
__________________
bobbobagan is offline
Send a message via Skype™ to bobbobagan
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 09-05-2007 , 21:49   Re: SM Bank Mod: MySQL
Reply With Quote #25

This line does tell me something:
L 09/06/2007 - 11:02:23: [SM] Native "SetFailState" reported: [MYSQLmanager] Fail state: Could not connect to mysql

If you are not sure what MySQL is, put this in server.cfg or something:
sm_db_config "storage-local"


Maybe I should people differently that MySQL is not being able to connect :O
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Old 09-06-2007 , 05:19   Re: SM Bank Mod: MySQL
Reply With Quote #26

Strange... its working now.

Anywho... Can you PLEASE make it so you can close the menus, thats so annoying not being able to close the menu, and also adding a back button? Incase you make a wrong selection.
__________________
bobbobagan is offline
Send a message via Skype™ to bobbobagan
Tekniqal
Senior Member
Join Date: Aug 2006
Old 09-06-2007 , 14:26   Re: SM Bank Mod: MySQL
Reply With Quote #27

Also you may want to prevent withdraws during pistol round. Also a cvar to disable bank would be good so that on certain maps where people dont need to buy guys, we can prevent people from depositing free money.
__________________
Tekniqal is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 09-06-2007 , 15:47   Re: SM Bank Mod: MySQL
Reply With Quote #28

sm_bank_allow (default: 1) - Enable/Disable this plugin

?

set sm_bank_allow to 0
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
Tekniqal
Senior Member
Join Date: Aug 2006
Old 09-06-2007 , 15:48   Re: SM Bank Mod: MySQL
Reply With Quote #29

Quote:
Originally Posted by Nican View Post
sm_bank_allow (default: 1) - Enable/Disable this plugin

?

set sm_bank_allow to 0
whoops sorry, didnt remember reading that and didnt go read again.
__________________
Tekniqal is offline
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 09-06-2007 , 19:26   Re: SM Bank Mod: MySQL
Reply With Quote #30

small update... sorry for that D:
I did a little error
__________________
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


Thread Tools
Display Modes

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 18:17.


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