[DiscordArchive] `player:SendUpdateWorldState(WORLDSTATE_SHOW_TIMER, 1)
[DiscordArchive] `player:SendUpdateWorldState(WORLDSTATE_SHOW_TIMER, 1)
Archived author: llllllllllllllllllll • Posted: 2025-01-10T14:46:24.949000+00:00
Original source
`player:SendUpdateWorldState(WORLDSTATE_SHOW_TIMER, 1)
player:SendUpdateWorldState(WORLDSTATE_TIME_TO_SACRIFICE, 100)`
with this I can update the timer in zul'aman. I want the timer to be visible in other instances but it doesn't show. Does this mean the client is hardcoded to only show that element in certain contexts?
Archived author: Honey • Posted: 2025-01-10T14:48:42.306000+00:00
Original source
No, you need to activate the worldstate in the other map before your can update it.
Archived author: Honey • Posted: 2025-01-10T14:52:25.678000+00:00
Original source
```lua
local SMSG_INIT_WORLD_STATES = 0x2C2
local SMSG_UPDATE_WORLD_STATE = 0x2C3
```
Archived author: Honey • Posted: 2025-01-10T14:53:14.702000+00:00
Original source
I'm creating the packets manually in Lua. There might be a ready method in cpp. Maybe it has init in the name, too.
Archived author: llllllllllllllllllll • Posted: 2025-01-10T15:15:13.833000+00:00
Original source
thanks!