• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

PlusEMU - Help Thread

Joined
Feb 22, 2012
Messages
2,103
Reaction score
1,271
Post your help requests related to the PlusEMU emulator here.

Please use the SPOILER tags if you're going to post screenshots or a large chunk of code.
Also make sure your code is between the CODE tags to make it easier to read.

WARNING:
When replying to a post, QUOTE the post. There's a link under the user's post "Reply With Quote" - use it. If you're not replying to a question with quote, it will be considered as Spam.
Edit 13/12/16: Please try to only QUOTE the PARTS that you are replying to instead of the full post!

Edit 01/05/16: Make sure to add your emulator version, if it's either Habboon or any other edit, or original PlusEMU. There are a lot of PlusEmu edits out there, and we would like the questions to be posted in one thread only.

Why a new thread? The last one had 128 pages, thus it's hard to find answers quickly.

Link to the old thread (closed): http://forum.ragezone.com/f333/official-plusemu-help-thread-1090581/

@Shoelace @CodeDragon @Shorty @asesinato
 
Last edited by a moderator:
Newbie Spellweaver
Joined
Feb 7, 2014
Messages
58
Reaction score
25
Does anyone know how I can put an afk time on users if they stay away the avatar stays for indefinite time I would like him to go back to the beginning of the hotel without him being kikado if he does not do any action in the room during 3 minutes
 
Upvote 0
Junior Spellweaver
Joined
Apr 3, 2013
Messages
127
Reaction score
2
Anyone know how to fix Group Forum? Freezes when trying to buy it.
 
Upvote 0
Newbie Spellweaver
Joined
Mar 1, 2016
Messages
6
Reaction score
1
I've noticed a problem with the ads_background,
When I save for example http://127.0.0.1 it becomes httpS://127.0.0.1
How can I fix this issue?
I've tried to fix it with the crossdomain.xml but it didn't work.

I have exactly the same problem, I think the problem come from the production
In PRODUCTION-201602082203-712976078 the ads_backgrounds works
With the new production it does not work
 
Upvote 0
Newbie Spellweaver
Joined
Jul 11, 2011
Messages
12
Reaction score
1
How the duck...
Do you disable HC? Like HC clothes, functions and all this stuff? Also what is HC membership item named in the SQL? And is it possible to make HC gift work? ... I know, many questions...:sleep:
 
Upvote 0
Junior Spellweaver
Joined
Apr 3, 2013
Messages
127
Reaction score
2
Re: PlusEMU Auto-AFK Disconnect

Why disconnecting users for being inactive. Handle it in the reward system?

Use the member variable that's already definined for an AFK user. You could do a return in a for loop.
How can this be done?
 
Upvote 0
Joined
Jan 23, 2011
Messages
446
Reaction score
99
Re: PlusEMU Auto-AFK Disconnect

Instead of disconnecting the user why not check if they have been inactive for x minutes and stop them from getting credits just like that guy above mentioned.
Just add this to public void CheckCreditsTimer()
Code:
if (this._timeAFK > 30)
return;
 
Upvote 0
Newbie Spellweaver
Joined
Mar 11, 2012
Messages
15
Reaction score
2
dcNcLI1 - PlusEMU - Help Thread - RaGEZONE Forums

Help? I already imported the SQLS already in my database. But my problem is that I already created a group but it doesnt show up? Anyone thank you :)
 
Upvote 0

Jiq

Junior Spellweaver
Joined
Nov 30, 2015
Messages
174
Reaction score
10
Plus Emulator SWF

Hello,

I am new to R63B. Something uccured when I am entering to client, its loading successful, after loading it display hotel just in second and redirect to home? I hope someone can help me solve this problem.

Thanks.
 
Upvote 0
Junior Spellweaver
Joined
Dec 12, 2015
Messages
103
Reaction score
5
Re: Plus Emulator SWF

Hello,

I am new to R63B. Something uccured when I am entering to client, its loading successful, after loading it display hotel just in second and redirect to home? I hope someone can help me solve this problem.

Thanks.

PM your skype, I'll try to help, as I got free time.
 
Upvote 0
Junior Spellweaver
Joined
Apr 3, 2013
Messages
127
Reaction score
2
Re: PlusEMU Auto-AFK Disconnect

Instead of disconnecting the user why not check if they have been inactive for x minutes and stop them from getting credits just like that guy above mentioned.
Just add this to public void CheckCreditsTimer()
Code:
if (this._timeAFK > 30)
return;
Where would I add it?
Code:
        public void CheckCreditsTimer()        {
            try
            {
                this._creditsTickUpdate--;


                if (this._creditsTickUpdate <= 0)
                {
                    int CreditUpdate = PlusStaticGameSettings.UserCreditsUpdateAmount;
                    int DucketUpdate = PlusStaticGameSettings.UserPixelsUpdateAmount;
                    
                    SubscriptionData SubData = null;
                    if (PlusEnvironment.GetGame().GetSubscriptionManager().TryGetSubscriptionData(this._vipRank, out SubData))
                    {
                        CreditUpdate += SubData.Credits;
                        DucketUpdate += SubData.Duckets;
                    }


                    this._credits += CreditUpdate;
                    this._duckets += DucketUpdate;


                    this._client.SendMessage(new CreditBalanceComposer(this._credits));
                    this._client.SendMessage(new HabboActivityPointNotificationComposer(this._duckets, DucketUpdate));


                    this.CreditsUpdateTick = PlusStaticGameSettings.UserCreditsUpdateTimer;
                }
            }
            catch { }
        }
 
Upvote 0
Junior Spellweaver
Joined
Aug 25, 2016
Messages
100
Reaction score
15
Re: PlusEMU Auto-AFK Disconnect

Where would I add it?
Code:
        public void CheckCreditsTimer()        {
            try
            {
                this._creditsTickUpdate--;


                if (this._creditsTickUpdate <= 0)
                {
                    int CreditUpdate = PlusStaticGameSettings.UserCreditsUpdateAmount;
                    int DucketUpdate = PlusStaticGameSettings.UserPixelsUpdateAmount;
                    
                    SubscriptionData SubData = null;
                    if (PlusEnvironment.GetGame().GetSubscriptionManager().TryGetSubscriptionData(this._vipRank, out SubData))
                    {
                        CreditUpdate += SubData.Credits;
                        DucketUpdate += SubData.Duckets;
                    }


                    this._credits += CreditUpdate;
                    this._duckets += DucketUpdate;


                    this._client.SendMessage(new CreditBalanceComposer(this._credits));
                    this._client.SendMessage(new HabboActivityPointNotificationComposer(this._duckets, DucketUpdate));


                    this.CreditsUpdateTick = PlusStaticGameSettings.UserCreditsUpdateTimer;
                }
            }
            catch { }
        }
Add it below: if (this._creditsTickUpdate <= 0)
 
Upvote 0
Back
Top