Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 01:58

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[help] recv

Discussion on [help] recv within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
kalhacker9000's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 648
Received Thanks: 342
[help] recv

Soo,
man man behinderter tag.
naja wayne.
bin grad dabei mich etwas mehr mit den recv packets außeinander zu setzen.
unter anderem mit den zahlen dahinter.
Borsti sagte das ist die größe (size)
naja also ich hab mir das mal als hex ausgeben lassen (das packet für empfangene nachrichten im chat [0x3c] )
ich hab mir das folgendermaßen "notiziert"
PHP Code:
0c 00 3c //size
44 65 6e 4a 61 73//name
00
61  
//message
00
00 
ist ja soweit auch richtig.
gut den namen krieg ich folgerndermaßen raus:
PHP Code:
memcpy((void*)&nameplayer,(void*)((DWORD)buf2+3),16); 
ich hab als size jetzt 16 genommen hab mir das bei player[i].name abgeguckt wusste nicht was ich nehmen sollte. 16 klappt aber gut.
bekomme auch den namen ^^.

+3 denke ich mal wegen "0c 00 3c" sind 3 stellen deswegen + 3 dann kommt er du "44 ...."

so jetzt will ich aber die nachricht rausfiltern.

61 ist die nachricht...61 --> char = "a"
das ist auch das was ich geschrieben hab.
gut jetzt will ich mir das in der cmd ausgeben lassen...ich habs folgendermaßen probiert:
PHP Code:
memcpy((void*)&message111,(void*)((DWORD)buf2+3+16),4); 
wie ich auf die 4 kam? keine ahnung hab mir das von x,y,z abgeguckt.
naja ergebnis? 0!
ich bekomme nix erst wenn ich 123456789123456789123456789 schreibe bekomme ich z.B. 456789 raus also das ganz letzte.

jetzt ist meine frage:

wieso? was habe ich mit den + zahlen falsch gemacht?

haunse rein
Diamond
kalhacker9000 is offline  
Old 07/17/2009, 19:24   #2
 
kalhacker9000's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 648
Received Thanks: 342
habs...
PHP Code:
memcpy((void*)&nameplayer,(void*)((DWORD)buf2+3),16); 
memcpy((void*)&message111,(void*)((DWORD)buf2+3+1+6),4); 
allerdings noch nich getestet mach ich aber jetzt xD

edit:
geht...als size von message hab ich allerdings 60 genommen ist nicht abzuschätzen wieviel jemand schreibt...naja ist auch nur als test gewesen wollte wissen wie man auf die zahlen kommt.
kalhacker9000 is offline  
Old 08/02/2009, 12:35   #3
 
Xorg's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 87
Received Thanks: 3
PHP Code:
    memcpy((void*)&(Message.Name),(void*)((DWORD)packet+3),16); 
    
int len;
    
len strlen (Message.Name);    
    
memcpy((void*)&(Message.Content),(void*)((DWORD)packet+3+1+len),255); 
    
printf("Name: %s, Content: %s\n"Message.NameMessage.Content); 
This works for sure. Tested
Xorg is offline  
Old 08/02/2009, 15:04   #4
 
kalhacker9000's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 648
Received Thanks: 342
my worked already ^^
but thx...don't needed anymore.
it was only a lil test..
kalhacker9000 is offline  
Reply


Similar Threads Similar Threads
Send Recv
08/18/2009 - Kal Online - 0 Replies
Hey;) I start checking this code http://www.elitepvpers.com/forum/kal-hacks-bots-che ats-exploits/189618-release-kalhackzz-v0-3-v0-4-so urces.html but i cant still send a packet of move just to see my player moving.Maybe this code is obsolete i dont know if there are better send and rev codes just tell me When dll process attach happens i call my function _beginthread(f,0,NULL); void f(void* start_parameter){ Console(); //Get the console printf("DLL loaded");
[How to Get Recv Information]
05/30/2009 - Kal Online - 14 Replies
have write Tutorial there how to Analyse the Recv Packet... SoniKk69 – Blog hf who dont know it already..
[Question] Hooking send() & recv() works, but recv hiding data for co???
05/06/2009 - CO2 Programming - 2 Replies
Hey guys, I've been making a DLL to allow another program to intercept the packets of conquer using windows pipes. (Then its the job of the main program to decrypt the packets, the DLL only gives a communication channel for the main program) (winsock functions btw) - hooking send() works fine for my internet browser - hooking recv() works fine for my internet browser - hooking send() works fine for conquer online
NP recv 1226 help
02/26/2009 - General Coding - 0 Replies
I am trying to bypass np rev 1226. I recovered R3 API in kernel mode in the earlier rev. but this time, I do it in same way, it can not work! It seems the access to the hooked R3 API addr is forbidden in this rev:mad:. Anybody can help on this? How to recover it?:( Thx a lot! :)



All times are GMT +2. The time now is 01:58.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.