This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Towtow10's profile picture

Firewolf Website Browser Version 3.5

Started by Towtow10, 26 January 2016 - 11:28 PM
Towtow10 #1
Posted 27 January 2016 - 12:28 AM
Firewolf is a rednet browser, it allows you to browse the internet within minecraft!
Servers are very easy to setup, for your websites you can use lua or the html clone called fwml, both are easy to use.

Check Out the wiki here.

Note: This was originally developed by GravityScore and 1lann, I have permission to continue its development.
Here is the old post.

Note: If you have the version of Firewolf from the old post you will have to download it from here to receive updates, this is because it uses a new git repository.

You can download Firewolf here.
or use
pastebin get nTVm5BZ2 firewolf

I will post a video tutorial soon.

Please post bugs or ideas of what can be implemented next here.

Changelog:
Spoiler3.6
-Added Themes

3.5
-Added an auto updater

Screenies:
SpoilerHompage:


Server:
Edited on 30 January 2016 - 09:47 PM
TheOddByte #2
Posted 27 January 2016 - 11:17 PM
Great to see that someone has finally decided to continue this project, but what are your plans for this? And does this version support themes as FW 2.5 or whatever version it was did?
Towtow10 #3
Posted 28 January 2016 - 03:22 AM
It probably will support themes and I'm thinking of improving fwml. Also submit your ideas of what I could add next here.
Towtow10 #4
Posted 30 January 2016 - 09:16 AM
Version 3.6 is out! It adds themes, they can be changed under rdnt//settings. They also save which one you selected.
ry00000 #5
Posted 30 January 2016 - 06:27 PM
How do you run a file from a page?
Creator #6
Posted 30 January 2016 - 06:31 PM
Where is the repo now?
Lupus590 #7
Posted 30 January 2016 - 06:58 PM
Where is the repo now?
https://github.com/Towtow10/Firewolf
Open the wiki (as linked in the op), check the forks

also @op you should make your own wiki, that way the old one can be archived
Edited on 30 January 2016 - 06:00 PM
Anavrins #8
Posted 30 January 2016 - 07:07 PM
client:3: Attempt to index nil, on CC1.78
Because of…
There's also another issue, if you're going to use .settings as a folder, you will break the CC1.77 settings api some way or the other.
I've made a pull request https://github.com/Towtow10/Firewolf/pull/1
Towtow10 #9
Posted 30 January 2016 - 09:16 PM
How do you run a file from a page?
You need to host a webserver, ill get around to some video tutorials probably today.
Towtow10 #10
Posted 30 January 2016 - 09:24 PM
client:3: Attempt to index nil, on CC1.78
Because of…
There's also another issue, if you're going to use .settings as a folder, you will break the CC1.77 settings api some way or the other.
I've made a pull request https://github.com/T...Firewolf/pull/1
Thanks for cleaning up my code, I have always been very messy.

Where is the repo now?
https://github.com/Towtow10/Firewolf
Open the wiki (as linked in the op), check the forks

also @op you should make your own wiki, that way the old one can be archived
I will, but it may be a bit of time before I get round to it.
Lupus590 #11
Posted 30 January 2016 - 10:12 PM
also @op you should make your own wiki, that way the old one can be archived
clone the wiki (you have to manually copy each page I think)

edit: either i have messed up my browser cache, or the wiki has be copied across
Edited on 30 January 2016 - 09:18 PM
Towtow10 #12
Posted 30 January 2016 - 10:39 PM
also @op you should make your own wiki, that way the old one can be archived
clone the wiki (you have to manually copy each page I think)

edit: either i have messed up my browser cache, or the wiki has be copied across
It looks like it did copy over, I also thought I had to copy page by page.
Lupus590 #13
Posted 30 January 2016 - 10:58 PM
care to share how you cloned the wiki?
Towtow10 #14
Posted 30 January 2016 - 11:48 PM
care to share how you cloned the wiki?
It was already there when I forked 1lann's repo
Pyuu #15
Posted 31 January 2016 - 01:30 AM
So, what's the differences between 2.5 and 3.5 really? (Just some version control stuff, 3.5 suggests a HUGE update from 2.5)
Also, themes? I thought those already existed.
Creator #16
Posted 31 January 2016 - 05:23 AM
care to share how you cloned the wiki?

The wiki is just another got repo under the name GitHub.com/userne/repo.wiki
Quartz101 #17
Posted 31 January 2016 - 04:02 PM
So, what's the differences between 2.5 and 3.5 really? (Just some version control stuff, 3.5 suggests a HUGE update from 2.5)
Also, themes? I thought those already existed.

3.x has been around for a long time. 3.x has encrypted communications (DHE to be exact), a serverside api, FWML, and probably more!
Towtow10 #18
Posted 03 February 2016 - 11:04 AM
Me and DannySmc are working too implement cross server compatibility, the current rdnt:// protocol will be used for accessing websites on the same server and ccml:// will be used for cross server.
TheOddByte #19
Posted 08 February 2016 - 04:40 PM
Also, themes? I thought those already existed.
If I remember correctly there was an issue with 2.5 that broke the themes functionality.
Pyuu #20
Posted 09 February 2016 - 02:25 AM
Me and DannySmc are working too implement cross server compatibility, the current rdnt:// protocol will be used for accessing websites on the same server and ccml:// will be used for cross server.

Well, with cross server communication, you need a site to do POSTs (so people can upload/manage their site content.) DannySMc will provide one more than likely, just interested what your security measures are gonna be considering the potential behind it.
manu_03 #21
Posted 23 April 2016 - 04:21 PM
Version 3.6 is out! It adds themes, they can be changed under rdnt//settings. They also save which one you selected.
No results

Version 3.6 is out! It adds themes, they can be changed under rdnt//settings. They also save which one you selected.
No results
Anonymous #22
Posted 29 April 2016 - 02:14 PM
Are you aware if this works in Tekkit?
Luca_S #23
Posted 29 April 2016 - 09:30 PM
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.
Tiin57 #24
Posted 29 April 2016 - 09:32 PM
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 on 29 April 2016 - 07:32 PM
Mumbai #25
Posted 19 May 2016 - 02:17 PM
Gotcha thanks.
veso266 #26
Posted 25 June 2016 - 07: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
Towtow10 #27
Posted 26 June 2016 - 12:44 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

I cant seem to replicate your problem, could you provide some screenshots?
Bomb Bloke #28
Posted 26 June 2016 - 02: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).
veso266 #29
Posted 27 June 2016 - 11: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 on 28 June 2016 - 08:33 AM
Insighted #30
Posted 30 June 2016 - 09: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?
Lupus590 #31
Posted 01 July 2016 - 02:42 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?

https://github.com/Towtow10/Firewolf/blob/master/LICENSE