diegocn
Member-
Content Count
3 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout diegocn
-
Rank
Rookie
-
Ok, thankyou ;] Admin, please disconsider the double post... Diego
-
Hi, first of all, sorry for my bad english... Iam trying to create a persistent world server for OFP Res. But in this point, with help of people who devolphed monitoring server and others, I have a basic program with responses from de server. Example, the packet sent from server to client to list the session on the server: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">178 001 001 008 223 254 052 098 001 000 000 000 001 000 000 000 000 000 000 000 000 000 000 000 172 232 241 255 084 101 115 116 101 032 111 110 032 100 105 101 103 111 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 196 000 000 000 195 000 000 000 068 101 097 116 104 109 097 116 099 104 032 040 049 045 056 032 068 041 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 006 000 000 000 000 000 000 000 000 000 254 008 000 000 000 000 090 016 000 000 082 069 083 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 The two first bytes are a double integer that represt the size of the packet. The 9 and 10 byte, are a double integer that increase one at each pack. In the 29 byte is the string "teste on diego" that is the name of the player and the name of the machine that server are running. All ok, BUT wait, the bytes 5, 6, 7 and 8, seems to be a checksum to the packet. The server and client accept and answer the packet if not modified ( no utility in this ), i need to know the algoritim of the checksum... Anyone can help-me?! Thanks very much, Diego
-
Hi, first of all, sorry for my bad english... Iam trying to create a persistent world server for OFP Res. But in this point, with help of people who devolphed monitoring server and others, I have a basic program with responses from de server. Example, the packet sent from server to client to list the session on the server: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">178 001 001 008 223 254 052 098 001 000 000 000 001 000 000 000 000 000 000 000 000 000 000 000 172 232 241 255 084 101 115 116 101 032 111 110 032 100 105 101 103 111 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 196 000 000 000 195 000 000 000 068 101 097 116 104 109 097 116 099 104 032 040 049 045 056 032 068 041 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 006 000 000 000 000 000 000 000 000 000 254 008 000 000 000 000 090 016 000 000 082 069 083 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 The two first bytes are a double integer that represt the size of the packet. The 9 and 10 byte, are a double integer that increase one at each pack. In the 29 byte is the string "teste on diego" that is the name of the player and the name of the machine that server are running. All ok, BUT wait, the bytes 5, 6, 7 and 8, seems to be a checksum to the packet. The server and client accept and answer the packet if not modified ( no utility in this ), i need to know the algoritim of the checksum... Anyone can help-me?! Thanks very much, Diego