Hum, i don't understand why but it seems all the data after the version were corrupted. And i don't understand why... (i read negative bytes....)
It's working with your game_server.py anyway.
I'm trying to solve my corrupted data problem before continuing. Thanks.
edit : solved this in an encoding problem.
answer:
BufferedReader inFromClient = new BufferedReader(new InputStreamReader(clientSocket.getInputStream(), "ISO-8859-1"));
instead of :
BufferedReader inFromClient = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
edit : now i use directly the clientSocket.getInputStream()
so, its better without any problems.
Last edited by Geraff; 01-21-2014 at 03:11 AM.
Java can you show me your unsigned version of... oh wait :s
I was working on something else, so nothing new, the main problem is now I need to reimplement everything to be able to have intern communication between the lobby handler and character handler for example. I will explain soon when I have a cool solution this problem of inter communication between lobby, character, region server.
On the first Lobby Message (OPCode 0x2B10), my zlib_buffer are 139 bytes. Does everyone received them compressed ?
0000002dh: 00 00 00 80 00 00 00 8B 78 9C 01 80 00 7F FF 57 ; ...€...‹xœ.€.ÿW
0000003dh: 63 6F 35 41 3B 9C 59 C3 49 0F CC EE 81 EE C3 C7 ; co5A;œYÃI.ÌîîÃÇ
0000004dh: CC 8D B9 A8 AB E5 8F 88 BA FA 8F D1 69 3E D3 CA ; ̹¨«åˆºúÑi>ÓÊ
0000005dh: BA AE E2 04 2C E6 92 93 85 CE 3F 66 A6 DE C9 11 ; º®â.,æ’“…Î?f¦ÞÉ.
0000006dh: 48 BC F1 CA 17 95 B8 14 71 9A 2A 70 E7 A0 8E 90 ; H¼ñÊ.•¸.qš*pç*Ž
0000007dh: 35 07 D6 EF 66 25 2A 4E C1 17 C4 5F CD 97 E2 8A ; 5.Öïf%*NÁ.Ä_Í—âŠ
0000008dh: EF 9C 25 BE 7A 0C 44 78 23 9A 5D 1D 41 FB 18 BB ; ïœ%**z.Dx#š].Aû.»
0000009dh: 6D 06 99 80 3D 5C 1C 80 80 93 1E B1 40 B9 65 32 ; m.™€=\.€€“.±@¹e2
000000adh: EA 96 D4 FC 3A 5D E2 63 F8 7C 62 B4 D6 22 80 5C ; ê–Ôü:]âcø|b´Ö"€\
000000bdh: 15 42 D9 00 00 00 80 00 00 00 8B ; .BÙ...€...‹
Last edited by Anakin5; 01-25-2014 at 12:20 PM.
In your example :
then you can see a next header for a zlib buffer, what's the problem ?Code:0000002dh : 00 00 00 80 == Uncompressed size 00000031h : 00 00 00 8B == Compressed size 00000035h - 000000bfh : .... == ZLIB data
Noobs, noobs everywhere !
Noobs, but I doubt they will hide up their own arse if the company tells them to stop.
Having fun and doing this as a business are different things
Srsly dude, stop speaking on this thread, you are totally useless.
Everytime you stalk this sub forum, you just pop on some random thread for trolling, or saying s_h_i_t.
You don't even help people in the project of reverse engineering the game / protocol or whatever.
I'm really thinking about leaving this forum soon, because nobody helps ... nobody thanks for the stuff you share, a lot of noobs try to copy / paste your stuff without understanding, this is really sad. I wanted to help people because I have (imho) some reverse engineering experience, but what I have in return is shit, this is really sad.
Okay I'll stop o.O Let him rip on you Carry on yamashi lol.
blar0 is a better reverse engineer than me, I am not ripping on him at all, I am ripping on people who leech his work and can't even get something properly implemented even with a detailed description.
Then I apologise I thought you were ripping on him lol
You just found how to switch on your brain ! GG
Just received a MP from member dodoman :
did this guy contact you blar0 ?I also trying to connect to the example server blar shared, but it always crashes. i'm new to this tcp stuff , so do you got any hints for me?
my second question is, can you share your code wich is able to connect to the lobby?
The guy doesn't describe the crash ...
The second question has no sense, the guy doesn't understand that he have to code a server and not a client.
I think now I understand blar0's reaction.
Last edited by races; 01-25-2014 at 03:52 PM.