Yiyotop / ro-rail

Automatically exported from code.google.com/p/ro-rail
0 stars 0 forks source link

Owner-chase leaves mercenaries behind #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
How it happens?
Just walks around the town with AGI up.

Expected outcome?
It should detects the movement made by the owner. If it exceeds the 
followDistance, it will start moving towards the owner.

Original issue reported on code.google.com by the.God5...@gmail.com on 27 Mar 2010 at 12:44

GoogleCodeExporter commented 8 years ago
Sorry for the post above. Was confused with what i should type.
Let me write it properly.

What steps will reproduce the problem?
1. Just walks around on any map with AGI up or maybe any speed boost 
items/skills. 
2. Can't seems to leave it at normal speed.

What is the expected output? What do you see instead?
Make sure the owner doesn't accidentally leave it somewhere when having a move 
speed buff.

What revision of the product are you using?
Version.lua 139 2010-03-24 14:06:35Z faithful613
Rev: 139

Please provide any additional information below.
not sure what i should add here

please and thank you.

Original comment by the.God5...@gmail.com on 27 Mar 2010 at 12:50

GoogleCodeExporter commented 8 years ago
i made some further testing. I am not sure if this behavior is intended or not. 
but 
seems like ai are very aggressive. even when the owner is walking (or rather 
running 
away from mobs). They seems to prioritize to attack any enemy. rather than to 
follow 
the owner.

btw, the test is done on both Homunculus and Mercenaries. As i wrote above, i 
can't 
seems to leave my homun at normal speed. but leaving the mercenary is quite 
possible. 

Original comment by the.God5...@gmail.com on 27 Mar 2010 at 2:17

GoogleCodeExporter commented 8 years ago
As far as I know, mercenaries always run at normal player speed. If you're 
moving 
faster because of a buff, there is no way the AI can force you to wait for it.

Do you mind specifying which homunculi and mercenaries you've tested with? Does 
RAIL's 
aggressiveness cause it to be left behind more often?

Original comment by faithful...@gmail.com on 27 Mar 2010 at 4:22

GoogleCodeExporter commented 8 years ago
I am playing with a vanil and a bow mercenary. 

From what i see, the problem is actually the distance of the ai before they 
start following. In this case, it seems like 7 or 9 tiles. Another few 
tiles it would go out of screen in which would cause the ai to be "static". The 
owner move away faster than the ai could chase him only when using a 
move speed improvement skills/items.
I am not sure how, but seems the homun ai in RampageAI doesn't seems to suffer 
this bug. i don't think i noticed this in other ai. 

I could confirm that its really hard to leave the ai without speed buff. But 
its not good to have them aggressively attacking everything at sight 
while moving [occasional stops due to some lag]. This might be the cause why i 
leave em at certain points. Actually the lag is hardly noticeable, probably i 
just stops moving for 0.2~0.3 sec and they already starts attacking (talk about 
being very effective!).

Try to add a delay before they start attacking after a certain move are made. 
e.g 0.75 sec or 1 sec?

Original comment by the.God5...@gmail.com on 27 Mar 2010 at 5:00

GoogleCodeExporter commented 8 years ago
I'll be working more on the owner-chase code shortly. I'll keep this in mind 
when I do.

Original comment by faithful...@gmail.com on 28 Mar 2010 at 5:16

GoogleCodeExporter commented 8 years ago

Original comment by faithful...@gmail.com on 28 Mar 2010 at 5:16

GoogleCodeExporter commented 8 years ago
I made some changes in revision 145. Please tell me if the issue has improved 
with 
these changes.

Original comment by faithful...@gmail.com on 6 Apr 2010 at 3:07

GoogleCodeExporter commented 8 years ago
will do the testing probably tomorrow. its already 1am here. 

OutTopic
========
just wondering, if the sorcerer's new spirit system also use AI-like homunculus 
system, 
will you also implement em on RAIL?

Original comment by the.God5...@gmail.com on 6 Apr 2010 at 5:02

GoogleCodeExporter commented 8 years ago
Issue 5 refers to the new homunculus S system, as well as the spirit system if 
it uses 
AI.

Original comment by faithful...@gmail.com on 7 Apr 2010 at 9:29

GoogleCodeExporter commented 8 years ago
Considerable changes have been made to the owner-chase code. Can you verify 
that RAIL 
has seen improvement?

Original comment by faithful...@gmail.com on 4 May 2010 at 1:30

GoogleCodeExporter commented 8 years ago
sure. i test, and check for the improvement.. check back in 1-2 days.

Original comment by the.God5...@gmail.com on 4 May 2010 at 2:00

GoogleCodeExporter commented 8 years ago
I'm closing this issue, because I have no new reports of this issue. If the 
issue 
persists, please open a new issue.

Original comment by faithful...@gmail.com on 12 May 2010 at 7:55