Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Plus Emulation [Revision 2] FIXES!

Status
Not open for further replies.
Junior Spellweaver
Joined
Nov 5, 2013
Messages
147
Reaction score
57
Simple fix:

Add in HabboHotel/GameClients/GameClient.cs:
PHP:
internal void SendNotificationWithPicture(string Message, string Title, string Picture, string Link = "", string LinkTitle = "")
        {
            ServerMessage Notification = new ServerMessage(Outgoing.SendNotifWithPic);
            Notification.AppendString(Picture);
            Notification.AppendInt32((Link != "" ? 4 : 2));
            Notification.AppendString("title");
            Notification.AppendString(Title);
            Notification.AppendString("message");
            Notification.AppendString(Message);
            if (Link != "")
            {
                Notification.AppendString("linkUrl");
                Notification.AppendString(Link);
                Notification.AppendString("linkTitle");
                Notification.AppendString(LinkTitle);
            }
            this.SendMessage(Notification);
        }

Add in Messagens/Headers/Composers.cs
PHP:
internal static int SendNotifWithPic = 1310;

Notification Example:
PHP:
 About.Append("<b><font color='#00A7E4' size='16'>Your Text Here - Title</font></b><br><br>Your Text Here - Body");
 Session.SendNotificationWithPicture(About.ToString(), "Title Here :)", "image here");

GplWUSG - Plus Emulation [Revision 2] FIXES! - RaGEZONE Forums


To add images:
Go to c_images -> Create a folder with name 'notifications'
Only png images

Credits:
=dj.matias= : Ankka emulator
Me : Packet id
how do i put image link?
%ImageName%.png or
%ImageName% or
%Directory%/%imageName%
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Apr 9, 2014
Messages
1
Reaction score
0
anyone know how to fix the bug chair when you sit down and try to walk around, if anyone knows please post this fix here many people are in need of this repair is now traditional in plus emulator, plus more I've seen with this repair done.


excuse my bad english.
 
Newbie Spellweaver
Joined
Apr 20, 2014
Messages
42
Reaction score
0
I have a problem with my users diamond/points purse. It goes back to 1 (default) when they reload.
 
Experienced Elementalist
Joined
Nov 16, 2009
Messages
204
Reaction score
12
I have a problem with my users diamond/points purse. It goes back to 1 (default) when they reload.

MySQL Error. Check your mysql error log
 
Last edited:
Skilled Illusionist
Joined
Jul 4, 2009
Messages
363
Reaction score
65
Simple fix:

Add in HabboHotel/GameClients/GameClient.cs:
PHP:
internal void SendNotificationWithPicture(string Message, string Title, string Picture, string Link = "", string LinkTitle = "")
        {
            ServerMessage Notification = new ServerMessage(Outgoing.SendNotifWithPic);
            Notification.AppendString(Picture);
            Notification.AppendInt32((Link != "" ? 4 : 2));
            Notification.AppendString("title");
            Notification.AppendString(Title);
            Notification.AppendString("message");
            Notification.AppendString(Message);
            if (Link != "")
            {
                Notification.AppendString("linkUrl");
                Notification.AppendString(Link);
                Notification.AppendString("linkTitle");
                Notification.AppendString(LinkTitle);
            }
            this.SendMessage(Notification);
        }

Add in Messagens/Headers/Composers.cs
PHP:
internal static int SendNotifWithPic = 1310;

Notification Example:
PHP:
 About.Append("<b><font color='#00A7E4' size='16'>Your Text Here - Title</font></b><br><br>Your Text Here - Body");
 Session.SendNotificationWithPicture(About.ToString(), "Title Here :)", "image here");

GplWUSG - Plus Emulation [Revision 2] FIXES! - RaGEZONE Forums


To add images:
Go to c_images -> Create a folder with name 'notifications'
Only png images

Credits:
=dj.matias= : Ankka emulator
Me : Packet id

Thanks! I was already looking for the image fix.
 

Attachments

You must be registered for see attachments list
Status
Not open for further replies.
Back
Top