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
Diamonds Timer just doesn't work
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="Zachariah" data-source="post: 460451" data-attributes="member: 77357"><p>[CODE] int CreditUpdate = PlusStaticGameSettings.UserCreditsUpdateAmount;</p><p> int DucketUpdate = PlusStaticGameSettings.UserPixelsUpdateAmount;</p><p> int DiamondUpdate = PlusStaticGameSettings.UserDiamondsUpdateAmount;</p><p></p><p> SubscriptionData SubData = null;</p><p> if (PlusEnvironment.GetGame().GetSubscriptionManager().TryGetSubscriptionData(this._vipRank, out SubData))</p><p> {</p><p> CreditUpdate = SubData.Credits;</p><p> DucketUpdate = SubData.Duckets;</p><p> DiamondUpdate = SubData.Diamonds;</p><p> }</p><p></p><p> this._credits += CreditUpdate;</p><p> this._duckets += DucketUpdate;</p><p> this._diamonds += DiamondUpdate;</p><p></p><p> this._client.SendMessage(new CreditBalanceComposer(this._credits));</p><p> this._client.SendMessage(new HabboActivityPointNotificationComposer(this._duckets, DucketUpdate));</p><p> this._client.SendMessage(new HabboActivityPointNotificationComposer(this._diamonds, DiamondUpdate, 5));[/CODE]</p><p>This is how mine looks, it updates it. But my PlusStatic is different, mine updates through the database, what I mean is that I put how much people get in database, and how long etc. Normally i've seen it coded just to give the amount the emu says. Let me know if this is how yours looks or not.</p></blockquote><p></p>
[QUOTE="Zachariah, post: 460451, member: 77357"] [CODE] int CreditUpdate = PlusStaticGameSettings.UserCreditsUpdateAmount; int DucketUpdate = PlusStaticGameSettings.UserPixelsUpdateAmount; int DiamondUpdate = PlusStaticGameSettings.UserDiamondsUpdateAmount; SubscriptionData SubData = null; if (PlusEnvironment.GetGame().GetSubscriptionManager().TryGetSubscriptionData(this._vipRank, out SubData)) { CreditUpdate = SubData.Credits; DucketUpdate = SubData.Duckets; DiamondUpdate = SubData.Diamonds; } this._credits += CreditUpdate; this._duckets += DucketUpdate; this._diamonds += DiamondUpdate; this._client.SendMessage(new CreditBalanceComposer(this._credits)); this._client.SendMessage(new HabboActivityPointNotificationComposer(this._duckets, DucketUpdate)); this._client.SendMessage(new HabboActivityPointNotificationComposer(this._diamonds, DiamondUpdate, 5));[/CODE] This is how mine looks, it updates it. But my PlusStatic is different, mine updates through the database, what I mean is that I put how much people get in database, and how long etc. Normally i've seen it coded just to give the amount the emu says. Let me know if this is how yours looks or not. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Diamonds Timer just doesn't work
Top