The "Phamtom" monster

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

Moderators: Moderators, Developers

sofax222
Developers
Developers
Posts: 214
Joined: 24 Nov 2010, 03:08
Noob?: Yes

The "Phamtom" monster

#1 Post by sofax222 »

I got a "phamtom" situation.
Some monster was visible but it was die !
My bot still lock on the "phamtom" monster.

Is this a bug of openkore ?
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: The "Phamtom" monster

#2 Post by EternalHarvest »

Happens with other clients as well. There is a timeout for dropping targets you can't damage.
sofax222
Developers
Developers
Posts: 214
Joined: 24 Nov 2010, 03:08
Noob?: Yes

Re: The "Phamtom" monster

#3 Post by sofax222 »

EternalHarvest wrote:Happens with other clients as well. There is a timeout for dropping targets you can't damage.
You mean the "ai_attack_giveup" ?
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: The "Phamtom" monster

#4 Post by EternalHarvest »

Code: Select all

sub shouldGiveUp {
	my $args = AI::args;
	return !$config{attackNoGiveup} && (timeOut($args->{ai_attack_giveup}) || $args->{unstuck}{count} > 5);
}
Looks like it.
sofax222
Developers
Developers
Posts: 214
Joined: 24 Nov 2010, 03:08
Noob?: Yes

Re: The "Phamtom" monster

#5 Post by sofax222 »

I know this !
Is there any other condition to judge the monster is a phamtom ?
Such as, the hp of the monster !
Thrice
Noob
Noob
Posts: 15
Joined: 24 Dec 2011, 13:05
Noob?: No

Re: The "Phamtom" monster

#6 Post by Thrice »

I know this phenomenon.
Happened to me using Jupitel Thunder all the time.

Back then I was also using RCX, which displayed the current health as 0/xxxx.
So the phantom monster's health is probably 0, yet its not counted as "dead".

RCX seems to readout the health from memory though, therefore I don't know if this is helpful at all.
Last edited by Thrice on 17 Jan 2012, 10:11, edited 1 time in total.
sofax222
Developers
Developers
Posts: 214
Joined: 24 Nov 2010, 03:08
Noob?: Yes

Re: The "Phamtom" monster

#7 Post by sofax222 »

Thrice wrote:I know this phenomenon.
Happened to me using Jupitel Thunder all the time.

Back then I was also using RSX, which displayed the current health as 0/xxxx.
So the phantom monster's health is probably 0, yet its not counted as "dead".

RSX seems to readout the health from memory though, therefore I don't know if this is helpful at all.
Yes ! This should be helpful !
But what is the exact message of the current health of the monster ?
And when (what moment) it shows ?
I examine my console messages, but it seems no such messages ?
In the programs, I only get the damage of monsters, but not hp of monsters.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: The "Phamtom" monster

#8 Post by EternalHarvest »

There is a "monsterDB" plugin which has max hp for monsters, and monster is assumed to have (maxHp + deltaHp) hp left, like in RCX. However, monsterDB's data isn't updated for Renewal monsters yet.
sofax222
Developers
Developers
Posts: 214
Joined: 24 Nov 2010, 03:08
Noob?: Yes

Re: The "Phamtom" monster

#9 Post by sofax222 »

EternalHarvest wrote:There is a "monsterDB" plugin which has max hp for monsters, and monster is assumed to have (maxHp + deltaHp) hp left, like in RCX. However, monsterDB's data isn't updated for Renewal monsters yet.
What is the "RCX" (or "RSX") ??

I got the "monsterDB" plugin, and I will test it !
But, is there any data packet to query the status of monsters ?
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: The "Phamtom" monster

#10 Post by EternalHarvest »

http://rcx.planetleaf.com/

Afaik there's no way to retrieve monster status (hp), except for the obvious Wizard skill.