README 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. ===============================================================================
  2. Action Quake2 - Base Server Installer by Paul Klumpp (2012-11-18)
  3. It's always the same in Linux: To make it work on your system, some quake2
  4. stuff needs to be compiled. Please follow these simple instructions.
  5. First, on Linux, be an unprivileged user. The following will create a
  6. "aq2-basesrv" directory, so, there is no need to create a new directory.
  7. Just start the the magic script by:
  8. curl -L https://bitbucket.org/PaulKlumpp/aq2-basesrv/raw/ba723ec3be9c076971152da77b9bd274abb53e8f/q2compile/aq2-bsrv-pkg.sh first | bash
  9. For future updates, start this:
  10. curl -L https://bitbucket.org/PaulKlumpp/aq2-basesrv/raw/ba723ec3be9c076971152da77b9bd274abb53e8f/q2compile/aq2-bsrv-pkg.sh update | bash
  11. Note: These magic scripts will install or update everything, but they
  12. won't overwrite your changes on configuration files.
  13. ===============================================================================
  14. Now, to your job! Your job is to configure your server, so read the
  15. following steps carefully and learn something.
  16. Change to your q2 server directory:
  17. cd aq2-basesrv/q2srv/
  18. Edit the gs_starter.cfg and try to study what it says:
  19. nano gs_starter.cfg
  20. Note: The ACTIVATE variable defines which instances get run
  21. by ./gs_starter.sh startwatch. And obviously, the rest of the
  22. variables define starting parameters for these instances.
  23. Edit action/h_passwords.cfg so you have a rcon_password that you actually know:
  24. nano action/h_passwords.cfg
  25. Start the gs_starter.sh script... With default gs_starter.cfg, it will watch
  26. over your Action Quake 2 game server instances 1, 2 and 3:
  27. screen ./gs_starter.sh startwatch
  28. IT'S DONE. YOU'RE READY TO GO!
  29. But if you're new to Linux and "screen", you have to know the following!
  30. You can get a list of running gameserver instances with:
  31. screen -ls
  32. You can attach to a running gameserver instance with:
  33. screen -x gs1
  34. or
  35. screen -x gs2 etc.
  36. You can detach from a gameserver instance with:
  37. Press ctrl+a then press d
  38. You can kill ALL instances with:
  39. ./gs_starter.sh stopall
  40. Note: If they were watched by startwatch, the instances will come up again.
  41. You can kill an instance X with:
  42. ./gs_starter.sh stop X
  43. Note: If it was watched by startwatch, the instance will come up again.
  44. You can start an instance X with:
  45. ./gs_starter.sh start X
  46. Note: This does not necessarily mean that this instance is watched.
  47. You can stop watching the instances with:
  48. ./gs_starter.sh stopwatch
  49. For help, just start it:
  50. ./gs_starter.sh
  51. And now, have fun!