Page 1 of 1

recvpackets & erroneous Quest Monster Kill Count 12/20/2011

Posted: 20 Dec 2011, 02:44
by Shadow7
Server: pRO New Chaos

Summary: (EDITED)
I have been encountering erroneus kill counts after killing monsters as part of some quests. I tried to resolve it by either updating from SVN or via JCV's RO Tools and Openkore's Packet Length Extractor but to no avail. Additionaly, both JCV's RO tools and Openkore's Packet Length Extractor can not find the offset of the packet length function. Quest kill count is correct however upon logging-in or relogging to the character.


Background:
I am currently creating a Novice Training Ground macro that supports the minor quests such as killing Lunatics and such.
I have a macro that depends on the Quest Kill Count to trigger.

Problem:
Upon evaluating the quest kill counts after killing a monster (for example Lunatics in Novice Training Grounds)

Code: Select all

$temp1 = @eval($::questList->{7124}->{missions}->{1063}->{count})
(7124 Novice Quest, 1063 Lunatic Monster ID)


it either returns the required number of monsters to be killed (thus prematurely triggering the turn-in macro) or erroneus values.

Steps Take and Results:

Step 1: Update tables folder from SVN (As of 12/20/2011)
Result: No change. Unknown Switch: 0085

Step 2: Extract recvpackets.txt from pRO's unpacked Ragexe.exe
Result: Both JCV's RO Tools and Openkore's Packet Length Extractor can not find the offset of the packet length function.

Re: Unknown Switch: 0085 or Quest Monster Kill Count 12/20/2011

Posted: 20 Dec 2011, 06:19
by EternalHarvest
Probably not related to 0085 (unless you're using XKore). Packet length for some other packet is wrong in recvpackets.

Quest Monster Kill Count 12/20/2011

Posted: 20 Dec 2011, 08:04
by Shadow7
@EternalHarvest

Oops, yes I was actually using xKore at the time. I stopped using it now and it doesn't show the Unknown Switch: 0085. The problem still persists though.

I associated the Unknown Switch: 0085 to the problem because at the time I was using xKore the error message coincided every time I killed a quest monster.

The problem must indeed be as you pointed out. Do you have any suggestions as to how I may attack this problem?

Edited the first post to reflect the non-xKore scenario.

Re: recvpackets & erroneous Quest Monster Kill Count 12/20/2011

Posted: 20 Dec 2011, 08:27
by EternalHarvest
There's two different versions of the corresponding packet, try adding the following lines to your serverType's Receive part (the same as in Network::Receive::iRO):

Code: Select all

*parse_quest_update_mission_hunt = *Network::Receive::ServerType0::parse_quest_update_mission_hunt_v2;
*reconstruct_quest_update_mission_hunt = *Network::Receive::ServerType0::reconstruct_quest_update_mission_hunt_v2;

Re: recvpackets & erroneous Quest Monster Kill Count 12/20/2011

Posted: 20 Dec 2011, 12:39
by Shadow7
Tried it but it didn't make a difference.

Re: recvpackets & erroneous Quest Monster Kill Count 12/20/2011

Posted: 14 Mar 2012, 07:09
by sky320rey
EternalHarvest wrote:There's two different versions of the corresponding packet, try adding the following lines to your serverType's Receive part (the same as in Network::Receive::iRO):

Code: Select all

*parse_quest_update_mission_hunt = *Network::Receive::ServerType0::parse_quest_update_mission_hunt_v2;
*reconstruct_quest_update_mission_hunt = *Network::Receive::ServerType0::reconstruct_quest_update_mission_hunt_v2;
fixed my problem on crowd control quest. pRO new iris server.

now it says:
- Zombie Prisoner #/150

thanks.

Re: recvpackets & erroneous Quest Monster Kill Count 12/20/2011

Posted: 24 Mar 2012, 04:21
by c4c1n6kr3m1
how to repair it???
i play idRO and still get this problem, using latest svn

copy from iro.pm, solved for me

Re: recvpackets & erroneous Quest Monster Kill Count 12/20/2011

Posted: 10 Sep 2013, 14:34
by Yamashita Ren
The problem is still here on fRO.
The fix worked.
Thanks.