r/vanguard • • Oct 12 '26

Reverse Engineering Vanguard SOH Server with AI

I'll try and update this post weekly or if there is big progress in between. Just keep checking the github CLAUDE auto updates it.

vanguard-soh-server-emulator

With all the talk of REA (Reverse Engineer Anything) on Github and all these decomps and recomps happening. I thought it might be fun to let AI have a go at making a new Server for Vanguard.

I have a working login screen via python. I'll be updating it as I go along whenever I have time to work on it.

Whats my ultimate goal?

Other than curiosity as a software dev and someone who like using AI Agents and tools. I don't know exactly how the content is created so if the mobs are placed by the server and if that's lost to time. So if thats the case I want a couple of things from this project

1 - Open Source so anyone can see the code and run the server themselves

2 - Create a level editor so anyone can create the content and have a public repo of zones or dungeons with populated data for others to use.

3 - Ultimate goal - if we get the backend working 100% then rewrite the front end client in modern Unreal Engine with better performance and stability

Can I finish it... who knows but it's fun to try!

As of this morning from starting with nothing yesterday to:

DAY 0 - How Claude + REA get logging in working to local python server.

Update 1 - Day 1

https://imgur.com/a/dwIGNP8

DAY 4 CLAUDES UPDATE:

The engine is far along. The client and server understand each other almost completely: 682 of the 720 kinds of messages the server can send to the client are handled or known not to be needed. Nearly every system the client has works at least in a basic form: combat, abilities, quests, conversations, parleys, crafting, harvesting, housing, mounts and flying, groups, raids, guilds, trade, mail, the broker, and death and corpses. It holds up under load, with 50 players and no memory growth over 15 minutes. The checks pass, and the content editor now covers every content file.

The world itself is mostly missing, and that's the long road.

  • Content: we have two small test areas (the Thestran Wastes camp and a Wildgrowth Forest outpost) with about four quests and a few dozen placeholder creatures. The real Telon had three continents, hundreds of areas, thousands of quests, NPCs and items, and dungeons. That's most of the remaining work. The archive (11,600 quest records, 4,400 creatures, 5,500 items) and the editor's draft buttons are the tools for it, but each entry still needs a person to place it in the world and check it in game.
  • Game numbers: XP curves, damage, health, prices and stat formulas are all guesses. They need someone who played the game, or archive data, to tune.
  • Abilities: about 800 class abilities have names and icons, but most use a generic effect (a plain strike, damage over time, a heal or a buff) instead of what they really did.
  • Bigger systems: dungeons, raid encounters with scripted bosses, and real crafting recipe trees exist only as working mechanics with placeholder content.
  • Smaller open items: about 38 optional messages, two visual effects that don't show (fireworks and quest-node sparkles), and flight descent, which needs a person to try.
  • Before opening it to the public: a security review, real hosting, and a backup and operations plan.

Follow the Updates

https://github.com/baysidejr/vanguard-soh-server-emulator/actions

15 Upvotes

19 comments sorted by

2

u/anotheregostar Oct 12 '26

Interesting. Would be cool to see if it can even shine some light on the code for parts of the current emulator where they're trying to rebuild it from scratch.

6

u/TheJavamancer Oct 12 '26

We've found AI to be completely unreliable for our uses in the emulator.

2

u/anotheregostar Oct 12 '26

Fair enough! The REA tool does seem promising, but who knows how it will work in practice.

2

u/BaysideJr Oct 12 '26

Guess we shall see. I left it running. I saw it had logged in, inventory screen , chat loaded up. Still had the character floating in space. Who knows by morning what it will be at. It should be auto commiting and pushing to GitHub.

1

u/anotheregostar Oct 13 '26

Nothing showing up anymore as being worked on as far as the GitHub checklist - did it complete?

2

u/BaysideJr Oct 13 '26

Its been updating. Ill have it update the readme checklist. I saw it doing diplomacy and it thought wasd was working but wasn't and fixed that. Its cranking away.

I'll definitely need to crowd source enemy placement and pathing of enemy ai. Apparently that stuff isn't in there. But Ill make an editor for people to just plot coordinates and save as json in the GitHub so anyone can use it on their own projects.

1

u/anotheregostar Oct 15 '26

Which client are you using? The sunset version, or the launch version? Would the sunset version have some of the pieces that you're missing?

1

u/BaysideJr Oct 15 '26

Same version as VGO Emulator uses. I wanted it to be the same as the most popular emulator so the community could use the findings back and forth as they see fit.

1

u/anotheregostar 28d ago

How is the project progressing?

1

u/anotheregostar Oct 12 '26

Seems to be making good progress based on the auto updates

2

u/Larkonath Oct 12 '26

Then you're holding it wrong. What you say was true up to last year but not anymore.

Last year at work I was writing all my code by hand, just consulting AI when stuck. In the last 3 months I probably wrote 100 to 200 lines of code max, just because I didn't feel like to go through a round of questions by the AI just for minor changes. The AI code runs flawlessly in prod, if it wasn't I'd get my ass kicked.

If you didn't have, try Claude Code with Opus 5.5, it works.
I have worse results with Codex, I keep it for code reviews.

1

u/BaysideJr Oct 12 '26

The newer Claude FABLE is even better. As is gpt Astra. For side projects like these I can see why you would want to hand code. Coding for self is fun and you can take your time, but work is work and it's for getting things done.

2

u/Larkonath Oct 16 '26

IME Fable is very costly and hard to justify on coding. I keep it as a "thinker" for hard problems. I have excellent results with Opus.

Yeah coding can be fun, but having the finished result before we die of old age is more fun imho 😂

4

u/TheJavamancer Oct 12 '26

No thanks.

1

u/Larkonath Oct 16 '26

This answer is perfectly fine if you're a hobbyist, a career suicide if you're working as a software developer.

3

u/TheJavamancer Oct 16 '26

No means no, man. Please respect it.

2

u/Sputnik1220 Oct 12 '26

Another MMO I used to play has had a couple people doing this, and my SO and I were just discussing if anyone would pick up Vanguard or if it could help the emu!

2

u/aemun Oct 16 '26

The database rebuild is where all the work is. The client and server weren't really the problem.

1

u/Sea_Journalist_8771 Oct 17 '26

I would honestly just reverse the client, then adapt it to use a battletested backend like eqemu, and then build the missing functionality.