Jump to content

drake2wow

Banned
  • Posts

    311
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by drake2wow

  1. so you are free to share every random bullshit you coded or you've found in your hd, rename the site to maxgarbage then, lets make a poll I pay the DNS
  2. Its sad to read such code
  3. Theres no possible way to do this directly, tho it may happen inderectly with a fake invisible monster target packet but Im not sure.
  4. on the other hand, a ScheduledFeature task wouldn't be heavy at all if coded properly
  5. create your listener and call it on every xy update
  6. Kalws eisai, den. to shortcut prepei na mpei otan ftiaxneis to new item L2ItemInstance item = ... registerShortcut(new L2ShortCut(11, 0, 1, item.getObjectId(), 0, 1)); gia na mpei ena item stin mpara prepei na exeis reference i toulaxiston tin oID, sketi oID diskola ara 9es reference pou simenei oti prepei na mpei tin stigmi pou dineis to item ston char
  7. (y) true story katse kala re vlaka
  8. If I contribute the fun this server won't go online again, but I have no point to ddos a server with 10 active people and 95 bots
  9. you english is gonna "put good ppl in of mxc"
  10. its client limit kiddo
  11. if you are not cappable of coding this 5 lines of code then buy it
  12. I remember back in some l2j refactoring era, they really felt like they had to set everything final
  13. Stereotypes, games invest a shitload of money, they pay the chinise no life developer to code a great c++ gamecore. But you don't even know that the main reason behind this, is that they don't want their gameservers to be leaked from 3rd party people that maintain the server that runs the gameserver. Few licencess, an unmanaged native file and their multimilion dollar gameserver is secured even when distributed on 3rd party employees. A strong point of why managed languages are not common choices for big multimilion gameservers, even xeL can decompile it. And that is irrelevant with runtime performance
  14. So you still believe that on the case of l2j your CPU executes bytecode or some sort of java code, and that on a compiled language it runs 010101110. You are decieved, both servers run binary code. C++ is a dying language
  15. Lol, end of discussion. You still talk about java and metal while I already explained you that after the interpretation java is iron and c++ a kinda rusted iron The only thing Im gonna admit here is that Java exists because C exists, thats the fact, Java can't go as low as C/C++ does, thats the power of the C family: Unsafe and Powerful. Java is better in everything else, but lets not go to the JNI discussion, that makes Java as strong as C++ with some yes some performance loss
  16. Be my guest, run the l2jserver on a linux and when the server gets online delete the whole pack. The server will remain online for days to come because its all loaded into the JVM, when I walk ingame I don't ask the JVM to translate bytecode -> binnary cause its already translated, it will call the same binary the c++ executable would, but as I already said a couple of times optimized by the JIT PS: I suggest linux because Windows won't permit file manipulation because it holds a lock on files
  17. Mate you seem like you can't get it. First of all, yes JVM is written in C, but what does it mean? After the compilation it became native code, its not C anymore. It all ends up in the same binnary. Pascal/C/WhateverCompiledLanguage results on the same binnary code, period, so your argument that JVM is C based is really irrelevant, all it has to do is to read java bytecode. Unmanaged: Binnary standard code -> Execution Unmanged: Interpretation (Warmup) -> Binnary Standard code (cleaner, faster, optimized) -> Execution What does this mean? Java - C++ - Whatever runs in pure binary form, the only difference is that managed gets its warmup (a few damn miliseconds) and then it runs pure binnary code (sorted - optimized - faster - cleaner than the original code the developer wrote) PS: Java over c++ methcall objinst faster execution is a worldwide fact
  18. Mate, do you actually know how a JIT works ? It will boost the perfomance with info gathered from your current hardware, it will adjust into that hardware with the best efficient way. Here is a java - c++ speed test. You will be amazed to know that java can be 1000% faster than c++ native code on a methodcall, thats NOT because java is better than c++, but thats because JIT did its magic. Now let me remind you, a gameserver like L2J and OOP in general is all based on method calls and object creations, java is 1000% faster, could you imagine how much faster the java server would be where milions of methods are called every seconds and another couple of thousands objects created? PS: Even nested loops, the most important thing of a gameserver is amazingly faster, (Consider that on the assembly level the loop is a standard goto command) but yet again JIT did its adjustments on runtime Dont underestimate the bytecode, you could 5-6 years ago but not now, most languages now are interpreted or managed.
  19. Thats an acceptable excuse but the point is, do you and the l2j guys know that final vars inside methods have no performance impact or whatsoever? They are just used for code readability and on rare cases as precompile info for the compiler when in rare cases it will ignore dead code
  20. Managed is the future, it is already everywhere. You can even find managed c++ apps today, simply because the JIT will be always better and the most preferable over the classic native compiler for server side programs. You seem like a guy who studied some programming 10 years ago, and all your knowledge caps at 2005.
  21. You are wrong, I respect the power of the C language, but not for gameservers. Java has been proven to be faster, cleaner and less cost effective than any C++ code counterpart, and thats because it has the superior JIT compiler that makes adjustments even in runtime. I can run it on linux, on mac and even on my android, while l2off's c++ outdated core is stuck on 32 bit 2003 windows just because its machine language where the only advantage it has is that its almost impossible to be reversed engineered in comparison with a java gs. PS: Ye another notable advantage over java gameservers is that it makes a faster startup in comparison with JIT's warmup, but ask yourself do you even care for a few extra seconds the very first seconds of your gameserver's life? You really dont. C++ gives you literally no advantage to be used over Java on the specific gameserver, if you believe it does please give me some arguments. Professionals go always like this Server: Java / Managed Language - rare cases native c++ Client: Native languages
  22. Dude, being able to manipulate a few pointers with HEX editing doesn't require any skill at all. It requires the right tools and patience. Personally I don't give a shit for developing l2off because it has nothing to offer to me. I won't be ever asked to reverse engineer and edit a shitty 2004 32 bit assembly, simply because none will ever ask for such a dumb thing. IMHO l2off should be really out of discussion after 2012, l2j is better in everything, the thing that keeps l2off alive on this forum is the false perspective that its better, but no Its still alive because maxcheaters is crawded by dumbs and admins that believe they live in 08's
  23. lmao, you really felt that you had to include the final even in the damn example
×
×
  • Create New...