0flee Posted June 25, 2022 Posted June 25, 2022 Hello, can someone tell me what ID have player name in SystemMsg-e.dat? Quote
911reg Posted June 25, 2022 Posted June 25, 2022 (edited) There is no player name in systemmsg-e.dat. You could simply add an empty string and add $c1 on it, for example, and then tell the server to send the new ID and replace $c1 with the player's name. i.e.: $c1 has obtained $s3 $s2. $c1 = player name (your char or anyone else's char) $s3 = item quantity $s2 = item name Edited June 25, 2022 by 911reg Quote
eMommy Posted June 25, 2022 Posted June 25, 2022 1 hour ago, 0flee said: What you don't understand? everything about your post? what client? what did you want to do? what protocol? sysstring is for static messages. If you are talking about player name (the one above your head) it is in uipacket in server. if you are talking about names added to messages (ex. CharName has obtained ItemName like 911reg's post then it would be in systemmsg with $s1 $s2 variables which you can control on server). Quote
911reg Posted June 25, 2022 Posted June 25, 2022 Just now, splicho said: Doesn't that requires packet editing? nah, it doesn't. We did this on our server, i.e. Quote
0flee Posted June 26, 2022 Author Posted June 26, 2022 3 hours ago, 911reg said: There is no player name in systemmsg-e.dat. You could simply add an empty string and add $c1 on it, for example, and then tell the server to send the new ID and replace $c1 with the player's name. i.e.: $c1 has obtained $s3 $s2. $c1 = player name (your char or anyone else's char) $s3 = item quantity $s2 = item name I don't know how to add in the client Quote
911reg Posted June 26, 2022 Posted June 26, 2022 5 hours ago, 0flee said: I don't know how to add in the client wdym? simply add a new line like this Quote
0flee Posted June 26, 2022 Author Posted June 26, 2022 Greate, with all ... right, i will check Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.