[HELP]I have a 5200+ source and client I make char FINE relog Client exit

03/05/2010 19:40 Paralyzer[GM]#46
This does not help me :S
03/05/2010 21:44 ImFlamedCOD#47
Quote:
Originally Posted by tanelipe View Post
PHP Code:
unsigned long RecvPointerRecvSizeRecvContinue;
unsigned long RecvLocation 0x005AF3CE;

__declspec(nakedvoid RecvHook() {
    
__asm {
        
pop RecvPointer
        pop RecvSize
    
}
    
ProcessServer(RecvPointerRecvSize);
    
__asm {
        
push RecvPointer
        push RecvSize
        mov eax
RecvSize
        jmp 
[RecvContinue]
    }

Here's a layout for the packet logger.

PHP Code:
RecvLocation Address of the codeblock you're hookinh
RecvContinue = RecvLocation+5
RecvPointer = Pointer to packet
RecvSize = Packet size 
Have fun.
Posting C++ Code to try and help a newbie that is using C# is not very helpful Tane. . . There are several packetloggers you can use to get the packet , i use a proxy that i created to log them using JInject from jporxy or you could use Loader from BCO its an easy way to port it to the proxy. If i get time later at work atm ill release a public packet logger proxy if enough people are interested in it.
03/05/2010 21:50 tanelipe#48
Why do you think I released this one? I had no intention to help really. However I posted this because he was asking for a packetlogger, my code snippet actually logs the incoming packets. I'm well aware that the code is in C# and I realise that the majority of people are using C# here instead of C++.

I'm sure that there would be absolutely no interest in the packet logger. People who know how to work with packets, and undestand them, most likely already have a packet logger of some sort. Because it's not a hack, it will not interest the majority of this community.
03/05/2010 22:03 Paralyzer[GM]#49
So let me get this stright

*I need a download link for a packetlogger*
then I play real conquer and login and the packet logger will just give me the packets !?!
03/05/2010 22:15 ImFlamedCOD#50
It will give you raw packets which look like this.
Code:
76 00 1E 27 51 DF 25 00 A6 05 17 00 63 05 00 32             v..'Q.%.....c..2
00 00 00 00 00 00 00 00 61 C9 01 00 00 00 00 00             ........a.......
AF 0F 02 00 69 2C 09 00 69 2C 09 00 00 00 00 00             ....i,..i,......
00 00 00 00 43 01 8D 01 A7 01 07 FA 00 00 00 00             ....C...........
01 68 00 00 00 00 00 00 00 00 00 00 00 00 00 00             .h..............
F1 7A D9 01 00 00 00 00 03 00 00 00 03 00 C7 0A             .z..............
00 00 64 00 F0 00 04 00 C2 17 00 00 00 00 01 06             ..d.............
4C 75 78 69 6B 61 54 51 53 65 72 76 65 72                   CODTQServer
I'm working on a proxy right now for the sole purpose of packet logging. Give me a little bit if i can get it finished ill release it asap. I feel and see the need for a public packet logger so ill release one.
03/05/2010 22:29 Korvacs#51
Quote:
Originally Posted by ImFlamedCOD View Post
It will give you raw packets which look like this.
Atually unless its specifically suited to that client, the packetlogger probably wont decrypt them properlly lol.
03/05/2010 22:37 ImFlamedCOD#52
Quote:
Originally Posted by Korvacs View Post
Atually unless its specifically suited to that client, the packetlogger probably wont decrypt them properlly lol.
Could you elaborate more?
03/05/2010 22:38 Korvacs#53
The encryption wont match up, Packet lengths will be wrong, so it wont split the packets correctly, etc etc.
03/05/2010 22:42 Paralyzer[GM]#54
So can I ask again ?

Does anyone have a packet logger that WORKS and will decrypt the packets for me ?
03/05/2010 22:43 Arcо#55
Quote:
Originally Posted by Paralyzer[GM] View Post
So can I ask again ?

Does anyone have a packet logger that WORKS and will decrypt the packets for me ?
Don't think your gonna get one for free.
03/05/2010 23:05 Paralyzer[GM]#56
:O so....... What do I do now ?!
03/05/2010 23:06 Korvacs#57
Read a load of guides on the web about packet logging, or do what youve done up untill now and just wait untill someone elses work is released,
03/06/2010 01:35 pro4never#58
Quote:
Originally Posted by Paralyzer[GM] View Post
So let me get this stright

*I need a download link for a packetlogger*
then I play real conquer and login and the packet logger will just give me the packets !?!

No, it will use raw data that you will need to be able to interpret and translate into something your source can actually use (which you would have to do yourself using actual knowledge (and or trial/error) as well as making sure you are recording only the correct packets.

Note: loging in isn't one simple thing, there is a ton of information sent back and forth by the time you are actually 'fully' logged in. You would have to be able to tell them apart, it's not like they are going to be like "character creation" with a perfectly written lotf packet structure and then a "get hotkeys" packet... it's going to be a stream of packets back and forth during the login procedure..

Honestly, the fact that you are asking the questions you are is proof that you are not ready to do such a thing. Members have already given you a number of good suggestions (read up on packet logging, get a packet logger, log some, learn to understand/implement them). When people say "no one is going to give you a finished product" they aren't simply trying to piss you off... they are trying to help you by suggesting you learn to do things yourself... which you will NEED to do... or you could wait another year or so until someone releases 'lotf 3.0' which will move up a few patches and include 50,000 more half coded buggy features that the community will hail as the 'greatest thing ever' and all jump on that bandwagon trying to fix it up.

</rant>
03/06/2010 03:11 Paralyzer[GM]#59
o.O
03/06/2010 07:13 _tao4229_#60
Not to mention the assloads of (mostly) useless packets you'll never use on a private server that TQ sends.