[Guild Wars] Packet encryption

Status
Not open for further replies.
Theora, congrats on your progress so far. I'm actually kind of surprised that your sticking to the project and continuing forward with it. I remember there used to be a Project for a Guild Wars emulator in China and USA, but they both ended up quitting. I hope you don't follow that path, as you seem to know what your doing and your progressing extremely fast and well.

Keep up the good work, and if you need anything from us, let us know.
 
Thanks for this totally stupid answer, mr I dont share even if my stupid project is dead.
Good luck with your is-already-dead project....

Be glad he's making an emulator, you couldn't even figure out how to get Guild Wars' IP address. And it's not dead.
 
Thanks for this totally stupid answer, mr I dont share even if my stupid project is dead.
Good luck with your is-already-dead project....

God bless you as well Aweb and thanks for the unusual form of motivation. =p

--------------------------------------------------------------------------------------------------------------------

Anyway, here is a screen shot of the login server thus far.

Also for those who are interested in helping figure out GW's packet structure. Here is the packet capturing utility. (See newer posts for updated version) Note: It works only for the current GW build which is 21,033 at the time of this posting.

How to use: Place it in a folder and within that folder make a new folder named, "Dump" Then after GW is running at any point of game play you can start the program and it will begin recording the packets sent from the client and the packets received from the server. All packets that are encrypted are automatically decrypted. The format is a raw binary dump. I use Hex Workshop for viewing these files, although any hex editor will do. Created files are named with a packet # first, where the packet came from second, and the size of the packet last.

When exiting...remember to close Guild Wars first. If you don't, Guild Wars will probably lock-up. If you find anything useful, I'd like to know. I do give credit where credit is due. =)
 
Last edited:
God bless you as well Aweb and thanks for the unusual form of motivation. =p

--------------------------------------------------------------------------------------------------------------------

Anyway, here is a screen shot of the login server thus far.

Also for those who are interested in helping figure out GW's packet structure. Here is the packet capturing utility. Note: It works only for the current GW build which is 21,033 at the time of this posting.

How to use: Place it in a folder and within that folder make a new folder named, "Dump" Then after GW is running at any point of game play you can start the program and it will begin recording the packets sent from the client and the packets received from the server. All packets that are encrypted are automatically decrypted. The format is a raw binary dump. I use Hex Workshop for viewing these files, although any hex editor will do. Created files are named with a packet # first, where the packet came from second, and the size of the packet last.

When exiting...remember to close Guild Wars first. If you don't, Guild Wars will probably lock-up. If you find anything useful, I'd like to know. I do give credit where credit is due. =)
very exclusive pics :P

nice man, very nice :)
hold it under:construct
 
Great job Theora, I hope you get far!
 
wow fantastic i played gw until i beat it with 4 20's before the first expation i got bored and never started up again.

good luck with the server hope you release your project soon :P i would really like to test this out.
 
Updated version of the packet dump program works for the GW build that is current as of this post(#21082):
See latest post for updated version.
If someone is actually using this and needs it up-to-date in a timely manner please inform me. It takes me about fifteen minutes to update it but I don't update GW unless I need to.

Progress:

Fixed a major and incredibly annoying bug that was the cause of tons of err=058's and 007's. Login to the character selection is now flawless. Character creation will correctly proceed to the profession selection screen. From there every profession is described as a Warrior and selecting any profession will show the customization screen(hair,skin, and face) with Warrior looks. This issue will hopefully be fixed in a day or two.

Server program limitations:


It is not possible to run the servers on the same computer and the client on a separate one without the server computer containing two or more NICs(Network Interface Cards) This may change in the future, but only if and when I find my other network card is broken or as an addition to the telnet and in-game administration system. This may or may not be possible, it depends on Winsock. This problem is due to the GW client's absolute refusal to use any port other than 6112 for all of its initial connections. It is possible to run the login and game server along with the client on the same computer or all on separate systems.

Help wanted:

Packet analyzer:
-Analyzes packets. Figures out what the data in the packets is used for.

Features I've been considering:


Shared instances
Random spawns
Progressive AI for races
PvEP

I'm going to try and make things that differ from the official GW optional. Feel free to suggest others.

For now...I sleep.:sleepy:
 
Last edited:
Great job so far Theora. What suggestions are you wanting? Such as changes in-game that official GW has that would be changed in the emulator? If so I could probably come up with a few.
 
Wow, this is some nice work! I was actually just googling for the decryption process for GW packets for a project I'm planning (I'm not a decrypter of my own, just a programmer with very limited knowledge of asm and ollydbg). Glad somebody finally cracked it. I do respect your decision not to give away the algorithm to the public though, and as such won't ask about it. I'll just keep hoping I'll get ahold of it one day. :)

Either way, keep up the good work! I'll just play around with the dump files for now. :biggrinth
 
O.o Holy Crap, there is a God.

I'm glad to see this project getting off the ground after all of those people going "Why do you want to make a server when you don't have to pay to play" blah blah blah.

Good luck~
Skite
 
is this the full thing cuz ive been hearing guild wars is one of the best game made

Please be more specific.

Akai said:
Great job so far Theora. What suggestions are you wanting? Such as changes in-game that official GW has that would be changed in the emulator? If so I could probably come up with a few.

Major gameplay or game mechanic changes. But I'm pretty much open to any idea that differs or improves from the official game. The major ones need to be known soon so the server can be built in such a way that support for them can be added easily. Please note: Mounts are probably not possible. You can only set your skill bar in town, this will not be changed.


Joh said:
Wow, this is some nice work! I was actually just googling for the decryption process for GW packets for a project I'm planning (I'm not a decrypter of my own, just a programmer with very limited knowledge of asm and ollydbg). Glad somebody finally cracked it. I do respect your decision not to give away the algorithm to the public though, and as such won't ask about it. I'll just keep hoping I'll get ahold of it one day. :)

Hope you don't mind that I ask, but what is the project you're planning? I had almost no knowledge of ASM and Ollydbg when I started to break the encryption. The packet dump program uses about four-hundred bytes of ASM code that is not generated by the compiler.

Skite said:
O.o Holy Crap, there is a God.

I'm glad to see this project getting off the ground after all of those people going "Why do you want to make a server when you don't have to pay to play" blah blah blah.

Yeah I know, He is not me. =)

I never played D2 on BattleNet. I'd rather have my character in my possession than at the mercy of some company. Another, ANet seems to be ruining the game. Not to mention this is mostly enjoyable.


Thanks for the support, it's helped me get through a few major frustrations.:jump1:
 
Suggestions:

1.) Being able to rename your pet more than once.
2.) I doubt this is possible, but maybe more than 8 people in a party.
3.) No fee for adding someone to a guild.

I had more earlier, but I can't remember them. I'll post back if I can think of some more. Hope these are good.
 
First:

Thats a great job you are doing! Finally someone is willing to do this big bunch of work. Keep it up ;)

then: if he has suggestions for changes he can build em in while he is coding. the other way round he would have to do more work finding the place to add the feature when he is ready with the server emu.

Suggestions...

well the one thing realy annoying (i remember) was the instancing...
but you are thinking of it already...

since i stopped playing GW before the first addon i cannot remember more atm. i am realy sorry, cuz i realy like to help you in any way. but i am affraid i cannot. If there is anything droping back to my memories i will post it.

again: keep it running ;)
 
I was thinking of maybe a higher level cap, but then there needs to be mobs that can give you EXP to get higher level. So I'm not sure about that.
 
well if he would be able to raise the exp you get (like on many other private servers) you have this problem solved already.
But this is the thing where many priv servers get very uninteresting...
You are maxed out to fast. And then it starts to get boring :/

its not a that bad idea but you'll have to make everything fit together to keep the fun...
 
Status
Not open for further replies.
Back