-
-
Save yokrysty/8644e74a3ced26afbb1be68451bfa15d to your computer and use it in GitHub Desktop.
| // bootstrap script | |
| (function (window) { | |
| function findModuleKeyByExports(modules, predicateFunc) { | |
| return Object.keys(modules).find(k => predicateFunc(modules[k].exports)); | |
| } | |
| const id = window['_t'] = (new Date()).getTime(); | |
| window.webpackJsonp( | |
| [id], | |
| { | |
| 0: function(module, exports, require) { | |
| var modulesKey = Object.keys(require).find(k => require[k]['0'] && require[k]['0'].exports); | |
| var modules = window['_' + id] = require[modulesKey]; | |
| var moduleKey = findModuleKeyByExports(modules, exports => typeof exports.getUser == 'function'); | |
| window._G = require(moduleKey); | |
| window._U = window._G.getUser(); | |
| moduleKey = findModuleKeyByExports(modules, exports => exports.prototype && exports.prototype.add && exports.prototype.gte); | |
| window._N = require(moduleKey); | |
| } | |
| } | |
| ); | |
| })(window); | |
| // increase DPS | |
| window._G.getUser().get("multipliers").add("DPS", {value: new window._N('2.2e+22')}); | |
| // increase gold drop - not working anymore, will trigger an error from the server and the game will reload | |
| // Error: Batch error at 0, Kill monster fail, Gold amount is too high. Received gold - 1.62E+78, calculated - 1.32E+64 | |
| window._G.getUser().get("multipliers").add("gold", {value: new window._N('2.2e+22')}); |
updated, easy fix :)
Your basic revision is confirmed working.
Allowing the Module to be from an export.app appears required at this time.
I would like to know how to get this to work... but probably won't get an answer XD
Your basic revision is confirmed working. Allowing the Module to be from an export.app appears required at this time.
do you need an export app for it to work?
How do I use???????????????????????
to @zkr6rc2iny and all the others asking how to use:
"friend" if you ask this, then you are not the targeted user of this script
peace
window._G.getUser().get("multipliers").add("darkDPS", { value: new window._N('2.2e+22') });
dark world
@yokrysty Hi can you edit the part related to gold calculation. I'm good at editing with AI but it skipping the part to tell me how to edit this part. (not a dev) error i receive for your reference "Network error Error: Batch error at 0,Kill monster fail,Gold amount is too high. Received gold - 1.79973853675E+272, calculated - 1.42951347175000002934095205686659824095841E+259"
you are free to update it yourself, maybe i will take a look when i have the time