Custom teleport

Results 1 to 3 of 3
  1. #1
    Apprentice mateuscx is offline
    MemberRank
    May 2017 Join Date
    23Posts

    Custom teleport

    Anyone know how to make custom teleport?
    like a teleport in pandaemonium to heiron or silentera?


  2. #2
    Member mcsnakes is offline
    MemberRank
    Jul 2014 Join Date
    NetherlandsLocation
    91Posts

    cool Re: Custom teleport

    Hi mateuscx...
    i will show you how to do it if you using a source not the best way but it works
    hope you understand my english is not that good haha!

    1. Make a Folder named custom put it inside the Ai Folder At;
    Game-Emulator\data\scripts\system\handlers\ai\Custom
    2. Make a file named NewSiegeAI2.java ( check Attachments For script )
    NewSiegeAI2.java put this file inside the ai\Custom folder

    ------------------------------------------------------------------------------------------

    If you did all this open your source with a program after choose like Eclipse / IntelliJ IDEA

    Make a Folder inside :
    1. gameserver/services/
    2. gameserver/services/efunctions/
    3. gameserver/services/efunctions/customportals


    Upload Siegeportal.java from attachments to the customportals map

    Now as last go to gameserver.java and open it:
    gameserver/GameServer.java

    Add this at the imports at the top
    import com.aionemu.gameserver.services.ecfunctions.customportals.SiegePortal;

    And add this part also
    // Enable Recharger Portal
    RechargerPortal.getInstance().Init();
    }

    Thats it :) you can rename the files after choose also inside SiegePortal.java you
    can change gps locations + portal id :) if you need help or need more information just ask :)
    Attached Files Attached Files
    Last edited by mcsnakes; 20-05-17 at 12:34 AM.

  3. #3
    Novice ezand is offline
    MemberRank
    Aug 2021 Join Date
    1Posts

    Re: Custom teleport

    Quote Originally Posted by mcsnakes View Post
    Hi mateuscx...
    i will show you how to do it if you using a source not the best way but it works
    hope you understand my english is not that good haha!
    1. Make a Folder named custom put it inside the Ai Folder At;
    Game-Emulator\data\scripts\system\handlers\ai\Custom
    2. Make a file named NewSiegeAI2.java ( check Attachments For script )
    NewSiegeAI2.java put this file inside the ai\Custom folder

    ------------------------------------------------------------------------------------------

    If you did all this open your source with a program after choose like Eclipse / IntelliJ IDEA

    Make a Folder inside :
    1. gameserver/services/
    2. gameserver/services/efunctions/
    3. gameserver/services/efunctions/customportals


    Upload Siegeportal.java from attachments to the customportals map

    Now as last go to gameserver.java and open it:
    gameserver/GameServer.java

    Add this at the imports at the top
    import com.aionemu.gameserver.services.ecfunctions.customportals.SiegePortal;

    And add this part also
    // Enable Recharger Portal
    RechargerPortal.getInstance().Init();
    }

    Thats it :) you can rename the files after choose also inside SiegePortal.java you
    can change gps locations + portal id :) if you need help or need more information just ask :)
    Hi mcsnakes, I really liked your solution for this, I am trying to learn about aion source but now I am confused, I don't know how is triggered a script (on data/scripts/system/ai), I read many of javas files and into them until now I don't see a single import to theses scripts. Can you explain to me please? I want to learn to make my own scripts and services too. Sorry for my bad english



Advertisement