SRL Archive - MSI Bugs

Rare bug occurring in Common.simba


Gu3st...

2011-10-29 10:14:13

I get an error at line 193 in common.simba (The line is "Continue;") every time MSI tries to hover an object but misses it and no uptext is found

I have no idea why this would happen but it sure is making me mad

E: Out of Range error

mastaraymond

2011-10-29 10:22:50

What is the error?

Heavenzeyez1

2011-10-29 10:29:43

I can confirm this, I get this all the time when this happens, very annoying. :(
Was it out of range? I'm not sure.
~Eerik.

Gu3st...

2011-10-29 11:30:12

Yeah I think it was Out of Range.. Running it again now

Yep :
Error: Out Of Range at line 193

tarajunky

2011-10-29 13:26:19

I get this all the time with MSI's powerminer.

NCDS

2011-10-29 14:53:02

Why not add some debug and try to fix it? You are an SL..

Wizzup?

2011-10-29 14:54:30

What is the line?

Gu3st...

2011-10-29 14:56:06

From: tarajunky
I get this all the time with MSI's powerminer.
That's what I am using too. I get it after like 30 minutes or less

From: NCDS
Why not add some debug and try to fix it? You are an SL..
Hey man, I know you don't agree on all the stuff that's happened lately, but please don't let emotions take over.. I have been trying to solve the problem but with no positive result.

From: Wizzup?
What is the line?
line 193 is "Continue;"

Yago

2011-10-29 22:07:49

Off-topic: I've often gotten errors such as that and sometimes it points to the wrong line…

NCDS

2011-10-30 10:14:26

From: Zyt3x

Hey man, I know you don't agree on all the stuff that's happened lately, but please don't let emotions take over.. I have been trying to solve the problem but with no positive result.

Bad timing for me to post that. I was kind of raging irl; my bad. :redface:

Gu3st...

2011-10-30 18:14:49

From: NCDS
Bad timing for me to post that. I was kind of raging irl; my bad. :redface:
No worries, mate ;)


It's safe to say that it's not Continue; that's causing the out of range error, so Simba's line debugging tool wont help us much here…

I'm now trying to debug all arrays in MSI_AutoInvFull.. We'll see if I can find the source of it in a bit.

E: So yeah, I think I figured out where the error is/was.

MSI tried to access SubLocs[0] even though Length(SubLocs) = 0…

I just added "if (Length(MSI_Locations[Location].SubLocs) > 0) then" to fix it ;)
          if (not cameraChanged) then
if (MSI_Scripts[Scripts[CurrentScript].Name].AdjustCamera) then
if (Length(MSI_Locations[Location].SubLocs) > 0) then
begin
makeCompass(MSI_Locations[Location].SubLocs[CurrentPoint].Compass +
randomRange(-20, 20));

cameraChanged := true;
continue;
end;

NCDS

2011-10-30 20:18:47

From: Zyt3x
No worries, mate ;)


It's safe to say that it's not Continue; that's causing the out of range error, so Simba's line debugging tool wont help us much here…

I'm now trying to debug all arrays in MSI_AutoInvFull.. We'll see if I can find the source of it in a bit.

E: So yeah, I think I figured out where the error is/was.

MSI tried to access SubLocs[0] even though Length(SubLocs) = 0…

I just added "if (Length(MSI_Locations[Location].SubLocs) > 0) then" to fix it ;)
          if (not cameraChanged) then
if (MSI_Scripts[Scripts[CurrentScript].Name].AdjustCamera) then
if (Length(MSI_Locations[Location].SubLocs) > 0) then
begin
makeCompass(MSI_Locations[Location].SubLocs[CurrentPoint].Compass +
randomRange(-20, 20));

cameraChanged := true;
continue;
end;


Nice.

Weird that has never come up before…

Gu3st...

2011-10-31 01:57:11

{----------------------------------------------------------------}
{ MSI Phoenix Short Report }
{----------------------------------------------------------------}
{ Time Running: 4 Hours, 15 Minutes and 20 Seconds }
{----------------------------------------------------------------}
{ }
{ Totals: }
{ - Players: 1 }
{ - Player Time: 04h 13m 23s }
{ - Loads: 88 }
{ - Experience: 85,890 }
{ - Rocks Mined: 2,454 }
{ }
{----------------------------------------------------------------}
{----------------------------------------------------------------}
Stopped working because of "runescape update"

Coh3n

2011-10-31 01:58:16

Thanks Zyt3x. Apparently this didn't fix it. :o Or was your MSI outdated? I'm 100% sure I tested the fix.

E: That length check should always be there as a failsafe anyway.

Gu3st...

2011-10-31 09:05:11

From: Coh3n
Thanks Zyt3x. Apparently this didn't fix it. :o Or was your MSI outdated? I'm 100% sure I tested the fix.

E: That length check should always be there as a failsafe anyway.
Hmm… I think that should've fixed it.. I'll update MSI when I get home from school and run some tests with that fix alone :p

But yeah, that failsafe doesn't hurt anything

Heavenzeyez1

2011-10-31 13:09:00

From: Zyt3x
{----------------------------------------------------------------}
{ MSI Phoenix Short Report }
{----------------------------------------------------------------}
{ Time Running: 4 Hours, 15 Minutes and 20 Seconds }
{----------------------------------------------------------------}
{ }
{ Totals: }
{ - Players: 1 }
{ - Player Time: 04h 13m 23s }
{ - Loads: 88 }
{ - Experience: 85,890 }
{ - Rocks Mined: 2,454 }
{ }
{----------------------------------------------------------------}
{----------------------------------------------------------------}
Stopped working because of "runescape update"


Is there anything we can do about the "runecape update" thing? We can't run scripts longer than 5-6 hours because of that, we can't get any more 40-50h+ proggies. :(

~Eerik.

Coh3n

2011-10-31 13:52:16

From: Heavenzeyez1
Is there anything we can do about the "runecape update" thing? We can't run scripts longer than 5-6 hours because of that, we can't get any more 40-50h+ proggies. :(

~Eerik.
Runescape doesn't update every 6 hours…

SMART needs to be edited slightly to run through updates. Ben said it's possible, we just need someone who knows how to do it.

Heavenzeyez1

2011-10-31 15:49:10

From: Coh3n
Runescape doesn't update every 6 hours…

SMART needs to be edited slightly to run through updates. Ben said it's possible, we just need someone who knows how to do it.


Yes, runescape doesn't update, but we can't log in after 5-6 hours because rs claims it has been updated, see zytex progress report. I get excactly the same reports every time.

~Eerik.

Coh3n

2011-10-31 18:14:45

Well if RS really using updating, I would say it's a bug within RS. So you're saying that instead of the logout timer it says RS was updated?

Heavenzeyez1

2011-10-31 18:33:22

From: Coh3n
Well if RS really using updating, I would say it's a bug within RS. So you're saying that instead of the logout timer it says RS was updated?


http://villavu.com/forum/showthread.php?t=67379
I hope you will find more answers from here. :)

~Eerik.

Gu3st...

2011-10-31 20:15:02

From: Coh3n
Well if RS really using updating, I would say it's a bug within RS. So you're saying that instead of the logout timer it says RS was updated?
I am guessing JaGeX are using it as an anti-bot procedure, updating hooks every 6 hours

Coh3n

2011-10-31 20:35:31

I can imagine a lot of legit players would complain about that. Could potentially be very annoying.