Good morning, I am trying now not to find a forum needing help and I was very well attended. However, I am with a modless error that they have passed me .. The video will explain correctly what is happening, more is basically the following:
I put the area in flagzone, there blocks the healers, but when he returns to city of this bug there.
+{ + _player =(L2PcInstance)character; +finalint[] supporters ={15,16,29,30,42,43,97,105,112,115,136,116};// support classes ID's +for(int act : supporters) +if(_player.getActiveClass()== act) +{ + _player.sendMessage("You can't enter in flag zone with a support class."); + _player.teleToLocation(83417+Rnd.get(101)-50,149028+Rnd.get(101)-50,-3408); +} +}
The heavy lifting is done in the client, because while you can get away with small imperfections in the java, everything in the client must be impecable.
So, if you haven't touched the client, I'd say pick the newest protocol version you can find the client editing tools and Interface.u (mandatory) / NWindow.dll (better to have it) / Engine.dll (optional) sources for.
At the very least, you need the Interface.u to fix the Clan Window and enable skill enchanting on Classic/Essence versions, if you decide to use one of them instead of MAIN/LIVE.
Thanks for clarification. Do you think the newest clients offer solid advantages compared to the classic ones like Salvation?
I'm also in the process of porting h5 to one of them just for the sake of it, so I was wondering if I should just attempt to go to the newest possible.
Upgrading to Salvation is exactly the same as upgrading to the newest client with the only difference being access to free-shared client editing tools and resources.
I am speaking from experience. I have upgraded my HF source to one of the newest clients by myself (in terms of server side. got help with the client) and hit every single wall there was in the process.
Now, I already have several multi-protocool server cores so I can easily compare different approaches to tackling the same issue, which also helped the learning process.
Best way to learn would be to use this one (link below) to snoop around and figure out what has been changed in the server side (the packet structure will be different, for sure, but works for understanding/figuring the process out in general terms).
https://github.com/iBezneR/L2J_SunriseProject_Purity
The client side will always be the same, always the same files, only the DAT structure will be different. I personally wrote myself some parsers for the data of the DAT files from OLD -> NEW client.
Question
nortim
Good morning, I am trying now not to find a forum needing help and I was very well attended. However, I am with a modless error that they have passed me .. The video will explain correctly what is happening, more is basically the following:
I put the area in flagzone, there blocks the healers, but when he returns to city of this bug there.
Can anyone help?
My Codes PvP Area:
<zone type="FlagZone" shape="Cylinder" minZ="-11000" maxZ="-8000" rad="10000"><!-- Pagan Temple Pvp -->
Link Post Block Healers: http://www.maxcheaters.com/topic/213502-block-bs-in-flagzone/
Code:
+if (character instanceof L2PcInstance)
+{
+ _player = (L2PcInstance)character;
+ final int[] supporters = {15,16,29,30,42,43,97,105,112,115,136,116}; // support classes ID's
+ for (int act : supporters)
+ if (_player.getActiveClass() == act)
+ {
+ _player.sendMessage("You can't enter in flag zone with a support class.");
+ _player.teleToLocation(83417 + Rnd.get(101) - 50, 149028 + Rnd.get(101) - 50, -3408);
+ }
+}
Video: https://youtu.be/d3vxJpvZT1g
Link to comment
Share on other sites
54 answers to this question
Recommended Posts