20.01.2015, 11:39
May be this will help you:
1. Give right permissions to samp03svr, announce, samp-npc
2.
3. If you are using a firewall you need to forward an INPUT UDP port for your samp server.
Change 7777 by your server port.
4. run your server
1. Give right permissions to samp03svr, announce, samp-npc
Код:
# cd /path/to/sampserver
Код:
# chmod 711 samp03svr announce samp-npc
Код:
# rand_pass=$(date | md5sum | cut -f 1 -d " ")
Код:
# sed -i \"s/rcon_password changeme/rcon_password $rand_pass/g\" server.cfg
Код:
iptables -t filter -A INPUT -p udp --dport 7777 -j ACCEPT
4. run your server
Код:
# killall samp03svr
Код:
# nohup ./samp03svr &