uhhhh show your method that drops items?
|
Okay, well in my PI server I have a problem, say for example you kill a abby demon on height-level 2 in the slayer tower, the drop will show up on height-level 2-0 or if I kill a dust devil on height-level 1 the drop will show up on 2-0 as well, and in the warriors gulid after killing a hill giant on height level 2 the drop will show up on all height-levels, I'm just curious on how I would make drops show up on its exact height-level....
Thanks
uhhhh show your method that drops items?
You must be sending the item drop when changing regions and not checking the height level
I need the height-level part I believe...Code:public void createGroundItem(int itemID, int itemX, int itemY, int itemAmount) { synchronized(c) { c.getOutStream().createFrame(85); c.getOutStream().writeByteC((itemY - 8 * c.mapRegionY)); c.getOutStream().writeByteC((itemX - 8 * c.mapRegionX)); c.getOutStream().createFrame(44); c.getOutStream().writeWordBigEndianA(itemID); c.getOutStream().writeWord(itemAmount); c.getOutStream().writeByte(0); c.flushOutStream(); } }
I posted it
Bump
Bump
Only if I knew how... Could you or somebody tell me how please thanks.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |