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. ?
Telegram Bot TOP Search Promotion | SEO Optimization for Bots |
SMMTG.PRO
We promote Telegram bots to the TOP of search results — by keywords, topics, and countries.
What’s included:
• Promotion to the TOP of Telegram search
• Bot optimization for Telegram algorithms
• Competitor analysis and keyword selection
• Testing and securing stable ranking
Delivery time:
2–3 days per bot
Pricing:
Starts from $40 per bot
(final cost depends on competition level and target country)
We work with 50+ countries:
Russia • Ukraine • USA • Israel • Uzbekistan • Turkey • China • Thailand • Europe • India
Training is also available:
Telegram bot SEO optimization
Techniques & insights for reaching TOP search positions
Real-world cases and recommendations
Contact:
Telegram — t.me/smmtg_link
Our SMM panel: SMMTG.PRO
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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now