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

SM Bank Mod: MySQL


Post New Thread Reply   
 
Thread Tools Display Modes
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 01-07-2008 , 18:02   Re: SM Bank Mod: MySQL
Reply With Quote #101

Ok. Maybe now you can answer this.
Does this Plugin Update players bank with interest per round even if player is not in server? If so, can we stop this?
__________________
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 01-07-2008 , 18:05   Re: SM Bank Mod: MySQL
Reply With Quote #102

No.

Line 127, I hooked round_start, then I loop trought all connected players, and add money.

I have no idea how players can get money if they are not connected.
__________________
http://www.nican132.com
I require reputation!
Nican is offline
Send a message via ICQ to Nican Send a message via MSN to Nican
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 01-07-2008 , 18:38   Re: SM Bank Mod: MySQL
Reply With Quote #103

Ok thanks for the reply. Just wondering. It seemed at times it was.
__________________
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
LocutusH
Senior Member
Join Date: Dec 2007
Location: Hungary
Old 01-10-2008 , 06:15   Re: SM Bank Mod: MySQL
Reply With Quote #104

Is it less buggy using mysql instead sqlite?

I am using sqlite right now, but many players are reporting, that they account is out of control (+-1-2mio $-s, however the limit is 25k$..). And many accounts are reset frequently to 0 also.
__________________
LocutusH is offline
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 01-10-2008 , 08:02   Re: SM Bank Mod: MySQL
Reply With Quote #105

We too experienced these things early on the sqlite "bank" player info is actually stored in the "data" folder. Be care as you are updating your SourceMod that you do not delete/Overwrite the Data folder or yes the bank amounts will go to 0. The Interest is what I am most Unhappy with about this mod. I like the interest idea and all just every round seems to come way to often. Especially if you like having high bank limits and then you got players getting Tens of thousands of dollars in interest per round.
__________________

Last edited by tkaway69; 01-10-2008 at 08:12.
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
LocutusH
Senior Member
Join Date: Dec 2007
Location: Hungary
Old 01-10-2008 , 08:20   Re: SM Bank Mod: MySQL
Reply With Quote #106

Well, i didnt updated sm recently.
But there are some accounts still going mad. I have tried to turn off interest, and fee, but still.

Ive also tried today to switch to mysql. I have set up a user for the plugin, but whatever i do, it writes a_mysql.smx was unable to connect to the database... its on localhost on the default port, but it does not connect. Some other mods, like hlstatsx are using the mysql without problems...
__________________
LocutusH is offline
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 01-10-2008 , 08:57   Re: SM Bank Mod: MySQL
Reply With Quote #107

If you want to store info locally? Are you using this in your server.cfg?

Code:
sm_db_config "storage-local"
__________________
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
LocutusH
Senior Member
Join Date: Dec 2007
Location: Hungary
Old 01-10-2008 , 09:22   Re: SM Bank Mod: MySQL
Reply With Quote #108

I am using it this sqlite-way right now, and its too buggy.

I am asking, if the mysql variant would be more reliable, or not. And by the way, i cannot get it to connect to the mysql.
__________________
LocutusH is offline
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 01-10-2008 , 10:01   Re: SM Bank Mod: MySQL
Reply With Quote #109

Oh well.... Good luck.
__________________
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Old 01-10-2008 , 17:35   Re: SM Bank Mod: MySQL
Reply With Quote #110

I am currently working with vbios for his plugin support MySQL + SQLite, then you can all migrate to his plugin.

This one is too messed up.
__________________
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 21:38.


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