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 (edited)

You can create your own teleport bypass... You simply copy paste the whole bypass, include the check, change the HTM to fit with new bypass name and it's done.

 

They made this restriction and it worked out better, but so does not work for heal party skills, add it to use in heal party as well? Then I would use it.

 

maybe now is better with the solomum code

 

in heal.java

 

final int[] supporters =

{

15,

16,

29,

30,

42,

43,

97,

105,

112,

115,

136,

116

}; // support classes ID's

for (int act : supporters)

{

if (activeChar.getActingPlayer().getClassId().getId() == act && ((L2PcInstance) target).isInsideZone(123123))

{

activeChar.getActingPlayer().sendMessage("You can't heal in this zone..");

continue;

}

}

Edited by nortim
  • 0
Posted (edited)

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?

 

Well, it's a friend, I also wanted to know :(

Edited by nortim
  • 0
Posted

They made this restriction and it worked out better, but so does not work for heal party skills, add it to use in heal party as well? Then I would use it.

 

maybe now is better with the solomum code

 

in heal.java

 

final int[] supporters =

{

15,

16,

29,

30,

42,

43,

97,

105,

112,

115,

136,

116

}; // support classes ID's

for (int act : supporters)

{

if (activeChar.getActingPlayer().getClassId().getId() == act && ((L2PcInstance) target).isInsideZone(123123))

{

activeChar.getActingPlayer().sendMessage("You can't heal in this zone..");

continue;

}

}

 

I already told you several times that this thing won't work...It's pretty dump to use something like this. It is going to need support from multiple Skill Types configurations, something u simply can't and don't have to do.

  • 0
Posted

I already told you several times that this thing won't work...It's pretty dump to use something like this. It is going to need support from multiple Skill Types configurations, something u simply can't and don't have to do.

 
I understood, then how can I solve the healers teleport bug
  • 0
Posted

 

 
I understood, then how can I solve the healers teleport bug

 

 

As i see on the video, after the teleport to Giran, you can't even target your self. Are you sure that during that moment you don't get any error into console? As i can remember, when something like this happens there are errors in console for each request the player makes.

  • 0
Posted (edited)

As i see on the video, after the teleport to Giran, you can't even target your self. Are you sure that during that moment you don't get any error into console? As i can remember, when something like this happens there are errors in console for each request the player makes.

 

That's why I was intrigued, I get no console error, none at all

Edited by nortim
  • 0
Posted (edited)

As i see on the video, after the teleport to Giran, you can't even target your self. Are you sure that during that moment you don't get any error into console? As i can remember, when something like this happens there are errors in console for each request the player makes.

Not error :(

 

scq3vp.png

Edited by nortim
  • 0
Posted (edited)

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?

 

Not sure which initial code you shared. The one with missing return is simply wrong, even on paper logic. Atm the player is teleported twice, and it's perfectly normal since it's how it's currently coded.

Edited by Tryskell
  • 0
Posted

Not sure which initial code you shared. The one with missing return is simply wrong, even on paper logic. Atm the player is teleported twice, and it's perfectly normal since it's how it's currently coded.

 
So how could he complete it? I'm new to java, have patience. What would be missing, and how to implement?
  • 0
Posted (edited)

Not sure which initial code you shared. The one with missing return is simply wrong, even on paper logic. Atm the player is teleported twice, and it's perfectly normal since it's how it's currently coded.

 

This was my 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);
+    }
+}

Into onEnter moethod inside FlagZone code. I don't think missing the return statement would change anything at all since when player gets teleport onExit method is taking place. Plus he didn't make any changes (after the teleport) that would have to restore into onExit method

Edited by Solomun
  • 0
Posted (edited)

This was my 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);
+    }
+}

Into onEnter moethod inside FlagZone code. I don't think missing the return statement would change anything at all since when player gets teleport onExit method is taking place. Plus he didn't make any changes (after the teleport) that would have to restore into onExit method

:'(

 

You dont have to teleport them back just to block them using this teleport..

I will write it later if you dont have any answer

 
I'll be waiting
Edited by nortim
Guest
This topic is now closed to further replies.



  • Posts

    • this will explain better than words  
    • 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..