Jump to content
Sign in to follow this  
RNGIdentity

Just curious how the coding works

Recommended Posts

Hey, so  i don't know much about coding and curious how this works. Do they somehow retain anything from the blizzard client and use that? Or do they have to literary duplicate it from scratch and just go based off memory and information that is out there? 

Share this post


Link to post
Share on other sites

Look at the client, it still has Blizzard's TOS and when you get banned it tells you to go to the Blizzard site, the reporting function mentions them too. 

As for the server portion...Likely a case of both options. 

Share this post


Link to post
Share on other sites

the client is pretty much the original one blizzard offered, but the servers code is like 90% selfmade afaik. either by programmers from the mangos project, or the servers project itself. quests, NPCs behaviour, everything that moves or interacts has to be re-scripted manually. therefor the devs search for (half-way) reliable sources, such as old wikis, old videos, etc and try to recreate that

Share this post


Link to post
Share on other sites

You can run the client provided by blizzard in an environment where you can monitor it's outputs and inputs. Good thread monitoring tells you how the client works. Then it is possible to write a software that handles those inputs and outputs.

Share this post


Link to post
Share on other sites

Most of the code for emulation is generated via packet capturing and listening to see what data gets sent/received to/from the server. This means that the private servers essentially emulate what the client (The .exe you run to play WoW) is suppose to receive. The client sends off a request "Pick up item" and the server gets that request and sends off the appropriate response. That response was obtained by listening on the official servers (plus probably looking at the code for the client) and figuring out what the client is expecting to receive as a response for any given action.

 

It's a lot more complicated than I am making it sound - that is the gist of it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×