r6391 | Illegal division by zero at src/Misc.pm line 1894.

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

Moderators: Moderators, Developers

Cozzie
Spam Generator
Spam Generator
Posts: 499
Joined: 04 Apr 2008, 09:30
Noob?: No
Location: Melbourne, City of beer and awful sushis

r6391 | Illegal division by zero at src/Misc.pm line 1894.

#1 Post by Cozzie »

Code: Select all

OpenKore version what-will-become-2.0.6 (SVN version)
@ai_seq = attack route
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 6391
Loaded plugins:
  plugins/macro.pl (macro)
  plugins/teleSearchv2.pl (Tele-Search v2)

Error message:
Illegal division by zero at src/Misc.pm line 1894.

Stack trace:
Illegal division by zero at src/Misc.pm line 1894.
 at src/Misc.pm line 1894
	Misc::meetingPosition('Actor::Monster=HASH(0x3d3743c)', 30) called at src/AI/Attack.pm line 524
	AI::Attack::main() called at src/AI/Attack.pm line 97
	AI::Attack::process() called at src/AI/CoreLogic.pm line 77
	AI::CoreLogic::iterate() called at src/functions.pl line 593
	main::mainLoop_initialized() called at src/functions.pl line 70
	main::mainLoop() called at src/Interface.pm line 75
	Interface::mainLoop('Interface::Console::Win32=HASH(0x2bdc5dc)') called at openkore.pl line 96
	main::__start() called at start.pl line 119

Died at this line:
  	my ($target, $attackMaxDistance) = @_;
* 	my $monsterSpeed = 1 / $target->{walk_speed};
  	my $timeMonsterMoves = time - $target->{time_move};

Make Openkore Awesome. Join the team.
hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No

Re: r6391 | Illegal division by zero at src/Misc.pm line 1894.

#2 Post by hakore »

Fixed. Thanks.
Whatever...
Bibian
Perl Monk
Perl Monk
Posts: 416
Joined: 04 Apr 2008, 03:08

Re: r6391 | Illegal division by zero at src/Misc.pm line 1894.

#3 Post by Bibian »

there might be a few more of these :S
sli
Perl Monk
Perl Monk
Posts: 810
Joined: 04 Apr 2008, 17:26
Noob?: No

Re: r6391 | Illegal division by zero at src/Misc.pm line 1894.

#4 Post by sli »

Probably everywhere where walk speed is used in a calculation.
cs : ee : realist