Ok here's whats going on. player.broadcastUserInfo(); basically spreads UserInfo(), charInfo() and extraInfo() onto knownlist players.
So let's say we change title and then name color, we do broadcastTitle(); and broadcastUserInfo();
All players around get the new info BUT if a new player come in town of giran or teleport next to him, he see the old title + old name color cause simply he didn't receive
the packet (cause he wasnt in the knownlist region).
Basically using player.decay(); player.spawn(); works fine after all but i cant really use this for 100 chars every 1 second example..
Is this knownlist problem? I guess no. But how to update properlya player without respawn him or without do a World.getInstance().getAllPlayers() -> sendPacket to all individual. ?
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.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Question
Afou To Patisa
warning: CLICKBAIT title
Ok here's whats going on. player.broadcastUserInfo(); basically spreads UserInfo(), charInfo() and extraInfo() onto knownlist players.
So let's say we change title and then name color, we do broadcastTitle(); and broadcastUserInfo();
All players around get the new info BUT if a new player come in town of giran or teleport next to him, he see the old title + old name color cause simply he didn't receive
the packet (cause he wasnt in the knownlist region).
Basically using player.decay(); player.spawn(); works fine after all but i cant really use this for 100 chars every 1 second example..
Is this knownlist problem? I guess no. But how to update properlya player without respawn him or without do a World.getInstance().getAllPlayers() -> sendPacket to all individual. ?
Tryskell ps. thanks for previous one.
Edited by Afou To Patisa33 answers to this question
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.