Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Custom teleport

Newbie Spellweaver
Joined
May 1, 2017
Messages
23
Reaction score
0
Anyone know how to make custom teleport?
like a teleport in pandaemonium to heiron or silentera?
 
Newbie Spellweaver
Joined
Jul 8, 2014
Messages
91
Reaction score
4
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 :)
 

Attachments

You must be registered for see attachments list
Last edited:
Upvote 0
Initiate Mage
Joined
Aug 13, 2021
Messages
1
Reaction score
0
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
 
Upvote 0
Back
Top