SHARE
TWEET

SimSoft Yellow - UPDATE - 5.0.1

Simlor_GER Jun 14th, 2017 (edited) 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --SimSoft Yellow -  Copyright by Simlor (http://www.computercraft.info/forums2/index.php?/user/55655-simlor/)
  2.  
  3. --Update 5.0.1
  4.  
  5. file = fs.open("SimSoft/Data/Version","r")
  6. local fileData = {}
  7. local line = file.readLine()
  8. repeat
  9. table.insert(fileData,line)
  10. line = file.readLine()
  11. until line == nil
  12. file.close()
  13.    
  14. Sprache = fileData[4]
  15.  
  16. if Sprache == "german" then
  17.    
  18.     Code1 = "LUX6HVMy"
  19.     Code2 = "iSCumw3S"
  20.  
  21. elseif Sprache == "english" then
  22.    
  23.     Code1 = "jALaL4ap"
  24.     Code2 = "zNnJ9UU7"
  25.    
  26. end
  27.  
  28.  
  29. fs.delete("SimSoft/System/Update")
  30. fs.delete("SimSoft/System/AppStore")
  31.  
  32.  
  33. local datei = http.get("http://pastebin.com/raw/"..Code1)
  34. datei = datei.readAll()
  35.  
  36. local file = fs.open("SimSoft/System/Update", "w")
  37. file.write(datei)
  38. file.close()
  39.  
  40. local datei = http.get("http://pastebin.com/raw/"..Code2)
  41. datei = datei.readAll()
  42.  
  43. local file = fs.open("SimSoft/System/AppStore", "w")
  44. file.write(datei)
  45. file.close()
  46.  
  47. local file = fs.open("SimSoft/Data/Version", "w")
  48. file.writeLine("SimSoft System Version")
  49. file.writeLine("")
  50. file.writeLine("5.0.1")
  51. file.writeLine(Sprache)
  52. file.close()
  53.  
  54. os.reboot()
  55.  
  56. --end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top