Usage: Packet Extractor v3

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

kokal
Noob
Noob
Posts: 13
Joined: 18 Feb 2013, 17:28
Noob?: Yes

Re: Usage: Packet Extractor v3

#431 Post by kokal »

Weird!! Your error message shows

Code: Select all

Died at this line:
  	unless ($self->{packet_list}{$switch}) {
* 		die "Can't reconstruct unknown packet: $switch";
  	}
That means "0438" is not in your packet list.
Maybe you should check if you are using the same recvpackets.txt.
cenaurius
Noob
Noob
Posts: 4
Joined: 14 Apr 2013, 09:42
Noob?: Yes

Re: Usage: Packet Extractor v3

#432 Post by cenaurius »

can you please extract this?

https://www.dropbox.com/s/w91ndewiie2m0d5/VanRO.exe

thnx
freezer123
Plain Yogurt
Plain Yogurt
Posts: 90
Joined: 28 Jul 2008, 05:12
Noob?: No

Re: Usage: Packet Extractor v3

#433 Post by freezer123 »

cenaurius wrote:can you please extract this?

https://www.dropbox.com/s/w91ndewiie2m0d5/VanRO.exe

thnx
Download packet extractor V3 by Klabmouse:
1) Download and unpack http://openkore.svn.sourceforge.net/vie ... /?view=tar
2) Download start.exe and XSTools.dll from http://misc.openkore.com and unpack to the same folder where packet_extract.pl is placed (optional)
3) copy target .exe file to the same folder where packet_extract.pl is placed
And follow this steps..
just follow this instructions:

command prompt is located at start menu/accesories/command promt
1. open command promt(you should save the openkore-v3 in my doc for you to able to use cmd easilly)
2. then type cd my documents(enter)
3.cd openkore-v3(enter)
4.cd v3(enter)
5.start.exe ! packet_extract.pl target.exe(enter)
(then wait till Extractor generated. Please run blah blah
6.type extracor.exe > recvpackets.txt
8. look to your openkore-v3/v3 folder.. you will find the extracted packet.

very easy steps.. for those not really famillar in using cmd.

use this steps for easy extracting....
Also, be sure you have the correct or updated servertype, otherwise even if you have extracted the receivepackets, you will still have packets error.
Image
aakk
Human
Human
Posts: 33
Joined: 25 Jan 2009, 00:30
Noob?: Yes

Re: Usage: Packet Extractor v3

#434 Post by aakk »

kokal wrote:Weird!! Your error message shows

Code: Select all

Died at this line:
  	unless ($self->{packet_list}{$switch}) {
* 		die "Can't reconstruct unknown packet: $switch";
  	}
That means "0438" is not in your packet list.
Maybe you should check if you are using the same recvpackets.txt.
yes. its weird. T.T
kokal
Noob
Noob
Posts: 13
Joined: 18 Feb 2013, 17:28
Noob?: Yes

Re: Usage: Packet Extractor v3

#435 Post by kokal »

Stack trace:
Can't reconstruct unknown packet: 0438 at src/Network/PacketParser.pm line 172.
at src/Network/PacketParser.pm line 172
Network::PacketParser::reconstruct('Network::Send::kRO::RagexeRE_2012_04_10a=HASH(0x5fe5d84)', 'HASH(0x63ef604)') called at src/Network/Send.pm line 685
Network::Send::sendSkillUseLoc('Network::Send::kRO::RagexeRE_2012_04_10a=HASH(0x5fe5d84)', 47, 9, 80, 222) called at src/Task/UseSkill.pm line 283
After more detail to check your error message, seems you are using the recvpackets.txt which is located in tables\kRO\RagexeRE_2012_04_10a.
The new recvpackets.txt should be placed in "tables\kRO\RagexeRE_2012_04_10a" instead of "tables\kRO".
Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: Usage: Packet Extractor v3

#436 Post by Raider »

kokal wrote:
Stack trace:
Can't reconstruct unknown packet: 0438 at src/Network/PacketParser.pm line 172.
at src/Network/PacketParser.pm line 172
Network::PacketParser::reconstruct('Network::Send::kRO::RagexeRE_2012_04_10a=HASH(0x5fe5d84)', 'HASH(0x63ef604)') called at src/Network/Send.pm line 685
Network::Send::sendSkillUseLoc('Network::Send::kRO::RagexeRE_2012_04_10a=HASH(0x5fe5d84)', 47, 9, 80, 222) called at src/Task/UseSkill.pm line 283
After more detail to check your error message, seems you are using the recvpackets.txt which is located in tables\kRO\RagexeRE_2012_04_10a.
The new recvpackets.txt should be placed in "tables\kRO\RagexeRE_2012_04_10a" instead of "tables\kRO".
tables\KRO instead of RagexeRE
freezer123
Plain Yogurt
Plain Yogurt
Posts: 90
Joined: 28 Jul 2008, 05:12
Noob?: No

Re: Usage: Packet Extractor v3

#437 Post by freezer123 »

Server Type RagexeRE_2012_04_10a are not yet finished.. patches are welcome.

http://www.openkore.com/index.php/ServerType
Image
aakk
Human
Human
Posts: 33
Joined: 25 Jan 2009, 00:30
Noob?: Yes

Re: Usage: Packet Extractor v3

#438 Post by aakk »

kokal wrote:
Stack trace:
Can't reconstruct unknown packet: 0438 at src/Network/PacketParser.pm line 172.
at src/Network/PacketParser.pm line 172
Network::PacketParser::reconstruct('Network::Send::kRO::RagexeRE_2012_04_10a=HASH(0x5fe5d84)', 'HASH(0x63ef604)') called at src/Network/Send.pm line 685
Network::Send::sendSkillUseLoc('Network::Send::kRO::RagexeRE_2012_04_10a=HASH(0x5fe5d84)', 47, 9, 80, 222) called at src/Task/UseSkill.pm line 283
After more detail to check your error message, seems you are using the recvpackets.txt which is located in tables\kRO\RagexeRE_2012_04_10a.
The new recvpackets.txt should be placed in "tables\kRO\RagexeRE_2012_04_10a" instead of "tables\kRO".

i tried add "'0438' => ['skill_use_location', 'v4', [qw(lv skillID x y)]]," to "src\Network\Send\kRO\RagexeRE_2012_04_10a.pm"
( http://forums.openkore.com/viewtopic.php?f=37&t=17181 )
um.. then i use "sm 47". that's work. thx :)

but, still other skills can't used.
sm 46 (Double Strafe) not work. maybe "skill use to id" is wrong.
kokal
Noob
Noob
Posts: 13
Joined: 18 Feb 2013, 17:28
Noob?: Yes

Re: Usage: Packet Extractor v3

#439 Post by kokal »

Raider wrote: tables\KRO instead of RagexeRE
Thanks for the correction.
cenaurius
Noob
Noob
Posts: 4
Joined: 14 Apr 2013, 09:42
Noob?: Yes

Re: Usage: Packet Extractor v3

#440 Post by cenaurius »

freezer123 wrote:
cenaurius wrote:can you please extract this?

https://www.dropbox.com/s/w91ndewiie2m0d5/VanRO.exe

thnx
Download packet extractor V3 by Klabmouse:
1) Download and unpack http://openkore.svn.sourceforge.net/vie ... /?view=tar
2) Download start.exe and XSTools.dll from http://misc.openkore.com and unpack to the same folder where packet_extract.pl is placed (optional)
3) copy target .exe file to the same folder where packet_extract.pl is placed
And follow this steps..
just follow this instructions:

command prompt is located at start menu/accesories/command promt
1. open command promt(you should save the openkore-v3 in my doc for you to able to use cmd easilly)
2. then type cd my documents(enter)
3.cd openkore-v3(enter)
4.cd v3(enter)
5.start.exe ! packet_extract.pl target.exe(enter)
(then wait till Extractor generated. Please run blah blah
6.type extracor.exe > recvpackets.txt
8. look to your openkore-v3/v3 folder.. you will find the extracted packet.

very easy steps.. for those not really famillar in using cmd.

use this steps for easy extracting....
Also, be sure you have the correct or updated servertype, otherwise even if you have extracted the receivepackets, you will still have packets error.

i followed all the steps but i get this error Search for Packet Len Map failed!
what did i do wrong T_T