-
Posts
560 -
Credits
0 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by lord_rex
-
Help how do i make a classic server?
lord_rex replied to kazurengan's question in Request Server Development Help [L2OFF]
Amateur? ME?! You are the nab who cannot even create a proper bridge between MMOCore and Olympiad Games. See the code snippet and LEARN from the professionals! public abstract class MMOController<T extends MMOConnection<T, RP, SP>, RP extends ReceivablePacket<T, RP, SP>, SP extends SendablePacket<T, RP, SP>> { // ... lots of code is here @Inject private OlympiadGamesService olympiadGamesService; /** * An easy way to apply any special limitations on incoming connections. At default it contains * a flood protection.<br> * Overriding implementations should call the super method before anything else gets checked.<br> * <br> * NOTE: Uses a special way of logging to avoid console flood. * * @param sc the inbound connection from a possible client * @return true if the connection is valid, and should be allowed, no otherwise */ protected boolean acceptConnectionFrom(SocketChannel sc) { if (olympiadGamesService.isLoser((L2PcInstance) sc)) { _log.warn("Player who lost olympiad games should not be able to connect!"); return false; } final String host = sc.socket().getInetAddress().getHostAddress(); final Result isFlooding = _accepts.isFlooding(host, true); switch (isFlooding) { case REJECTED: { _log.warn("Rejected connection from " + host); return false; } case WARNED: { _log.warn("Connection over warn limit from " + host); return true; } default: return true; } } /** * An easy way to apply any special limitations on incoming packets. At default it contains a * flood protection.<br> * Overriding implementations should call the super method before anything else gets checked.<br> * <br> * NOTE: Uses a special way of logging to avoid console flood. * * @param client the associated client * @param opcode the opcode of the potential packet (for debugging purposes) * @return true if the client can be allowed to receive a packet, no otherwise */ protected boolean canReceivePacketFrom(T client, int opcode) { if (olympiadGamesService.isLoser(client.getPlayer()) { _log.warn("Player who lost olympiad games should not be able to receive packets from the server!"); return false; } final String key = client.getValidUID(); switch (Result.max(_packets.isFlooding(key, true), _errors.isFlooding(key, false))) { case REJECTED: { _log.warn("Rejected packet (0x" + Integer.toHexString(opcode) + ") from " + client); return false; } case WARNED: { _log.warn("Packet over warn limit (0x" + Integer.toHexString(opcode) + ") from " + client); return true; } default: return true; } } } -
Help how do i make a classic server?
lord_rex replied to kazurengan's question in Request Server Development Help [L2OFF]
Your code is not retail-like you nub. -
Help how do i make a classic server?
lord_rex replied to kazurengan's question in Request Server Development Help [L2OFF]
public final class Server { public static void main(String[] args) { final Server server = new Server(); server.setClassic(true); server.start(); } } You are welcome. -
Help Add pages to droplist.
lord_rex replied to sotid's question in Request Server Development Help [L2J]
You are doing it wrong guys. First of all you have to create an interface in the MMOCore and implement it's functions in the drop list system. In short: when an NPC happen to have bad drop, the MMOCore should stop the packet communication for all players. Additionally you can include System.exit(-1); to grand boss drops. -
Thanks - I am flattered, though I think your skills and talents are way more cultivated and sophisticated than mine. However the only thing I could do here is row banning everyone, and I don't think the management would appreciate that kind of choice from my side. :D
-
I think the real Savormix should be the new moderator. He is a person who would bring a whole new era to MaxCheaters with his professionalism. His abilities exceeds the standards of this community, and I truly believe if he spent some effort teaching people here he could evolve these kids there to a level that would even satisfy a regular employer at any commercial IT company such as IBM & Google. Let's take a look on the other topics where he has contributed. His posts are true quality, and this is the level of skill nowadays talented programmers would expect when they enter a Java programming related site. Savormix could be the real saviour of this forum, as he is able to bring back this forum's lost glory.
-
OMG. OMG. OMG. Do you even read what I said butthurt kiddo? "Website with MySQL...." I have never said website for L2OFF. Just go back to school and start learning the basics of the language. Thanks.
-
So he cannot run L2OFF server and mysql for a website from the same machine? I love that reasoning. Original MXC quality. xDDDDD
-
Discussion The True Javalord Tryskell....
lord_rex replied to Mellion's topic in Server Development Discussion [L2J]
Sorry to deflower your delusions, but I merely copy-pasted it from google as-is, and only changed Satan to Mobius, and it just didn't worth the time to check. :) -
Discussion L2Jfrozen Opens Again?
lord_rex replied to Elfo's topic in Server Development Discussion [L2J]
lol Interpid you are still alive -
Discussion The True Javalord Tryskell....
lord_rex replied to Mellion's topic in Server Development Discussion [L2J]
This whole thread is nothing but mere blasphemy... our only lord and saviour is MOBIUS. Our father, who art in Mobius Pack, Hollowed be thy name. Thy kingdom come, thy will be done On earth as it is in Mobius Pack. We take this night our rightful due And trespass not on path of pain. Lead us into temptation and Deliver us from false piety. For thine is the kingdom, Of power and glory forever. We shall praise your unholy name. Mobius shall emerge again! -
Discussion Ncsoft Copyright Announce
lord_rex replied to Hyo's topic in General Discussion [English]
I know. But I'd rather die the Japanese way. -
Discussion Ncsoft Copyright Announce
lord_rex replied to Hyo's topic in General Discussion [English]
I really am sorry. I think I shall start the harakiri process now. Will you/or SweeTs help me? -
Discussion Ncsoft Copyright Announce
lord_rex replied to Hyo's topic in General Discussion [English]
Right, so not the stolen assets, but the word, alright, alright. Great subterfuge. -
Discussion Ncsoft Copyright Announce
lord_rex replied to Hyo's topic in General Discussion [English]
Excellent idea. deMEV has already started it: http://demev.ru/main/?p=457 PS: and make code open source, right? :D -
Discussion Ncsoft Copyright Announce
lord_rex replied to Hyo's topic in General Discussion [English]
NCSOFT's new manager will surely get his new car. :) -
My type. :P
-
funny :)
-
Well, probably at the weekend I'll upload a patched 746-windows10-compatible system. But now I'm tired.
- 22 replies
-
- interlude client
- c6
-
(and 2 more)
Tagged with:
-
You misunderstood the point. This is a CLEAN (NOT patched) system & client. It contains all the updates released by NCSOFT for Interlude. (2007, Dec. 12.) The only "modification" in this is the Windows 10 compatibility which is essential. (W10 compatibility is DLL & EXE modification, as far as I know it's themida unpacking - but correct me if I'm wrong or I miss few details, probably there is already a dedicated topic for it.)
- 22 replies
-
- interlude client
- c6
-
(and 2 more)
Tagged with:
-
No, it is not patched. The system folder is already shared somewhere else, I don't see a reason to share just it. It's pure 746. But if you wish at the night I can share a fully-patched system folder. I can share it with patched L2.exe. :)
- 22 replies
-
- interlude client
- c6
-
(and 2 more)
Tagged with: