I am (mostly) aware how does it work - longer part of that quote is
(...)when the script is ran from a single file, it's used from cache (I think?) - when I pause the script and change the file a bit, it's disregarding those changes and continuing the old script.
I wrote it just as a back-ground info. I know that I need to start the script again when I've changed something in it. But that's not the problem, as I didn't make any changes here.
Didn't know that the second file is being loaded at the beginning only once - I thought that it might 'refer' to that file every time that r5survival needs some function from the longer file. I'm stumped then as to why it happens.
My PC is also capable of running two clients at once
(...) (I can even run three at once, but that's pushing it - two at once is stable)
so that's not it. When I run 3 clients with bot and try to start the fourth, it starts to lag horribly - never freezes like it does in this script.
I will copy the whole MM folder and try to run it once from the normal version, and once from the copy, as lisa suggested - it should take care of the problem, whatever it is.
@Edit - copied my whole MM folder, and it's still freezing up every time both clients try to dig up a tile or open chest. Argh! I have to run two different scripts... Good that I have two versions that work good enough.
@Edit2 - did not loot frantic cliff demon, although it might've been because character got knocked down just when he killed him. Waited for a second or so, printed 'clearing target' and then teleported to the next tile. Did not meet another frantic demon today, so unable to confirm
@Edit3 - call me paranoid, but I think that it's possible that someone from Frog is watching our progress and comes up with random little things that are supposed to stop us. Lately the 'big' project was the minigame, to gain shells - and from 1 (maybe 2) weeks 2-3 tiles regularly fail to load in survival, so if you fly just a bit too high (had to lower the height as to where lisa's version teleports in order to harvest those tiles) you can't harvest those tiles. Then, in CoT which has worked perfectly since I started using it ~month ago, suddently the portal has about 20% chance of not working as always, and another small change was needed. Also when relogging from char to char there's a chance that it will again ask what server you want to choose - never happened to me before. Coincidence?