Jump to content

Recommended Posts

Posted

Ovenuc, we explained to you alredy many times. Your retardness makes my head spin, but beeing good guy Intrepid i'll explain it again. AttackRequest packet does have nothing to do with that method because attackrequest is not exclusively used in the doAttack method. Also the doAttack method needs the null check so that in case of somehow you manage to cast something without any target, the NPE gets caught instead of just causing a mess with no log about it.

 

Now i understand that you want to act like a big guy, but just like the rest you stuck on the level of "peasant" and instead of improving and trying to understand the code you rage about you just rage about it calling others noobs. Thing is you should stop doing that, stand on your own 2 feet, start coding and the shut the hell up. When you gained some decent knowledge we will talk about such things, since so far its pointless to talk with you about java because you are totally clueless.

Guest Elfocrash
Posted

To start with, in java you should have null checks as much as possible in your methods either way but i cant explain how it is more. I mean

xdem explains exactly how it works.

Posted

 

THAT IS YOUR ANSWER?

 

SO WHY YOU NEED DOUBLE NULL CHECK INSIDE TO DOATTACK IF YOU CANT BYPASS THE CLIENTPACKET! EXPLAIN IT!!

 

forget the packet moron, put ur head that the packet is called ONCE and the facking method doAttack is looped

 

gtfo

 

listen, I dont care if your iq is less than 50 but look how it goes

 

the packets triggers ONCE the doAttack takes place until u stop it or until u cant attack anymore, which means IT WORKS LIKE A LOOP

 

so you have double method for null check pro developer!!

 

 

 

You still can't get it do you ?

 

RequestAttack comes when the player decides to attack a target, the packet is send ONCE it triggers ONCE but the doAttack method which is called by RequestAttack schedules more doAttack(s) according to the player's attack speed.

 

already done 3 times  :you serious?:

Posted

Ovenuc, we explained to you alredy many times. Your retardness makes my head spin, but beeing good guy Intrepid i'll explain it again. AttackRequest packet does have nothing to do with that method because attackrequest is not exclusively used in the doAttack method. Also the doAttack method needs the null check so that in case of somehow you manage to cast something without any target, the NPE gets caught instead of just causing a mess with no log about it.

 

Now i understand that you want to act like a big guy, but just like the rest you stuck on the level of "peasant" and instead of improving and trying to understand the code you rage about you just rage about it calling others noobs. Thing is you should stop doing that, stand on your own 2 feet, start coding and the shut the hell up. When you gained some decent knowledge we will talk about such things, since so far its pointless to talk with you about java because you are totally clueless.

 

EXPLAIN ME INTREPID WHY YOU NEED DOUBLE NULL CHECK IF YOU CANT BYPASS WITH PHX THE CLIENTPACKETS

 

ALL IN MXC KNOWS L2PHX WORKING WITH CLIENTPACKETS SO YOU ARE WRONG! NOT ME

Posted

To start with, in java you should have null checks as much as possible in your methods either way but i cant explain how it is more. I mean

xdem explains exactly how it works.

 

[GR]

 

ESI ME DOULEUEIS TIN ALLI FORA SOU EXIGOUSA OTI TO DOATTACK DEN EXEI KAMIA SXESI ME TO DOCAST KAI MOU ELEGES PIGENE NA AFERESIS TO NULL CHECK KAI KANE TO SKILL TOU SORCER XORIS TARGET NA DEIS.. -beep-E ME ELFO..

 

min mou peis oti ta bgazo apo to mialo mou...

Posted

Forget about doAttack ovenuc, next question plis, prove us ur knowledge !! clean ur rep !!!!!  :troll:

Posted

i didnt get answer l2phx working with clientpackets? YES OR NO?

 

yeap, phx sends the same packet as the client sends

for example

 

client sends FF AB FF 6A 00 00 00

phx sends FF AB FF 6A 00 00 00

 

server gets FF AB FF 6A 00 00 00

Posted

yeap, phx sends the same packet as the client sends

for example

 

client sends FF AB FF 6A 00 00 00

phx sends FF AB FF 6A 00 00 00

 

server gets FF AB FF 6A 00 00 00

 

 

SO HOW YOU WILL GO TO INSIDE CODE doAttack IF YOU HAVE CHECK METHOD ON ATTAACKREQUEST CLIENT PACKET SO INSIDE doAttack the code is bad you never use it!!!

 

 

[GR]

 

ELLINIKA POS 8A PERASIS TO CLIENTPACKET ME TO PHX AN EXEIS IDI EKEI ENA NULL CHECK!!! EFOSON TO PHX DOULEUEI MONO ME CLIENTPACKETS!

 

EXIGISE TO MOU AUTO KAI 8A PW NAI RE EXEIS DIKIO K EXO ADIKO!

Posted

EXPLAIN ME INTREPID WHY YOU NEED DOUBLE NULL CHECK IF YOU CANT BYPASS WITH PHX THE CLIENTPACKETS

 

ALL IN MXC KNOWS L2PHX WORKING WITH CLIENTPACKETS SO YOU ARE WRONG! NOT ME

 

Okay mister i do it again(btw i just requested maxtor to make a dumbest user award just for you), The null checks are safety checks as a part of the code style you use and they are needed for the reason of beeing NPE safe, sometimes yes you'll have unnecessary null checks but in EVERY case when an object can be null you should have a null check, thats just common sense in java.

 

As for the AttackRequest and doAttack, i say it again the AttackRequest null check is a null check for l2pcinstance class means that if the gameclient which is l2pcinstance is null than the AttackRequest fails and the packet not beeing send, altho when you look at the doAttack method it applies to players,monsters(and all their subclasses), also to summons and pets. Now since a pet for example cant be a pcinstance aka a player you'll need a null check. So its not a double null check but a necessary addition because it does matter if l2pcinstance is null or l2character is null(or l2summon for that matter).

Posted

Java fighting :O

Well lets get real , for sure it will work without the second check.

On the other hand i will agree with

To start with, in java you should have null checks as much as possible

But i thnk there's no reason to fighting for such stupid things.

Posted

 

SO HOW YOU WILL GO TO INSIDE CODE doAttack IF YOU HAVE CHECK METHOD ON ATTAACKREQUEST CLIENT PACKET SO INSIDE doAttack the code is bad you never use it!!!

 

 

[GR]

 

ELLINIKA POS 8A PERASIS TO CLIENTPACKET ME TO PHX AN EXEIS IDI EKEI ENA NULL CHECK!!! EFOSON TO PHX DOULEUEI MONO ME CLIENTPACKETS!

 

EXIGISE TO MOU AUTO KAI 8A PW NAI RE EXEIS DIKIO K EXO ADIKO!

 

re panivlaka sou ipa 5 fores oti to ena trexei mia fora enw to alo den stamataei pes tpt alo arketa me to doAttack ena gamimeno null check einai re stoke

Posted

re panivlaka sou ipa 5 fores oti to ena trexei mia fora enw to alo den stamataei pes tpt alo arketa me to doAttack ena gamimeno null check einai re stoke

 

 

ahahah re ta pisteueis auta pou les? EILIKRINA? TA PISTEUEIS? PANTA PANTA PANTA MA PANTA TO PHX XTIPAEI CLIENTPACKETS!!! KAI META PAEI STA INNER CODING ELA EXETE LA8OS KAI DEN TO PARADEXESTE!!! APLA EGINES GELIOS APO TIN STIGMI POU MILISES GIA PHX KAI LES GAMA TA CLIENTPACKETS POS NA GAMISO TA CLIENTPACKETS OTAN TO PHX DOULEUEI MONO ME AUTA KAI TO BAD CODING TOUS!!

Posted

Okay mister i do it again(btw i just requested maxtor to make a dumbest user award just for you), The null checks are safety checks as a part of the code style you use and they are needed for the reason of beeing NPE safe, sometimes yes you'll have unnecessary null checks but in EVERY case when an object can be null you should have a null check, thats just common sense in java.

 

As for the AttackRequest and doAttack, i say it again the AttackRequest null check is a null check for l2pcinstance class means that if the gameclient which is l2pcinstance is null than the AttackRequest fails and the packet not beeing send, altho when you look at the doAttack method it applies to players,monsters(and all their subclasses), also to summons and pets. Now since a pet for example cant be a pcinstance aka a player you'll need a null check. So its not a double null check but a necessary addition because it does matter if l2pcinstance is null or l2character is null(or l2summon for that matter).

 

 

intrepid you get your answers if i go to post on l2jserver community that they will be lough all with you you know it that allready.. so say yes i am wrong!

or i will go now on l2j community to post you code

 

 

SO YOU ARE BETTER DEV FROM L2J DEVS BECAUSE L2J DEVS THEY DIDNT USE NULL CHECK IN doAttack

Guest
This topic is now closed to further replies.



  • Posts

    • ElmoreLab Harbor - Eternal C1 x1: ✅ https://harbor.elmorelab.com ElmoreLab Harbor - Eternal C1 x1 - is an exclusive server of the Eternal C1 chronicles from the top project ElmoreLab Harbor.   A unique server of its kind, on which everyone will have maximum pleasure, such as oldschool players who dream of nostalgia and to feel the warmest and classic C1 chronicles, as well as experienced players who are tired of thousands unbalanced servers of late chronicles. Due to the professional corrections of the balance system and the HONEST gameplay system - on this server, EVERY player will feel like in their own, warm and cozy Harbor C1. Let's return to the origins of L2 - back to 2004 in C1! ❤️   ⭐ Server characteristics:   STRICTLY 1 window, NO BOXES Bans for RMT and bots/cheats No donations with benefits Unique and high-quality PTS-build from Master Toma Professional corrections and full class-balance Reworked economy and closed all abuses Improved animations and all aspects of the game Exclusive HD-client with high-quality textures Experienced administration and management Fixed all bugs, geodata, exploits and holes Maximum sociality due to the 1-box system Discovering, exploring and researching Big online International server Nostalgia and oldschool-feelings   Rates: x1 Server start: 14.02.2025   The server is at the final stages of development and preparation for release. Information on the server will be updated, soon the patchnotes and changes/edits will be posted. Don't miss the legendary and epic experience on the best server in the last 20 years! ❤️ Join our C1-forum with a lot of information about server and active discussions.   ⭐ Website: https://harbor.elmorelab.com   ✅ Forum: https://forum-harbor.elmorelab.com   💥 Telegram: https://t.me/l2harbor https://t.me/l2harbor_chat   ⚡ Discord: https://discord.gg/harborelmorelab
    • yeah ok, if you say what is fuctional 100% i can't say something different 😛  but if someone find hard to compile it or get vs and all that things i have here one more simple way here to put overlay in your own server or to change your window name with few money.
    • I've been using this for 2 years now with no issues from Discord. I don't use ogg.dll either. This one works with any l2.exe too; I don’t see any difference between them.
    • hmm.. ok i just see that, is different code first of all. My sources is totally different based in other way, with else libraries.  I have access to modify everything even to make the clock to stop show how many time users play in server. 1) so maybe keep some personal info more hide. 2) i dont use ogg.dll 3) i create it and give it ready + support to install it. Plus what is mine can working with what ever .exe you want not just l2 with same simple method. And i am sure if you try this source to compile it, after 3 hours discord will like shadowban your API too thats my source
  • Topics

×
×
  • Create New...