Casino 091 resetcash addon & zerocash fix

Spinifex

New Member
Casino v0.91 resetcash addon & zerocash fix

Many of you maybe experiencing a problem not being able to change the 0 to another figure so i have uploaded the zero default cash *fix*

The 2nd upload is so you can add a reset to the casino so players can reset their own money when they have run out!

Download:
 
After Applying both of these fixes,

I tried to do a Mass Cash Adjustments to reset everybody's Casino Cash
and got this error:




Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE user
SET casino_cash =;

MySQL Error : 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 '' at line 2
Error Number : 1064
Date : Sunday, March 16th 2008 @ 12:36:43 PM
Script : http://---.---.---/forums/admincp/c...sadj=1&usergroups=&amount=&submit=Adjust+cash
Referrer : http://---.---.---/forums/admincp/casino_settings.php
IP Address : xx.xxx.xxx.xx
Username : Th3Eagle
Classname : vB_Database


How do I fix this?
 
After Applying both of these fixes,

I tried to do a Mass Cash Adjustments to reset everybody's Casino Cash
and got this error:




Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE user
SET casino_cash =;

MySQL Error : 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 '' at line 2
Error Number : 1064
Date : Sunday, March 16th 2008 @ 12:36:43 PM
Script : http://---.---.---/forums/admincp/c...sadj=1&usergroups=&amount=&submit=Adjust+cash
Referrer : http://---.---.---/forums/admincp/casino_settings.php
IP Address : xx.xxx.xxx.xx
Username : Th3Eagle
Classname : vB_Database


How do I fix this?

it will let me give money to everybody, just won't let me reset everybody back to the default value.
 
You left a failed blank.

SET casino_cash =; means no value was entered for how much you want people to receive.

You need to to fill in both fields mate. One ask for usergroups. Just put all the groups: 2,3,4,5,6,7,8,9,10,11,12,13,14 etc

Second field asks for how much: 800
Or 0 to remove all gold.

Fairly simple.
 
GgAcE said:
You left a failed blank.

SET casino_cash =; means no value was entered for how much you want people to receive.

You need to to fill in both fields mate. One ask for usergroups. Just put all the groups: 2,3,4,5,6,7,8,9,10,11,12,13,14 etc

Second field asks for how much: 800
Or 0 to remove all gold.

Fairly simple.

Thanks, I was erronously thinking that reset would automatically reset everybody to the default amount I had set.

Instead it just resets everybody (in the user groups selected)
to the set amount that you put in.
 
Back
Top