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
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 05-13-2011 , 10:17   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #261

Quote:
Originally Posted by lqhnybear View Post
Having an issue with using auto deposit and auto withdraw at the same time.

Let's say I have

Auto Deposit $2000
Auto Withdraw $6000

every round it's depositing over $6000 the first round after setting it sometimes works right but then it'll always screw up the deposits.
Thats a bad combination:
Auto Deposit $2000 means: deposit all above 2000
Auto Withdraw $6000 means: restock to 6000

e.g.: I've 8000/8000:
if I've less than 8000 -> restock to 8000
if I've more than 8000 -> deposit all above 8000

Hope this helps.

Quote:
Originally Posted by Masshypnosis View Post
Sehr nice das fix. Ich werds gleich mal updaten wenn ich zuhause bin. Es verbreitet sich nämlich wie eine seuche auf meinen Servern und sich geld "ercheaten" mit diesem Befehl war echt mal sehr blöde. Jetzt sollen sie wieder einmal sparen meine Spieler anstatt sich sofort das maximum zu holen *gg*.
Großes Lob und danke nochmal für die Hilfe. Hab versucht das selber zu fixen, ging aber irgendwie net *gg*.
Quote:
Originally Posted by Ares Veteran View Post
OMG that realy worked?! I'm so lucky that my players doesn't heard -i hope - about this bug.
Probably this bug exits since the beginnig of this plugin
__________________
greeetz Miraculix ;-)
Miraculix is offline
lqhnybear
Member
Join Date: Oct 2009
Location: Miami Beach, Fl
Old 05-13-2011 , 16:23   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #262

Quote:
Originally Posted by Miraculix View Post
Thats a bad combination:
Auto Deposit $2000 means: deposit all above 2000
Auto Withdraw $6000 means: restock to 6000

e.g.: I've 8000/8000:
if I've less than 8000 -> restock to 8000
if I've more than 8000 -> deposit all above 8000

Hope this helps.

Probably this bug exits since the beginning of this plugin
Hmm the wording of the plugin is quite right then. To me it says "deposit $2000" and "withdraw $6000" Maybe it needs rewording?

"Auto Deposit Over:" maybe like this?
__________________
lqhnybear is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 05-14-2011 , 04:40   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #263

You can change it to your likings in the cssbank.phrases.txt.
__________________
greeetz Miraculix ;-)
Miraculix is offline
Masshypnosis
Junior Member
Join Date: Jan 2010
Old 05-21-2011 , 07:11   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #264

Habe irgendwie einen Fehler auf all meinen Servern.

Der Fehler von den Loggs:
L 05/21/2011 - 112:21: SourceMod error session started
L 05/21/2011 - 112:21: Info (map "cs_office") (file "errors_20110521.log")
L 05/21/2011 - 112:21: [SM] Native "UnhookConVarChange" reported: Convar "css_bank_dbconfig" has no active hook
L 05/21/2011 - 112:21: [SM] Displaying call stack trace for plugin "cssbank.smx":
L 05/21/2011 - 112:21: [SM] [0] Line 335, cssbank.sp::OnMapEnd()
L 05/21/2011 - 112:22: Error log file session closed.


Meine Einstellung ist sicherlich richtig oder ist das eine falsche Einstellung?
"bank"
{
"driver" "sqlite"
"host" "localhost"
"database" "serverbank"
"user" "root"
"pass" ""
}

und bei config:
// Set the database configuration listed in databases.cfg
// -
// Default: "clientprefs"
css_bank_dbconfig "bank"
Masshypnosis is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 05-21-2011 , 10:46   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #265

Quote:
Originally Posted by Masshypnosis View Post
Habe irgendwie einen Fehler auf all meinen Servern.

Der Fehler von den Loggs:
L 05/21/2011 - 112:21: SourceMod error session started
L 05/21/2011 - 112:21: Info (map "cs_office") (file "errors_20110521.log")
L 05/21/2011 - 112:21: [SM] Native "UnhookConVarChange" reported: Convar "css_bank_dbconfig" has no active hook
L 05/21/2011 - 112:21: [SM] Displaying call stack trace for plugin "cssbank.smx":
L 05/21/2011 - 112:21: [SM] [0] Line 335, cssbank.sp::OnMapEnd()
L 05/21/2011 - 112:22: Error log file session closed.
Wann tritt der Fehler auf? Hast du das Plugin neu geladen o.ä.? Tritt das bei jedem Mapwechsel bei dir auf?

Quote:
Originally Posted by Masshypnosis View Post
Meine Einstellung ist sicherlich richtig oder ist das eine falsche Einstellung?
"bank"
{
"driver" "sqlite"
"host" "localhost"
"database" "serverbank"
"user" "root"
"pass" ""
}

und bei config:
// Set the database configuration listed in databases.cfg
// -
// Default: "clientprefs"
css_bank_dbconfig "bank"
Das ist schon richtig so. Hat aber auch mit dem Fehler nichts zu tun.
__________________
greeetz Miraculix ;-)
Miraculix is offline
BeG
Senior Member
Join Date: Jan 2009
Location: Germany
Old 05-29-2011 , 19:25   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #266

hallo habe auch eine kleine aber bescheidene frage...

undzwar das plugin zeigt ja den pluginnamen (den man ja festlegen kann was ich super finde)vor jeder chatausgabe an das ganze sieht dann im code ja so aus:

"%c[%s]%c:", GREEN, cvplugin_name, YELLOW);

ich hätte es lieber:

"%c[%c%s%c]%c:", GREEN, YELLOW, cvplugin_name, GREEN, YELLOW);

sprich pluginname normalfarbend und nur die klammern davor bzw dahinter in grün habe das so wie ichs hier geändert habe auch im code getan neu compiled ohne errors etc aber ingame noch der selbe look...

mag mir das vllt einer von euch schnell machen und mir die datei mit code uppen? oder mir sagen was ich alles ändern muss damit es geht...

wäre echt dankbar morgen iss mein letzer urlaubstag und da wollt ich das hinter mir haben =)

danke schonmal gehe mal davon aus das mir geholfen wird wie eigentlich immer hier
__________________
!!!SRY FOR BAD ENGLISH!!!
Our Clanhomepage:

Visit Us!
BeG is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 05-30-2011 , 02:21   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #267

The attached file with the modification in the chat:
Now: [CSS Bank]: text blabla
Attached Files
File Type: smx cssbank.smx (31.7 KB, 192 views)
__________________
greeetz Miraculix ;-)
Miraculix is offline
BeG
Senior Member
Join Date: Jan 2009
Location: Germany
Old 05-30-2011 , 06:00   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #268

thanks i love you =) can i have the code 2?
__________________
!!!SRY FOR BAD ENGLISH!!!
Our Clanhomepage:

Visit Us!
BeG is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 05-30-2011 , 14:31   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #269

It was copy and paste your code
Attached Files
File Type: sp Get Plugin or Get Source (cssbank.sp - 172 views - 28.3 KB)
__________________
greeetz Miraculix ;-)
Miraculix is offline
waltercl
Member
Join Date: Jun 2011
Old 06-26-2011 , 04:36   Re: [CS:S] CSS Bank (including MySQL support) v1.4.3 (updated 05-12-2011)
Reply With Quote #270

Could someone tell me the workaround so that you can completely disable anything from coming up in an admin menu. I don't want anything to be done from the admin menu. We have this set up for donors and admins, and even donors with the custom flag set for this can access a menu to set other people's money. Definitely want to disable that or any access.
waltercl 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 01:03.


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