[DiscordArchive] anyone known?
[DiscordArchive] anyone known?
Archived author: HelloKitty • Posted: 2023-05-27T19:25:45.523000+00:00
Original source
An MVP for what you describe would be abit of work. Depending on how willing you are to skip aspects of emulation you can entirely skip the original auth process and simply edit the handling of CMSG_AUTH_SESSION to skip SRP6 authentication and remove the packet encryption. Then, you'd have to send CMSG_CHAR_ENUM to get the character list (but you only really have to sent it and not handle the response really because you can just access the DB over HTTP instead with a simple HTTP service) but once you get SMSG_CHAR_ENUM you'd then need to send CMSG_PLAYER_LOGIN to log into the world.
Archived author: HelloKitty • Posted: 2023-05-27T19:26:16.879000+00:00
Original source
From there you're going to get initial world/map add packets send to your client. 2. you mention requires you to implement a rather chunky packet structure for movement. So you can teleport to town.
Archived author: HelloKitty • Posted: 2023-05-27T19:29:06.513000+00:00
Original source
In modern 335 TC you'll also need to send CMSG_SET_ACTIVE_MOVER afterwards to actually move hehe. That's best sent after you get the local player creation in arguely the most complicated packet the update packet. But if you really wanna skip that fornow you could just listen for SMSG_LOGIN_VERIFY_WORLD and just wait afew seconds more or less.
Archived author: HelloKitty • Posted: 2023-05-27T19:29:58.853000+00:00
Original source
Look at the structure of MSG_MOVE packets so that you can set your position to the town with one of them.
Archived author: HelloKitty • Posted: 2023-05-27T19:30:11.266000+00:00
Original source
After you do all that, implementing the packets to buy the booze from the vendor will seem easy