Hi, so i got question maybe someone done it before,
I got few custom raids, and i need that ppl can't take them to town,
i got code in JAVA like this :
// If the boss is above drift range (or 200 minimum), teleport him on his spawn.
if (!isInsideRadius(spawn.getLocX(), spawn.getLocY(), spawn.getLocZ(), Math.max(Config.MAX_DRIFT_RANGE, 200), true, false))
teleToLocation(spawn.getLoc(),0);
}
}, 6000, 3000);
}
if i edit ( MARKED RED) numbers the range of raid take away is geting shorter, but, if player in combat mode he will not respawn until player will be not cambat.
can anyone give me advice what i need to add or remove next to this code that rb will make respawn even if player is attacking him?
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
remigas
Hi, so i got question maybe someone done it before,
I got few custom raids, and i need that ppl can't take them to town,
i got code in JAVA like this :
// If the boss is above drift range (or 200 minimum), teleport him on his spawn.
if (!isInsideRadius(spawn.getLocX(), spawn.getLocY(), spawn.getLocZ(), Math.max(Config.MAX_DRIFT_RANGE, 200), true, false))
teleToLocation(spawn.getLoc(),0);
}
}, 6000, 3000);
}
if i edit ( MARKED RED) numbers the range of raid take away is geting shorter, but, if player in combat mode he will not respawn until player will be not cambat.
can anyone give me advice what i need to add or remove next to this code that rb will make respawn even if player is attacking him?
Thanks.
3 answers to this question
Recommended Posts