Now im trying to find where is problem, but can't :D
function:
public boolean canSeeTarget(final L2Object cha, final L2Object target){// If geo is off do simple check :]// Don't allow casting on players on different dungeon lvls etcreturnMath.abs(target.getZ()- cha.getZ())<1000;}
check:
if(skill.getCastRange()>0&&!GeoData.getInstance().canSeeTarget(this, target)){
sendMessage("target z:"+target.getZ()+" cha z:"+this.getZ()+"Z:"+Math.abs(target.getZ()-this.getZ()));
sendPacket(newSystemMessage(SystemMessageId.CANT_SEE_TARGET));
sendPacket(ActionFailed.STATIC_PACKET);return;}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
wongerlt
Hello.
Now im trying to find where is problem, but can't :D
function:
check:
https://prnt.sc/gk7yg8
cast range = 900
565-565=0
0<1000=true
900>0 = true
so it must be true and false in if.
so where is problem?
and this problem only in fortress of dead
Edited by wongerlt3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.