gouchnox said:
Erm..
function s(a){document.styleSheets[0].insertRule(a)};s('#upgrades{display:flex;flex-wrap:wrap;justify-content:center}');s('.notbought{order:1;width:81%}');s('.bought{order:2}')
This function is not working anymore some reason...
And since I'm stupid, I don't know how to fix it....
Yeah.

Sorry for not responding earlier since I forgot to check this thread. :p
This should work instead:
customstyles = document.createElement('style')
customstyles.type = 'text/css';
document.head.appendChild(customstyles)
function s(a){
customstyles.innerHTML +=a;
}
Then just use the function s as you did before. That other method can give permission errors.

Post edited by Chisako on April 2017

I had a dream my life would beSo different from this hell I'm livingSo different now, from what it seemedNow life has killed the dream I dreamed

Sorry for not responding earlier since I forgot to check this thread. :p This should work instead:customstyles = document.createElement('style')
customstyles.type = 'text/css';
document.head.appendChild(customstyles)
function s(a){
customstyles.innerHTML +=a;
}Then just use the function s as you did before. That other method can give permission errors.

TypeError: Not enough arguments to CSSStyleSheet.insertRule.Either I'm stupid and not understanding or I'm stupid and not understanding.

gouchnox said:
TypeError: Not enough arguments to CSSStyleSheet.insertRule.
Either I'm stupid and not understanding or I'm stupid and not understanding.

You don't need 'insertrule'. Just use s('#upgrades{display:flex;flex-wrap:wrap;justify-content:center}');s('.notbought{order:1;width:81%}');s('.bought{order:2}' after the code I gave. It worked for me when I tested it.

I should have made it clear to replace function s(a){document.styleSheets[0].insertRule(a)}with the code I gave. :p

Post edited by Chisako on April 2017

I had a dream my life would beSo different from this hell I'm livingSo different now, from what it seemedNow life has killed the dream I dreamed

This comes with a warning since it needs testing but it is an updated version of multibuy. To buy 10/100/1000 use shift/ctrl/z+click (same as when you buy 1) respectively. It doesn't have sell all yet. I need to be sure this works correctly first.

I rewrote, added, updated, and linked to a couple existing scripts. It sits on pastebin at:gT4wVsFY (first post, so can't post the full link)

It includes:-Number Formatting About 25 suffixs, if you want more, you can add em easily-Removal of unneeded income indicators-Multibuy/sell This is by keypress+click: shift-10, ctrl-25, z-100, x-10000(effectively max) I haven't gotten to test selling, but there _should_ be a confirm box for multisell I may eventually modify cost indicators when a key is pressed.-Reset Safety Check-Import/Export Save-Hide/Show Upgrades-Autoclick (only 5/s on one clickable, if you want it more cheaty, edit it yourself)

Everything should hopefully be nice and cleanly formatted so things are easy to find.

If there is something else you think I should add or you find errors, let me know. I did a lot of testing, but it's always possible. Also, if you were the author of one of the copied/linked scripts and want me to just do an append instead of full text copy, let me know.

edit: doubt it was used yet, but fixed a little bug with multibuy getting stuck on high numbers.

I rewrote, added, updated, and linked to a couple existing scripts. It sits on pastebin at:gT4wVsFY (first post, so can't post the full link)

It includes:-Number Formatting About 25 suffixs, if you want more, you can add em easily-Removal of unneeded income indicators-Multibuy/sell This is by keypress+click: shift-10, ctrl-25, z-100, x-10000(effectively max) I haven't gotten to test selling, but there _should_ be a confirm box for multisell I may eventually modify cost indicators when a key is pressed.-Reset Safety Check-Import/Export Save-Hide/Show Upgrades-Autoclick (only 5/s on one clickable, if you want it more cheaty, edit it yourself)

Everything should hopefully be nice and cleanly formatted so things are easy to find.

If there is something else you think I should add or you find errors, let me know. I did a lot of testing, but it's always possible. Also, if you were the author of one of the copied/linked scripts and want me to just do an append instead of full text copy, let me know.

edit: doubt it was used yet, but fixed a little bug with multibuy getting stuck on high numbers.

nice update can you make a script to show the amount of pastebin views somewhere in game like at the top somewhere ?

Probably not. I have no clue what would be required and don't want to put in the research time. On top of that, a number of IGM games don't even use pastebin. So, yeah, not really useful enough to spend time on to figure out.

Just a tiny update. I got past the suffix list in a game and realized the numbers weren't staying short like I expected. So, really big numbers should now stay a bit more pretty as #.###e+# instead of huge decimals. They still go in groups of three as well, so UnV then e+69, e+72, e+75 etc.

If anyone notices weirdness with it, let me know. I didn't test much as it should be a simple change.

edit: Actually, I went ahead and changed it again. The e's go up every digit now, so e+69, e+70, e+71. I decided I didn't like going up 3 at a time in e notation. The 3 at a time is still there, but commented out if you want to make a copy and use that instead.

Just a tiny update. I got past the suffix list in a game and realized the numbers weren't staying short like I expected. So, really big numbers should now stay a bit more pretty as #.###e+# instead of huge decimals. They still go in groups of three as well, so UnV then e+69, e+72, e+75 etc.

If anyone notices weirdness with it, let me know. I didn't test much as it should be a simple change.

edit: Actually, I went ahead and changed it again. The e's go up every digit now, so e+69, e+70, e+71. I decided I didn't like going up 3 at a time in e notation. The 3 at a time is still there, but commented out if you want to make a copy and use that instead.

If you mean add all the suffixes to the list, it is just a preference thing. After a point I find them more of an annoyance and prefer simple e notation. If that is what you like though, you are more than welcome to make a copy for yourself and add em all in and use that instead. (I'm not sure why I put unvigintillion on the list and didn't just stop at vigintillion, actually, but it was there so I just left it.)

If you mean something else, then I didn't understand. You'll have to explain more/differently.

The code works as follows: each second it tries to buy up to 100 of each building and destroy some walls. It also tries to buy the black research just to be safe. At the end of the round, it buys the reset upgrade, convert all damage to points and reset the run.

Then you can activate the script by passing the number of seconds for the run. speedruns(60) will make 60 seconds speedruns (62 to be precise).

Lastly, make sure that you are running an autoclicker at the same time or otherwise it wont work (you need to click at least once to get some money to start buying buildings).

By using this script I was able to reach infinite in about 60 runs, so a little bit more than an hour.

Has anyone made an autobuy script yet? Would be nice to try it out on Wall Destroyer. Where it autobuys the cheapest building everytime it's available, maybe able to set it to maybe every couple of seconds or so just to not lag too much.

If you use chrome (I don't know about other browsers) you can hold control+Shift_I on the IGM page and go to the console tab. Paste the script and press enter. If you do not use chrome, look up "Open developer console in (insert browser here)" cause I'm too lazy to do so

""My game will be playable on all Samsung Microwaves with firmware update 5.3.2 and up." - Audiot" - RunningInReverse