Client Notice

07/31/2019 18:49 [GM]JuStiCe#1
Hi there
I'm using
Packet gamenotice = new Packet(0x300C);
gamenotice.WriteUInt16(3100);
gamenotice.WriteUInt8(1);
gamenotice.WriteAscii(UIIT_STT_JOB_LEVEL);
m_LocalSecurity.Send(gamenotice);
Send(false);

Packet rightnotice = new Packet(0x300C);
rightnotice.WriteUInt16(3100);
rightnotice.WriteUInt8(2);
rightnotice.WriteAscii(UIIT_STT_JOB_LEVEL);
m_LocalSecurity.Send(rightnotice);
Send(false);
to send notice
my UIIT_STT_JOB_LEVEL in textuisystem.txt is "Your level is too low to wear a job suit !"
How to change it to
"You should be Level [%d] or higher to wear a job suit" ??
i want to know how to replace %d with my value while sending notice

Thanks. :handsdown:
07/31/2019 20:45 #HB#2
It's sad but its not possible, the client does that internally. For example,
Quote:
UIIT_MSG_GUILD_LEVEL_UP_RESULT:
Guild level has been increased to %d.
The server sends a general guild packet to the client with the guild new level, then the client calls printf internally preparing its str, then shows a msg with that str that got modified by printf with the guild level.

You can act exactly like the client, or dig deeper like flo [Only registered and activated users can see links. Click Here To Register...].

Side-Tiring-Way: Modify 0x300C packet structure in the client and server files to contain a condition for that.
07/31/2019 22:01 [GM]JuStiCe#3
Quote:
Originally Posted by #HB View Post
It's sad but its not possible, the client does that internally. For example,The server sends a general guild packet to the client with the guild new level, then the client calls printf internally preparing its str, then shows a msg with that str.

You can act exactly like the client, or dig deeper like flo [Only registered and activated users can see links. Click Here To Register...].

Side-Tiring-Way: Modify 0x300C packet structure in the client and server files to contain a condition for that.
Thanks bro