SHARE
TWEET

Update - SimSoft 3.1.2 > SimSoft 3.1.3

Simlor_GER Jun 7th, 2016 (edited) 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Alle Rechte an SimSoft 3.1 sind "SimlorLP" (oder in Minecraft auch nur "Simlor") vorbehalten.
  2. --Update 3.1.3
  3.  
  4. file = fs.open("SimSoft/Daten/Config","r")
  5. local fileData = {}
  6. local line = file.readLine()
  7. repeat
  8. table.insert(fileData,line)
  9. line = file.readLine()
  10. until line == nil
  11. file.close()
  12.  
  13. a = fileData[1]
  14. b = fileData[2]
  15. version = "3.1.3"
  16. sprache = fileData[4]
  17.  
  18. local file = fs.open("SimSoft/Daten/Config","w")
  19. file.close()
  20.    
  21. local file = fs.open("SimSoft/Daten/Config","a")
  22. file.writeLine(a)
  23. file.writeLine(b)
  24. file.writeLine(version)
  25. file.writeLine(sprache)
  26. file.close()
  27.  
  28. function Download(Pfad, CodePB)
  29.  
  30.  fs.delete(Pfad)
  31.  
  32.  local datei = http.get("http://pastebin.com/raw/"..CodePB)
  33.  datei = datei.readAll()
  34.  
  35.  local file = fs.open(Pfad, "w")
  36.  file.write(datei)
  37.  file.close()
  38. end
  39.  
  40. Download("SimSoft/System/Desktop", "V32EFt9q")
  41.  
  42. os.reboot()
  43.  
  44. --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