PDA

View Full Version : Server help!



xxxpkerxxx
June 25th, 2010, 01:56
OK #1
1.i dropped an item and it didnt show up on the ground
2.when u kill an npc its drop shows up
3. drops r (on)
4. i have no idea why when i drop an item it doesnt show up plz help me :)


plz post a answer :)

Austin
June 25th, 2010, 05:48
Post your dropping packet + method.

xxxpkerxxx
June 25th, 2010, 07:01
tbh ik its sad but i have no idea what u just said lol i just need help lol

xxxpkerxxx
June 25th, 2010, 07:30
println_debug("Fatal: couldn't find connection vertex! Dropping packet.");
client temp = (client) this;
temp.savegame(true);
disconnected = true;
} else {
wQueueWritePtr = wQueueReadPtr;
// discard any yet unprocessed waypoints from queue

addToWalkingQueue(currentX, currentY); // have to add this in order to
// keep consistency in the queue

if ((dir != -1) && ((dir & 1) != 0)) {
// need to place an additional waypoint which lies between
// walkingQueue[numTravelBackSteps-2] and
// walkingQueue[numTravelBackSteps-1] but can be connected to
// firstX/firstY

for (int i = 0; i < numTravelBackSteps - 1; i++) {
addToWalkingQueue(travelBackX[i], travelBackY[i]);
}
int wayPointX2 = travelBackX[numTravelBackSteps - 1], wayPointY2 = travelBackY[numTravelBackSteps - 1];
int wayPointX1, wayPointY1;
if (numTravelBackSteps == 1) {
wayPointX1 = currentX;
wayPointY1 = currentY;
} else {
wayPointX1 = travelBackX[numTravelBackSteps - 2];
wayPointY1 = travelBackY[numTravelBackSteps - 2];
}
// we're coming from wayPoint1, want to go in direction wayPoint2
// but only so far that
// we get a connection to first

// the easiest, but somewhat ugly way:
// maybe there is a better way, but it involves shitload of
// different
// cases so it seems like it isn't anymore
dir = misc.direction(wayPointX1, wayPointY1, wayPointX2,
wayPointY2);
if ((dir == -1) || ((dir & 1) != 0)) {
println_debug("Fatal: The walking queue is corrupt! wp1=("
+ wayPointX1
+ ", "
+ wayPointY1
+ "), "
+ "wp2=("
+ wayPointX2
+ ", "
+ wayPointY2
+ ")");
} else {
dir >>= 1;
found = false;
int x = wayPointX1, y = wayPointY1;
while ((x != wayPointX2) || (y != wayPointY2)) {
x += misc.directionDeltaX[dir];
y += misc.directionDeltaY[dir];
if ((misc.direction(x, y, firstX, firstY) & 1) == 0) {
found = true;
break;
}
}
if (!found) {
println_debug("Fatal: Internal error: unable to determine connection vertex!"
+ " wp1=("
+ wayPointX1
+ ", "
+ wayPointY1
+ "), wp2=("
+ wayPointX2
+ ", "
+ wayPointY2
+ "), "
+ "first=("
+ firstX + ", " + firstY + ")");
} else
addToWalkingQueue(wayPointX1, wayPointY1);
}

tlozoot
June 25th, 2010, 21:45
Same thing happened to me, drops are disabled on my server when i tried to drop it'd say "Dropping has been disabled do ::Empty instead" so in the drop packet stuff you gotta fix it so drops AREN't disabled so basically what i did was made player rights = 7 not be able to drop. which is no such thing :)