-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Quote:
Originally Posted by
HonorMs
First of all Its not Exactly your Release its OdinMs's if you For example Checked any v.55 repack you would see that function. PurpleMadness you Might Aswell give OdinMs Credits for making it Heres what i found In PcMaple 2.3 if you compare the function its Exactly the Same LEEECHER!
PHP Code:
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation. You may not use, modify
or distribute this program under any other version of the
GNU Affero General Public License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.sf.odinms.net.mina;
import net.sf.odinms.client.MapleClient;
import net.sf.odinms.net.MaplePacket;
import net.sf.odinms.tools.MapleCustomEncryption;
import org.apache.mina.common.ByteBuffer;
import org.apache.mina.common.IoSession;
import org.apache.mina.filter.codec.ProtocolEncoder;
import org.apache.mina.filter.codec.ProtocolEncoderOutput;
public class MaplePacketEncoder implements ProtocolEncoder {
//private static Logger log = LoggerFactory.getLogger(MaplePacketEncoder.class);
@Override
public void encode(IoSession session, Object message, ProtocolEncoderOutput out) throws Exception {
MapleClient client = (MapleClient) session.getAttribute(MapleClient.CLIENT_KEY);
if (client != null) {
byte[] input = ((MaplePacket) message).getBytes();
byte[] unencrypted = new byte[input.length];
System.arraycopy(input, 0, unencrypted, 0, input.length);
byte[] ret = new byte[unencrypted.length + 4];
byte[] header = client.getSendCrypto().getPacketHeader(unencrypted.length);
MapleCustomEncryption.encryptData(unencrypted);
client.getSendCrypto().crypt(unencrypted);
System.arraycopy(header, 0, ret, 0, 4);
System.arraycopy(unencrypted, 0, ret, 4, unencrypted.length);
ByteBuffer out_buffer = ByteBuffer.wrap(ret);
out.write(out_buffer);
} else { // no client object created yet, send unencrypted (hello)
out.write(ByteBuffer.wrap(((MaplePacket) message).getBytes()));
}
}
@Override
public void dispose(IoSession session) throws Exception {
// nothing to do
}
}
That From a v.55 repack So dont take credit for something you didnt make
well how old are you?
seriously you are blind~~~~~~
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Quote:
Originally Posted by
HonorMs
First of all Its not Exactly your Release its OdinMs's if you For example Checked any v.55 repack you would see that function. PurpleMadness you Might Aswell give OdinMs Credits for making it Heres what i found In PcMaple 2.3 if you compare the function its Exactly the Same LEEECHER!
PHP Code:
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation. You may not use, modify
or distribute this program under any other version of the
GNU Affero General Public License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package net.sf.odinms.net.mina;
import net.sf.odinms.client.MapleClient;
import net.sf.odinms.net.MaplePacket;
import net.sf.odinms.tools.MapleCustomEncryption;
import org.apache.mina.common.ByteBuffer;
import org.apache.mina.common.IoSession;
import org.apache.mina.filter.codec.ProtocolEncoder;
import org.apache.mina.filter.codec.ProtocolEncoderOutput;
public class MaplePacketEncoder implements ProtocolEncoder {
//private static Logger log = LoggerFactory.getLogger(MaplePacketEncoder.class);
@Override
public void encode(IoSession session, Object message, ProtocolEncoderOutput out) throws Exception {
MapleClient client = (MapleClient) session.getAttribute(MapleClient.CLIENT_KEY);
if (client != null) {
byte[] input = ((MaplePacket) message).getBytes();
byte[] unencrypted = new byte[input.length];
System.arraycopy(input, 0, unencrypted, 0, input.length);
byte[] ret = new byte[unencrypted.length + 4];
byte[] header = client.getSendCrypto().getPacketHeader(unencrypted.length);
MapleCustomEncryption.encryptData(unencrypted);
client.getSendCrypto().crypt(unencrypted);
System.arraycopy(header, 0, ret, 0, 4);
System.arraycopy(unencrypted, 0, ret, 4, unencrypted.length);
ByteBuffer out_buffer = ByteBuffer.wrap(ret);
out.write(out_buffer);
} else { // no client object created yet, send unencrypted (hello)
out.write(ByteBuffer.wrap(((MaplePacket) message).getBytes()));
}
}
@Override
public void dispose(IoSession session) throws Exception {
// nothing to do
}
}
That From a v.55 repack So dont take credit for something you didnt make
Lol you're still going around calling people leechers without analyzing it carefully huh.
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Okay, so which repacks is this best for?=)
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Quote:
Originally Posted by
ddrtrixter
Okay, so which repacks is this best for?=)
Dont use damn repacks!! Go to flowsionms and use their source...
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
lol even with the fix you guys get problems -.-
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
There's always going to be problems. lols. That's the beauty of life. =D
Problems with your server and doing the dishes = your life.
lol, jk.
btw, I'm still confused. I added this to my server, and it seems to work. at least a little. Idk. hasn't been in place long enough to tell.
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Yeah, it works fine for most DCs but you still get DCed for other reasons.
And lmao at that guy that called me a leecher.
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Its worked pretty well so far.
my chat room hasn't been full of complaints for once. =D
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
On flowsion it says this fix would possibly, work for a while but then a few hours later the server would crash has anyone had this happen to them? Just would like to know before I throw it into my server.
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
My server's been running it for like 7 hours with it. It hasn't crashed yet.
=D
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Quote:
Originally Posted by
ridekink08
On flowsion it says this fix would possibly, work for a while but then a few hours later the server would crash has anyone had this happen to them? Just would like to know before I throw it into my server.
That fix was different than this one.
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
ah. I was worried there for a second. lols
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Quote:
Originally Posted by
DaltonG
My server's been running it for like 7 hours with it. It hasn't crashed yet.
=D
Well i guess thats something at least. But still v.55 will have less D/c's regardless i suppose
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Alright so I can safely use this to get rid of some of the d/c without a server crash? correct...
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Quote:
Originally Posted by
ridekink08
Alright so I can safely use this to get rid of some of the d/c without a server crash? correct...
Correct, but I can't guarantee you there will be no server crash. But i'm 99% sure if you have one, it will not be caused by this fix.
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Wait so just to confirm, Party/guild does not D/C? because i noticed that it does sometimes. same with some skills. Pirates? Forget about it. But it fixes up the random D/C's yeah?
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Quote:
Originally Posted by
keane6
Wait so just to confirm, Party/guild does not D/C? because i noticed that it does sometimes. same with some skills. Pirates? Forget about it. But it fixes up the random D/C's yeah?
It fixes IVs getting mixed up between threads.
OdinMS had this since they started, but they always fixed it by including an edited client who made it so that it doesn't DC when this happens.
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
PurpleMadness,This is Fixed v60 DC? the random dc?
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Supossedly it fixes most but not all random d/c havnt tested it... But from peoples response it seems positive.
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
oh gawd, come to think about it, there might be a huge rush from 0.55 to v0.60 T.T not again... which means more... ***bs asking questions.
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
Quote:
Originally Posted by
SaintsIan
oh gawd, come to think about it, there might be a huge rush from 0.55 to v0.60 T.T not again... which means more... ***bs asking questions.
A huge rush? think astronomical Rush
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
-_-
Ok Listen, First Of All This Fixes The DC Bug In Source When You Attack Monster.
Secondly,This Way Different From 0.55,OdinMS Edited Client Fix It Which Does Not DC.
FAQ
So,You May Ask Why Dont You Add That In 0.60 Client ?
Answer : Well OdinMS Wanted To Fix That DC Thing In Source,So You Dont Need A Edited Client.
But Due Nexon Lawsuit,Everything Messed Up.There Alot Of Things OdinMS Wanted To Do,4th Job Etc
But It Never Got To Happend.:*:
Did Purple Leeched This Or Copy Flowsion Private DC Fix ?
Answer : No. = / This Is An Advanced Fix.It Do More Then A Fix.
Like Tubi + Res == D/C In 0.55 In 0.60 == No D/C
Well Purple Coded It,And Without Someone Help It Nvr Be Possible.:tongue:
How Did I Know ?
Answer :He Was Coding It,And I Was Testing For Him.
So What That Guy Who Said We Leeched ?
Answer : Open Ur Father King Eyes.Pedo.
Can I Ask More ?
Answer : ....... Please Enough,I Am Tired.
So Guyz Hope This Things Clear Up.:thumbup:
-
Re: [UPDATED][Release][OFFICIAL] v60 DC fix
So we'll all say good bye to v55 and v59 servers?