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

[CS:S/CS:GO] CSS Bank (including MySQL support) v1.6.6


Post New Thread Reply   
 
Thread Tools Display Modes
Laplace
SourceMod Donor
Join Date: Aug 2010
Location: Germany
Old 01-16-2011 , 09:55   Re: CSS Bank (including MySQL support)
Reply With Quote #161

Quote:
Originally Posted by em-eukal View Post
cfg/sourcemod/cssbank.cfg

css_bank_adminflag "o"
... a generic admin is flag "b", and the admins should be able to have another money limit than normal users. I only want to disable the bankadmin command for them - is this possible with this cvar?

Best Regards,
Laplace
Laplace is offline
Send a message via ICQ to Laplace
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 01-17-2011 , 12:12   Re: CSS Bank (including MySQL support)
Reply With Quote #162

Quote:
Originally Posted by Laplace View Post
i updated our CSS Bank to Version 1.4b. The first error occured by trying to cleanup the database:

Code:
css_bank_cleanup L 01/15/2011 - 19:23:51: [cssbank.smx] [Team-IB  Bank] Query failure: You have an error in your SQL syntax; check the  manual that corresponds to your MySQL server version for the right  syntax to use near ';OPTIMIZE TABLE `css_bank`' at line 1 L 01/15/2011 -  19:23:51: [cssbank.smx] [Team-IB Bank] Query: DELETE FROM `css_bank`  WHERE `amount`='0' AND `auto_deposit`='0' AND `auto_withdraw`='0' AND  `hide_rank`='0' AND `plugin_message`='1';OPTIMIZE TABLE  `css_bank`;
Thanks for reporting.
Quote:
Originally Posted by Laplace View Post
Another problem for me is to give only Admins with the "o" flag access to the "/bankadmin" command - how can i realize that?
Quote:
Originally Posted by em-eukal View Post
cfg/sourcemod/cssbank.cfg

css_bank_adminflag "o"
with this cvar you only set the generic flag for the bank. all admins with "o" are admins for the bank.
Quote:
Originally Posted by Laplace View Post
... a generic admin is flag "b", and the admins should be able to have another money limit than normal users. I only want to disable the bankadmin command for them - is this possible with this cvar?
ATM its not possible to disable the "bankadmin" command.

A planned feature is a "VIP admin flag".
But how exactly that works, I do not know yet.
__________________
greeetz Miraculix ;-)
Miraculix is offline
em-eukal
Member
Join Date: Sep 2009
Old 01-18-2011 , 15:11   Re: CSS Bank (including MySQL support)
Reply With Quote #163

I can't deposit anything.
Plugin tells me "Succesfully deposited ...", but there is no money deposited

Just me having that bug?
em-eukal is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 01-18-2011 , 15:29   Re: CSS Bank (including MySQL support)
Reply With Quote #164

Hmm ... strange
Something in the logs?
Which config modifications?
__________________
greeetz Miraculix ;-)
Miraculix is offline
em-eukal
Member
Join Date: Sep 2009
Old 01-18-2011 , 15:38   Re: CSS Bank (including MySQL support)
Reply With Quote #165

No useful log infos.

But i tested a bit...it's definitely cause of the new cvar "css_bank_adminlimit"!
Error appers if cvar is set to 2000000 and doesn't appear if cvar is set to 0!
And of course it's just with Bank Admins! Normal users don't have that bug...

PS: Some bank accounts still get deleted...but it seems like it's getting fewer ;)
em-eukal is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 01-18-2011 , 15:45   Re: CSS Bank (including MySQL support)
Reply With Quote #166

Quote:
Originally Posted by em-eukal View Post
But i tested a bit...it's definitely cause of the new cvar "css_bank_adminlimit"!
Error appers if cvar is set to 2000000 and doesn't appear if cvar is set to 0!
You're right. It's a bug. I just tested it again.
I'll fix it tomorrow. Fix see below
Also fixed: http://forums.alliedmods.net/showpos...&postcount=159
Quote:
Originally Posted by em-eukal View Post
PS: Some bank accounts still get deleted...but it seems like it's getting fewer ;)
Can you somehow localize when that happens?

BTW: Thanks for testing and reporting
Attached Files
File Type: smx cssbank.smx (29.1 KB, 1 views)
__________________
greeetz Miraculix ;-)

Last edited by Miraculix; 01-18-2011 at 16:33.
Miraculix is offline
em-eukal
Member
Join Date: Sep 2009
Old 01-22-2011 , 15:12   Re: CSS Bank (including MySQL support)
Reply With Quote #167

It's impossible to download the attachement atm

I told those players complaing about losing their money to report the circumstances...I hope I will get some good reports ;)
em-eukal is offline
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 01-23-2011 , 08:59   Re: CSS Bank (including MySQL support)
Reply With Quote #168

Attachment doesnt do stuff, i was just about to ask why players donate and the amount doesnt go up:
Depositing doesn't work at all for me... I can deposit cash, but my balance stays 0...
__________________
tcviper is offline
Send a message via MSN to tcviper
svito
Junior Member
Join Date: Jan 2009
Location: Slovakia
Old 01-24-2011 , 08:45   Re: CSS Bank (including MySQL support)
Reply With Quote #169

I attach the correct translation for the page to CSS Bank version 1.4b.

Sample:
Code:
http://cssturiec.sk/cssbank/
Attached Files
File Type: zip sk-site-1.4b.zip (344 Bytes, 98 views)

Last edited by svito; 01-24-2011 at 09:53.
svito is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 01-26-2011 , 12:01   Re: CSS Bank (including MySQL support)
Reply With Quote #170

Attached file again (version 1.4b261)

@svito: thanks for correcting slovak translation

Quote:
Originally Posted by tcviper View Post
Attachment doesnt do stuff, i was just about to ask why players donate and the amount doesnt go up:
Depositing doesn't work at all for me... I can deposit cash, but my balance stays 0...
Occurs the problem only when deposit or also for transfer and admin-add or admin-set?
Do you use MySQL or the local database?
Which version do you use? The last or an earlier?
Could this be the same bug as in post 165?
Which config modifications?
Attached Files
File Type: smx cssbank.smx (29.1 KB, 122 views)
__________________
greeetz Miraculix ;-)
Miraculix is offline
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 19:12.


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