BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6 support => Topic started by: Linfix on December 30, 2015, 12:13:41 pm

Title: Error in loot module.
Post by: Linfix on December 30, 2015, 12:13:41 pm
When a single item is upp for roll in slot 1 it works, but with multiple items in diffrent slots it does not handle it correct and i get an error Warning: mt_rand(): max(-1) is smaller than min(0) in /home/storm/vgx/main/14_Tools.php on line 457.

Is there any fix for this?
Title: Re: Error in loot module.
Post by: Linfix on January 01, 2016, 11:34:18 am
Found the cause of the error, it still rolls an item even if noone has added to it, that's why there is an error ...
SimplePortal 2.3.7 © 2008-2024, SimplePortal