bump
|
Base: PI
Problem: if you die on a second floor and you run back, your items wont be there
Errors(Compiling Errors): -
Other Information/Media(Pictures, etc): -
bump
they disapear, because it takes u too long to get there?
probobly not dropping because your height level is higher then 0. I suggest just making the area a safezone or changing your method so that it works on all heights.
ItemAssisant
Replace method
Should work.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(c.heightLevel); c.flushOutStream(); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |