Marion001

zz

Oct 20th, 2017
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. Script :
  2. //InstanceCache.prototype.writeDirtyInstancesToState
  3.  
  4. //Hack Tiền
  5. var _r1 = new RegExp("Currency:c.*");
  6. for (var i = 0; i < e.instances.length; i++) {
  7. if (_r1.test(e.instances[i].modelID)) {
  8. e.instances[i].value = 999999;
  9. }
  10. }
  11. //Hakc Cup
  12. var _r1 = new RegExp("Currency:t.*");
  13. for (var i = 0; i < e.instances.length; i++) {
  14. if (_r1.test(e.instances[i].modelID)) {
  15. e.instances[i].value = 99999;
  16. }
  17. }
  18.  
  19. //MAX gems
  20. var _r1 = new RegExp("Currency:ge.*");
  21.  
  22. for (var i = 0; i < e.instances.length; i++) {
  23. if (_r1.test(e.instances[i].modelID)) {
  24. e.instances[i].value = 99999;
  25. }
  26. }
  27.  
  28.  
  29. //Hack Full Cấp:
  30. var _r1 = new RegExp("Item:pl.*");
  31. for (var i = 0; i < e.instances.length; i++) {
  32. if (_r1.test(e.instances[i].modelID)) {
  33. e.instances[i].stats.xp = 2000000;
  34. e.instances[i].stats.lastClaimedLevel = 50;
  35. }
  36. }
  37. //Hack Cho Pet Full Cup,Full Cấp dragon
  38. var _r1 = new RegExp("Currency:t.*");
  39. for (var i = 0; i < e.instances.length; i++) {
  40. if (_r1.test(e.instances[i].modelID)) {
  41. e.instances[i].value = 99999;
  42. }
  43. }
  44. var _r1 = new RegExp("Item:pl.*");
  45. for (var i = 0; i < e.instances.length; i++) {
  46. if (_r1.test(e.instances[i].modelID)) {
  47. e.instances[i].stats.xp = 2000000;
  48. e.instances[i].stats.lastClaimedLevel = 50;
  49. }
  50. }
  51. var _r1 = new RegExp("Item:sidekick:.*");
  52. for (var i = 0; i < e.instances.length; i++) {
  53. if (_r1.test(e.instances[i].modelID)) {
  54. e.instances[i].stats.maturity = 3;
  55. e.instances[i].stats.xp = 125800;
  56. e.instances[i].stats.zodiac = 2;
  57. e.instances[i].stats.zodiacBonus = 2;
  58. }
  59. }
  60. var _r1 = new RegExp("Currency:coi.*");
  61. for (var i = 0; i < e.instances.length; i++) {
  62. if (_r1.test(e.instances[i].modelID)) {
  63. e.instances[i].value = 999999;
  64. }
  65. }
  66.  
  67.  
  68. //Marion001
  69.  
  70. //Hack Nhân Vật Lyra:
  71. var _r1 = new RegExp("Item:ly.*");
  72. for (var i = 0; i < e.instances.length; i++) {
  73. if (_r1.test(e.instances[i].modelID)) {
  74. e.instances[i].state = "idle";
  75. }
  76. }
  77.  
  78. //Hack Full Dame Lyra:
  79. var _r1 = new RegExp("Item:ly.*");
  80.  
  81. for (var i = 0; i < e.instances.length; i++) {
  82. if (_r1.test(e.instances[i].modelID)) {
  83. e.instances[i].stats.level = 50;
  84. }
  85. }
  86.  
  87. ////////////////////
  88.  
  89. //Code hack full vàng:
  90. GC.app.client.runFunction("addCurrency", { currency: "coins", count: 999999});
  91. //Code hack full trophies:
  92. t = GC.app.mvc.models.GameModel.trophies;
  93. for(t; t<99999; t++){
  94. t = t + 2000;
  95. GC.app.mvc.commandMap.GamePlayedCommand.prototype.execute.apply({mvc :window.GC.app.mvc, finishCommand : function(e, $){}}, [{
  96. playerXP : null,
  97. killedBy: null,
  98. secondsElapsed: null,
  99. playerID: null,
  100. background: null,
  101. premiumEarned: 2000}
  102. ]);
  103. }
  104. //Code hack full level:
  105. GC.app.mvc.commandMap.GamePlayedCommand.prototype.execute.apply({mvc :window.GC.app.mvc, finishCommand : function(e, $){}}, [{
  106. playerXP : 5000000,
  107. killedBy: null,
  108. secondsElapsed: null,
  109. playerID: null,
  110. background: null}
  111. ]);
  112. //Code hack full character:
  113. var names = ["fiona", "sophia", "coin", "magnet", "lenore", "jade", "arcana", "lyra", "trixie"];
  114. for (var i = 0; i < names.length; i++) {
  115. if(GC.app.mvc.models.CharactersModel.characters[names[i]].state == "locked")
  116. GC.app.client.runFunction("unlockCharacter",{characterName: names[i], isFree: true});
  117. }
  118. //Code hack pet
  119. var amount = 1;
  120. var sidekick = "legendary";
  121. for(c = 0; c < amount; c++){
  122. GC.app.client.runFunction("sidekickGacha", {isFree : true, gachaType : sidekick});
  123. }
  124. //Code hack full pet
  125. var e = GC.app.mvc.models.RaidsModel;
  126. GC.app.mvc.sendNotification("SaveBossRaidDamageCommand", {
  127. bossRaidDamage: 9999999999,
  128. raidData: e
  129. })
  130. //code hack rs time boss
  131. Date.prototype.getTime = function() { return 1496746800000.00 };
  132. //Demo hack coin
Advertisement
Add Comment
Please, Sign In to add comment