123 posts
Posted 25 January 2013 - 11:01 AM
So you've got that 5000 line program written and ready to go. Now you just need to get it onto your server… damn, oh well, time to pull an all nighter I guess. 2 months later, the server side version of the code is nothing like the original, now spanning 10,000 lines it's a purely amazing piece of work. Then the admin says he's shutting down the server, and tells everyone to start copying down the programs that they want to keep. Who will come to your rescue?
Web Turtle[insert theme tune here]
WebTurtle is a web inteface that allows you to upload and download files from your in game computers. It's simple and easy, and is secure (note: you're responsible for the security of your ingame computers). You simply place a passkey on your computer and then use the web inteface to upload and download scripts. It's pretty basic right now (you still can't upload files to subdirectories of root for example (I haven't worked out how to do this without letting users access files outside of the computer) but it's enough to work (hopefully).
Here's an album showing off the project so far:
http://www.imgur.com/a/RQKQgDownload:
http://www.mediafire...2g26oq3ogp9oychSimply change the $dir variable (open the PHP scripts with and standard plain text editor) in the top of "download.php" and "upload.php" to the path to your computer file (within the world folder, this should work fine for Linux, note that warnings/notices should be disabled otherwise PHP will put in some ugly headers when you do something wrong (the code has error feedback so the user should now what they've done wrong, PHP's errors are meant for developing)).
1619 posts
Posted 25 January 2013 - 12:51 PM
Nice job!
123 posts
Posted 25 January 2013 - 01:56 PM
475 posts
Posted 27 January 2013 - 04:16 AM
Great script :D/>
128 posts
Location
Poland
Posted 27 January 2013 - 06:07 AM
Awesome! +1 :)/>
278 posts
Posted 03 February 2013 - 04:18 PM
What I would do: Use HTTP, or one of the many copy/paste programs around.
Still though, nice work. I'm assuming it's server-sided.
2217 posts
Location
3232235883
Posted 05 February 2013 - 04:58 AM
o.o
looks nice
1852 posts
Location
Sweden
Posted 05 February 2013 - 09:33 AM
Like Everyone else I gotta say: Nice, Good Work and on and on… :D/>
+1 For that.
58 posts
Location
Seattle
Posted 24 March 2013 - 10:01 AM
Sorry for my noobeness ,but how does one use this?
123 posts
Posted 24 March 2013 - 04:00 PM
What I would do: Use HTTP, or one of the many copy/paste programs around.
Still though, nice work. I'm assuming it's server-sided.
The reason I coded this is because most public servers don't want to have HTTP enabled. It's a security risk and could land the admins in some hot water as well. I've seen a program to rapidly type in your program but I thought this may be a cleaner solution.
Sorry for my noobeness ,but how does one use this?
It's for server admins (well players would use it, but your server admin needs to install it), you just put the included scripts in your web folder (requires PHP) and edit the DIR variable. You may also need to configure your webserver/php installation to allow access to your Minecraft world's "computer" directory.
58 posts
Location
Seattle
Posted 25 March 2013 - 05:03 AM
snip
Oh, yea like on a website
620 posts
Location
Holland
Posted 28 March 2013 - 09:05 AM
Is there any protection involved in here for not putting stuff on a computer that isn't yours
123 posts
Posted 06 April 2013 - 04:19 PM
Is there any protection involved in here for not putting stuff on a computer that isn't yours
Yes, pretty basic. You need to place a file in the root directory of the computer with a password in it, you can then use said password to upload/download files. Not amazing, but it gets the job done and it was the best thing I could think of within the limitations of the current system.