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

#81 TheVarmari

  • Members
  • 70 posts
  • LocationFinland

Posted 22 December 2012 - 01:34 AM

Problem, officer?

EDIT: I can help a bit in some places if you want, but I'm no way Lua Pro

#82 GeniusName3

  • Members
  • 45 posts

Posted 23 December 2012 - 04:48 AM

You should add a favorite/bookmarking system :D

#83 NDFJay

  • Members
  • 216 posts
  • LocationLeeds, England

Posted 23 December 2012 - 12:50 PM

View PostGeniusName3, on 23 December 2012 - 04:48 AM, said:

You should add a favorite/bookmarking system :D

this is not a bad idea...

Mr GravityScore you need to do this ^_^ as well as a back button and history ^_^ oh and cookies ^_^ I can set up the cookies for you, they are what I use to login to the NDF-OS Cloud ID's

#84 Mendax

  • Members
  • 366 posts

Posted 23 December 2012 - 07:42 PM

Can we get support for RP2 bundled cables?

#85 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 24 December 2012 - 05:29 AM

It already has history! ^_^ (rdnt://history, and press up/down in the menu bar)

1lann said he didn't want bookmarks, but I disagree. I'll put it on my to do list :P

1lann also said (I think, don't quote me on this :P) he didn't want back/forward/home buttons, and again I disagree. Again, on my to do list :P

View PostMendax, on 23 December 2012 - 07:42 PM, said:

Can we get support for RP2 bundled cables?

Not entirely sure what you mean by that. Do you mean to send data instead of using Rednet? Not sure if thats possible... (?)

And cookies you say? mmmmmmmmmm........ cooookkkiiiiieeeessssss... *drool*
Hehe. Anyway - by cookies you mean a method of letting the website store computer-specific data that is passed to it every visit? I guess I could add that :P
Added.

#86 Leo Verto

  • Members
  • 620 posts
  • LocationOver there

Posted 24 December 2012 - 08:47 AM

Crash when starting firewolf:
2503: 'end' expected (to close 'function' at line 2500)

#87 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 24 December 2012 - 08:56 AM

Yah thanks :P

View PostLeo Verto, on 24 December 2012 - 08:47 AM, said:

Crash when starting firewolf:
2503: 'end' expected (to close 'function' at line 2500)

Thanks :P I just fixed it. According to the GitHub history, it was 1lann's fault..... (not trying to annoy him or anything :P)

#88 20Brogan

  • New Members
  • 4 posts

Posted 24 December 2012 - 02:54 PM

On tekkit when I run this I get firewolf:3001: attempt to call nil. I take it this doesn't have support for tekkit?

#89 Zoroark173

  • Members
  • 22 posts

Posted 24 December 2012 - 09:20 PM

Hello, quick noob question- How exactly do I make a web page >.> I made a website by going to rdnt://server, clicked new server, made one, but then when I clicked Edit, I had no idea on what to do from there. Almost everything I try to do in there says "Program not Allowed!"

#90 TheVarmari

  • Members
  • 70 posts
  • LocationFinland

Posted 24 December 2012 - 11:25 PM

View Post20Brogan, on 24 December 2012 - 02:54 PM, said:

On tekkit when I run this I get firewolf:3001: attempt to call nil. I take it this doesn't have support for tekkit?
No support for tekkit as term.isColor() is not defined in ComputerCraft versions that don't have advanced computers.


View PostZoroark173, on 24 December 2012 - 09:20 PM, said:

Hello, quick noob question- How exactly do I make a web page >.> I made a website by going to rdnt://server, clicked new server, made one, but then when I clicked Edit, I had no idea on what to do from there. Almost everything I try to do in there says "Program not Allowed!"
You should be able to Edit the server, then do "edit home". You edit it like a normal lua file, so print("Herpiederpie's Homepages") would show "Herpiederpie's Homepages" when you go to the site. Try and look at the documentation because there are useful functions such as centerPrint included in this.

#91 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 24 December 2012 - 11:48 PM

View PostTheVarmari, on 24 December 2012 - 11:25 PM, said:

No support for tekkit as term.isColor() is not defined in ComputerCraft versions that don't have advanced computers.

function isAdvanced()
  return term.isColor and term.isColor()
end


#92 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 25 December 2012 - 04:15 AM

Thanks for the tip Cloudy! I'll put it in the next release.
I've never bothered to test this on Tekkit.

Once you click Edit (like TheVarmari said), it's like the normal shell prompt, so commands like list (ls, dir), edit, mkdir, rm, etc... all work.

#93 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 28 December 2012 - 09:49 PM

View PostGravityScore, on 24 December 2012 - 05:29 AM, said:

It already has history! ^_^ (rdnt://history, and press up/down in the menu bar)

1lann said he didn't want bookmarks, but I disagree. I'll put it on my to do list :P

1lann also said (I think, don't quote me on this :P) he didn't want back/forward/home buttons, and again I disagree. Again, on my to do list :P

LIES! I only said I didn't want bookmarks :P

Anywho new in Firewolf:
Servers now have a lock feature! (since I heard people say that their servers get jacked up by people who come and modify them)
It is recommended to somehow prevent people from placing a disk drive and inserting a disk next to the computer to circumvent the lock.

Also there are 2 new functions for websites to use!
ioReadFileFromServer and loadImageFromServer
They haven't be documented yet but basically how they work is

ioReadFileFromServer gets a file from the server and opens it in read using the IO api and returns the table. The 1 argument used in the function is the file's name. The file must be in the server folder. This is subject to change

loadImageFromServer gets a file from the server that's in the server folder and returns the table returned by textutils.loadImage. This is also subject to change

Also plugin API stuffz is now in development. Prepare to see a plugins api for Firewolf in the near future!

Enjoy! -1lann

#94 HotGirlEAN

  • Banned
  • 101 posts

Posted 28 December 2012 - 09:57 PM

:D I have a request for a new feature:
- Iframes!

#95 Mandrake Fernflower

  • Members
  • 117 posts
  • LocationDark Side of The Moon

Posted 29 December 2012 - 04:29 PM

Nice but one major problem in the server software.

-- Turtle
if turtle then
  term.clear()
  term.setCursorPos(1, 2)
  centerPrint("Advanced Comptuer Required!")
  print("\n")
  centerPrint("This version of Firewolf requires")
  centerPrint("an Advanced Comptuer to run!")
  print("")
  centerPrint("Turtles may not be used to run")
  centerPrint("Firewolf! :(/>")
  print("")
  centerPrint("Press any key to exit...")
  os.pullEvent("key")
  return false
end


Why on earth would you do somthing like that? Turtles are great servers

#96 HotGirlEAN

  • Banned
  • 101 posts

Posted 29 December 2012 - 08:00 PM

There is support for Tekkit computers you can do.
Here's an example.
enableColor = false -- By default, have it false
if term.isColor ~= nil then -- If CC version has colors
  if term.isColor() then enableColor = true end -- Ok, if it is an advanced computer, enable colors
end


#97 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 30 December 2012 - 03:20 AM

The turtle error is because the screen sizes are fixed, so it doesn't adapt well to smaller screen sizes, only to larger ones (and even then sites are broken - mostly the server management). This is kinda hard to fix without redesigning Firewolf mostly (the text and everything would have to change and mehhhhhhhhhhhhh :P).

Tekkit computer support is in the experimental version :P I'll put it in the others now.

#98 gngz

  • Members
  • 31 posts
  • LocationPortugal

Posted 30 December 2012 - 03:23 AM

Where is the function reference for writing a website?

Regards,

#99 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 30 December 2012 - 04:06 AM

There is a help page under rdnt://help, and in there is API Documentation, which contains a brief explanation of the functions in the API available to website developers (its not very detailed - I should really write a proper one to put on the GitHub Wiki...). This also has a section on how to create a website.

Hope this helps!

#100 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 30 December 2012 - 07:27 AM

Just released version 2.3.5!

Includes a whole bunch of minor and major bug fixes, and a few new features (ty 1lann :P) - most notably the new password protection to servers and the major bug fixes in the Firewolf rendering engine (now does a lot more than rendering).

Enjoy!





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users