Bcstorm emulator does not update the files

mirojantti

New Member
Nov 30, 2013
19
0
Hey. I'm getting 3000 credits every day in my hotel. I tried to change that, but it still gives me 3000 credits. I searched my db, but there wasnt anything daily credits. I searched my bcstorm configuration file, but there wasnt any daily credits thing. But then I found that UserDataFactory.cs has some daily credits code in it.

Here's the UserDataFactory.cs code:
Code:
string str = (string) row["lastdailycredits"];
                string str2 = DateTime.Today.ToString("MM/dd");
           
                if ((str != str2)&&(ButterflyEnvironment.DailyCreditsEnable))
                {
                  adapter.runFastQuery(string.Concat(new object[] { "UPDATE users SET credits = credits + 3000, daily_respect_points = 3, lastdailycredits = '", str2, "' WHERE id = ", num }));
                  row["credits"] = ((int) row["credits"]) + 0xbb8;
                }

I tried to change "SET credits = credits + 3000" to 0 and then row["credits"] = ((int)row["credits"]) + 0xbb8;" to 0x1. Then I restarted my Bcstorm emulator, but I still got 3000 credits every day. Then I tried to move my UserDataFactory.cs to my desktop and run the emulator, but still it got 3000 credits every day. Isn't my Bcstorm files updating?? PLEASE HELP ME I REALLY NEED THIS THING FIXED; I DONT WANT THAT MY USERS GET 3000 CREDITS EVERY DAY.
 

Users who are viewing this thread

Top