Jump to content




Firewolf Website Browser 2.5 - Brand New Internals (again)!

networking lua wireless

539 replies to this topic

#1 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 03 October 2012 - 09:04 AM

Firewolf Website Browser

Version 2.5


Firewolf is a Rednet browser (like RednetExplorer), made by GravityScore and 1lann
It's based off RednetExplorer 2.4.1, which is made by xXxm0dzxXx/CCFan11

Firewolf 2.5 is out! It's built upon the original systems in the previous version (2.4), but yet again completely changes all the internal workings. Firewolf now has its own custom coroutine system, which should make it easier to develop for 1lann and I, and also shortened it by 300 lines :D This update also includes a few bug fixes.

Follow any progress made here on our GitHub repository!
We keep a regularly updated list of bugs in the issues list on the GitHub repository here.

Note: The HTTP API must be enabled for Firewolf to work.

New Additions
- Brand new internals (again)
- Custom coroutine system, leading to
- 300 lines shorter :D
- Bug fixes

Additions from Older Versions (Change Log):
Spoiler

Operating Systems Firewolf Is Included In:
Spoiler

Features
Spoiler

Built-In Websites
- rdnt://firewolf (default homepage)
- rdnt://sites
- rdnt://server
- rdnt://help
- rdnt://settings
- rdnt://getinfo
- rdnt://credits

Tutorials/Documentation
- Making a Website
- API Documentation

Screenshots - Need to be updated
Homepage (default theme):
Posted Image

Homepage (Ice theme):
Spoiler

Live Search:
Spoiler

Search:
Spoiler

Settings:
Spoiler

Server Management:
Spoiler

Server Software:
Spoiler

A (simple) Website:
Spoiler

Website Crash:
Spoiler

Antivirus (I tried to use rawset :P):
Spoiler

Leave a comment suggesting any more features you would like us to add!

Download
Firewolf can be downloaded from Pastebin or Hastebin, using the Pastebin ID: A7wGH3ty or the Hastebin ID: bijarokaho.lua
Or type into your computer:
pastebin get A7wGH3ty firewolf

Firewolf automatically updates from GitHub, so any new versions will be downloaded automatically!

Credits
Developers:
- GravityScore
- 1lann
Special Thanks to:
- ComputerCraftFan11 for his RednetExplorer 2.4.1, which this is based off
- mk352 for being a really helpful bug tester when Firewolf was young.

Major Legacy Versions
For anyone interested, here is a list of older versions of Firewolf (then named Firefox) available for download (auto-updating has been disabled in the ones that have it). WARNING: these are very buggy and have not been tested in ages!

Firefox 1.3.5: 3NQ95rBy
Firefox 1.3.6: F3Cs0WJh
Firefox 1.4.0: 596hpdcw
Firewolf 1.4.5: Urss9ARU
Firewolf 2.3.9: HgWnREcr
Firewolf 2.4: bY8YDUJ1

Firewolf ROM Installer
For any server owners (or players) interested, here is an installer for Firewolf that you can place in the ROM folder.
You can get it from Pastebin, using the ID: KhwBkrUP

Edited by GravityScore, 15 November 2013 - 11:03 AM.


#2 Doyle3694

  • Members
  • 815 posts

Posted 03 October 2012 - 09:14 AM

+1! :(/>:D

#3 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 03 October 2012 - 01:57 PM

Quick Notice, Firewolf has been mostly discontinued, the most recent version can be found here:
https://github.com/1.../src/server.lua
https://github.com/1.../src/client.lua

Edited by 1lann, 23 July 2014 - 12:39 PM.


#4 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 03 October 2012 - 03:18 PM

I think your antivirus trigger is too sensitive. It always flags my games site. What are the criteria for flagging a site?

#5 Tiin57

    Java Lunatic

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

Posted 03 October 2012 - 07:18 PM

This is excellent when on a LAN server. Regular ones are terrible, but that might just be the latency. More than likely is.
Edit: Also, 200th post! Coder! Yay! More exclamation marks! Yay!!!!111!!11!
xD

#6 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 04 October 2012 - 02:15 PM

View Posttiin57, on 03 October 2012 - 07:18 PM, said:

This is excellent when on a LAN server. Regular ones are terrible, but that might just be the latency. More than likely is.
Edit: Also, 200th post! Coder! Yay! More exclamation marks! Yay!!!!111!!11!
xD
How is it terrible on a normal server? O_o
Also craniumkid, It's normally caused by using the fs, io and shell API. Idk why it flags your games site but ima do a debug once I'm on a computer.

#7 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 04 October 2012 - 03:50 PM

Yeah, I have none of those in my Games site....

#8 B00mX0r

  • New Members
  • 20 posts

Posted 31 October 2012 - 12:57 AM

It says sites like search don't exist for me?

#9 tom2018

  • Members
  • 135 posts

Posted 02 November 2012 - 07:47 AM

search can be used with just a blank url
And i absolutely love this program we run it on my friends server with a whole internet

#10 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 03 November 2012 - 12:59 PM

cool +1 but i suggest you change name of your browser before you get sued

#11 Tiin57

    Java Lunatic

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

Posted 03 November 2012 - 01:03 PM

Excellent work here.
Edit: ARGH. Double post.

#12 Jan

  • Members
  • 141 posts
  • Locationthe Netherlands

Posted 05 November 2012 - 01:36 AM

Hi, some month's ago I played on Noodle's server where this program was too.
There I found a lot of exploits in the anti-virus database
So I've got a suggestion to improve sandboxing:
Use environments:
local fn,e = loadfile(cacheLoc)
local env = {}
env.term = copyTable(term)
env.sleep = sleep
env.read = read
-- And other allowed functions...

setfenv(fn,env)

fn()
Haven't tested it yet, but it should prevent all exploits. (except infinite loops causing 'took too long to yield')

#13 tom2018

  • Members
  • 135 posts

Posted 05 November 2012 - 03:24 AM

The latest update seems to cause cleint to freeze and when you press ctrl it crashes I am using it on tekkit 1.33

#14 Jan

  • Members
  • 141 posts
  • Locationthe Netherlands

Posted 05 November 2012 - 05:07 AM

View Postpbcub1, on 05 November 2012 - 04:59 AM, said:

Hmmm, bit off-topic? You can better put such things in your signature instead of spamming a useless message. :D/>
(also I doubt if those codes really work)

#15 pbcub1

  • New Members
  • 23 posts

Posted 05 November 2012 - 05:53 AM

View PostJan, on 05 November 2012 - 05:07 AM, said:

View Postpbcub1, on 05 November 2012 - 04:59 AM, said:

Hmmm, bit off-topic? You can better put such things in your signature instead of spamming a useless message. :D/>
(also I doubt if those codes really work)
thanks man

#16 haydenf96

  • New Members
  • 12 posts

Posted 15 November 2012 - 01:56 PM

How do you use prompt? I type in the command and it works, but how do i direct it to a page
will this work?
if prompt == "Downloads" then
  print("It is working!")


#17 manomow

  • New Members
  • 2 posts

Posted 17 November 2012 - 06:08 AM

I got an error of "firefox:489: Access denied"

#18 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 17 November 2012 - 09:05 PM

Oh wow, erm I didn't notice people were actually using it. Right now due to the new updates of CC 1.47, we had to change alot of things since you cannot override coroutine.yield anymore (Reason why ctrl doesn't work properly). We're changing on alot of stuff and we may do another re-write.

#19 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 17 November 2012 - 09:15 PM

A new version of Firefox will be out soon - a temporary version that supports only Advanced Computers and supports the mouse in CC 1.74. The old version will still be downloadable for use on Normal Computers. 1lann and I are just finalising and squashing the last few bugs in it!
As 1lann said, the sudden surge in the number of views has caught us off guard, and we are doing our best to update and improve it!

Stay tuned for updates!

#20 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 17 November 2012 - 11:25 PM

View Posthaydenf96, on 15 November 2012 - 01:56 PM, said:

How do you use prompt? I type in the command and it works, but how do i direct it to a page
will this work?
if prompt == "Downloads" then
  print("It is working!")

In Firefox 1.4.5, I added a help page section, which sort of explains the prompt software under the API Documentation section.

But, the overall gist of it is:

selectedOption = prompt({{"Option 1's Name", 4, 2}, {"Option 2's Name", 4, 4}})
if selectedOption == "Option 1's Name" then
   -- Do something...
elseif selectedOption == "Option 2's Name" then
   -- Do something else...
end

-- Basic Template:
-- opt = prompt({{[name], [x], [y]}, {[name], [x], [y]}, ...}})
-- if opt == [name] then
--	...

Basically, prompt is a function you can call which displays options to the user at specified x and y locations. The user selects and option, and that option's name is returned. Just use an if statement after that to determine which option was chosen.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users