SoRa Posted November 21, 2010 Posted November 21, 2010 Very Big THX!!! I Was Searching for this share but nothing :S. Thx!!!
Spidey* Posted November 21, 2010 Posted November 21, 2010 Try this, if u don't have. Index: /TrunK/Trance-Core/java/net/sf/l2j/gameserver/network/L2GameClient.java =================================================================== --- /TrunK/Trance-Core/java/net/sf/l2j/gameserver/network/L2GameClient.java (revision 2) +++ /TrunK/Trance-Core/java/net/sf/l2j/gameserver/network/L2GameClient.java (revision 13) @@ -70,4 +70,6 @@ public byte packetsSentInSec = 0; public int packetsSentStartTick = 0; + + private boolean _isDetached = false; public L2GameClient(MMOConnection<L2GameClient> con) @@ -168,5 +170,15 @@ gsp.runImpl(); } - + + public boolean isDetached() + { + return _isDetached; + } + + public void setDetached(boolean b) + { + _isDetached = b; + } + public L2PcInstance markToDeleteChar(int charslot) throws Exception { Now i will test it, but Detached must be something in Offline Trade Chat
Trance Posted November 21, 2010 Posted November 21, 2010 Now i will test it, but Detached must be something in Offline Trade Chat Nop...
Spidey* Posted November 21, 2010 Posted November 21, 2010 Actually it was: if (player != null) { if (!player.isInOlympiadMode()..... and I changed to: if (player != null && !isDetached()) { setDetached(true); if (!player.isInOlympiadMode() Now it's ok.. Thanks for your help
Salty Mike Posted November 23, 2010 Posted November 23, 2010 Hello, guys. I was wondering how could i make all offline characters to be saved and loaded, before and after server restart. If any suggestions pop up, lemme know. Thanks in advance!
suntcinic Posted November 25, 2010 Posted November 25, 2010 Hello, guys. I was wondering how could i make all offline characters to be saved and loaded, before and after server restart. If any suggestions pop up, lemme know. Thanks in advance! a restore manager by config.key can do that , pm me with your email and I will help you to do it.
ImmortalKiller Posted November 25, 2010 Posted November 25, 2010 thanks i didnt knew how to to that :) same.thanks
deleburth Posted December 2, 2010 Posted December 2, 2010 Awesome, I will surely test this! Hope there'd be no problems with integration
larroukos Posted April 18, 2011 Posted April 18, 2011 I have an error on .isDetached() :/ how could i fix it?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now