[patch] r7466 | eA | endless teleport loop

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

Moderators: Moderators, Developers

Message
Author
Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: [patch] r7466 | eA | endless teleport loop

#21 Post by Mortimal »

I knew about this:
EternalHarvest wrote:map_change actually clears both timeouts in initMapChangeVars (functions.pl):
Code:
delete $timeout{ai_teleport_retry}{time};
delete $timeout{ai_teleport_delay}{time};
so I specified

Code: Select all

$timeout{ai_teleport_delay}{time} = time;
After

Code: Select all

main::initMapChangeVars();
in sub map_change




EternalHarvest wrote:Try to change
Code:
AI::clear("attack", "move");

in initMapChangeVars to
Code:
AI::clear(qw(attack move teleport));
This works fine!
Please use pin function for uploading your file contents!

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

Re: [patch] r7466 | eA | endless teleport loop

#22 Post by EternalHarvest »

Mortimal wrote:This works fine!
r7633

Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: [patch] r7466 | eA | endless teleport loop

#23 Post by Mortimal »

:D Move to solved. Freaking bug WAHAHAHA!
Please use pin function for uploading your file contents!

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: [patch] r7466 | eA | endless teleport loop

#24 Post by kLabMouse »

EternalHarvest wrote:
Mortimal wrote:This works fine!
r7633
Does initMapChangeVars also invoked on-map Teleport?

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

Re: [patch] r7466 | eA | endless teleport loop

#25 Post by EternalHarvest »

kLabMouse wrote:Does initMapChangeVars also invoked on-map Teleport?
Called from map_loaded and map_change.

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: [patch] r7466 | eA | endless teleport loop

#26 Post by kLabMouse »

EternalHarvest wrote:
kLabMouse wrote:Does initMapChangeVars also invoked on-map Teleport?
Called from map_loaded and map_change.
OK. So Map->Map teleport is covered.
How about Same Map ? Eg... FlyWing like TP.

Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: [patch] r7466 | eA | endless teleport loop

#27 Post by Mortimal »

The problem was in: AI::queue('teleport'); And it queue only when $use_lvl == 1 - so it must not be any problems with FlyWings...

But I can test it if needed...
Please use pin function for uploading your file contents!

Post Reply