How do you create server code from nothing?
Posted: Fri Jun 19, 2015 5:12 pm
I have often wondered how anyone could take a game client and from it make the server code that it needs. When I think about it, it blows my mind. Kind of like working several mixed up puzzles with no box and blank pieces, in the dark!
I am curious, how is it done really? Do you simply capture packets coming from the client and compare them with specific actions being done in the client? I assume that the client receives many packets from the server as well, and since there is no server, how in the world can you work out what the client is expecting to receive? And most of all, where would you even start?
Like, for instance, lets say I want to find out how NPC positions are received. I know I can move about and see my own movement packets coming out of the client, but how could I find out what magic packet tells the client that NPC A is has moved to X.Y without a live server to go by? Do you guys actually reverse engineer the client?
Just curious =)
I am curious, how is it done really? Do you simply capture packets coming from the client and compare them with specific actions being done in the client? I assume that the client receives many packets from the server as well, and since there is no server, how in the world can you work out what the client is expecting to receive? And most of all, where would you even start?
Like, for instance, lets say I want to find out how NPC positions are received. I know I can move about and see my own movement packets coming out of the client, but how could I find out what magic packet tells the client that NPC A is has moved to X.Y without a live server to go by? Do you guys actually reverse engineer the client?
Just curious =)