SRL Archive - MSI Bugs

Randoms.


nickrules

2010-07-22 22:46:10

I've gotten stuck in several randoms from the miner, and none were detected. This leads me to believe that there is a simple lack of anti-random checks. I fixed this for myself, but I can't be the only one who is having this sort of problem.
Just thought I should post this somewhere.

(Luckily, I've been at my computer on all of these occasions, but they still went unnoticed for a few minuets.)

NCDS

2010-07-22 22:50:22

The AniRandoms should be the same for both skills and all locations as FindNormalRandoms is called in the mainloop and the WaitWhileSkill functions.

The solvers are all in SRL though.

nickrules

2010-07-22 22:57:11

Well, I haven't really used the woodcutter (I don't exactly need one right now…), so either SRL is being stupid for me, or its just not checking in the right places?

Edit: also thought i should include the fact that this always happens while i'm searching for a rock (so perhaps i get the random right after the previous rock was mined?) Maybe add a chance of searching for a random while searching for the rock/object in general?
something like

if (random(100) >= 25) then
MSI_Antirandoms;
or thereabouts. 25 being a 25 percent chance of doing the check.

NCDS

2010-07-22 22:59:46

From: nickrules
Well, I haven't really used the woodcutter (I don't exactly need one right now…), so either SRL is being stupid for me, or its just not checking in the right places?


It checks in the right places, make sure your all up to date with every thing, but the solvers are rather unstable at the moment :/

nickrules

2010-07-22 23:05:49

Ahh, well i just updated mining.scar, Will post back here if i get another random.
Out of curiosity, do the solvers have anything to do with detecting the random?

NCDS

2010-07-22 23:37:10

From: nickrules
Ahh, well i just updated mining.scar, Will post back here if i get another random.
Out of curiosity, do the solvers have anything to do with detecting the random?


What FindNormalRandoms does, is checks to see if any of the 'InRandom' functions, which are in the SRL solvers, result true.

So yes and no. If FindNormalRandoms isn't called frequently enough then the script may mess up before it realizes it is in a Random. However, if the 'InRandom' functions are outdated or not working for whatever reason, then it's obviously not a problem with where FindNormalRandoms is called.

Hopefully that's what you were looking for?