HELP Credits/Duckets

DrPhil

Active Member
Oct 21, 2015
154
35
Just run a query and update everyone's credits and duckets then go to the users table and edit the starting credits and duckets to whatever you want.
yh but is there away that i can make them Unlimited like on the client where the credits and stuff are make it say Unlimited?
 
May 1, 2015
467
152
Go into GetCreditsInfoEvent.cs and where it fetches your credits just change it to the following,
Code:
(int.Parse("Unlimited")));

Code:
Session.SendMessage(new CreditBalanceComposer(int.Parse("Unlimited")));

It should work, but make sure you give everyone unlimited credits in the database.
 

DrPhil

Active Member
Oct 21, 2015
154
35
sorry about this haha so do i just do like 1000000000000000000000 whatever in the database
Post automatically merged:

and so instead of
Session.SendMessage(new CreditBalanceComposer(int.Parse("Unlimited")));
for duckets would it be
Session.SendMessage(new DucketBalanceComposer(int.Parse("Unlimited")));
 
May 1, 2015
467
152
sorry about this haha so do i just do like 1000000000000000000000 whatever in the database

Yeah, you also wanted it to say unlimited in-game right? you'd have to do what i told you i hope that's what you wanted.
but yes, put 99999 in the database or whatever for existing users, and edit the users table to make sure they sign up with unlimited credits as well.
 

DrPhil

Active Member
Oct 21, 2015
154
35
Yeah, you also wanted it to say unlimited in-game right? you'd have to do what i told you i hope that's what you wanted.
but yes, put 99999 in the database or whatever for existing users, and edit the users table to make sure they sign up with unlimited credits as well.
Can you message me please or do you have discord?
 
May 1, 2015
467
152
ok thanks how do i make the duckets unlimited for every user in the db?
For new users, right click and press design i think it is and find duckets and put 999999.
and for users already registered run a query something like "UPDATE users SET duckets = '999999'
I'm not the best at queries unless I have everything in front of me.
 

Users who are viewing this thread

Top