[Bcstorm] Daily Credits problem [Bcstorm]

mirojantti

New Member
Nov 30, 2013
19
0
Hey DevBesters!
[ I USE BCSTORM AS EMU AND HABBOPHP AS CMS]
Could anyone help me with my Daily Credits error. I can't find the Daily Credits thing in my emu configuration file, but I found this in UserDataFactory.cs

Code:
                string str = (string) row["lastdailycredits"];
                string str2 = DateTime.Today.ToString("MM/dd");
                if (str != str2)
                {
                    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 the "3000" to "0", but I still get the credits every day. Please I need this fixed... I don't want my users to get 3000 credits every day. Or is it just that my emulator wont compile this file? So PLEASE someone figure this out. Thanks:)
 

Users who are viewing this thread

Top