Jump to content
  • 0

Remove Potion's Effect in pvps


Question

Posted

Geia sas!Mporei kapoios na m pei pws na afairw tin epidrash enos potion otan paizw pvp me kapoion?

P.x. Otan exw balei haste potion kai xtypaw ena paixth na feygei to bonus speed p m dinei to haste potion.

Basika thelw na m peite tis na prosthesw h na allaxw sto pack m.

 

Eyxaristw!

4 answers to this question

Recommended Posts

  • 0
Posted

Oxi ayto to exw brei,apla thelw molis pairnei flag o paixths na feygei to effect tou potion.Mhpws xereis peripou kamia class p na mporw na balw mia if na to elegxei?

Guest
This topic is now closed to further replies.


  • Posts

    • L2 AARON - BANNERS          
    • ⭐MidnightSell team WTB/WTS GOLD ⭐TWW EU/US all servers ⭐Cataclysm all servers ⭐Payment Visa/Master/Btc/Eth/Trc-20/Erc-20 (all payments within 10 min) ⭐For all question pls dm ⭐Discord https://discord.gg/h8AN57qJjK ⭐Or Telegram @MidnightSell
    • Hey guys, I came up with this idea while needing to write down multiple locations. When you use the /loc command, a text file is created (only the first time) and stores all the locations you debug.   Output:   --- a/aCis_gameserver/java/net/sf/l2j/gameserver/handler/usercommandhandlers/Loc.java +++ b/aCis_gameserver/java/net/sf/l2j/gameserver/handler/usercommandhandlers/Loc.java @@ -1,5 +1,10 @@ package net.sf.l2j.gameserver.handler.usercommandhandlers; +import java.io.BufferedWriter; +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; + import net.sf.l2j.gameserver.data.xml.MapRegionData; import net.sf.l2j.gameserver.handler.IUserCommandHandler; import net.sf.l2j.gameserver.model.actor.Player; @@ -13,6 +18,7 @@ 0 }; + @SuppressWarnings("resource") @Override public void useUserCommand(int id, Player player) { @@ -100,6 +106,26 @@ } player.sendPacket(SystemMessage.getSystemMessage(msg).addNumber(player.getX()).addNumber(player.getY()).addNumber(player.getZ())); + + if (player.isGM()) + { + try + { + String fileLoc = "./data/locations.txt"; + final File file = new File(fileLoc); + file.createNewFile(); + + FileWriter fw = new FileWriter(fileLoc, true); + BufferedWriter bw = new BufferedWriter(fw); + bw.write(player.getX() + ", " + player.getY() + ", " + player.getZ()); + bw.newLine(); + bw.close(); + } + catch (IOException e) + { + e.printStackTrace(); + } + } } @Override  
    • Not any training model, i should fix that, just a very well done bot engine. As we use it on a local Internet Cafe spot and people join to test server, they don't seem to understand they are bots. Their behaviour is really well done. Many actions that other bots can't do are possible and the are complicated patterns that can be done due to structure of the engine such as Pick items of dead party pk member and later on trade them back to owner. So i'll fix later the title to Bot Engine rather than A.I. 
  • Topics

×
×
  • Create New...