Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] those values dont look correct, are you using an updated DBC editor?

[DiscordArchive] those values dont look correct, are you using an updated DBC editor?

[DiscordArchive] those values dont look correct, are you using an updated DBC editor?

rektbyfaith
Administrator
0
04-18-2024, 07:39 AM
#1
Archived author: Anchy • Posted: 2024-04-18T07:39:11.719000+00:00
Original source

those values dont look correct, are you using an updated DBC editor?
rektbyfaith
04-18-2024, 07:39 AM #1

Archived author: Anchy • Posted: 2024-04-18T07:39:11.719000+00:00
Original source

those values dont look correct, are you using an updated DBC editor?

rektbyfaith
Administrator
0
04-18-2024, 07:41 AM
#2
Archived author: Anchy • Posted: 2024-04-18T07:41:15.939000+00:00
Original source

you also need to make sure you custom map sends the initial world states as well
rektbyfaith
04-18-2024, 07:41 AM #2

Archived author: Anchy • Posted: 2024-04-18T07:41:15.939000+00:00
Original source

you also need to make sure you custom map sends the initial world states as well

rektbyfaith
Administrator
0
04-18-2024, 07:43 AM
#3
Archived author: Anchy • Posted: 2024-04-18T07:43:09.996000+00:00
Original source

https://github.com/AnchyDev/TrialOfStren...12dc554305
rektbyfaith
04-18-2024, 07:43 AM #3

Archived author: Anchy • Posted: 2024-04-18T07:43:09.996000+00:00
Original source

https://github.com/AnchyDev/TrialOfStren...12dc554305

rektbyfaith
Administrator
0
04-18-2024, 07:43 AM
#4
Archived author: Anchy • Posted: 2024-04-18T07:43:16.762000+00:00
Original source

you can see an example in one of my projects
rektbyfaith
04-18-2024, 07:43 AM #4

Archived author: Anchy • Posted: 2024-04-18T07:43:16.762000+00:00
Original source

you can see an example in one of my projects

rektbyfaith
Administrator
0
04-18-2024, 07:46 AM
#5
Archived author: Anchy • Posted: 2024-04-18T07:46:03.183000+00:00
Original source

in your case if you want to setup the initial world state you would send an initial world packet:
```cpp
WorldPacket packet(SMSG_INIT_WORLD_STATES);

packet << uint32(566); // map
packet << uint32(0); // zone
packet << uint32(0); // ukn1
packet << uint16(1); // ukn2
packet << uint32(2769); // stateId (ALLIANCE)
packet << uint32(1); // stateValue (1 = enable state)

player->SendDirectMessage(&packet);
player->SendUpdateWorldState(2752, 0); // Bases owned
player->SendUpdateWorldState(2749, 0); // Points collected
```
rektbyfaith
04-18-2024, 07:46 AM #5

Archived author: Anchy • Posted: 2024-04-18T07:46:03.183000+00:00
Original source

in your case if you want to setup the initial world state you would send an initial world packet:
```cpp
WorldPacket packet(SMSG_INIT_WORLD_STATES);

packet << uint32(566); // map
packet << uint32(0); // zone
packet << uint32(0); // ukn1
packet << uint16(1); // ukn2
packet << uint32(2769); // stateId (ALLIANCE)
packet << uint32(1); // stateValue (1 = enable state)

player->SendDirectMessage(&packet);
player->SendUpdateWorldState(2752, 0); // Bases owned
player->SendUpdateWorldState(2749, 0); // Points collected
```

rektbyfaith
Administrator
0
04-18-2024, 07:46 AM
#6
Archived author: Anchy • Posted: 2024-04-18T07:46:11.034000+00:00
Original source

something like that
rektbyfaith
04-18-2024, 07:46 AM #6

Archived author: Anchy • Posted: 2024-04-18T07:46:11.034000+00:00
Original source

something like that

rektbyfaith
Administrator
0
04-18-2024, 07:46 AM
#7
Archived author: Anchy • Posted: 2024-04-18T07:46:20.984000+00:00
Original source

if you dont enable the world state then it wont show up
rektbyfaith
04-18-2024, 07:46 AM #7

Archived author: Anchy • Posted: 2024-04-18T07:46:20.984000+00:00
Original source

if you dont enable the world state then it wont show up

rektbyfaith
Administrator
0
04-18-2024, 07:48 AM
#8
Archived author: Anchy • Posted: 2024-04-18T07:48:31.816000+00:00
Original source

you may also need to patch the client if you havent already
rektbyfaith
04-18-2024, 07:48 AM #8

Archived author: Anchy • Posted: 2024-04-18T07:48:31.816000+00:00
Original source

you may also need to patch the client if you havent already

Recently Browsing
 
Recently Browsing