Jump to content
  • 0

Bug Teleport Block Healers In Pvpzone


Question

Posted

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 -->

  <node X="-16370" Y="-40782" />
</zone>

 

Link Post Block Healershttp://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

 

Recommended Posts

  • 0
Posted

Why would you even teleport a restricted class?

 

A proper way to handle it if the character is a support class, then GK should just send a message without teleporting him.

  • 0
Posted (edited)

Why would you even teleport a restricted class?

 

A proper way to handle it if the character is a support class, then GK should just send a message without teleporting him.

Yea sure... then a bp will not use teleport and thats all..

 

Paste here your onEnter and onExit methods in 

code

seems like the player get teleport twice

Edited by melron
  • 0
Posted

if you read all post http://www.maxcheaters.com/topic/213502-block-bs-in-flagzone/page-2

i tell you is missing return or else for all next

@Override
protected void onEnter(L2Character character)
{
+if (character instanceof L2PcInstance)
+{
+    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);
+        return;
+    }
+}
  • 0
Posted (edited)

It seems to be a l2jfrozen bug. I used to have this code for years in my pack (L2jserver Freya) and everything worked properly. I would like to ask you, are there any errors in console?

Edited by Solomun
  • 0
Posted

Yea sure... then a bp will not use teleport and thats all..

 

I was talking about the Gatekeeper, not the onEnter itself. Teleporting twice is pointless, that's my point.

  • 0
Posted

I was talking about the Gatekeeper, not the onEnter itself. Teleporting twice is pointless, that's my point.

It is actually not pointless at all. As you can see this guy restricts all healers (the code i gave him) but he allows summoners. If i know this right, summoners have a skill named recall. What would stop a summoner to recall a bishop into the pvp zone and screw everything around? 

  • 0
Posted

It is actually not pointless at all. As you can see this guy restricts all healers (the code i gave him) but he allows summoners. If i know this right, summoners have a skill named recall. What would stop a summoner to recall a bishop into the pvp zone and screw everything around? 

 

Actually it's EE who can recall his party and since it's a healer, it's also restricted too.

 

If there's anything that I don't know about summoner being able to recall other people, then my bad. Either way, you can block this skill in this zone too.

 

But I as a player wouldn't like to end up in Giran just because I clicked a button to where I'm not allowed to enter. Just let me stay and go elsewhere :P

  • 0
Posted

Actually it's EE who can recall his party and since it's a healer, it's also restricted too.

 

If there's anything that I don't know about summoner being able to recall other people, then my bad. Either way, you can block this skill in this zone too.

 

But I as a player wouldn't like to end up in Giran just because I clicked a button to where I'm not allowed to enter. Just let me stay and go elsewhere :P

2k17 comunity ?

 

sad storka 

  • 0
Posted

Actually it's EE who can recall his party and since it's a healer, it's also restricted too.

 

If there's anything that I don't know about summoner being able to recall other people, then my bad. Either way, you can block this skill in this zone too.

 

But I as a player wouldn't like to end up in Giran just because I clicked a button to where I'm not allowed to enter. Just let me stay and go elsewhere :P

 

Lol, you have never played summoner? Summoners have recall spell. About restricting them, it sounds really dump...lol

  • 0
Posted

Yeah I actually never played summoner and I haven't played for a long time now, so Party Recall was the only one that came to my mind. No need to be ashamed of not being perfect ^^

 

2k17 comunity ?

 

sad storka 

 

Just like it's a "sad storka" for people behaving like this, always loving those :)

  • 0
Posted

Performance wise, you must put

final int[] supporters = {15,16,29,30,42,43,97,105,112,115,136,116}; // support classes ID's

out of the if block, at the beginning of your FlagZone class (and must be private static final). But it's probably chinese for you.

 

And your if block is missing return, like pointed Pirama. Both teleport are handled in same time.

 

Like said Avanael, you will save numerous pointless actions if you simply restrain the bishop to teleport, at all. You must add the same exception than gatekeeper on SummonFriend skillhandler. You don't need to play with zone and teleport stuff, at all.

  • 0
Posted

Performance wise, you must put

final int[] supporters = {15,16,29,30,42,43,97,105,112,115,136,116}; // support classes ID's

out of the if block, at the beginning of your FlagZone class (and must be private static final). But it's probably chinese for you.

 

And your if block is missing return, like pointed Pirama. Both teleport are handled in same time.

 

Like said Avanael, you will save numerous pointless actions if you simply restrain the bishop to teleport, at all. You must add the same exception than gatekeeper on SummonFriend skillhandler. You don't need to play with zone and teleport stuff, at all.

 

Actually it's EE who can recall his party and since it's a healer, it's also restricted too.

 

If there's anything that I don't know about summoner being able to recall other people, then my bad. Either way, you can block this skill in this zone too.

 

But I as a player wouldn't like to end up in Giran just because I clicked a button to where I'm not allowed to enter. Just let me stay and go elsewhere :P

 

In my server i was used it without teleport inside just a block to this classes and msg

 
But if I do not teleport the healers, it will siege, and I wanted to restrict only 1 area and not to teleport to all locations.
Does anyone know how to fix this?
  • 0
Posted

I am curious though, why the code i gave him (yea, mine was with static field with class IDs) was working fine on Freya, but not on frozen? Just curiosity....Tryskell, do u have any ideas?

Guest
This topic is now closed to further replies.



  • Posts

    • I would like to emphasize that I am selling the tool used to generate geodata for the client you are developing, not the geodata itself; therefore, I consider the price reasonable. As for your view that the price is high and shows a lack of respect for the customer—that is your own opinion. Thank you. I have also purchased his products, and—just as you said—he is skilled and provides very enthusiastic support. If you feel he is deserving, then you should continue buying from him.
    • Ημουν μικρος οταν τον επαιξα, οριακα δεν ηξερα τι ειναι το Lineage, θυμαμαι πηγαιναμε στα νετ με τους φιλους και προσπαθουσαμε να κανουμε log-in αλλα πολλες φορες δεν μπορουσαμε γιατι ο server ηταν heavy σε load και πολλες φορες προλαβαιναμε να παιξουμε μονο κανα τεταρτακι η εικοσαλεπτο απ την μια ωρα που βαζαμε για να ανοιξουμε pc, ωστοσο εχω πολλες αναμνησεις να βλεπω τους μεγαλυτερους τοτε να παιζουν και εγω να καθομαι διπλα και να χαζευω gameplay, Λιγα πραγματα που ξερω (δεν ξερω αν ισχυουν) ειναι οτι τον σερβερ τον ειχε ανοιξει η αλυσιδα TheWeb, επισης οτι ηταν δυο οι σερβερ, ενας rpg low rate και ενας pvp με higher rates, περα απο αυτο δεν μπορεσα να βρω καμια αλλη χρησιμη πληροφορια, ουτε στα forum του theweb.gr ουτε στo l2.thegame.gr (waybackmachine) οποτε ερχομαι εδω που ειμαι σιγουρος οτι θα υπαρχουν σιγουρα καποιοι που επαιξαν εκει και δεν ηταν οσο πιτσιρικας οσο ημουν εγω που δεν καταλαβαινε τι γινοταν.   Γενικοτερα οποιος ξερει οτιδηποτε για τον thegame ας το πει, ακομη κι ας ειναι μια μικρη ιστορια που ακουσε πριν πολλα χρονια, ακομη κι αν ειναι μια μικρη πληροφορια για κατι που θυμαται μεσα στο παιχνιδι, οπως πως λεγανε τους admins, κανα σκηνικο ιντερνετ καφε και μπουνιδια, οοοοοτι μα οτιδηποτε κι αν ειναι αυτο αρκει να εχει να κανει με τον TheGame   (εννοειται εαν εχετε φωτογραφιες η βιντεο να τα linkαρετε)   μερικες δικες μου αποριες ειναι: απο τι chronicle αρχισε και μεχρι που εφτασε? ποια χρονια ηταν το peak του και σε ποιο chronicle? επισης μεχρι πιο chronicle εξελιχθηκε? γιατι εκλεισε αφου τοτε ηταν στο peak το να πηγαινει ο κοσμος στα ιντερνετ καφε και να παιζει λ2, τι features ειχε σαν σερβερ? επι ποσο ηταν? custom πραγματα κτλπ? η ηταν ενας bone stock server?    να'στε καλα!
    • Yeah... the price for the project at this stage is the kind of disrespect to the customer I was talking about.     As for deMEV, he’s overpriced too, but he’s one of the very few people in the L2 market who is available almost 24/7.
    • Thank you all for your interest in my post. I confirm that I did indeed use L2MapConv to develop my tool, adding my own customizations. If you are already a customer of deMEV, please continue to support him; I believe his products are excellent—I have purchased from him myself, and he is truly talented. Below is the Giran 22_22 geodata file generated using my tool; feel free to take a look. Thanks again to everyone for your comments. https://drive.google.com/file/d/1owpXCGEAhAO6TjjBJTYuVFqeUDu9RNoI/view?usp=drive_link
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..