SSC.Nob is a simple bot I wrote for the game Subspace Continuum, just for fun!
SSC stands for Subspace Continuum. Nob stands for Noble One Bot. Noble One (or Nob) is meant to be a gender-neutral version of King of the Hill.
Subspace Continuum links:
It's not a server bot and can be run & used by any user in any zone & arena.
It's currently not a UDP packet bot. It simply reads a log file for input and uses Java's Robot class for output. For SSC.Nob2 or something, I'd like to read/write packets, but will probably never make it.
Download the latest Jar from the Assets on the Releases page.
Then simply run the Jar:
$ java -jar ssc.nob.jar
JRuby is required. ruby-install & chruby make this easy:
$ ruby-install jruby
$ chruby jruby
Run the app with JRuby...
Either from RubyGems:
[jruby]$ gem install ssc.nob
[jruby]$ ssc.nob
Or from source:
[jruby]$ gem install bundler
[jruby]$ bundler install
[jruby]$ ruby ./lib/ssc.nob.rb
Note: that's bundler with an r, not bundle (which doesn't work with JRuby).
It's pretty janky at the moment, but works.
You'll be asked a couple of questions. Then input the run
command.
Current Subspace configuration:
- In Key Defs, set the Msg key to TAB.
- Once logged in...
- do
?log nob.log
- do
?kill
until kill messages are set to display in the chat - do
?namelen=24
- do
Now to run Nob, private message yourself !nob.start
. Private message yourself !nob.stop
to stop it.
Use this Rake task for creating a Jar for release:
[jruby]$ bundler exec rake jar
There's a task for running as well:
[jruby]$ bundler exec rake runjar
Don't forget to include it in the release:
$ gh release create v0.0.0 pkg/*.jar pkg/*.gem
SSC.Nob (https://github.com/esotericpig/ssc.nob)
Copyright (c) 2020-2021 Jonathan Bradley WhitedSSC.Nob is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.SSC.Nob is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with SSC.Nob. If not, see https://www.gnu.org/licenses/.