Skip to content

Installation ( Linux )

  1. Install package screen. ( sudo apt-get install screen )
  2. All files from Server folder place in some folder on your server machine(not in gameserver folder).
  3. Configure
  4. Allow in your server firewall and antiddos proxy AA public port ( usually it is 11000 tcp )
  5. Files from GameServers folder copy/paste into root gameserver folder, chmod execute/read/write rights for these files. In your gameserver start script add at the beggining:

    export INTPTR=28911 - this port is set up automatically, don't change it
    export GSID=1 gameserver id from anticheat.xml
    export INTIPADDR=127.0.0.1 - ip to machine where AA server is located
    

    and right before java execution command:

    LD_PRELOAD=$PWD/active_pr64.so
    

    Example of gameserver start script:

    #!/bin/bash
    
    export INTPTR=28840
    export GSID=1
    export INTIPADDR=127.0.0.1
    
    while :;
    do
    
    LD_PRELOAD=$PWD/active_pr64.so java -Xbootclasspath/p:./jsr167.jar -server -Dfile.encoding=UTF-8 -Xmx16G -XX:PermSize=3G -XX:+UseConcMarkSweepGC -XX:+UseTLAB -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -cp config:../libs/* l2ro.gameserver.GameServer > log/stdout.log 2>&1
           [ $? -ne 2 ] && break
           sleep 30;
    done
    
  6. In ipconfig.xml of gameserver set ip of gameserver as official - 79.110.83.66 for example. List of ips

  7. Start loginserver
  8. Start AA server:

    cd /aaserver/
    sh startscreen.sh
    
  9. Start gameserver using your new script

  10. After gameserver started, in AA server console/logs should be line:  GAMESERVER CONNECTED TO ACTIVE ANTICHEAT SERVER WITH ID 1
  11. Start game using updater or ActiveLauncher.exe from bin32 or bin64.