Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] `player:SendUpdateWorldState(WORLDSTATE_SHOW_TIMER, 1)

[DiscordArchive] `player:SendUpdateWorldState(WORLDSTATE_SHOW_TIMER, 1)

[DiscordArchive] `player:SendUpdateWorldState(WORLDSTATE_SHOW_TIMER, 1)

rektbyfaith
Administrator
0
01-10-2025, 02:46 PM
#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?
rektbyfaith
01-10-2025, 02:46 PM #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?

rektbyfaith
Administrator
0
01-10-2025, 02:48 PM
#2
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.
rektbyfaith
01-10-2025, 02:48 PM #2

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.

rektbyfaith
Administrator
0
01-10-2025, 02:52 PM
#3
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
```
rektbyfaith
01-10-2025, 02:52 PM #3

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
```

rektbyfaith
Administrator
0
01-10-2025, 02:53 PM
#4
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.
rektbyfaith
01-10-2025, 02:53 PM #4

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.

rektbyfaith
Administrator
0
01-10-2025, 03:15 PM
#5
Archived author: llllllllllllllllllll • Posted: 2025-01-10T15:15:13.833000+00:00
Original source

thanks!
rektbyfaith
01-10-2025, 03:15 PM #5

Archived author: llllllllllllllllllll • Posted: 2025-01-10T15:15:13.833000+00:00
Original source

thanks!

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)