Archive > AO 0.6 support

Error in loot module.

(1/1)

Linfix:
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?

Linfix:
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 ...

Navigation

[0] Message Index

Go to full version