5 posts
Posted 24 May 2016 - 07:50 PM
hi all,
first of all, english is not my mother tongue. Sorry for that.
I recently started a new server(1.7.10) with computercraft and the new ICBM mod. but i have a problem.
I want to configure the laucher control panel by computercraft.
ICBM mod:
http://www.planetmin...ech-explosives/I found this good looking program on the internet:
http://www.computerc...issile-control/ .
its splitted in 3 parts (so 3 computers) and 2 of them works (or just start without an error)
-ICBM missile launcher: http://pastebin.com/ssFKX7Kp-ICBM main server: http://pastebin.com/y2WDjsz8-ICBM control panel: http://pastebin.com/esZ0XvhxThe problem is "
ICBM control pannel" when i start the script i get an error: bios:14: [string "startup"]:221: no loop to break
i hope u can help me!
if u need more information just ask!
8 posts
Location
UK
Posted 24 May 2016 - 08:46 PM
212 posts
Location
Somewhere in this dimension... I think.
Posted 24 May 2016 - 09:30 PM
Change
local function checkLoadbarLib()
f = fs.exists("/lib/loadBar")
if f == true then
break
to
local function checkLoadbarLib()
f = fs.exists("/lib/loadBar")
if f == true then
return
Edited on 24 May 2016 - 07:30 PM
5 posts
Posted 25 May 2016 - 02:52 PM
hey, thanks for ure help!
But now i get another error
temp:136 attempt to index ? (a nil value)
1080 posts
Location
In the Matrix
Posted 25 May 2016 - 03:57 PM
You're trying to use the LoadBar api without ever loading it.move lines 217-227 up above line 136.
And then move line 152, (The line in missile_launch that runs os.loadAPI) to below what you just moved and outside of the function.
Edited on 25 May 2016 - 01:58 PM
5 posts
Posted 25 May 2016 - 04:16 PM
You're trying to use the LoadBar api without ever loading it.move lines 217-227 up above line 136.
And then move line 152, (The line in missile_launch that runs os.loadAPI) to below what you just moved and outside of the function.
tanks for ure help!
but im not a pro in computercraft, can u give me a pastebin link because i dont get what u mean with:
And then move line 152, (The line in missile_launch that runs os.loadAPI) to below what you just moved and outside of the function."tis is my script now ( with lines 217-227 moved above line 139)http://pastebin.com/0GEb9t0R
Edited on 25 May 2016 - 02:21 PM
1080 posts
Location
In the Matrix
Posted 25 May 2016 - 04:29 PM
line 164 above line 148
5 posts
Posted 25 May 2016 - 05:37 PM
line 164 above line 148
ok thanks, now te program gives a starting screen. and the wireless modum on top went red. but i still got an error its says: startup:76: attempt to index ? (a nil value)
tis is how my script looks now:
http://pastebin.com/qcWECtq6i hope u can fix this
Edited on 25 May 2016 - 03:43 PM
1080 posts
Location
In the Matrix
Posted 25 May 2016 - 08:09 PM
There is no .users file to read.