Page 1 of 1

STMBot time. And getting started tips

Posted: Fri Oct 16, 2020 5:22 pm
by SecondTermMistake
Hi peeps,

I'm gonna build a bot, so watch out.
And in this thread, I'll document any gotchas along the way.
I'm building on a Mac Mini running Catalina

Tips:
(a) Don't download the most current JDK, you need an ol' busted one (JDK 8)

Here's my tutorial:
(1) Download Lux SDK: https://sillysoft.net/sdk/ Direct link: https://sillysoft.net/sdk/SillysoftSDK.zip

(2) Download JDK 8:
https://www.oracle.com/java/technologie ... loads.html
https://www.oracle.com/java/technologie ... loads.html
Click the macOS one
(this made me create an account to download it)

(3) Download ant: http://ant.apache.org/bindownload.cgi
Either version worked fine for me, so here's the latest
https://mirrors.koehn.com/apache//ant/b ... in.tar.bz2

Unzip stuff.
Run the JDK installer.

Open your terminal, assuming you leave everything in Downloads.
cd ~/Downloads/SillysoftSDK
../apache-ant-1.10.9/bin/ant

Buildfile: /Users/----/Downloads/SillysoftSDK/build.xml

compile:
[javac] Compiling 14 source files to /Users/----/Downloads/SillysoftSDK/build
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] 1 warning

BUILD SUCCESSFUL
Total time: 1 second

Looks like it built... now to go change something and run it.

Re: STMBot time. And getting started tips

Posted: Fri Oct 16, 2020 5:36 pm
by SecondTermMistake
Ok. So next I did:

cd src/com/sillysoft/lux/agent/
cp Killbot.java STMBot.java

Then edited STMBot and replaced everywhere it said Killbot with STMBot.
Pro-coding skills.

cd -
Recompiled:
../apache-ant-1.10.9/bin/ant

Then copy compiled STMBot into game:
cp build/com/sillysoft/lux/agent/STMBot.class /Users/jestelle/Library/Application\ Support/Lux/Agents

Restarted LUX, and now STMBot is kicking ass and taking names.

Image

Re: STMBot time. And getting started tips

Posted: Sat Oct 17, 2020 1:55 am
by dustin
Bushbot?
Presibot?

Re: STMBot time. And getting started tips

Posted: Sat Oct 17, 2020 2:52 am
by SecondTermMistake
Cheneybot?

Maybe a whole family of bots.