Jump to content

Recommended Posts

Posted

Can anyone show me how to change this mod to transformation instead of effects.

Thank you.

 

not sure but maybe this

 

Index: head-src/com/l2jfrozen/gameserver/datatables/OfflineTradeTable.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/datatables/OfflineTradeTable.java   (revision 7)
+++ head-src/com/l2jfrozen/gameserver/datatables/OfflineTradeTable.java   (working copy)
@@ -213,6 +210,50 @@
                player.setClient(client);
                player.setOffline(true);
                player.setOfflineStartTime(time);
+		player.getPoly().setPolyInfo("npc", 14040);
                player.spawnMe(player.getX(), player.getY(), player.getZ());
+		player.broadcastUserInfo();
                LoginServerThread.getInstance().addGameServerLogin(player.getAccountName(), client);
                PreparedStatement stm_items = con.prepareStatement(LOAD_OFFLINE_ITEMS);
Index: head-src/com/l2jfrozen/gameserver/network/L2GameClient.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/network/L2GameClient.java   (revision 7)
+++ head-src/com/l2jfrozen/gameserver/network/L2GameClient.java   (working copy)
@@ -1001,6 +1002,49 @@
                      player.broadcastUserInfo();
                   }
+      		player.getPoly().setPolyInfo("npc", 14040);
+		player.teleToLocation(player.getX(), player.getY(), player.getZ(), false);
+		player.broadcastUserInfo();             
+
                  if (player.getOfflineStartTime() == 0)
                      player.setOfflineStartTime(System.currentTimeMillis());

  • 1 month later...
Guest
This topic is now closed to further replies.



×
×
  • Create New...