Bot and Mercenary dropping target

This place is for Closed bug reports only. NOT for asking help!

Moderators: Moderators, Developers

Message
Author
Francesco24
Noob
Noob
Posts: 12
Joined: 06 Dec 2008, 11:59
Noob?: Yes

Bot and Mercenary dropping target

#1 Post by Francesco24 »

When using a mercenary, I sometime gets this problem:
both my character and the mercenary will start dropping their target (to prevent KS) even if I am the only player on the map

Code: Select all

[Dec 18 00:23:52 2010.14] Dropping target - you will not kill steal others
[Dec 18 00:23:52 2010.15] Dropping target - Your Mercenary Paolo (0) will not kill steal others
And they'll keep dropping it until I manually move the bot away from that monster.
Without the mercenary this never happened.

Any idea? is it a bug?

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

#2 Post by EternalHarvest »

When homunculus misses its first attack on monster, Misc::updateDamageTables sets

Code: Select all

$monster->{dmgFromPlayer}{$sourceID} = 0
$monster->{dmgFromParty} = 0
Then, Misc::checkMonsterCleanness checks

Code: Select all

$monster->{dmgFromParty} > 0
(allowing the attack if so, which is usual behavior), and

Code: Select all

scalar(keys %{$monster->{dmgFromPlayer}}) == 0
- that's where it reports that monsters as being attacked by "other players".

Karoo
Noob
Noob
Posts: 5
Joined: 05 May 2011, 23:00
Noob?: Yes

Re: Bot and Mercenary dropping target

#3 Post by Karoo »

I am receiving this exact same problem.
I see this post was made in 2008. Is there any solution?

EternalHarvest posted 2 link to a Russian forum, does not help me much as I do not understand that language.

thanks

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

Re: Bot and Mercenary dropping target

#4 Post by EternalHarvest »

r7759 fixes the case "homunculus misses with the first attack".

Post Reply