erni_hax

Untitled

Oct 15th, 2016
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. local L1_1, L2_2, L3_3, L4_4, L5_5
  2. L0_0 = include
  3. L1_1 = "file://install/lib/include.lua"
  4. L0_0(L1_1)
  5. L0_0 = include
  6. L1_1 = "file://install/common/include.lua"
  7. L0_0(L1_1)
  8. L0_0 = import
  9. L1_1 = "out_frame"
  10. L0_0 = L0_0(L1_1)
  11. L1_1 = 180000
  12. L2_2 = false
  13. L3_3, L4_4 = nil, nil
  14. L5_5 = export
  15. L5_5("__callback_complete_zip_unzip", function(A0_6, A1_7, A2_8)
  16. klb_logger_debug("complete unzip..." .. tostring(A1_7) .. tostring(A2_8))
  17. L3_3:setSimpleText(string.format("Verifying data %d%%", A1_7 * 100 / A2_8), 26, 16777215)
  18. end)
  19. L5_5 = export
  20. L5_5("__callback_complete_zip_finish", function()
  21. L2_2 = false
  22. disconnectAllLocalDBFacilitator()
  23. end)
  24. L5_5 = export
  25. L5_5("__callback_complete_zip_error", function()
  26. L2_2 = false
  27. L4_4 = TASK_kill(L4_4)
  28. if ONLINE_killLock then
  29. ONLINE_killLock()
  30. end
  31. end)
  32. function L5_5()
  33. import("NowLoading").start()
  34. L3_3 = import("ui").VirtualDoc.create(nil, UI_ORDER.FLOAT, 400, 280, 300, 80, 300, 80, 16, false)
  35. L3_3:stageOnly()
  36. L3_3:setSimpleText("Verifying data", 26, 16777215)
  37. L4_4 = ONLINE_CompleteZip("file://external/download_tmp.zip", "__callback_complete_zip_unzip", "__callback_complete_zip_finish", "__callback_complete_zip_error")
  38. setTimeout(function()
  39. L2_2 = false
  40. TASK_kill(L4_4)
  41. if ONLINE_killLock then
  42. ONLINE_killLock()
  43. end
  44. end, L1_1, L4_4)
  45. end
  46. function setup()
  47. local L0_9, L1_10, L2_11
  48. L0_9 = ONLINE_hasLock
  49. if L0_9 then
  50. L0_9 = ONLINE_hasLock
  51. L0_9 = L0_9()
  52. if L0_9 then
  53. L0_9 = true
  54. L2_2 = L0_9
  55. L0_9 = L5_5
  56. L0_9()
  57. end
  58. end
  59. L0_9 = FONT_setDefaultFont
  60. L1_10 = import
  61. L2_11 = "const"
  62. L1_10 = L1_10(L2_11)
  63. L1_10 = L1_10.DEFAULT_FONT
  64. L0_9(L1_10)
  65. L0_9 = GL_SetResolution
  66. L1_10 = 960
  67. L2_11 = 640
  68. L0_9(L1_10, L2_11)
  69. L0_9 = L0_0
  70. L1_10 = L0_9
  71. L0_9 = L0_9.checkOutFrame
  72. L0_9 = L0_9(L1_10)
  73. if L0_9 then
  74. L0_9 = GL_SetResolution
  75. L1_10 = 960
  76. L2_11 = 640
  77. L0_9(L1_10, L2_11, true)
  78. end
  79. L0_9 = SG_SetGuardBand
  80. L1_10 = -1200
  81. L2_11 = 1500
  82. L0_9(L1_10, L2_11, -400, 1200)
  83. L0_9 = ENG_isRelease
  84. L0_9 = L0_9()
  85. if L0_9 then
  86. L0_9 = GL_ClearColor
  87. L1_10 = 0
  88. L2_11 = 0
  89. L0_9(L1_10, L2_11, 0, 1)
  90. else
  91. L0_9 = GL_ClearColor
  92. L1_10 = 0
  93. L2_11 = 1
  94. L0_9(L1_10, L2_11, 0, 1)
  95. end
  96. L0_9 = import
  97. L1_10 = "sound"
  98. L0_9 = L0_9(L1_10)
  99. L0_9 = L0_9.setPauseOnInterruption
  100. L1_10 = false
  101. L0_9(L1_10)
  102. L0_9 = ENG_isRelease
  103. L0_9 = L0_9()
  104. if not L0_9 then
  105. L0_9 = import
  106. L1_10 = "GhostPlayer"
  107. L0_9 = L0_9(L1_10)
  108. L1_10 = import
  109. L2_11 = "Debug"
  110. L1_10 = L1_10(L2_11)
  111. L2_11 = getGhostPlayerActivity
  112. L2_11 = L2_11()
  113. if L2_11 then
  114. L1_10.cheat_perfect = true
  115. L2_11 = L0_9.set_tutorial_ghost
  116. L2_11(true)
  117. L2_11 = math
  118. L2_11 = L2_11.random
  119. L2_11 = L2_11(300000)
  120. setTimeout(function()
  121. if isTutorial() then
  122. sysReboot()
  123. end
  124. end, L2_11)
  125. end
  126. end
  127. end
  128. function execute()
  129. if not L2_2 then
  130. import("NowLoading").kill()
  131. if L3_3 then
  132. L3_3:kill()
  133. L3_3 = nil
  134. end
  135. disconnectAllLocalDBFacilitator()
  136. sysLoad("file://install/m_boot/start.lua")
  137. end
  138. end
  139. function leave()
  140. local L0_12, L1_13
  141. end
Advertisement
Add Comment
Please, Sign In to add comment