Issue information

Issue ID
#7022
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Dec 18, 2012 18:45
Last Post
Hercules Elf Bot
Dec 20, 2012 17:36
Confirmation
Yes (2)
No (0)

Hercules Elf Bot - Dec 18, 2012 18:45

Originally posted by [b]clydelion[/b]
Monster will attack you once then leave you(if passive).

To reproduce(using rev. 17028):
1. Attack a monster.
2. Get out of the monster's vision to trigger mob_unlocktarget(md,tick);
3. Get back to the monster's view.
4. Wait for 1-3 seconds and it will attack you once then leave you.

Here, I took a video.

http://www.youtube.com/watch?v=6EMZIamRNHM&feature=youtu.be

my fix:
[CODE]
Index: map/mob.c
===================================================================
--- map/mob.c (revision 17028)
+++ map/mob.c (working copy)
@@ -1322,6 +1322,7 @@
if (md->target_id) {
md->target_id=0;
unit_set_target(&md->ud, 0);
+ md->ud.target_to = 0;
}
return 0;
}
[/CODE]

This post has been edited by clydelion on Dec 18, 2012 18:52

Hercules Elf Bot - Dec 19, 2012 21:38

Originally posted by [b]mkbu95[/b]
This problem is since rev????
It is not in 16900.

Hercules Elf Bot - Dec 20, 2012 5:22

Originally posted by [b]clydelion[/b]
[font=arial,helvetica,sans-serif][size=3]I just tried it in:[/size][/font]
[font=arial,helvetica,sans-serif][size=3][color=#282828]16900[/color][/size][/font]
[font=arial,helvetica,sans-serif][size=3]16696[/size][/font]
[font=arial,helvetica,sans-serif][size=3][color=#282828]16500[/color][/size][/font]

[font=arial,helvetica,sans-serif][size=3]the bug is existing.[/size][/font]

[font=arial,helvetica,sans-serif][size=3]Not existing in:[/size][/font]
[font=arial,helvetica,sans-serif][size=3]16000[/size][/font]

[font=arial,helvetica,sans-serif][size=3]I'm positive that this is the culprit: http://trac.rathena.org/changeset/16011/rathena[/size][/font]

Hercules Elf Bot - Dec 20, 2012 9:15

Originally posted by [b]Antares[/b]
I believe I had the same with GTB.
- I casted Spiral Pierce on it. --> GTB attacked
- Teleported instantly.
- Went back to gtb and casted another Spiral --> GTB didn't care.
- Casted a third spiral --> GTB attacked again.
- Teleported again, and this went on....

Every time I teleported, the MVP didn't care about the first hit I made on it after the return.

This post has been edited by Antares on Dec 20, 2012 9:16

Hercules Elf Bot - Dec 20, 2012 17:36

Originally posted by [b]MarkZD[/b]
Fixed at: [url="http://trac.rathena.org/changeset/17033/rathena"]17033[/url]