Jump to content

xxdem

Members
  • Posts

    1,644
  • Joined

  • Last visited

  • Days Won

    8
  • Feedback

    0%

Everything posted by xxdem

  1. I will be part of a huge H5 pridelike that is coming in the near future, trashes like the above will not be permitted ingame
  2. I bet you was never someone on aepvp, on pride either, so trashcans should not oppose an opinion
  3. idFactory generates sequential IDs, you need something more random, you can use its IDs as seeds btw, but it will consume available IDs from server objects so you still need a workaround.
  4. I wouldn't use idFactory, coupons should be generated through a unique Seed stored in your DB exclusively for coupon codes
  5. Yes but on the specific case we are not talking about values that may be many, but a collection which has to be null checked only once, basically the developer should always know what can be null and what not, on big projects annotations like @Nullable can be used, but you are right, if you loose the track of what can be null and what not bad things are going to happen and that's the developer to blame not the programming style
  6. Of course its an error, I don't know why the Java creators decided to make the NPE a RuntimeException in the family of throwables, imho it should only exist in debug versions of software indirecting the developer to fix his code asap. NPE should never exist in a code and should be handled with null checks. Of course in Java its coding style, you can avoid null checks and nullptr with many ways like the one you've suggested above, which ofcourse adds unnecessary overhead and for my coding taste over-complicated due to the fact that you use allocated memory as a matter to exit your code or do nothing. Personally I have a strong C background, and the nullptr is the ultimate tool to solve such problems, I don't know why Java developers get crazy with it, maybe its due to the fact that they don't know that null checks cost very little cpu cycles whereas workarounds involve unnecessary JMP instructions that have a hundred time bigger overhead.
  7. idk how java optimizes empty list or empty loops, I don't even think it does, I always prefer nullptr due to the fact that things are straightforward once you have it. Imagine storing it somewhere and having to check if the character has any coupons, personally I prefer coupons == null than a dumb list.isEmpty() on an immutable empty list, I believe this case is just coding style, but my C background forces me to go with nullptr.
  8. Can't get it, so you're saying that few unnecessary calls that give you a dummy empty list are cleaner than nullptr ? Its obvious that this emptylist should be used on other cases but here? Explain me why this is worst and I will go to fck off right away final ArrayList<Coupon> coupons = getCoupons(player); if (coupons == null) { //msg and exit } { else { for (Coupon c : coupons) c.something(); } if getCoupons returns empty list instead of null, the flow of the rest code is dumb and nonsense. null checks are as fast as 1 == 1
  9. null is more clean
  10. I don't agree with this, empty lists, empty string etc have terrible performance, I always go with null checks, NPE means bad code that should be fixed not handled, imho NPE should be an Error and not an exception
  11. I said PHX, spawn them with PHX via script and NpcInfo packet, this will bring the client to its limits without server bottlenecks
  12. an admin can prove that Hater is not my alt
  13. IL is the worst chronicle in terms of performance and optimization, try to spawn 10k kariks with PHX and make them cast a skill, you won't like what you're going to see
  14. why bother for the server side, servers today are beasts, what about the crappy client nethandler that has zero optimization and drops the fps o zero on a crowded area? I mean server is rarely the source of problem even if shitty coded, L2 has a bad client.
  15. I am an autistic, when he proved that he is SW engineer at Microsoft I've ran out of the window fallen from the 3rd floor and crashed my leg, you people are to blame, I can't access my pc anymore fuck you
  16. very stronkk hwid to bypass kappa
  17. Και για πολλους αλλους μαλακες σιγουρα μη το εχεισ για σιγουρο οτι πληρονουμε το ιδιο
  18. Και εγω σαν Ελληνας φορολογουμενος σου πληρωσα και πτυχιο πληροφορικης ?
  19. What do you mean you've changed everything including the textures? Can you provide a screenshot?
  20. i've cracked all your anti-debugger checks is less than 10 minutes with few winapi hooks, the fact that you used shared code does not make you someone. I gave proof of the crack on my previous replies so I won't waste my time for your retardness any longer, your work has being owned in 10 minutes. @l2scripts You are talking too much about encryption, if you believe that "encrypted" code run encrypted on the machine you are fooled, the computer will eventually decrypt it and try to execute it, and as far as the computer can read it, humans will read it aswell you can't do anything about it. There is no such thing as the encryption nonsense you're talking about as long as the protections are cracked and the process run on the debugger. fact.
  21. reinstal se ShowMessage box mono enas arxika9isterimenos panivlakas san kai esena 9a egrafe, osw gia ton debugger ftiakse kai esy bypass dlls kai ftase ekei pou efasa me ton debugger
  22. LOL giati na katsw na grapsw kwdika gia crack se test server? gia na ksereis ti na alakseis? o cracker 9a sou dimiourgisei provlima ston live server oxi ston test, egw apla s ediksa oti mou pire 10 lepta na crackarw ola ta protections peri debugger, kai apo ti stigmi pou eftasa ston unpacker to protection sou den iparxei. Opws ipa kai prin to crack 9a ginei share otan aniksei server me afto. GL me tis poliseis
  23. diskoleftika omws re toulaxiston ma9e na grafeis to reinstall
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock