Jump to content




Ndf-Ui | The Ndf-Os Continuation Project

computer lua utility

63 replies to this topic

#41 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 22 June 2013 - 02:20 PM

View PostMudkipTheEpic, on 22 June 2013 - 02:11 PM, said:

View PostHellkid98, on 22 June 2013 - 02:08 PM, said:

-Snip-

View PostNDFJay, on 21 June 2013 - 06:40 AM, said:

Sorry I havent been replying to this thread, I've not had a computer recently.

The reason its not downloading is because my webserver is down, my host messed up my order so I'm having to get that sorted out, I'll post an alert when the server is back up so you can continue downloading the UI

Oh sorry.. Didn't read that..
Was just on the first page and replied..

#42 logwet

  • Members
  • 11 posts

Posted 15 July 2013 - 12:27 AM

When i downloaded it and run it, my computer said "install:212: attempt to index ? (a nil value)" pls help me :wacko:

#43 NDFJay

  • Members
  • 216 posts
  • LocationLeeds, England

Posted 15 July 2013 - 08:25 AM

View Postlogwet, on 15 July 2013 - 12:27 AM, said:

When i downloaded it and run it, my computer said "install:212: attempt to index ? (a nil value)" pls help me :wacko:

I'm having an issue with my webserver where the files are downloaded from, will have it back in the next 2 - 3 weeks, untill then im finding an alternative way to upload the files

#44 nutcase84

  • Members
  • 711 posts
  • LocationIn My Lonely Little Computer Corner

Posted 15 July 2013 - 12:05 PM

Dropbox FTW

#45 computercam

  • Members
  • 6 posts

Posted 26 July 2013 - 04:31 PM

install is broken on 1.6.1 of cc

#46 J66_J66

  • New Members
  • 2 posts

Posted 29 July 2013 - 02:49 PM

Hey NDFjay, could I modify the code of your downloader to use in my os? I have been trying to make my own for quite some time but it has never worked... if not please could I have help on how to actually get the file onto computercraft using the http api? Thanks. I don't want to seem lazy but i am really new to this... :) oh and of course i will give you credit for it! :D

#47 makerimages

  • Members
  • 236 posts

Posted 30 July 2013 - 02:36 AM

local sExample = http.get("exampl.com") --Get contents of page
write(sExample.readAll()) --Read and print contents of page
sExample.close() --Just in case
Or if you Want the end result be a file, then try this
function WriteToFile(path, text)
	    local file = assert(io.open(path, "w"))
	    file:write(text)
	    file:close()
end
local file = http.get("URL-TO-FILE")
WriteToFile("NEW FILE NAME", file.readAll())
file.close()


#48 J66_J66

  • New Members
  • 2 posts

Posted 30 July 2013 - 10:22 AM

Thanks makerimages, worked perfectly! +1ed :D

#49 Anon10W1z

  • Members
  • 22 posts

Posted 31 July 2013 - 01:35 PM

Hey can you fix the screenshots? They're just the little page icon which shows when a link to a picture is invalid.

#50 Dave-ee Jones

  • Members
  • 456 posts
  • LocationVan Diemen's Land

Posted 05 August 2013 - 05:33 AM

Your website is down again. I cannot download the URL contents because it cannot find the website. Please fix.

#51 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

Posted 05 August 2013 - 01:23 PM

it gives me an error on line 212, it says:
install:212: attempt to index ?(a nil value)

#52 makerimages

  • Members
  • 236 posts

Posted 06 August 2013 - 01:30 AM

View PostNDFJay, on 15 July 2013 - 08:25 AM, said:

View Postlogwet, on 15 July 2013 - 12:27 AM, said:

When i downloaded it and run it, my computer said "install:212: attempt to index ? (a nil value)" pls help me :wacko:

I'm having an issue with my webserver where the files are downloaded from, will have it back in the next 2 - 3 weeks, untill then im finding an alternative way to upload the files

Are you too dumb to read?

#53 Dave-ee Jones

  • Members
  • 456 posts
  • LocationVan Diemen's Land

Posted 06 August 2013 - 02:57 AM

Why doesn't he just use GitHub or Pastebin? Maybe even BitBucket?

#54 DarkEspeon

  • Members
  • 57 posts

Posted 06 August 2013 - 11:40 AM

View PostAutoLocK, on 06 August 2013 - 02:57 AM, said:

Why doesn't he just use GitHub or Pastebin? Maybe even BitBucket?

Got to agree with you here Autolock, Pastebin would be more accessible to cc users since you can just do pastebin get xxxxxxxxx name

#55 NDFJay

  • Members
  • 216 posts
  • LocationLeeds, England

Posted 06 August 2013 - 01:25 PM

View Postnicse4, on 06 August 2013 - 11:40 AM, said:

View PostAutoLocK, on 06 August 2013 - 02:57 AM, said:

Why doesn't he just use GitHub or Pastebin? Maybe even BitBucket?

Got to agree with you here Autolock, Pastebin would be more accessible to cc users since you can just do pastebin get xxxxxxxxx name

Because my UI has more than 1 file, in fact it has quite a few and downloading them all from my personal webserver is faster and easier and lets me make auto updaters and installers without the pastebin conformation after each file taking up the screen.

My webserver is back up now so I'll be uploading the files to it today

#56 NDFJay

  • Members
  • 216 posts
  • LocationLeeds, England

Posted 06 August 2013 - 01:38 PM

And we're back up and running, the files are on the server and everything is working, enjoy

#57 Dave-ee Jones

  • Members
  • 456 posts
  • LocationVan Diemen's Land

Posted 07 August 2013 - 12:45 AM

View PostNDFJay, on 06 August 2013 - 01:25 PM, said:

View Postnicse4, on 06 August 2013 - 11:40 AM, said:

View PostAutoLocK, on 06 August 2013 - 02:57 AM, said:

Why doesn't he just use GitHub or Pastebin? Maybe even BitBucket?

Got to agree with you here Autolock, Pastebin would be more accessible to cc users since you can just do pastebin get xxxxxxxxx name

Because my UI has more than 1 file, in fact it has quite a few and downloading them all from my personal webserver is faster and easier and lets me make auto updaters and installers without the pastebin conformation after each file taking up the screen.

My webserver is back up now so I'll be uploading the files to it today

Fair enough :D

EDIT: Also, your OS is slightly broken. The Settings menu won't work, the context menu doesn't work either and some other features don't work either. Shutdown/Reboot/CraftOS works and so does your NDF Boot. Some other features are broken as well.
Just thought I'd let you know.

#58 NDFJay

  • Members
  • 216 posts
  • LocationLeeds, England

Posted 07 August 2013 - 08:09 AM

View PostAutoLocK, on 07 August 2013 - 12:45 AM, said:

--snip


Fair enough :D

EDIT: Also, your OS is slightly broken. The Settings menu won't work, the context menu doesn't work either and some other features don't work either. Shutdown/Reboot/CraftOS works and so does your NDF Boot. Some other features are broken as well.
Just thought I'd let you know.

Thanks, Ill fix that stuff when I get a chance ^_^

#59 jbruienne

  • New Members
  • 1 posts

Posted 07 August 2013 - 02:15 PM

I can't install NDF-UI! Error code:
startup:36: bad argument: string expected, got nil
This is on both types of computers.

#60 Dave-ee Jones

  • Members
  • 456 posts
  • LocationVan Diemen's Land

Posted 08 August 2013 - 12:31 AM

hmmm...but why did you run Installer as startup? (jbruienne)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users