Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
gaissi
Senior Member
Join Date: Sep 2009
Old 06-10-2010 , 01:18   Re: CSS Bank (including MySQL support)
Reply With Quote #71

Any progress with the Bank Update v.1.3?
gaissi is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 06-10-2010 , 03:49   Re: CSS Bank (including MySQL support)
Reply With Quote #72

I'm still working on it.

There are a few bugs I have to fix. And I try to find the mysql problem.

I hope I can finish it this week.
__________________
greeetz Miraculix ;-)
Miraculix is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 06-12-2010 , 11:21   Re: CSS Bank (including MySQL support)
Reply With Quote #73

New version 1.3 available.
Please note the update instructions.

Quote:
Update from v1.2 or older to v1.3:
1. delete the cssbank.cfg in your cfg folder to create the new one (two new cvars)
2. copy the cssbank.smx to your plugins folder
3. copy the cssbank.phrases.txt to your translations folder
4. reload the plugin or change map or restart server
5. execute server command "css_bank_update"
6. and it's better to change map after update to minimize data loss

If you are using mysql, you can instead of point 5 and 6 also run "ALTER TABLE `css_bank` ADD `hide_rank` int(1) NOT NULL DEFAULT 0" in your db.
Code:
Changelog
1.3 (06-12-2010)
	++ Added: Possibility to type !deposit <all/amount> and !withdraw <all/amount>
	++ Added: New CVARs: css_bank_mapprefixes, css_bank_mapmode
		to enable/disable bank according to map prefix
	++ Added: Commands to reset bank (only money or all)
	++ Added: Possibility to hide from top10
	++ Added: Possibility to reset own account
	++ Added: admins can target itself
	++ Added: Slovak translation (thanks to svito)
	>> Changed: Bankmenu (new: settings-item)
__________________
greeetz Miraculix ;-)
Miraculix is offline
gaissi
Senior Member
Join Date: Sep 2009
Old 06-13-2010 , 04:12   Re: CSS Bank (including MySQL support)
Reply With Quote #74

Very nice... I installed the update yesterday and it runs great!!!

Thanks a lot...

Greetings
gaissi
gaissi is offline
gaissi
Senior Member
Join Date: Sep 2009
Old 06-13-2010 , 04:44   Re: CSS Bank (including MySQL support)
Reply With Quote #75

Hey,

I found a bug at the admin menu:

When i enter adminmenu and use point 3 to set the amount of money of a player to 250.000 for example he get this message:

[GC Bank] Admin: blaa1 hat gerade dein Konto auf $0 gesetzt.
[GC Bank] Du hast gerade erfoglreich das Konto von blaa2 auf $0 gesetzt.

So the player don't get 250000...
His account get resetet!

greetings
gaissi
gaissi is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 06-13-2010 , 06:03   Re: CSS Bank (including MySQL support)
Reply With Quote #76

This bug someone else has already reported. However, I have tested it and can't reproduce it.

But I'll look at this again.

BTW: Do you use mysql now? And if yes, any problems?

PS: I have the admin Setmoney just tested again and it worked.
__________________
greeetz Miraculix ;-)

Last edited by Miraculix; 06-13-2010 at 06:13.
Miraculix is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 06-13-2010 , 06:46   Re: CSS Bank (including MySQL support)
Reply With Quote #77

I've found the problem. The bug occurred only when the bank maximum has been disabled.

New version 1.3.1 available.
Please note the update instructions.

Quote:
Update from v1.2 or older to v1.3.1:
1. delete the cssbank.cfg in your cfg folder to create the new one (two new cvars)
2. copy the cssbank.smx to your plugins folder
3. copy the cssbank.phrases.txt to your translations folder
4. reload the plugin or change map or restart server
5. execute server command "css_bank_update"
6. and it's better to change map after update to minimize data loss

If you are using mysql, you can instead of point 5 and 6 also run "ALTER TABLE `css_bank` ADD `hide_rank` int(1) NOT NULL DEFAULT 0" in your db.
Code:
Changelog
1.3.1 (06-13-2010)
    ** Fixed: with css_bank_maximum "0" (disabled), admin-Setmoney not worked
__________________
greeetz Miraculix ;-)
Miraculix is offline
gaissi
Senior Member
Join Date: Sep 2009
Old 06-13-2010 , 08:40   Re: CSS Bank (including MySQL support)
Reply With Quote #78

Thanks for the fast fix...

I have an another question:

When i change this:

"en" "0,10000,25000,50000,100000,150000,250000 "

to

"en" "0,100000,250000,500000,1000000,1500000,25000 00"

At the translation file take that any effect?

Get a players account 2500000 instead of 250000 ?
gaissi is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 06-13-2010 , 10:19   Re: CSS Bank (including MySQL support)
Reply With Quote #79

Thats right.
You can edit the menu amounts in translation file. You also can use something like that:
Code:
    "Admin Setmoney Amounts"
    {
        "en"    "0,1954,25252,666666,1000000,1500000,2500000000"
        "de"    "0,1954,25252,666666,1000000,1500000,2500000000"
        "sk"    "0,1954,25252,666666,1000000,1500000,2500000000"
    }
It uses the server language.

Quote:
BTW: Do you use mysql now? And if yes, any problems?
__________________
greeetz Miraculix ;-)
Miraculix is offline
gaissi
Senior Member
Join Date: Sep 2009
Old 06-13-2010 , 11:52   Re: CSS Bank (including MySQL support)
Reply With Quote #80

One question more... Can i add more than seven amountoption for example

"0,1954,25252,666666,1000000,1500000,25000000 00,5000000,9000000,12785728743"

Greetings
gaissi 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 04:15.


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