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

#261 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 21 February 2013 - 12:20 PM

@Cranium I probably won't get around to editing the wiki until I get home this afternoon sorry :( (its about 7:30am here)

@remiX it will. Plus I plan to design it like write the website, click to start, and exit minecraft. Then in whatever Firewolf you next visit, just log in and click to stop :)

#262 NoLongerUsed

  • Members
  • 80 posts

Posted 23 February 2013 - 03:46 AM

it won't find webpages on wired modems
thats the error im getting

#263 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 23 February 2013 - 04:03 AM

View Postmtwiscool, on 23 February 2013 - 03:46 AM, said:

it won't find webpages on wired modems
thats the error im getting

Huh, I see your problem... Not sure what could be causing it. Rednet should be backwards compatible between the versions. And rednet.send/receive/broadcast all work in the Lua prompt, just the RDNT protocol won't transmit.

I'll look into it tomorrow, have to go to bed now :P

#264 NoLongerUsed

  • Members
  • 80 posts

Posted 25 February 2013 - 01:51 AM

View PostGravityScore, on 23 February 2013 - 04:03 AM, said:

View Postmtwiscool, on 23 February 2013 - 03:46 AM, said:

it won't find webpages on wired modems
thats the error im getting

Huh, I see your problem... Not sure what could be causing it. Rednet should be backwards compatible between the versions. And rednet.send/receive/broadcast all work in the Lua prompt, just the RDNT protocol won't transmit.

I'll look into it tomorrow, have to go to bed now :P
any news on progress?

#265 Bobder22

  • Members
  • 11 posts

Posted 25 February 2013 - 02:51 AM

This is the error I'm getting when I try and start the program:

firewolf:1087: attempt to perform arithmetic __sub on nil and number

I downloaded straight from the pastebin using: pastebin get A7wGH3ty firewolf

#266 NoLongerUsed

  • Members
  • 80 posts

Posted 25 February 2013 - 03:32 AM

it seams theys alot changing in the code

#267 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 25 February 2013 - 11:56 AM

View PostBobder22, on 25 February 2013 - 02:51 AM, said:

This is the error I'm getting when I try and start the program:

firewolf:1087: attempt to perform arithmetic __sub on nil and number

I downloaded straight from the pastebin using: pastebin get A7wGH3ty firewolf
Thanks for reporting that, fixed.

#268 InputUsername

  • Members
  • 231 posts
  • LocationThe Netherlands

Posted 26 February 2013 - 05:36 AM

Hey Gravity, just a small note: your signature still says Firewolf 2.3.9 :P

#269 NoLongerUsed

  • Members
  • 80 posts

Posted 26 February 2013 - 06:37 AM



this is the error i'm facing

#270 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 26 February 2013 - 10:54 AM

View Postmtwiscool, on 26 February 2013 - 06:37 AM, said:


this is the error i'm facing
Since you're using a PR version of firewolf, we are unsure whether it's a bug in CC or in Firewolf. I'll try and check It out later when I have free time, which is like in 12 hours D:

#271 NoLongerUsed

  • Members
  • 80 posts

Posted 27 February 2013 - 03:11 AM

any news?

#272 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 27 February 2013 - 04:01 AM

View Postmtwiscool, on 27 February 2013 - 03:11 AM, said:

any news?
Sorry! I'm quite busy in life right now. I might need to redo the entire rednet system in firewolf

#273 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 27 February 2013 - 09:25 AM

I still don't know how I am going to be able to download necessary files to the server automatically. I want to be able to push an update to github or pastebin, and have the server update. I also would like to be able to download logos and images, as well as custom apis to the server if necessary. It would be nice if you could add that function. There's nothing on your wiki(still) about this feature. This is really the last thing I need before I can release SmartPaste 2.0

#274 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 27 February 2013 - 12:38 PM

View PostCranium, on 27 February 2013 - 09:25 AM, said:

I still don't know how I am going to be able to download necessary files to the server automatically. I want to be able to push an update to github or pastebin, and have the server update. I also would like to be able to download logos and images, as well as custom apis to the server if necessary. It would be nice if you could add that function. There's nothing on your wiki(still) about this feature. This is really the last thing I need before I can release SmartPaste 2.0

I'll promise I'll update the wiki this afternoon when I get home. As for downloading from the client to the server, this would be a rather big security risk, and I don't think would be possible to ensure server safety.

... Then again... I could add built in inline scripting to the server (like PHP) which could be used to download files to a server before the script is run on the client...
You could add code between <?script and ?> tags at the top of the file, which would be run on the server computer, but then removed from the source code before it is sent to the client. This shouldn't be to hard.

As for loading images, files and APIs from the server computer, there are functions that allow you to do that easily. I'll properly document them on the wiki when I get home.

#275 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 27 February 2013 - 02:24 PM

Glad to hear that this might already exist. I can't wait to finish this project. It has been haunting me for months now.

#276 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 27 February 2013 - 04:42 PM

View Postmtwiscool, on 27 February 2013 - 03:11 AM, said:

any news?
Right, I managed to fix it, but my quick hotpatch makes firewolf load websites slower by 0.1 seconds. GravityScore being picky, wouldn't like it so a better fix will be released soon.

But anyways, right now and from now to the future it should work on modems now.

#277 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 27 February 2013 - 05:22 PM

View Post1lann, on 27 February 2013 - 04:42 PM, said:

View Postmtwiscool, on 27 February 2013 - 03:11 AM, said:

any news?
Right, I managed to fix it, but my quick hotpatch makes firewolf load websites slower by 0.1 seconds. GravityScore being picky, wouldn't like it so a better fix will be released soon.

But anyways, right now and from now to the future it should work on modems now.

I don't care 1lann :P hot fix it now, and then completely fix it later.

#278 tesla1889

  • Members
  • 351 posts
  • LocationSt. Petersburg

Posted 27 February 2013 - 05:53 PM

View PostGravityScore, on 27 February 2013 - 12:38 PM, said:

--snip--
... Then again... I could add built in inline scripting to the server (like PHP) which could be used to download files to a server before the script is run on the client...
You could add code between <?script and ?> tags at the top of the file, which would be run on the server computer, but then removed from the source code before it is sent to the client. This shouldn't be to hard.

As for loading images, files and APIs from the server computer, there are functions that allow you to do that easily. I'll properly document them on the wiki when I get home.

ooooo please do. a php equivalent would be great for firewolf websites.
actually, an easy way to do this would be to use something like --[[{ and }]] to delimit it

#279 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 27 February 2013 - 08:34 PM

View Posttesla1889, on 27 February 2013 - 05:53 PM, said:

ooooo please do. a php equivalent would be great for firewolf websites.
actually, an easy way to do this would be to use something like --[[{ and }]] to delimit it

Putting the PHP-like script in comments and then not removing it sorta ruins the point of secrecy. :P

The script should be run on the server side, and it may contain secret password info for things (databases, websites, etc...), which would then be un-viewable to people downloading the website.

#280 1lann

  • Members
  • 516 posts
  • LocationSeattle

Posted 28 February 2013 - 12:58 AM

I'll try doing an implemntation of this myself. Here's my idea for it so far:

Inside the hidden code that would be functions. APIS added for websites would be like fwScript(string functioname, optional: string data, moarstrings, ect.) which on the server would call the function on the server and whatever that function returns would be sent back to the client and fwScript would return that.

Does that sound good?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users