[DiscordArchive] Is it okay with you then if I create an external function WorldTeleport() ?
[DiscordArchive] Is it okay with you then if I create an external function WorldTeleport() ?
Archived author: Natrist • Posted: 2023-12-12T17:35:33.012000+00:00
Original source
Is it okay with you then if I create an external function WorldTeleport() ?
Archived author: Natrist • Posted: 2023-12-12T17:35:53.008000+00:00
Original source
It should be easy enough to call, plus it's not bound to any World instance.
Archived author: Natrist • Posted: 2023-12-12T17:36:13.618000+00:00
Original source
It's prefixed with World, so it should be ovious where it's located in code and what it's bound to...
Archived author: Natrist • Posted: 2023-12-12T17:36:32.669000+00:00
Original source
Here's the prototype I came up with:
Archived author: Natrist • Posted: 2023-12-12T17:36:52.131000+00:00
Original source
```C++
extern void WorldTeleport(uint32 time, uint32 continentID, Player* pPlayer, G3D::Vector3& position, float facing);
```
Archived author: Natrist • Posted: 2023-12-12T17:37:43.058000+00:00
Original source
time is defined as unsigned int, as that's what the client sends and expects.
Archived author: Natrist • Posted: 2023-12-12T17:38:19.708000+00:00
Original source
I'm not sure exactly what it's used for, but I know the Player::TeleportTo() method also uses the current time for some ACK packets (if I remember right).
Archived author: walkline • Posted: 2023-12-12T17:54:00.079000+00:00
Original source
I don't think it would affect me since I'm handling it in a different process & codebase. So, it's fine by me.
Archived author: TomBombadild • Posted: 2023-12-12T18:00:42.403000+00:00
Original source
Is this open source code purely applicable to WoW or has anyone extended to other games, maybe even a custom game
Archived author: Bench • Posted: 2023-12-12T18:05:17.777000+00:00
Original source
Very tailored to Wow