Recent Topics

Ads

What does it take to code this monster?

Chat about everything else - ask questions, share stories, or just hang out.
User avatar
TeeTees
Posts: 6

What does it take to code this monster?

Post#1 » Thu Nov 27, 2014 12:38 am

I'd love to help, but I'm not a coder.

I am very curious what goes into fixing WAR (how it's done).
What language do you need to know?
What does a problem look like? Example, if you wanted to make the map light up and reveal when you enter a new area.... how would you go about doing that? Everything is ordered? Or it's a big mess and you have to go searching?

Lots of respect for the devs.... obviously I know nothing about the work you do.

One other question: Is the server portion of the code being remade from scratch? Or was there a dump of that made (I'm guessing yes, and that's the reason for the version of the current game)?

Thanks for enlightening me!

Ads
User avatar
MaxHayman
Management
Posts: 1077
Contact:

Re: What does it take to code this monster?

Post#2 » Thu Nov 27, 2014 1:29 am

The server is written in C#, with a lot of the tools we write written in Java. Knowing a programming language isn't the most crucial thing you need to know, as knowledge of any object orientated language should be fine. Most of the time I spend working on reverse engineering the packet structures.

During the last days of the original game people made loads of packet logs from the original servers.

Which look like this.
Image

A lot of the packets structures have been identified - but there are usually some unknown values still. There are still a lot of structures to still be identified, some which have no apparent effect to the running of the game.

The server was originally written from scratch. However - data can be extracted from the packet logs, which can be reprocessed and used again (like items, quests and NPCs) once the structure of that packet is discovered.

I hope this clears things up for you.
:)
Max Hayman

User avatar
TeeTees
Posts: 6

Re: What does it take to code this monster?

Post#3 » Thu Nov 27, 2014 3:00 am

So, you take a server packet line and see what the client does with it once it reads it? Trial and error?
Now I'm really confused...... LOL

I know the client side has most of the game (the art, animations, etc)..... was the server side another "instance" of the client that just kept track of everything (meaning you have all the software)? Or the server was something totally different..... in which case, how was that recreated here?

This is really neat.

Londo
Posts: 217

Re: What does it take to code this monster?

Post#4 » Thu Nov 27, 2014 3:37 am

Its not complete trial and error. Layout of packets is logical, and you expect certain things at different places. I also find it helpful to disassemble the war.exe and look at parameters for the packet handler in question.

(IDA Disassembler)
Image

Aceboltz
Posts: 254

Re: What does it take to code this monster?

Post#5 » Thu Nov 27, 2014 9:39 am

Is there a Londo fangroup?

User avatar
Bozzax
Posts: 2650

Re: What does it take to code this monster?

Post#6 » Thu Nov 27, 2014 9:43 am

A reasonable RvR system that could make the majority happy http://imgur.com/HL6cgl7

Luth
Posts: 2840

Re: What does it take to code this monster?

Post#7 » Thu Nov 27, 2014 10:02 am

Spoiler:
MaxHayman wrote: Image
Londo wrote: Image
Rumor has it, that if you are not a coder and stare too long at those pictures,
- you begin to shrink
- your skin turns green
- your face takes the form of a rotten potato
- you start to stink terribly

So better be careful :D

User avatar
TeeTees
Posts: 6

Re: What does it take to code this monster?

Post#8 » Thu Nov 27, 2014 5:03 pm

Londo wrote:Its not complete trial and error. Layout of packets is logical, and you expect certain things at different places. I also find it helpful to disassemble the war.exe and look at parameters for the packet handler in question.

(IDA Disassembler)
Image
Yup, that's complete Ork-Speak to me..... no clue what any of that means.

But it was really nice to see what you guys do...... I was hoping I'd see something and be able to say "hey, I can do that!!! Lemme help".

Ads
User avatar
Barbadian
Posts: 125

Re: What does it take to code this monster?

Post#9 » Sun Nov 30, 2014 10:33 am

Very cool. This project has inspired me to learn Programming myself. Hoping to help out around here at some point in the future - thats if it aint all done by then! Haha. ;)

User avatar
timberwoff
Posts: 27

Re: What does it take to code this monster?

Post#10 » Sat Jan 10, 2015 3:38 pm

How does this relate to, for example, Public Quests not working? What would you have to do to get those to work? Just trying to understand the (most likely colossal) amount of work you guys are throwing yourselves at.
Last edited by timberwoff on Sat Jan 10, 2015 4:11 pm, edited 1 time in total.
So long as men die liberty will never perish.

Who is online

Users browsing this forum: Ahrefs [Bot], Aluviya, Bing [Bot], Google [Bot], mortenskands123 and 8 guests