Pokeclicker-Scripts icon indicating copy to clipboard operation
Pokeclicker-Scripts copied to clipboard

AutoMulch causes the game to loop between requesting the game to mulch the land without stop.

Open Gelius3 opened this issue 3 years ago • 4 comments
trafficstars

I just pressed "AutoMulch" to ON and it just kept doing that for ever.

Gelius3 avatar Jul 28 '22 18:07 Gelius3

autoMulchTimer = setInterval(function () {
    doMulch();
}, 1000); // Happens every 1 second
function doMulch() {
    FarmController.mulchAll();
}

I am getting much more of a laugh out of this than I probably should^

Ephenia avatar Aug 05 '22 08:08 Ephenia

Tha meaning?


De: Ephenia @.> Enviado: 5 de agosto de 2022 09:16 Para: Ephenia/Pokeclicker-Scripts @.> Cc: Gelius3 @.>; Author @.> Assunto: Re: [Ephenia/Pokeclicker-Scripts] AutoMulch causes the game to loop between requesting the game to mulch the land without stop. (Issue #189)

autoMulchTimer = setInterval(function () { doMulch(); }, 1000); // Happens every 1 second

function doMulch() { FarmController.mulchAll(); }

I am getting much more of a laugh out of this than I probably should^

— Reply to this email directly, view it on GitHubhttps://github.com/Ephenia/Pokeclicker-Scripts/issues/189#issuecomment-1206175192, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2IXIRJRFKVQ2MESJBGPLRDVXTEWBANCNFSM546HWNNA. You are receiving this because you authored the thread.Message ID: @.***>

Gelius3 avatar Aug 05 '22 21:08 Gelius3

To give some context, it's because the script is one of the oldest scripts of the project and one of the first ones that I made, and when I first started this project I was winging a lot.

It's also why I laugh when people criticize the code or make bug reports like this, meanwhile I know the quality of the code within these scripts are nothing amazing. My newer scripts have been something nicer, but yeah, it's just funny to me, especially when I look at older scripts I haven't touched in ages here. This script being a prime example.

When people say "why not improve the script?", nowadays my response usually is "why don't you do it for me?"

Ephenia avatar Aug 05 '22 22:08 Ephenia

Ah i see. I assume that will be one of the changes whenever you update?


De: Ephenia @.> Enviado: 5 de agosto de 2022 23:50 Para: Ephenia/Pokeclicker-Scripts @.> Cc: Gelius3 @.>; Author @.> Assunto: Re: [Ephenia/Pokeclicker-Scripts] AutoMulch causes the game to loop between requesting the game to mulch the land without stop. (Issue #189)

To give some context, it's because the script is one of the oldest scripts of the project and one of the first ones that I made, and when I first started this project I was winging a lot.

It's also why I laugh when people criticize the code, meanwhile I know the quality of the code within these scripts are nothing amazing. My newer scripts have been something nicer, but yeah, it's just funny to me, especially when I look at older scripts I haven't touched in ages here. This script being a prime example.

— Reply to this email directly, view it on GitHubhttps://github.com/Ephenia/Pokeclicker-Scripts/issues/189#issuecomment-1207074134, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2IXIROMYQZYFILUI6HF2BTVXWLEXANCNFSM546HWNNA. You are receiving this because you authored the thread.Message ID: @.***>

Gelius3 avatar Aug 06 '22 12:08 Gelius3