Jump to content

Request Server Development Help [L2J]

Request help for Lineage II Java emulated servers.


Explore Questions

There are no popular questions to show right now

  1. L2jAcis rev 409 Oly problem

    Asked by DreamHunter,

    0 votes
    0 answers
  2. 0 votes
    3 answers
  3. 0 votes
    1 answer
  4. 0 votes
    2 answers
  5. 0 votes
    0 answers

18,563 questions in this forum

  1. Offline shop

    0 votes
    3 answers
  2. Noblesse Zone

    0 votes
    4 answers
  3. Mobs

    0 votes
    7 answers
  4. 0 votes
    2 answers
  5. 0 votes
    4 answers
  6. Item keeped in inventory

    0 votes
    3 answers
  7. Same IP?

    0 votes
    4 answers
  8. Skill Effect

    0 votes
    1 answer
  9. 0 votes
    1 answer
  10. mob stats

    0 votes
    3 answers
  11. 0 votes
    0 answers
  12. 0 votes
    8 answers
  13. Custom Quest

    0 votes
    1 answer
  14. Drop Calculation

    0 votes
    1 answer
  15. 0 votes
    1 answer
  16. Html Skill

    0 votes
    2 answers
  17. 0 votes
    5 answers
  18. COMMUNITY

    0 votes
    0 answers
  19. Npc Title

    0 votes
    6 answers
  20. 0 votes
    3 answers
  21. Problem in mysql HELP

    0 votes
    1 answer
  22. 0 votes
    0 answers
  23. 0 votes
    1 answer
  24. L2Network

    0 votes
    4 answers
  25. Npc's (buffer)

    0 votes
    0 answers
  26. html Confirm

    0 votes
    1 answer
  27. java help

    0 votes
    19 answers
  28. MAX LEVEL

    0 votes
    1 answer
  29. Acis add .dressme

    0 votes
    0 answers
  30. INVENTORY SLOT NAME

    0 votes
    0 answers
  31. 0 votes
    3 answers
  32. Communioty Board error

    0 votes
    4 answers
  33. Vote Manager

    0 votes
    5 answers
  34. 0 votes
    3 answers
  35. java code help

    0 votes
    16 answers
  36. UPDATER

    0 votes
    6 answers
  37. 0 votes
    5 answers
  38. 0 votes
    4 answers
  39. How to add Armor acis

    0 votes
    14 answers
  40. Finest Pack sources

    0 votes
    0 answers


  • Posts

    • 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. 
    • its old ver ))   this is new https://gamerip.ru/index.php?/topic/3308-lineage2-chronicle3-rise-of-darkness-new-version-172-030225/
  • Topics

×
×
  • Create New...