Installation ( Linux )
- Install package screen. ( sudo apt-get install screen )
- All files from Server folder place in some folder on your server machine(not in gameserver folder).
- Configure
- Allow in your server firewall and antiddos proxy AA public port ( usually it is 11000 tcp )
-
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
-
In ipconfig.xml of gameserver set ip of gameserver as official - 79.110.83.66 for example. List of ips
- Start loginserver
-
Start AA server:
cd /aaserver/ sh startscreen.sh
-
Start gameserver using your new script
- After gameserver started, in AA server console/logs should be line:
GAMESERVER CONNECTED TO ACTIVE ANTICHEAT SERVER WITH ID 1
- Start game using updater or ActiveLauncher.exe from bin32 or bin64.