←  Programs

ComputerCraft | Programmable Computers for Minecraft

»

Firewolf Website Browser Version 3.5

manu_03's Photo manu_03 23 Apr 2016

View PostTowtow10, on 30 January 2016 - 09:16 AM, said:

Version 3.6 is out! It adds themes, they can be changed under rdnt//settings. They also save which one you selected.
No results

View PostTowtow10, on 30 January 2016 - 09:16 AM, said:

Version 3.6 is out! It adds themes, they can be changed under rdnt//settings. They also save which one you selected.
No results
Quote

Anonymous's Photo Anonymous 29 Apr 2016

Are you aware if this works in Tekkit?
Quote

Luca_S's Photo Luca_S 29 Apr 2016

View PostAnonymous, on 29 April 2016 - 01:14 PM, said:

Are you aware if this works in Tekkit?

Why shouldn't it? As long as you have CC in a modpack(with a relatively new version) all programs should work.
Quote

Tiin57's Photo Tiin57 29 Apr 2016

View PostAnonymous, on 29 April 2016 - 01:14 PM, said:

Are you aware if this works in Tekkit?

CC programs usually work, no matter what other mods are installed (assuming the program doesn't use other mods' peripherals), assuming the installed version is reasonably recent. This program will not work on CC 1.33, but it should be fine on any recent Tekkit pack.

Edit: Ninja'd by Lucas_S, he's basically saying the same thing as I am
Edited by Tiin57, 29 April 2016 - 08:32 PM.
Quote

Mumbai's Photo Mumbai 19 May 2016

Gotcha thanks.
Quote

veso266's Photo veso266 25 Jun 2016

Hi when I run server or client app I always get Firewolf has crashed 3033: attempt to cal nil (I am using Advanced Computer on CraftOS 1.7) I have 2 computer connected using wire modem

Thanks for Anwsering and Best Regards
Quote

Towtow10's Photo Towtow10 26 Jun 2016

View Postveso266, on 25 June 2016 - 06:49 PM, said:

Hi when I run server or client app I always get Firewolf has crashed 3033: attempt to cal nil (I am using Advanced Computer on CraftOS 1.7) I have 2 computer connected using wire modem

Thanks for Anwsering and Best Regards

I cant seem to replicate your problem, could you provide some screenshots?
Quote

Bomb Bloke's Photo Bomb Bloke 26 Jun 2016

My guess is disable_lua51_features is set to true within ComputerCraft.cfg.

This really shouldn't be the case unless you wish to perform certain tests, but I know at least one modpack author has set it that way (even if I've no idea as to why).
Quote

veso266's Photo veso266 27 Jun 2016

@Bomb Bloke Thanks that was the case I don't know why Tekkit-Legends disable that?

Is it posible to load dynamic programs like website so they can be acsessed from remote computers?

I have simple mfsu checking program that uses OpenPeripherals to check MFSU Power it works fine on computer but if I rename it to index and copy to fw_servers/windows.nt (my domain) and i try to acsess it from remote computer I get
The Website crashed!
/:17 attempt to cal nil
Please report this error to the website creator

program that I've slightly modified is here: (I didn't create this program I've just modified it so it won't use monitors original is here: http://www.computerc...9-mfsu-monitor/)

local function padLeft(str, w)
  return string.rep(" ", w - #str) .. str
end

local function findPeripheral(_type)
  for _,name in pairs(peripheral.getNames()) do
	if peripheral.getType(name) == _type then
	  return peripheral.wrap(name)
	end
  end
end

local mfsu = findPeripheral("mfsu")
local batbox = findPeripheral("batbox")

if not mfsu and not batbox then
  error("Cannot find mfsu attached to this computer", 0)
end



local w, h = term.getSize()
local total = 0

if mfsu then
  total = mfsu.getEUCapacity()
elseif batbox then
  total = batbox.getCapacity()
end
os.startTimer(1)

while true do
  local stored = 0
  if mfsu then
	stored = mfsu.getEUStored()
  elseif batbox then
	stored = batbox.getStored()
end

  term.clear()
  term.setCursorPos(1, 2)
  term.setTextColour(colours.orange)
  term.write("Energy:")
  term.setTextColour(colours.white)
  term.write(padLeft(tostring(stored), w - 7))

  term.setCursorPos(1, 4)
  term.setTextColour(colours.orange)
  term.write("Total:")
  term.setTextColour(colours.white)
  term.write(padLeft(tostring(total), w - 6))

  local p = (w-2) * stored / total

  term.setBackgroundColour(colours.lightGrey)
  term.setCursorPos(2, 8)
  term.write(string.rep(" ", w-2))
  term.setBackgroundColour(colours.grey)
  term.setCursorPos(2, 8)
  term.write(string.rep(" ", p))
  term.setBackgroundColour(colours.black)

  os.pullEvent("timer")
  os.startTimer(1)
end

Edited by veso266, 28 June 2016 - 09:33 AM.
Quote

Insighted's Photo Insighted 30 Jun 2016

Could I have your permission to make this program pre-installed on my OS that I am working on as long as I give credit and link to this topic?
Quote

Lupus590's Photo Lupus590 01 Jul 2016

View PostInsighted, on 30 June 2016 - 08:52 PM, said:

Could I have your permission to make this program pre-installed on my OS that I am working on as long as I give credit and link to this topic?

https://github.com/T.../master/LICENSE
Quote