Hello. my friends developer. The new SVN is online, with our Aion-Core 5.0 which we will upgrade to 5.8. Read more, click here

Jump to content

This is a global message which is shown to all members on your site,important announcements, general news updates, etc.

Recommended Posts

Hello, I need some help with Aion 3.9 EMU with the special skills for Admin
On login he get the special GM skills but by quitting the game, these skills are nor removed.
So, if one day the player is no GM anymore he still keep these special GM skills.
I would like in one of this two files;

a script that check if the player is GM and if so, by logout it should remove that certain skills, from the player databese table player_skills, for example

// Special skill for gm
    if (AdminConfig.COMMAND_SPECIAL_SKILL && player.getAccessLevel() >= AdminConfig.COMMAND_SPECIAL_SKILL_LVL)
			FastList<Integer> gmSkill = FastList.newInstance();
            //gmSkill.add(174); // GM's Armor
            //gmSkill.add(175); // GM's Tempest
            gmSkill.add(1904); // Wrath of Developer
            gmSkill.add(1911); // Frustration of Developer
            //gmSkill.add(3224); // GM Power!
            //gmSkill.add(3226); // GM Armor!
            //gmSkill.add(3227); // GM Cleanse!
            //gmSkill.add(3232); // GM Wings!
            //gmSkill.add(3233); // GM Haste!
            //gmSkill.add(3234); // GM Fortitude!
            //gmSkill.add(3235); // GM Fortune!
            //gmSkill.add(3236); // GM Defenses I
            //gmSkill.add(3237); // GM Defenses II
            //gmSkill.add(3238); // GM Defenses III
            //gmSkill.add(3239); // GM Sleight of Hand I
            //gmSkill.add(3240); // GM Mental Alacrity I
            //gmSkill.add(3241); // GM Hustle I
            for (FastList.Node<Integer> n = gmSkill.head(), end = gmSkill.tail(); (n = n.getNext()) != end; )
					PlayerSkillEntry skill = new PlayerSkillEntry(n.getValue(), true, 1, PersistentState.NOACTION);
                    player.getSkillList().addStigmaSkill(player, skill.getSkillId(), skill.getSkillLevel());

    public void onPlayerLogin(Player player) {
        if (player.isGM()) {
            gms.put(player.getObjectId(), player);

    public void onPlayerLogedOut(Player player) {
        if (player.isGM()) {
          <>   gmSkill.remove.(AdminConfig.COMMAND_SPECIAL_SKIL(1904); // Wrath of Developer
            <>     gmSkill.remove.(AdminConfig.COMMAND_SPECIAL_SKIL(1911); // Frustration of Developer



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Board Life Status

Board startup date: December 25, 2014 06:24:13
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.