Project

ssc.nob

0.0
Low commit activity in last 3 years
No release in over a year
Subspace Continuum Nob (Noble One Bot).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.14
~> 13.0
~> 2.1

Runtime

~> 2.0
~> 3.0
~> 0.1
 Project Readme

SSC.Nob

Gem Version Source Code Changelog License

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.

Run

From Jar

Download the latest Jar from the Assets on the Releases page.

Then simply run the Jar:

$ java -jar ssc.nob.jar

From RubyGems or Source

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).

Setup & Demo

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

Now to run Nob, private message yourself !nob.start. Private message yourself !nob.stop to stop it.

asciinema demo

Hack

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

License

GNU GPL v3+

SSC.Nob (https://github.com/esotericpig/ssc.nob)
Copyright (c) 2020-2021 Jonathan Bradley Whited

SSC.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/.