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!

Problem with TAG on username with rank's

Junior Spellweaver
Joined
May 15, 2014
Messages
165
Reaction score
34
Hello

I have a problem, I can not put the name in color.
I followed this tutorial but when I test the emulator it tells me mistakes and when I launch the hotel, there are no names in color ...
Could you help me please ?

link:
http://forum.ragezone.com/f353/tag-username-ranks-1124977/
Sorry for my English, i'm french.
thanks you.
How can you launch the hotel if you csn'r debug? Makes no sense to me lol.

Skickat från min FRD-L09 via Tapatalk
 
Upvote 0
Newbie Spellweaver
Joined
Mar 20, 2017
Messages
12
Reaction score
0
thanks you for you answer

Yes, I can go into the hotel despite the mistakes.Here is the error message:

http://hpics.li/a2948e1
 
Upvote 0
Junior Spellweaver
Joined
May 15, 2014
Messages
165
Reaction score
34
Add to the top, using Plus.Communication.Packets.Outgoing.Rooms.Engine;

Skickat från min FRD-L09 via Tapatalk
 
Upvote 0
Junior Spellweaver
Joined
May 15, 2014
Messages
165
Reaction score
34
You write what I said at the top of that class, you'll see there are lots of others.

Skickat från min FRD-L09 via Tapatalk
 
Upvote 0
Junior Spellweaver
Joined
Mar 24, 2017
Messages
163
Reaction score
5
I do not find..
I do not find..
1. Open RoomUser.cs
2. Go to the top so you see something like this:

rcgOKos - Problem with TAG on username with rank's - RaGEZONE Forums

copy this code:
using Plus.Communication.Packets.Outgoing.Rooms.Engine;

and paste it at the very top.

like this:
Eic3IBR - Problem with TAG on username with rank's - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Upvote 0
Junior Spellweaver
Joined
May 15, 2014
Messages
165
Reaction score
34
Well, usernamechangecomposer should be fixed lol

Skickat från min FRD-L09 via Tapatalk
 
Upvote 0
Newbie Spellweaver
Joined
Mar 20, 2017
Messages
12
Reaction score
0
Thank you guys! It works but now I have that:
 
Upvote 0
Junior Spellweaver
Joined
May 15, 2014
Messages
165
Reaction score
34
Thank you guys! It works but now I have that:
You can simplify the tags by removing the color tags, or start editing the as3 and make that html compatible which noone has done yet, so just remove the color and use only tags.

Skickat från min FRD-L09 via Tapatalk
 
Upvote 0
Junior Spellweaver
Joined
Dec 15, 2015
Messages
139
Reaction score
35
If you only want for the chat bubble, you can use this code which I just fixed from a similliar link:


It¨'s RoomUser.cs
 
Upvote 0
Junior Spellweaver
Joined
May 15, 2014
Messages
165
Reaction score
34
If you only want for the chat bubble, you can use this code which I just fixed from a similliar link:


It¨'s RoomUser.cs
Send instead snippets of what you modified lol.

Skickat från min FRD-L09 via Tapatalk
 
Upvote 0
Junior Spellweaver
Joined
Mar 24, 2017
Messages
163
Reaction score
5
voila :
Delete all that its the wrong code and paste this:

if (GetClient().GetHabbo().Rank == 10)
{ string Username = "<font color='#D900D9'>[Puta]</font> " + GetClient().GetHabbo().Username;
if (GetRoom() != null)
GetRoom().SendMessage(new UserNameChangeComposer(RoomId, VirtualId, Username));
}
 
Upvote 0
Back
Top