STMBot time. And getting started tips
- SecondTermMistake
- Lux Moderator
- Posts: 175
- Joined: Sun Nov 07, 2004 8:05 pm
STMBot time. And getting started tips
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
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.
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
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.
- SecondTermMistake
- Lux Moderator
- Posts: 175
- Joined: Sun Nov 07, 2004 8:05 pm
Re: STMBot time. And getting started tips
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.
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.
Re: STMBot time. And getting started tips
Bushbot?
Presibot?
Presibot?
- SecondTermMistake
- Lux Moderator
- Posts: 175
- Joined: Sun Nov 07, 2004 8:05 pm
Re: STMBot time. And getting started tips
Cheneybot?
Maybe a whole family of bots.
Maybe a whole family of bots.
Who is online
Users browsing this forum: No registered users and 38 guests