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

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
Shadow7
Human
Human
Posts: 25
Joined: 03 Dec 2009, 12:30
Noob?: No

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

#1 Post 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.
Last edited by Shadow7 on 20 Dec 2011, 08:14, edited 3 times in total.

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

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

#2 Post by EternalHarvest »

Probably not related to 0085 (unless you're using XKore). Packet length for some other packet is wrong in recvpackets.

Shadow7
Human
Human
Posts: 25
Joined: 03 Dec 2009, 12:30
Noob?: No

Quest Monster Kill Count 12/20/2011

#3 Post 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.

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

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

#4 Post 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;

Shadow7
Human
Human
Posts: 25
Joined: 03 Dec 2009, 12:30
Noob?: No

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

#5 Post by Shadow7 »

Tried it but it didn't make a difference.

sky320rey
Human
Human
Posts: 27
Joined: 13 May 2008, 04:23
Noob?: No
Location: Here, There, Everywhere!

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

#6 Post 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.

c4c1n6kr3m1
The Way Of Human
The Way Of Human
Posts: 150
Joined: 24 Mar 2012, 04:13
Noob?: Yes

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

#7 Post by c4c1n6kr3m1 »

how to repair it???
i play idRO and still get this problem, using latest svn

copy from iro.pm, solved for me

Yamashita Ren
Noob
Noob
Posts: 5
Joined: 22 Aug 2013, 20:34
Noob?: No

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

#8 Post by Yamashita Ren »

The problem is still here on fRO.
The fix worked.
Thanks.

Locked