Jump to content




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

networking lua wireless

  • You cannot reply to this topic
539 replies to this topic

#481 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 18 May 2014 - 10:59 AM

The latest

#482 MKlegoman357

  • Members
  • 1,170 posts
  • LocationKaunas, Lithuania

Posted 18 May 2014 - 04:08 PM

View PostKonlab, on 18 May 2014 - 10:59 AM, said:

The latest

firewolf.redirect(url) if you're making a Lua website and [newlink url]text[endlink] if you're making a FWML website.

Edited by MKlegoman357, 18 May 2014 - 04:10 PM.


#483 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 18 May 2014 - 04:17 PM

And to other pages of server?
(I tried shell.run, not working :-) )

#484 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 19 May 2014 - 02:47 AM

View PostKonlab, on 18 May 2014 - 04:17 PM, said:

And to other pages of server?
(I tried shell.run, not working :-) )

Say you create the site www.example.com. If you're using Lua, you can call:
firewolf.redirect("someothersite.com") -- to redirect to another site
firewolf.redirect("www.example.com/anotherpage") -- to redirect to another page on your server

If you're using FWML, it's the same thing, just different syntax:
[newlink someothersite.com]this is a link![endlink] -- for another site
[newlink www.example.com/anotherpage]this is a link to another page in the same website![endlink] -- for another page on the same site


#485 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 19 May 2014 - 02:55 PM

Thanks!
And can you create forums in firewolf's pages?


#486 apemanzilla

  • Members
  • 1,421 posts

Posted 19 May 2014 - 04:16 PM

View PostKonlab, on 19 May 2014 - 02:55 PM, said:

Thanks!
And can you create forums in firewolf's pages?
You probably can since they support lua.

#487 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 19 May 2014 - 04:18 PM

I know, but how to transfer messages?
Can I use rednet API?

#488 apemanzilla

  • Members
  • 1,421 posts

Posted 19 May 2014 - 04:34 PM

View PostKonlab, on 19 May 2014 - 04:18 PM, said:

I know, but how to transfer messages?
Can I use rednet API?
1. Rednet API
2. Directly through modems
3. HTTP API

#489 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 19 May 2014 - 05:31 PM

Thanks!
And can I use the following APIs?:
-fs(for loading cookies)
-os(os.pullEvent;os.time;os.day;and another time functions)
-paintutils(to draw images)
-textutils(to slowPrint)
-shell(I don't know why huh.)

#490 apemanzilla

  • Members
  • 1,421 posts

Posted 19 May 2014 - 07:25 PM

View PostKonlab, on 19 May 2014 - 05:31 PM, said:

Thanks!
And can I use the following APIs?:
-fs(for loading cookies)
-os(os.pullEvent;os.time;os.day;and another time functions)
-paintutils(to draw images)
-textutils(to slowPrint)
-shell(I don't know why huh.)
fs: probably but it is likely restricted to prevent malicious code.
os: probably, but again likely restricted
paintutils: don't see why this would be blocked
textutils: same as paintutils
shell: unlikely

#491 Win7yes

  • Members
  • 110 posts

Posted 20 May 2014 - 02:26 AM

If I download Firewolf from GitHub where do I put the files?

#492 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 20 May 2014 - 06:43 AM

Firewolf is one file - on GitHub it is the file called client.lua inside the src folder. Here: https://github.com/1.../src/client.lua

#493 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 20 May 2014 - 01:47 PM

View PostKonlab, on 19 May 2014 - 05:31 PM, said:

Thanks!
And can I use the following APIs?:
-fs(for loading cookies)
-os(os.pullEvent;os.time;os.day;and another time functions)
-paintutils(to draw images)
-textutils(to slowPrint)
-shell(I don't know why huh.)
If development continues then there will be access to a storage api for the site (Like HTML5 storage, not fs), os.pullEvent and safe OS functions will be allowed, paint/textutils would also be allowed, but shell will not be allowed. There should be no reason to use shell considering that you don't have access to the file system anyway.

EDIT: See the function getWhitelistedEnvironment on line 1556 to see what you don't/do have access to:
https://github.com/1.../src/client.lua

Edited by 1lann, 20 May 2014 - 01:51 PM.


#494 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 21 May 2014 - 11:26 AM

View Post1lann, on 20 May 2014 - 01:47 PM, said:

EDIT: See the function getWhitelistedEnvironment on line 1556 to see what you don't/do have access to:
https://github.com/1.../src/client.lua

You can highlight lines in GitHub :P It's cool. https://github.com/1...lient.lua#l1556

#495 apemanzilla

  • Members
  • 1,421 posts

Posted 21 May 2014 - 12:52 PM

View PostGravityScore, on 21 May 2014 - 11:26 AM, said:

View Post1lann, on 20 May 2014 - 01:47 PM, said:

EDIT: See the function getWhitelistedEnvironment on line 1556 to see what you don't/do have access to:
https://github.com/1.../src/client.lua

You can highlight lines in GitHub :P It's cool. https://github.com/1...lient.lua#l1556

You, sir, have just saved me a lot of scrolling ;)

#496 killorx

  • Members
  • 34 posts

Posted 19 June 2014 - 04:24 AM

firewolf will not install on our server.

#497 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 19 June 2014 - 05:15 AM

View Postkillorx, on 19 June 2014 - 04:24 AM, said:

firewolf will not install on our server.
It'd help the developer if you would post more info about the issues you're having. Simply saying it doesn't install doesn't magically give the devs enough info to fix the issue.

First suggestion I'd make is to check that your http whitelist is set to allow the sites hosting firewolf files. Other than that, please provide more info.

#498 BytePointer

  • Members
  • 17 posts

Posted 19 June 2014 - 07:50 AM

Great program! Keep doing great things, I use your LuaIDE and it's amazing :)

#499 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 30 June 2014 - 11:14 PM

Hey, are you guys still working on this? If so then I'm wondering if you can fix the a problem I'm having. I'm trying to start a server but it doesn't work( I can create it, but when I press the start button nothing happens ), and if I select 'run on boot' and restart the computer it gives me the error 'No such program'.. So it seems I'm missing the file server_software, but that should install itself right? I've tried downloading the newest version on different computers and it doesn't work, I have set the HTTP whitelist to '*' so that I can access all sites, so I have no clue what's wrong.
It's says failed to connect to github everytime I launch firewolf :|

Edit: Seems like you've changed stuff on GitHub so it doesn't work :P
local serverURL = "https://raw.github.com/1lann/Firewolf/master/server/server-release.lua"
I went to that url and it seems you've removed that file :(

Edited by TheOddByte, 30 June 2014 - 11:18 PM.


#500 noahc3

  • Members
  • 3 posts

Posted 15 July 2014 - 05:40 PM

Anyone still working on this? I have a problem. When I download Firewolf 2.5, it says it can't connect to Github, even though github is working fine. When I "click to exit", it says it is downloading the files.

Also, the server system doesn't seem to work. When I host a server, no other computers can connect to the website. I am assuming firewolf didn't download the required files.

I tried getting the Firewolf 3.0 you have on Github, but when I go to rdnt://server, I press space but it says download failed.

Same downloading issue with the themes. It says the themes are corrupt, but I assume it says that because it couldn't find the right files.


If this/these issues can be fixed, Firewolf would be awesome!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users