[DiscordArchive] is that code needed if i preload ?
[DiscordArchive] is that code needed if i preload ?
Archived author: walkline • Posted: 2023-12-12T21:54:52.240000+00:00
Original source
You have my blessing if you need it Nonetheless, if my PR gets merged, the logic for switching between world instances will be outside of the C++ codebase.
Archived author: walkline • Posted: 2023-12-12T22:03:29.016000+00:00
Original source
By the way, a quick update from my end. For those interested in kubernetes, the solution now includes a helm chart - https://github.com/walkline/ToCloud9/tree/master/chart, making it easier for cluster owners to test
Archived author: Natrist • Posted: 2023-12-12T22:13:09.375000+00:00
Original source
What do you mean by this? Care to elaborate?
![[Image: image.png?ex=690bd2bb&is=690a813b&hm=9c9...3ba2636bc&]](https://cdn.discordapp.com/attachments/284323424032129024/1184263929065644062/image.png?ex=690bd2bb&is=690a813b&hm=9c9238572675e9e29710f37ab04ee70f6f900e162f8e495e072438f3ba2636bc&)
Archived author: walkline • Posted: 2023-12-12T22:42:03.306000+00:00
Original source
I can try . So, ToCloud9 provides a variety of services (currently, there are 8 microservices written in Golang) that operate alongside AzerothCore/TrinityCore worldservers. One of these services is a "proxy"/"gateway" service that maintains a connection with the player. This service determines how to handle opcodes, sending most of them directly to the worldserver, while handling others with the assistance of additional microservices (such as guildserver/mailserver/...).
The "proxy"/"gateway" service, by analyzing packets between the player and worldserver, can detect a world teleport attempt. Upon detection, it intercepts and handles the attempt. Here is a sequence diagram illustrating this process.
![[Image: image.png?ex=690bd2bb&is=690a813b&hm=9c9...3ba2636bc&]](https://cdn.discordapp.com/attachments/284323424032129024/1184263929065644062/image.png?ex=690bd2bb&is=690a813b&hm=9c9238572675e9e29710f37ab04ee70f6f900e162f8e495e072438f3ba2636bc&)
Archived author: walkline • Posted: 2023-12-12T22:43:30.551000+00:00
Original source
And with that approach we can have cluster support without making extensive changes to the world server’s codebase.
Like in this case, the world server has limited knowledge about the process that determines when and how to execute a worldserver switch. It just receives command to prepare for redirect by saving the player, and that’s almost it.
Archived author: Natrist • Posted: 2023-12-12T23:06:56.155000+00:00
Original source
Ah, that’s pretty cool and clever.
Archived author: Natrist • Posted: 2023-12-12T23:07:29.246000+00:00
Original source
I think having a separate branch with the clustering would make sense in this case.
Archived author: Anchy • Posted: 2023-12-12T23:09:00.521000+00:00
Original source
wow that's cool
Archived author: Rymercyble • Posted: 2023-12-12T23:15:45.949000+00:00
Original source
how far would u say are u from being "done" ? like not done done but usable
Archived author: Natrist • Posted: 2023-12-13T00:51:07.314000+00:00
Original source
Hmm.