Open source World of Warcraft server emulator in C++ · one core from Classic to Forever

Source code: git clone https://github.com/AscEmu/AscEmu.git
Get startedLearn how to download, compile and configure AscEmu
Welcome, guestQuestions, ideas or bug reports go to GitHub Discussions
Builds: 13Classic to Forever

Midnight gets real: trainers, vendors, looks and a lot of data

Posted by Zyres @ 24. October 2026 Discuss on GitHub

Hey folks, time for a quick update from the Midnight front. The last days were all about making the 12.1.5 client actually playable, and a good chunk of it landed for every client since MoP along the way.

Profession trainers

The big one. Opening a blacksmithing trainer on Midnight crashed the client every single time, and it took a full memory dump of Wow.exe to find out why. The client walks through every expansion line of a profession and expects to find all of them in your skill list, rank 0 or not.So characters now carry the complete profession tree, the skill list grew to 300 slots on Midnight and 256 on 8.x to 11.x, and the trainer window opens like it should. Buying spells, the "not enough gold" message and the little training animation work on the newer clients now too.

Vendors

Vendors needed a similar nudge. Since 11.0 the client only treats an NPC as a vendor when the server says so in the entity fragments, the old npc flag alone does nothing. That is in, so the shop windows in Thunder Bluff finally show goods again.

Character creation

The newer clients send your look as a long list of customization choices, horn color, tattoos, eye color and all that, and we used to squeeze it into five old bytes and lose half of it. Those choices are stored as they come now, so your tauren looks like the one you built, and older clients share the same table.

Smaller bits

  • New characters start with full mana instead of an empty bar.
  • The spell store on Midnight no longer stops at the MoP id range.
  • Trainer spell states show the right colors since Cata.
  • Trainers without a spell list got proper templates per expansion.

World data and wiki

We kept filling the world tables per client build: creatures, gameobjects, quests, items, vendors, trainers, gossip, loot groups, graveyards and more, each one carrying only the rows that changed between builds. The wiki is updated to match, every new or changed table has its page.

What now

As always: grab the latest master, run the updates, and tell us on Discord what breaks. See you in Mulgore.

News

One logonserver for every client version

Posted by Zyres @ 21. October 2026 Discuss on GitHub

With commit 882c25a the logonserver is back in charge of every client, from Vanilla up to Midnight. The separate bnetserver we introduced for the newer clients never fit the way we want AscEmu to work. Blizzard runs a far larger infrastructure behind Battle.net, but as a WoW emulator our focus is the game server, and one logonserver that understands all client versions serves that purpose best. The logonserver now detects the connecting version at runtime and speaks the matching protocol: the classic realm list for 1.x to 5.x, the Battle.net login (TLS, web login) for 6.x and later. LogonComm, our link between logonserver and worldserver, carries the newer versions as well.

No direct database access for the logonserver

The bnetserver read the character database on its own. That is gone. Whatever the logonserver needs from a realm, for example the character counts of the realm list, arrives over LogonComm from the worldserver, exactly as it always did for the classic clients. Handing a logon or Battle.net server direct access to the character database would undermine the separation between logon and world that our access levels are built on, so we kept that boundary.

One account table again

Along with the server merge we cleaned up the database. The separate Battle.net account tables are dropped, every account lives in accounts and works with every client version. New accounts get both credentials at creation: the classic password hash and the SRP credential of the Battle.net login. Existing accounts need their password set once so the SRP credential gets generated, use account set password in the logonserver console for that. Linking a Battle.net account to a game account is no longer needed: the game account is the login, as it always was.

Apply the changes

Please update your config files. The bnetserver.conf is gone. Its settings moved into logon.conf (sections BattleNet, WebAuth and TLS), world.conf lost the BattleNetComm section. Regenerate both from the templates and carry your values over.

News

Midnight 12.1.5 joins the party

Posted by Zyres @ 15. October 2026 Discuss on GitHub

Our client support took another step forward: AscEmu now talks to the Midnight 12.1.5 client (build 70391). Battle.net login, realm list, character list and the world login handshake work, and the client makes it onto the loading screen and into the world. We are in the first in-world test rounds now, fixing what the client trips over packet by packet.What had to change under the hood: Midnight uses the newer Battle.net v2 services with a different message layout, a reworked object update format (new entity fragment ids, larger unit, player and skill structures), 64 bit movement flags, and a reshuffled create block. Spell, aura, chat and a bunch of login packets also moved their fields around. All of this sits in its own Midnight target next to The War Within, nothing changed for the older clients.How to use it: you need a full 12.1.5 install (a streaming install will not do, the CDN no longer serves the old archives) and the Burralis Game Launcher pointed at your server. Arctium does not cover 12.x. Expect rough edges, this is early.As always: test it, break it, tell us. Logs and crash reports from your Errors folder help a lot.

News

Early development of SL 9.2.7 (45745), DF 10.2.7 (55664) and TWW 11.2.7 (65299)

Posted by Zyres @ 12. October 2026 Discuss on GitHub

Hi folks,
a quick update on the three newest client targets. Over the last few days we chased a couple of long-standing issues and one very stubborn client crash, and all three builds benefited.

Character look on the character screen and in the world (9.x, 10.x, 11.x)

The newer clients no longer take the classic skin/face/hair bytes; they want a list of customization choices. We now convert the stored look into those choices, so your characters finally look like themselves again on the character screen and in the world instead of showing the default appearance.

Logout works (7.x to 11.x)

Choosing “Logout” used to do nothing. The logout response has to travel on the instance connection on these clients, and 11.x additionally wants a different logout-complete layout. Both are in, and you are back on the character screen as expected.

The War Within 11.2.7: world entry and a Thunder Bluff crash

11.2.7 now gets past the loading screen and into the world: object updates use the new entity fragment list, the glue screen gets the warband collection and connection status packets it waits for, and the Item/ItemSparse hotfix records are served from the item properties.After that, every character entering Thunder Bluff crashed the client with an access violation. A bisect pointed at transports, and the crash dump then told the rest of the story: the client was testing a game object flag on a model it never managed to load. Three things were off, and all of them apply to 9.x and 10.x as well:Transport guids (ships, zeppelins, elevators) now use the client’s transport guid format, and elevators travel as transport guids like the reference does.
Elevators are sent with the transport states the client expects (24 = active, 25+ = stopped at a floor) together with their stop frames.
Game objects whose model is a WMO (zeppelins, ships, buildings) now carry the map object flag. Since 7.0 the client decides between WMO and M2 by this flag, not by the file extension. Without it, the zeppelin above Thunder Bluff was loaded as an M2, and the client fell over when it looked for the missing model.
Thunder Bluff is safe to visit again on 11.2.7.
As always: these targets are work in progress, so expect rough edges. If you hit a crash, the client’s Errors folder plus the server packet log are what we need to track it down.

Connection note

Clients up to 8.3.7 are prepared with the connection patcher from src/tools/connection; from 9.2.7 on the patcher is not used, start the original client through the Arctium WoW Launcher with SET portal "127.0.0.1" in WTFConfig.wtf.Happy testing!

News

2021 - What an awesome trip

Posted by Zyres @ 03. May 2021 From the forum archive

"Welcome to 2021 - man oh man, what a ride"
So there were no news about us since 2018 and my last blog post was 2019. I guess it is time to write something about this awesome community.
Sure we are not many devs here and some active devs are AFK at least for AE, but what we have done is unbelievable.

Back in 2014 (21. August 2014) we started this journey. Everfairy and I were really enthusiastic about the "only" arcemu successor. We gave a little bit of hope for continue and support other arcemu based communities. Unfortunately there are still a lot of separated side projects working on that "dead" source instead of joining up. However, we are not here for that dead projects (believe it or not, there was a reason why we formed AE :-))

"So where are we now? Time for some numbers:"
- AE has 667K lines of code... Over the course of the last years the top five contributors added 3'128'195 and removed 2'289'488 lines of code. Believe it or not, by lines of code we have rewritten arcemu several times by now XD
- AE is finally on the "list of existing" projects. (special thanks to MangosRumors <3)
- AE has 19 contributors, some known people from arcemu times.
- AE supports three client versions in one project (TBC/WotLK/Cata) two are still in development (Classic/MoP), it is the only project around the emulation community with a consistent database structure and codebase for several versions at once.
- 414 closed issues, wow great work:-)

"We know it well, most "users" want to have everything fully working, but that was never our attempt to achieve. We created a flexible framework where you can do (whatever) you want."
- You want moving gameobjects? Do it.
- You want phasing on the Burning crusade? It is there.
- You want to script everything in LUA? Sure buddy whatever you want.
- You want to upgrade your server from BC to Cata or downgrade from WotLK to BC? Just recompile the server and you are good to go (just change the config.... maybe in the future)
- You want to script your own flightpaths? Yes and you can decide exactly how many times the mount will change the display id XD

What I try to tell you is, that we are not the blizzlike framework (according to the missing scripts) but hell yea we can do whatever we want :-)

"The downsides"
It is a fact, that the community is dying and the people who could handle the codebase have a lot to do in real life...
I'm pretty happy that we do not have hundreds of "users" crying about every change we do. On the other hand it is pretty silent around here. Most bugs are not known or new introduced bugs took months before someone noticed it.
Sometimes I feel like the overlord about the codebase, I guess after 7 years of being the "main dev" there is not a single line I have not already seen or wrapped my head around it (Mostly because it was written so badly that I have to guess about the functionallity and test what I think it should do to be able to rewrite it). UEs (unexpected behaviors) are all over the place and most of the time if we change some simple line it will bite us in the ass somewhere we would have never expected it. We are in our small bubble (like other projects), we never had a code review from outside our project... how the code works and looks like is mostly the work of a few people. Does it make sense to someone else? No one knows.

"The upsides"
We encourage people to work on the code. As always said "I prefer working code over following the codeguidlines". Sure we will review the style and think about every PR here, but I will never close a pullrequest just because it is not perfect by our codeguidlines. Are we professional? I guess we are as much as other projects on github. Over all we are humans and we do mistakes, whatever... we can do amazing stuff even it is not perfect ;-) There is no one blocking the development of AE, even when our real life gets over our heads, we always find time to review a PR or do little changes.

"Conclusion"
Sure we are not the biggest open source project out there, but I have the feeling that we have fun to reach our goals (big or small goals) without thousands of people using our source for their p-server-project. There is no need for a roadmap since we all try our best, to make AE better every day :-)

Big thanks at this point to:
- Appled - our Spellmaster and apparently PR-review-master
- schnek - for all the style changes and discussions (even when we not always understand him :-))
- aaron - for working his ass off to make transports work and fighting with our scripts

I have to thank Zallios for beating my ass when I fucked up something. Thank you armm77 that you appear out of no where from time to time to fix something even when you disappear for another few months.
And last but not least Everfairy... girl I miss you around AE every single day... I hope you will come back, and we can do crazy stuff with the code like it was back in 2014...

Retrospective