Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 02.05.2005, 19:21   #11
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

!!WARNING!! THIS IS NOT A SOLUTION, THIS IS WORKAROUND!!
First of all, main idea.
0044AD03 F3A5 REP MOVS DWORD PTR ES:[EDI],DWORD PTR DS:[ESI]
which actually copies packet data from somewhere to WSAsend buffer (sorry for rough explanation, if u want better one, debug this shit yourself)

Here is packet format (there are some uncertain points...)
2D - packet size
00 04 02 01 - header (dunno, can be also 00 04 02 02)
01 - server id
0A 00 04 01 - outer IP (10.0.4.1 here)
61 1E - port (7777 here)
00 00 00 01 00 - something . I think it is various stuff like agelimit, pk etc - have no need to get into.
00 00 00 00 - status, ping (in this case down, 9999ms)
01 00 00 00 - kind (1)
02 - server number
...

And what do stupid client expect:
...
01 00 00 00 00 - kind (1)
02 - server number
...

So, we just need to add extra 00 and we're done. The problem is that part of code is used not only to copy packet data, but also to print strings into the log (shrugs...) ok, we'll just need a selector.
Normal solution would include adding a bunch of code, modifying data tables etc etc. I have no intention to do it. If you wish - please.

What we actually need to change will be posted soon.
Livid is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:40.