Admin showdoors command improvement.

This commit is contained in:
MobiusDev 2017-08-01 01:05:27 +00:00
parent 0ab59a53ec
commit c1194b585c
6 changed files with 9 additions and 6 deletions

View File

@ -15797,7 +15797,6 @@
<openStatus default="close" />
</door>
<door id="23220104" name="nornil_cave_S.nornil_mover">
<!-- AUTO GENERATED DOOR -->
<nodes nodeZ="-3755">
<node x="102618" y="156743" />
<node x="102367" y="156743" />
@ -15807,7 +15806,7 @@
<location x="102491" y="156736" z="-3755" />
<stats basePDef="644" baseMDef="518" baseHpMax="169710" />
<status showHp="false" />
<openStatus default="close" />
<openStatus default="open" />
</door>
<door id="23220103" name="nornil_cave_S.nornil_mover">
<!-- AUTO GENERATED DOOR -->

View File

@ -160,6 +160,8 @@ public class AdminDoorControl implements IAdminCommandHandler
packet.addLine(color, door.getX(0), door.getY(0), door.getZMax(), door.getX(1), door.getY(1), door.getZMin());
packet.addLine(color, door.getX(2), door.getY(2), door.getZMax(), door.getX(3), door.getY(3), door.getZMin());
activeChar.sendPacket(packet);
// send message
activeChar.sendMessage("Found door " + door.getId());
});
}
}

View File

@ -15797,7 +15797,6 @@
<openStatus default="close" />
</door>
<door id="23220104" name="nornil_cave_S.nornil_mover">
<!-- AUTO GENERATED DOOR -->
<nodes nodeZ="-3755">
<node x="102618" y="156743" />
<node x="102367" y="156743" />
@ -15807,7 +15806,7 @@
<location x="102491" y="156736" z="-3755" />
<stats basePDef="644" baseMDef="518" baseHpMax="169710" />
<status showHp="false" />
<openStatus default="close" />
<openStatus default="open" />
</door>
<door id="23220103" name="nornil_cave_S.nornil_mover">
<!-- AUTO GENERATED DOOR -->

View File

@ -160,6 +160,8 @@ public class AdminDoorControl implements IAdminCommandHandler
packet.addLine(color, door.getX(0), door.getY(0), door.getZMax(), door.getX(1), door.getY(1), door.getZMin());
packet.addLine(color, door.getX(2), door.getY(2), door.getZMax(), door.getX(3), door.getY(3), door.getZMin());
activeChar.sendPacket(packet);
// send message
activeChar.sendMessage("Found door " + door.getId());
});
}
}

View File

@ -15797,7 +15797,6 @@
<openStatus default="close" />
</door>
<door id="23220104" name="nornil_cave_S.nornil_mover">
<!-- AUTO GENERATED DOOR -->
<nodes nodeZ="-3755">
<node x="102618" y="156743" />
<node x="102367" y="156743" />
@ -15807,7 +15806,7 @@
<location x="102491" y="156736" z="-3755" />
<stats basePDef="644" baseMDef="518" baseHpMax="169710" />
<status showHp="false" />
<openStatus default="close" />
<openStatus default="open" />
</door>
<door id="23220103" name="nornil_cave_S.nornil_mover">
<!-- AUTO GENERATED DOOR -->

View File

@ -160,6 +160,8 @@ public class AdminDoorControl implements IAdminCommandHandler
packet.addLine(color, door.getX(0), door.getY(0), door.getZMax(), door.getX(1), door.getY(1), door.getZMin());
packet.addLine(color, door.getX(2), door.getY(2), door.getZMax(), door.getX(3), door.getY(3), door.getZMin());
activeChar.sendPacket(packet);
// send message
activeChar.sendMessage("Found door " + door.getId());
});
}
}