[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?
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?
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
Archived author: Anchy • Posted: 2024-04-18T07:43:09.996000+00:00
Original source
https://github.com/AnchyDev/TrialOfStren...12dc554305
Archived author: Anchy • Posted: 2024-04-18T07:43:16.762000+00:00
Original source
you can see an example in one of my projects
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
```
Archived author: Anchy • Posted: 2024-04-18T07:46:11.034000+00:00
Original source
something like that
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
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