Well i think all peoples know about the target bug with /unstuck and then you restart and when you log in again none can targets you.
well i dont know if its share already,if yes delete it or junk it.
I know its kinda simple but okey,i think its usefull!
### Eclipse Workspace Patch 1.0
#P L2J
Index: Trunk/IT_Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestRestart.java
===================================================================
--- Trunk/IT_Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestRestart.java (revision 0)
+++ Trunk/IT_Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestRestart.java (working copy)
@@ -64,6 +64,14 @@
return;
}
+ if (player.isCastingNow())
+ {
+ player.abortCast();
+ player.sendPacket(new ActionFailed());
+ player.sendMessage("You cant restart right now!");
+ return;
+ }
+
if (player.isInOlympiadMode() || Olympiad.getInstance().isRegistered(player))
{
player.sendMessage("You cant logout in olympiad mode");