PlusEMU Diamond Timer

Results 1 to 6 of 6
  1. #1
    Member Matthew Carter is offline
    MemberRank
    Jan 2016 Join Date
    85Posts

    PlusEMU Diamond Timer

    Hi,

    I am using PlusEMU and I'm wondering if anyone could show me how to put a loop timer on for diamonds (like the credits & duckets timer function). When you're on the hotel for a certain amount of time (15 minutes for example), I want it to reward 1 diamond for the amount of time I set it at.. Does this function already exist by any chance?

    Thanks,
    Matthew
    Last edited by Matthew Carter; 01-06-16 at 04:41 AM.


  2. #2
    Member Matthew Carter is offline
    MemberRank
    Jan 2016 Join Date
    85Posts

    Re: PlusEMU Diamond Timer

    bump.

  3. #3
    Member boardza is offline
    MemberRank
    Sep 2010 Join Date
    88Posts

    Re: PlusEMU Diamond Timer

    fix it PlusStaticGameSettings.cs file in PlusEmu

    Code:
            
    
    public const int UserCreditsUpdateAmount = 0;
    public const int UserPixelsUpdateAmount = 0;
    public const int UserCreditsUpdateTimer = 7200;

  4. #4
    Member Matthew Carter is offline
    MemberRank
    Jan 2016 Join Date
    85Posts

    Re: PlusEMU Diamond Timer

    Quote Originally Posted by boardza View Post
    fix it PlusStaticGameSettings.cs file in PlusEmu

    Code:
            
    
    public const int UserCreditsUpdateAmount = 0;
    public const int UserPixelsUpdateAmount = 0;
    public const int UserCreditsUpdateTimer = 7200;
    That's only for Pixels and Credits, that's not for diamonds. How do I add a diamond timer, so people automatically receive 1 diamond every 15 minutes.

  5. #5
    apt-get install xcowsay 3M1L is offline
    MemberRank
    Jul 2012 Join Date
    SwedenLocation
    268Posts

    Re: PlusEMU Diamond Timer

    Not sure if this exists in public but here's what I managed to fix:

    Search for
    Code:
    public void CheckCreditsTimer()
    in file Habbo.cs located in /HabboHotel/Users/Habbo.cs.

    Find
    Code:
    this._client.SendMessage(new HabboActivityPointNotificationComposer(this._duckets, DucketUpdate));
    Below this, add the following:
    Code:
    int diamondAmount = 1; // Change this if you'd like to
    this._diamonds += diamondAmount;
    this._client.SendMessage(new HabboActivityPointNotificationComposer(this._diamonds, diamondAmount, 5));
    Compile and you're good to go

  6. #6
    Enthusiast funzykiller is offline
    MemberRank
    Apr 2014 Join Date
    46Posts

    Re: PlusEMU Diamond Timer

    Quote Originally Posted by 3M1L View Post
    Not sure if this exists in public but here's what I managed to fix:

    Search for
    Code:
    public void CheckCreditsTimer()
    in file Habbo.cs located in /HabboHotel/Users/Habbo.cs.

    Find
    Code:
    this._client.SendMessage(new HabboActivityPointNotificationComposer(this._duckets, DucketUpdate));
    Below this, add the following:
    Code:
    int diamondAmount = 1; // Change this if you'd like to
    this._diamonds += diamondAmount;
    this._client.SendMessage(new HabboActivityPointNotificationComposer(this._diamonds, diamondAmount, 5));
    Compile and you're good to go
    Do we have to compile it with vs when you edit the emu? But i heard rebuild it and compile.



Advertisement