This place is for Closed bug reports only. NOT for asking help!
Moderators: Moderators, Developers
-
Mortimal
- Developers
- Posts: 389
- Joined: 01 Nov 2008, 15:31
- Noob?: No
#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
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!
-
Mortimal
- Developers
- Posts: 389
- Joined: 01 Nov 2008, 15:31
- Noob?: No
#23
Post
by Mortimal »
Move to solved. Freaking bug WAHAHAHA!
Please use pin function for uploading your file contents!
-
kLabMouse
- Administrator
- Posts: 1301
- Joined: 24 Apr 2008, 12:02
#24
Post
by kLabMouse »
EternalHarvest wrote:Mortimal wrote:This works fine!
r7633
Does initMapChangeVars also invoked on-map Teleport?
-
EternalHarvest
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
#25
Post
by EternalHarvest »
kLabMouse wrote:Does initMapChangeVars also invoked on-map Teleport?
Called from map_loaded and map_change.
-
kLabMouse
- Administrator
- Posts: 1301
- Joined: 24 Apr 2008, 12:02
#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
- Posts: 389
- Joined: 01 Nov 2008, 15:31
- Noob?: No
#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!