Skip to content

Installation ( Linux )

  1. Install screen packet ( sudo apt-get install screen for debian/ubuntu)
  2. Rename original l2.exe into l2.bin in your game patch, and copy/paste our l2.exe from your protection archive in folder Client.
  3. All files from Server folder place in some folder on your server machine(not in gameserver folder).
  4. Configure
  5. Allow in your server firewall and antiddos proxy AA public port.
  6. 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
    
  7. Start loginserver

  8. Start AA server using for instance screen script:

    cd /aaserver/
    sh startscreen.sh
    
  9. Start gameserver using script from p.6

  10. When gameserver is loaded string GAMESERVER CONNECTED TO ACTIVE ANTICHEAT SERVER WITH ID 1 must appear in AA server log
  11. Enter the game using l2.exe