• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Reset Map on logout

Status
Not open for further replies.
Initiate Mage
Joined
Jul 16, 2008
Messages
3
Reaction score
0
Re: [Release] Reset Map on logout

iPlayHard, if i use ur code do i need to use the code the TS gave also?
 
Initiate Mage
Joined
Jul 16, 2008
Messages
3
Reaction score
0
Re: [Release] Reset Map on logout

I followed your steps but it seems that any player are still dcing and logging in at the same map. Btw does it matters if I use original odinms source rev 988 or repacks?
 
IHF
Joined
Apr 7, 2008
Messages
312
Reaction score
0
Re: [Release] Reset Map on logout

Yeap it doesn't matter so long as you replaced your
Code:
 if (channelserver) {
            MapleMapFactory mapFactory = ChannelServer.getInstance(client.getChannel()).getMapFactory();
            ret.map = mapFactory.getMap(ret.mapid);
            if (ret.map == null) { //char is on a map that doesn't exist warp it to henesys
                ret.map = mapFactory.getMap(100000000);
in MapleCharacter.java and compile, it will work.
 
Initiate Mage
Joined
Jul 16, 2008
Messages
3
Reaction score
0
Re: [Release] Reset Map on logout

I tried already, but it does not work. Any idea why does that happens?
 
Status
Not open for further replies.
Back
Top