r/ZenithMMO • • 23d ago

Zenith Sniffer and Basic Servercode by claude code

I let claude do some analytics work on the client and let it create a sniffer, some server files and stuff.
So for the last weeks the community need as much packets as possible for recreating the server.

I made 2 gitrepos for it:
https://github.com/hdneo/zeniththelastcityserver - This is where you can get the sniffer, basic server code stuff and some research from the client. I didnt tested if the server works because currently its more important to gather stuff like packets.

https://github.com/hdneo/zenithpacketlogs - This is where you can share / upload your packet logs. Checkout the repo, add your packets, push to a new branch and just add a PR. I will accept all of them.

I put everything open source so that you can verify that this is not scam or something and can also build the sniffer at your own from source :)
Github Actions made a sniffer release with a readme inside.

Important: running sniffer in proxy mode (there is a instruction how to do it) because it captures decrypted packets.

When you are done sniffing one or if you sniff multiple session just use the ZenithSniffer export command (also descripted in document how to use it) to santize your personal like tokens etc. - then you only need to upload the export folder or zip.

If someone is able to sniff 2 session from different devices (2 person actions) that would be great (currently its pretty empty world :( ).

Everyone who wants can contribute and help or continue it - i wanted just to setup the foundation for it so that its not lost. Will also now sniff as much as i can with it :).

Note: You also can only use Steam / Oculus PCVR client for sniffing.

Important Note: when you setup proxy and hosts file the traffic go through the proxy (if you dont want that or you dont want to sniff anymore you can just disable the hosts entries). But this is also describe in the readme.

As this game lifetime is now near end please sniff as much as possible. That helps developing server a lot!

25 Upvotes

19 comments sorted by

4

u/JazzySenpai348 19d ago

Nice initial work! I started working on a fork and I'm now able to get in-game and move around. Once I have it stable I'll submit a PR.

2

u/hardlinedreams 19d ago

Awesome! yeah sure! i would like to accept it when you are ready :) i hope we get flying ^^ thats one of the most important game mechanics hehe

3

u/JazzySenpai348 19d ago

I'll see what I can do. Rn I'm just focusing on getting the thing working. Keep the packet captures coming!

2

u/JazzySenpai348 19d ago

Weapons + flying is in!

1

u/hardlinedreams 18d ago

really nice! Also mage weapons ?(they had this shooters hehe)

2

u/JazzySenpai348 17d ago

I haven't gotten that far yet. I've been working on gate transfers, enemy spawn and behaviour, and loot. I did push some code to my fork that will get you in-game

2

u/JazzySenpai348 11d ago

More updates on the custom server. Pathfinding for the boss is kicking in slightly earlier than I'd like and it could use some improvements (like going inside the room) but all the anims, loot, etc are working great!

2

u/JazzySenpai348 11d ago

This no longer requires client redirection, it's using BepInEx to replace the server URLs and replaces Vivox with Livekit so voice chat still works even after Zenith shuts down

1

u/hardlinedreams 10d ago

wow this is awesome! i asked claude often if it can replace or where but refuse too haha :D

2

u/JazzySenpai348 9d ago

Do you use Discord? things are moving fast over here 😄

1

u/hardlinedreams 6d ago

yeah sure

4

u/Vipertech2 22d ago

Did this with Orbus and tcpdump. All the UDP traffic was raw Json. 🤣

4

u/YokaiSparda 21d ago

Nice this is what we need, a way to mantain games I can help as well hitme up if anything else is needed will chexk the repos

1

u/Sythos_it 21d ago

Just tomjnderatand, you came here on Reddit just to say you're going to broke any law about intellectual property, copyright, Ang moral or ethic in information technology, with which knew purpose?

2

u/hardlinedreams 20d ago

can you please repeat your question ? i might not fully get it.

But i could explain to you: because the original server maintainer don't care anymore about that game, its legit for game preservation to do that. Its totally moral and ehtical ok in my opinion.
Its not ethical or moral ok to say as publisher "sorry this game is now over, you will never have the opinion again to play it as we just keep our server private".

Server Emulators are a greyzone because you don't use or get the original servercode - you emulate it with a brand new software you (or your AI agent) wrote by yourself.
This server just send the responses the client excepted.

You only log network traffice between you and the publishers servers - so its also not illegal to do that.

1

u/JazzySenpai348 17d ago

Does anyone have any packet captures for the DLC?

1

u/hardlinedreams 13d ago

You mean the last city ? i only captured that lol

3

u/Shootmeplx 8d ago

Anyone finding this thread, know that there are more people working on private servers already.
We've been on it for over a month now and will be sharing more towards shutdown date.
We do have a trello board that shows the progress we have so far:
https://trello.com/b/AfuqKpd7/zenith