- Joined
- Mar 8, 2008
- Messages
- 17
- Reaction score
- 0
simple fix for that the monsters drop big amount of arrows
(Randomal number * the drop rate)
most of times its drop 1000
and all your inventory is getting full so:
go to MapleMap.java which located in net.sf.odinms.maps:
replace this:
with:
add the next import in the top of the file
if its not in there 
that it, your done
notice:
to cancel the throwing star effect:
replace:
if (ii.isArrowForBow(drop) || ii.isArrowForCrossBow(drop) || ii.isThrowingStar(drop))
with
if (ii.isArrowForBow(drop) || ii.isArrowForCrossBow(drop))
(Randomal number * the drop rate)
most of times its drop 1000
and all your inventory is getting full so:
go to MapleMap.java which located in net.sf.odinms.maps:
replace this:
PHP:
// Randomize quantity for certain items
if (ii.isArrowForBow(drop) || ii.isArrowForCrossBow(drop) || ii.isThrowingStar(drop))
idrop.setQuantity((short) (1 + ii.getSlotMax(drop) * Math.random()));
PHP:
// Randomize quantity for certain items
Random arrows = new Random();
int randomalarrows = arrows.nextInt(16);
while (randomalarrows < 6){
arrows = new Random();
randomalarrows = arrows.nextInt(16);
}
if (ii.isArrowForBow(drop) || ii.isArrowForCrossBow(drop) || ii.isThrowingStar(drop))
idrop.setQuantity((short)randomalarrows);
PHP:
import java.util.Random;

that it, your done
notice:
to cancel the throwing star effect:
replace:
if (ii.isArrowForBow(drop) || ii.isArrowForCrossBow(drop) || ii.isThrowingStar(drop))
with
if (ii.isArrowForBow(drop) || ii.isArrowForCrossBow(drop))
Last edited: