README 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Action Quake2 - Base Server Installer by Paul Klumpp (2012-11-18)
  2. It's always the same in Linux: To make it work on your system, some quake2
  3. stuff needs to be compiled. Please follow these simple instructions.
  4. Change into the q2compile/ directory:
  5. cd q2compile
  6. Start the magic script:
  7. ./make_and_put_all.sh
  8. Change to your q2 server directory:
  9. cd ../q2srv/
  10. Edit the gs_starter.cfg and try to study what it says:
  11. nano gs_starter.cfg
  12. Note: The ACTIVATE variable defines which instances get run
  13. by ./gs_starter.sh startwatch. And obviously, the rest of the
  14. variables define starting parameters for these instances.
  15. Edit action/h_passwords.cfg so you have a rcon_password that you actually know:
  16. nano action/h_passwords.cfg
  17. Start the gs_starter.sh script... With default gs_starter.cfg, it will watch
  18. over your Action Quake 2 game server instances 1, 2 and 3:
  19. screen ./gs_starter.sh startwatch
  20. IT'S DONE. YOU'RE READY TO GO!
  21. But if you're new to Linux and "screen", you have to know the following!
  22. You can get a list of running gameserver instances with:
  23. screen -ls
  24. You can attach to a running gameserver instance with:
  25. screen -x gs1
  26. or
  27. screen -x gs2 etc.
  28. You can detach from a gameserver instance with:
  29. Press ctrl+a then press d
  30. You can kill ALL instances with:
  31. ./gs_starter.sh stopall
  32. Note: If they were watched by startwatch, the instances will come up again.
  33. You can kill an instance X with:
  34. ./gs_starter.sh stop X
  35. Note: If it was watched by startwatch, the instance will come up again.
  36. You can start an instance X with:
  37. ./gs_starter.sh start X
  38. Note: This does not necessarily mean that this instance is watched.
  39. You can stop watching the instances with:
  40. ./gs_starter.sh stopwatch
  41. For help, just start it:
  42. ./gs_starter.sh
  43. And now, have fun!