Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Bcstorm emulator does not update the files
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mirojantti" data-source="post: 250440" data-attributes="member: 40228"><p>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.</p><p></p><p>Here's the UserDataFactory.cs code:</p><p>[CODE]string str = (string) row["lastdailycredits"];</p><p> string str2 = DateTime.Today.ToString("MM/dd");</p><p> </p><p> if ((str != str2)&&(ButterflyEnvironment.DailyCreditsEnable))</p><p> {</p><p> adapter.runFastQuery(string.Concat(new object[] { "UPDATE users SET credits = credits + 3000, daily_respect_points = 3, lastdailycredits = '", str2, "' WHERE id = ", num }));</p><p> row["credits"] = ((int) row["credits"]) + 0xbb8;</p><p> }[/CODE]</p><p></p><p>I tried to change "SET credits = credits + <strong>3000</strong>" to <strong>0 </strong>and then row["credits"] = ((int)row["credits"]) + <strong>0xbb8</strong>;" to <strong>0x1. </strong>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??<strong> PLEASE HELP ME I REALLY NEED THIS THING FIXED; I DONT WANT THAT MY USERS GET 3000 CREDITS EVERY DAY.</strong></p></blockquote><p></p>
[QUOTE="mirojantti, post: 250440, member: 40228"] 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; }[/CODE] I tried to change "SET credits = credits + [B]3000[/B]" to [B]0 [/B]and then[B] [/B]row["credits"] = ((int)row["credits"]) + [B]0xbb8[/B];" to [B]0x1. [/B]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??[B] PLEASE HELP ME I REALLY NEED THIS THING FIXED; I DONT WANT THAT MY USERS GET 3000 CREDITS EVERY DAY.[/B] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Bcstorm emulator does not update the files
Top