323 posts
Location
Boston, MA
Posted 08 March 2013 - 05:22 PM
Welcome to the world of XenoCube
v0.1 Alpha [Pre3]
Last updated: March 7th at 11:01pm EST
VIDEO SHOWCASE
The XenoCube will turn your boring Minecraft day into a fun-filled one. Games built off of its custom XenoAPIs.
Updates available via Rednet if on a Multiplayer server.
BASIC INFO:
Name: XenoCube
Alpha Code Release Date: Somewhere late April, early May [PreRelease code always available]
Features:
-Custom XenoAPIs
-Game Development for anyone!
-Rednet updates (only if on MY personal server… which you arent. It is a feature though.)
-Games build off floppies
-More features decided by anything we come up with, or your suggestions
CREDIT TO PROJECT:
ViextraProgramming
Bubba
[No forum file] Kilo_75
The Community
177 posts
Location
Murrika
Posted 08 March 2013 - 05:29 PM
SOunds cool :D/>
1619 posts
Posted 08 March 2013 - 06:07 PM
Instead of rednet updates, why not http updates?
323 posts
Location
Boston, MA
Posted 08 March 2013 - 06:13 PM
Instead of rednet updates, why not http updates?
y'Know… I never really thought of that… but I really dont know how to do that yet…
That is a good idea. Thanks!
If you know how to code that, could you send a snippet in?
Is it like pastebin?
1619 posts
Posted 09 March 2013 - 04:06 AM
Instead of rednet updates, why not http updates?
y'Know… I never really thought of that… but I really dont know how to do that yet…
That is a good idea. Thanks!
If you know how to code that, could you send a snippet in?
Is it like pastebin?
You would have to know PHP. Write a script that just prints out Lua script with no special formatting or whatnot, then you could do http.get("
http://yourcoolwebsite.com/update?gameid="..id)
I'm no http or PHP expert, so don't quote me on this, but there definitely is a way.
3790 posts
Location
Lincoln, Nebraska
Posted 09 March 2013 - 07:21 AM
Simple autoupdater(not super powerful or customized):
local updateSite = http.get("http://<whatever your site is here>").readAll()
local currentFile = fs.open("<current file to update here>", "r").readAll()
if updateSite ~= currentFile then
local file = fs.open("<current file to update here>", "w")
file.write(updateSite)
file.close()
end
177 posts
Location
Murrika
Posted 09 March 2013 - 07:35 PM
Errr… download?
1619 posts
Posted 10 March 2013 - 04:57 AM
Errr… download?
Obviously this isn't released, or it would be in Programs.
323 posts
Location
Boston, MA
Posted 10 March 2013 - 05:09 PM
Errr… download?
This will be fully released to the public on May 5th.
Prereleases will be here soon.
1114 posts
Location
UK
Posted 11 March 2013 - 05:20 AM
Like the idea, if you want help with anything give me a shout (PM!)
379 posts
Location
Hawaii
Posted 11 March 2013 - 04:06 PM
You would have to know PHP. Write a script that just prints out Lua script with no special formatting or whatnot, then you could do http.get("
http://yourcoolwebsite.com/update?gameid="..id)
I'm no http or PHP expert, so don't quote me on this, but there definitely is a way.
Or you could just use plain text files and retrieve updates with http.get("
http://yourcoolwebsite.com/cc-games/"..gameName) if in case you don't want to use php files.
Otherwise, you could still use that method, but use http.get("
http://yourcoolwebsite.com/cc-games/update.php?id="..gameID) and in your update.php have
<?php
$gameID = $_GET['id'];
# Paths to game files
$game1 = "mygame1";
$game2 = "mygame2";
$game3 = "mygame3";
if ($gameID == 1){
displayGame($game1);
}elseif ($gameID == 2){
displayGame($game2);
}elseif ($gameID == 3){
displayGame($game3);
}else{
echo("Error: Invalid game ID!")
}
function displayGame($file){
$handle = fopen($file, "r");
$contents = fread($handle, filesize($file));
fclose($handle);
echo($contents);
}
?>
The game files would need to be in the same directory as the updater.php.
So going to
http://yourcoolwebsite.com/cc-games/update.php?id=1 would display whatever is in
http://yourcoolwebsite.com/cc-games/mygame1http://yourcoolwebsite.com/cc-games/update.php?id=4 would display "Error: Invalid game ID!"
323 posts
Location
Boston, MA
Posted 13 March 2013 - 08:37 AM
You would have to know PHP. Write a script that just prints out Lua script with no special formatting or whatnot, then you could do http.get("
http://yourcoolwebsite.com/update?gameid="..id)
I'm no http or PHP expert, so don't quote me on this, but there definitely is a way.
Or you could just use plain text files and retrieve updates with http.get("
http://yourcoolwebsite.com/cc-games/"..gameName) if in case you don't want to use php files.
Otherwise, you could still use that method, but use http.get("
http://yourcoolwebsite.com/cc-games/update.php?id="..gameID) and in your update.php have
<?php
$gameID = $_GET['id'];
# Paths to game files
$game1 = "mygame1";
$game2 = "mygame2";
$game3 = "mygame3";
if ($gameID == 1){
displayGame($game1);
}elseif ($gameID == 2){
displayGame($game2);
}elseif ($gameID == 3){
displayGame($game3);
}else{
echo("Error: Invalid game ID!")
}
function displayGame($file){
$handle = fopen($file, "r");
$contents = fread($handle, filesize($file));
fclose($handle);
echo($contents);
}
?>
The game files would need to be in the same directory as the updater.php.
So going to
http://yourcoolwebsi...update.php?id=1 would display whatever is in
http://yourcoolwebsi...c-games/mygame1http://yourcoolwebsi...update.php?id=4 would display "Error: Invalid game ID!"
Yeah… that is really out of my grasp at the moment. I will have a pastebin thing. can I use this:
fs.delete("startup")
shell.run("pastebin get pastebinthing startup")
that would be easier.
Anyways, thanks so much for your input!
-V
Also it wouldnt matter if you didnt have an update,
177 posts
Location
Murrika
Posted 28 March 2013 - 10:01 AM
I am a necromancer, revivng this topic.
Anyways, when are the prereleases? :P/>
1852 posts
Location
Sweden
Posted 09 April 2013 - 10:51 AM
I am a necromancer, revivng this topic.
Anyways, when are the prereleases? :P/>
…Hmmm I'm wondering that too..
379 posts
Location
Hawaii
Posted 09 April 2013 - 06:12 PM
Yea, I just remembered this and was wondering the same thing. March isn't far away, and that's the public release.
177 posts
Location
Murrika
Posted 20 April 2013 - 09:30 PM
Can't wait for May 5th, it seems V forgot about this website, and no prereleases? Unacceptable. UNACCEPTABLE! XD
323 posts
Location
Boston, MA
Posted 02 August 2013 - 06:01 AM
Can't wait for May 5th, it seems V forgot about this website, and no prereleases? Unacceptable. UNACCEPTABLE! XD
People acutally wanted this?
Oh
Ill go to work.
Btw.
My name isnt V.
its DEADMAU5!
BEST MUSIC OF ALL TIME!!
Unless you dont like it.
Then have a good day.
1852 posts
Location
Sweden
Posted 02 August 2013 - 06:35 AM
Can't wait for May 5th, it seems V forgot about this website, and no prereleases? Unacceptable. UNACCEPTABLE! XD
People acutally wanted this?
Oh
Ill go to work.
Btw.
My name isnt V.
its DEADMAU5!
BEST MUSIC OF ALL TIME!!
Unless you dont like it.
Then have a good day.
So by that I guess you stopped working on it before? :P/>
323 posts
Location
Boston, MA
Posted 02 August 2013 - 07:46 AM
Can't wait for May 5th, it seems V forgot about this website, and no prereleases? Unacceptable. UNACCEPTABLE! XD
People acutally wanted this?
Oh
Ill go to work.
Btw.
My name isnt V.
its DEADMAU5!
BEST MUSIC OF ALL TIME!!
Unless you dont like it.
Then have a good day.
So by that I guess you stopped working on it before? :P/>
Yep. But I overhauled it. Pastebin updating, full color, new logo, and working on a new "Graphix" graphic util thing.
323 posts
Location
Boston, MA
Posted 02 August 2013 - 08:08 AM