- Joined
- Nov 6, 2012
- Messages
- 2,230
- Reaction score
- 314
You should edit your post to say the fix that's in that link.. I mean I got that error to and it helped me resolve it.. Just saying :
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!how do i put image link?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");
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%
Vlw Thx ♥Only %ImageName%
I have a problem with my users diamond/points purse. It goes back to 1 (default) when they reload.
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");
To add images:
Go to c_images -> Create a folder with name 'notifications'
Only png images
Credits:
=dj.matias= : Ankka emulator
Me : Packet id
Then try and learn ?= read the codes ? and learn from it so uknow till next time u need use something like itIts good, but no one advises how to use mdrrr
You have to clear cache and reload client.