SHOW:
|
|
- or go back to the newest paste.
| 1 | -- pastebin run F9CuJXrX | |
| 2 | ||
| 3 | --THIS IS A TEMPORARY INSTALLER | |
| 4 | --shell.run"delete testgame" | |
| 5 | print"bear with the craploads of crap being outputted to the screen" | |
| 6 | - | shell.run"rom/programs/http/pastebin run 6aMMzdwd AI221 -os- maste" |
| 6 | + | |
| 7 | fs.makeDir"library" | |
| 8 | shell.run"/rom/programs/http/pastebin run 6aMMzdwd AI221 -os- master" | |
| 9 | print"game-engine install" | |
| 10 | shell.run"/rom/programs/http/pastebin run ngLftQ6u" | |
| 11 | shell.run"/rom/programs/http/pastebin get 5CpA2rrQ /library/nevardon" -- Quintuple Agent's Nevardon editor found @ http://www.computercraft.info/forums2/index.php?/topic/22234- | |
| 12 | --fs.move("Game-Engine/testgame","testgame")
| |
| 13 | --fs.move("Game-Engine/secondTown","secondTown")
| |
| 14 | --instal redirect | |
| 15 | --shell.run"rom/programs/http/pastebin get fU9Kj9zr Game-Engine/redirect" | |
| 16 | --load game-engine | |
| 17 | --os.loadAPI"Game-Engine/redirect" | |
| 18 | --os.loadAPI"Game-Engine/game" | |
| 19 | --load the map | |
| 20 | --local f=fs.open("Game-Engine/stOld","r")
| |
| 21 | --local a=f.readAll() | |
| 22 | --f.close() | |
| 23 | --if a then print"good" end | |
| 24 | --a = textutils.unserialize(a) | |
| 25 | - | --fs.delete("json") |
| 25 | + | |
| 26 | --save it | |
| 27 | --game.save("secondTown",a)
| |
| 28 | --delete the stOld | |
| 29 | --fs.delete("Game-Engine/stOld")
| |
| 30 | fs.delete("json")
| |
| 31 | --UPDATED ; 3/14/2015 | |
| 32 | fs.makeDir'/library/acc/' | |
| 33 | fs.makeDir'/library/acc/admin' | |
| 34 | os.reboot() |