Spookyboy3000
Member
- Apr 28, 2020
- 42
- 6
Hello, can anyone help me? My diamond timer just doesn't work on my habbo retro. The user doesn't get vip_points.
Yeah, i probably viewed all threats about it. And still it doesn't workCheck to see if its coded in the emulator
Check your Habbo.cs forYeah, i probably viewed all threats about it. And still it doesn't work
CheckCreditsTime()
, then see if there's a int DiamondUpdate
Yeah, there isCheck your Habbo.cs forCheckCreditsTime()
, then see if there's aint DiamondUpdate
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));
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.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));
???Make em the pay for it instead
In your PublicStaticGameSetting.cs does it have apublic void CheckCreditsTimer()
{
try
{
this._creditsTickUpdate--;
if (this._creditsTickUpdate <= 0)
{
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));
this.CreditsUpdateTick = PlusStaticGameSettings.UserCreditsUpdateTimer;
}
}
catch { }
}
Post automatically merged:
that is mine
UserDiamondsUpdateAmount
public staticYeah???
In your PublicStaticGameSetting.cs does it have aUserDiamondsUpdateAmount
public static
Can you paste it in hereYeah
NoIt should work then, did you debug after adding that?