Look into another source that has walking in process and then add it and convert.
|
I need help with a couple things. First off is the NPC drops, I can't get the ones i add to work, and im pretty sure i used the right format. Second. i still can't fix the walking. I do not know how to convert walking to process() or whatever you call it. Go ahead and flame away, but help is appreciated. Thanks.
NPC Drops
Is this the thing causing the walking delays?Code://man {1, 995, 1200+ misc.random(1300), 91},
Code:public void WalkTo(int x, int y) { if(EntangleDelay > 0) return; newWalkCmdSteps = (Math.abs((x+y))); if(newWalkCmdSteps % 2 != 0) newWalkCmdSteps /= 2; if(++newWalkCmdSteps > walkingQueueSize) { //println("Warning: WalkTo("+packetType+") command contains too many steps ("+newWalkCmdSteps+")."); newWalkCmdSteps = 0; } int firstStepX = absX; int tmpFSX = firstStepX; firstStepX -= mapRegionX*8; for(i = 1; i < newWalkCmdSteps; i++) { newWalkCmdX[i] = x; newWalkCmdY[i] = y; tmpNWCX[i] = newWalkCmdX[i]; tmpNWCY[i] = newWalkCmdY[i]; } newWalkCmdX[0] = newWalkCmdY[0] = tmpNWCX[0] = tmpNWCY[0] = 0; int firstStepY = absY; int tmpFSY = firstStepY; firstStepY -= mapRegionY*8; newWalkCmdIsRunning = ((inStream.readSignedByteC() == 1)); for(i = 0; i < newWalkCmdSteps; i++) { newWalkCmdX[i] += firstStepX; newWalkCmdY[i] += firstStepY; } }
i dont understand what this "Process" and "converting" is though. That's my whole problem xD
Would this happen to be it?
Code:public void WalkTo(int x, int y) { if(EntangleDelay > 0) return; newWalkCmdSteps = (Math.abs((x+y))); if(newWalkCmdSteps % 2 != 0) newWalkCmdSteps /= 2; if(++newWalkCmdSteps > walkingQueueSize) { //println("Warning: WalkTo("+packetType+") command contains too many steps ("+newWalkCmdSteps+")."); newWalkCmdSteps = 0; } int firstStepX = absX; int tmpFSX = firstStepX; firstStepX -= mapRegionX*8; for(i = 1; i < newWalkCmdSteps; i++) { newWalkCmdX[i] = x; newWalkCmdY[i] = y; tmpNWCX[i] = newWalkCmdX[i]; tmpNWCY[i] = newWalkCmdY[i]; } newWalkCmdX[0] = newWalkCmdY[0] = tmpNWCX[0] = tmpNWCY[0] = 0; int firstStepY = absY; int tmpFSY = firstStepY; firstStepY -= mapRegionY*8; newWalkCmdIsRunning = ((inStream.readSignedByteC() == 1)); for(i = 0; i < newWalkCmdSteps; i++) { newWalkCmdX[i] += firstStepX; newWalkCmdY[i] += firstStepY; } }
Code:public int youFail = 0; public boolean aBooleanMethodWDF() { if((youFail == 0)) { youFail++; } else if ((youFail > 0)) { return true; } return false; }Code:if((!youFail)) { youFail = true; }Just examples, calm down.Code:public boolean whoFails() { return Cory; }
Good job on reading Java Tutorials, sadly you missed out abit.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |