Loading...
  1. Dismiss Notice
  2. Dismiss Notice
  3. Dismiss Notice
  4. Dismiss Notice
  5. If this is your first visit, you may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Spawn Protection FIX!

Discussion in 'Old Threads' started by magnodemox, Nov 27, 2010.

  1. magnodemox

    magnodemox New Member

    Joined:
    Oct 18, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    221
    I found something funny on the internet, IF you have the AION SOURCES (the files u need to Compile, Ant Build, to make the Start GS and LS server).
    Then You CAN implement this FIX.

    Search PlayerController.java (in Gameserver's Sources)
    In PlayerController.java, go to
    Code:
    [COLOR=#000000][COLOR=#007700]if([/COLOR][COLOR=#0000bb]getOwner[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000bb]getLifeStats[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000bb]isAlreadyDead[/COLOR][COLOR=#007700]()) 
                 return; [/COLOR][/COLOR]
    and Change it for this:
    Code:
    [COLOR=#000000][COLOR=#007700]if([/COLOR][COLOR=#0000bb]getOwner[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000bb]getLifeStats[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000bb]isAlreadyDead[/COLOR][COLOR=#007700]()) 
                 return; 
      
    -        if([/COLOR][COLOR=#0000bb]getOwner[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000bb]isInvul[/COLOR][COLOR=#007700]()) 
    +        if([/COLOR][COLOR=#0000bb]getOwner[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000bb]isInvul[/COLOR][COLOR=#007700]() || [/COLOR][COLOR=#0000bb]getOwner[/COLOR][COLOR=#007700]().[/COLOR][COLOR=#0000bb]isProtectionActive[/COLOR][COLOR=#007700]()) 
                 [/COLOR][COLOR=#0000bb]damage [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]0[/COLOR][COLOR=#007700]; 
      
             [/COLOR][COLOR=#0000bb]super[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000bb]onAttack[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000bb]creature[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000bb]skillId[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000bb]type[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000bb]damage[/COLOR][COLOR=#007700]);  [/COLOR][/COLOR]
    This Should FIX the AoE spawn protection damage problem. i hope u like it :D

    After a GM READ THIS, DELETE THIS or i WILL. this is not an AION Support Page. Just Wanted to Help :D
     
    Last edited: Nov 27, 2010
  2. Eyeshielder

    Eyeshielder Well-Known Member Forum Legend

    Joined:
    Aug 1, 2010
    Messages:
    1,998
    Likes Received:
    364
    Trophy Points:
    333
    Location:
    North Carolina
    nice work bro
     

Share This Page