1
0

INSTALL 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. * The installation process has changed starting at version 1.0.11.
  2. * All commands and directories/ are assumed to be located/ran in the wraith root dir.
  3. 1. Pack settings
  4. 2. Compiling
  5. 3. Making bots
  6. Step 1: Pack settings
  7. The files listed here are all located in pack/, and will need to be saved for future compiles.
  8. If you have pack.cff place it in pack/
  9. pack.cfg(.sample):
  10. Simply edit it and change accordingly
  11. Rename to pack.cfg when completed and make sure it is in pack/
  12. Step 2: Compiling
  13. For leaf build: ./build leaf
  14. For hub build: ./build hub
  15. To build both: ./build all
  16. To compile a debug version of the pack, add -d in as a option before the type.
  17. ie, ./build -d leaf
  18. During the compile process many warnings may appear on screen, ignore them. Only report ERRORS please.
  19. After the compile process is finished, the binaries will be placed in wraith.OS.version.tgz.
  20. The OS and version are dynamic depending on the pack build, type 'ls' to find exact name.
  21. Step 3: Making bots
  22. Simply do ./binary -C
  23. You may need to 'export EDITOR=pico' or 'setenv EDITOR pico' to whatever editor you prefer first (probably defaults to vi).
  24. Make sure you check all settings presented.
  25. At the bottom list bots like:
  26. bot1 ip host
  27. bot2 . +host (for ipv6 host)
  28. bot3 . . ipv6ip
  29. bot4 . .
  30. --
  31. Then save and exit.
  32. The binary will auto move to binpath/binname.
  33. Then on the hub do for every bot you added:
  34. .newleaf bot *!ident@host *!ident@ip
  35. Then just run the binary!
  36. All bots within the binary will be spawned with it's own PID.
  37. UPDATING BOTS:
  38. ./old_binary -U new_binary
  39. If you want bots to auto restart use '-u' instead