Jump to content




Firewolf Website Browser Version 3.5

lua wireless networking

30 replies to this topic

#21 manu_03

  • Members
  • 84 posts
  • LocationSpain

Posted 23 April 2016 - 03:21 PM

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

#22 Anonymous

  • Members
  • 30 posts
  • LocationGlasglow, England

Posted 29 April 2016 - 01:14 PM

Are you aware if this works in Tekkit?

#23 Luca_S

  • Members
  • 407 posts
  • LocationGermany

Posted 29 April 2016 - 08:30 PM

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.

#24 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 29 April 2016 - 08:32 PM

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.


#25 Mumbai

  • Members
  • 62 posts

Posted 19 May 2016 - 01:17 PM

Gotcha thanks.

#26 veso266

  • Members
  • 5 posts

Posted 25 June 2016 - 06:49 PM

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

#27 Towtow10

  • Members
  • 31 posts
  • LocationGold Coast, Australia

Posted 26 June 2016 - 11:44 AM

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?

#28 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 26 June 2016 - 01:30 PM

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

#29 veso266

  • Members
  • 5 posts

Posted 27 June 2016 - 10:34 AM

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


#30 Insighted

  • New Members
  • 1 posts
  • LocationUBUNTU 16.04 LTS

Posted 30 June 2016 - 08:52 PM

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?

#31 Lupus590

  • Members
  • 2,029 posts
  • LocationUK

Posted 01 July 2016 - 01:42 PM

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users