SRL Archive - MSI Bugs

major bug


TomTuff

2010-09-02 18:47:38

When it calls the antiban that goes to the achievement tab, it doesn't go back to the invenotory. this causd the bot to stand at the rocks with a full inv in lb west swamp for 4 hours. i wouldnt be surpised if my character is banned now. please fix this.

3Garrett3

2010-09-02 19:51:17

From: TomTuff
i wouldnt be surpised if my character is banned now. please fix this.


I would be. I've had a script run back and forth for 8 hours because of one bug, that char is still going strong.

i luffs yeww

2010-09-03 00:53:09

I've had a char standing in freaky forester for about eight hours just spinning the camera the whole time. :p You're fine, but the bug is a simple fix.

Coh3n

2010-09-03 02:25:52

I just looked through and I can't see why this would happen. This bug was in woodcutting and I fixed it yesterday. At the end of every antiban it will go to the inventory tab if not already there, so MSI_Antiban isn't the problem.

Has it only happened the once?

TomTuff

2010-09-03 03:28:40

From: Coh3n
I just looked through and I can't see why this would happen. This bug was in woodcutting and I fixed it yesterday. At the end of every antiban it will go to the inventory tab if not already there, so MSI_Antiban isn't the problem.

Has it only happened the once?


no it has occurred multiple times on both the miner and wcer. most of the times i've been around to set it straight, but this time i was at school.

Sir R. M8gic1an

2010-09-03 05:56:45

InvFull calls this, which calls gametab..

{*******************************************************************************
function InvCount: Integer;
By: RsN
Description: Returns amount of items in your inventory
*******************************************************************************}
function InvCount: Integer;
var
I: Integer;
begin
Result := 0;
GameTab(tab_inv);
for I := 1 to 28 do
if (ExistsItem(I)) then
Inc(Result);
end;

…

Can you find the debug ? Also, what revision are you using?

~RM

TomTuff

2010-09-03 11:17:05

From: Sir R. Magician
InvFull calls this, which calls gametab..

{*******************************************************************************
function InvCount: Integer;
By: RsN
Description: Returns amount of items in your inventory
*******************************************************************************}
function InvCount: Integer;
var
I: Integer;
begin
Result := 0;
GameTab(tab_inv);
for I := 1 to 28 do
if (ExistsItem(I)) then
Inc(Result);
end;

…

Can you find the debug ? Also, what revision are you using?

~RM


the latest as far as i know o.O i'm going to be cooking for the next month and a half or so and i don't really have any alternate accounts to test with, sorry =\

nickrules

2010-09-04 23:42:02

I know what bug he's talking about, and I think it might somehow be related to SRL and more specifically, gametab. Not completely sure though.

Coh3n

2010-09-05 19:06:36

From: nickrules
I know what bug he's talking about, and I think it might somehow be related to SRL and more specifically, gametab. Not completely sure though.

I'm almost positive GameTab isn't broken as nothing in the game has been changed recently (that I know of), so the function itself should still work.

Has anyone else been getting this problem with the latest revision?

traveler

2010-09-05 21:13:46

I have. I have even tried to make my own failsafe by adding another gametab command, but it failed too

Coh3n

2010-09-05 23:54:20

It doesn't make any sense. I'm gonna do a test and see what comes out of it.

E: I've done a few tests and GameTab works just fine. Let's see if we can gather some more information.
  1. Which skill did the bug occur with?
  2. How often does it occur?

traveler

2010-09-06 22:19:07

1. woodcutting.
2. about every 4-6th load. it with click the achievements tab and just never click the inventory tab again.

Coh3n

2010-09-07 15:10:23

From: traveler
1. woodcutting.
2. about every 4-6th load. it with click the achievements tab and just never click the inventory tab again.

Okay, thanks. I'll see what I can do.

marijuana

2010-09-07 17:26:07

Until this bug is fixed, you can alter Antiban.simba (SVN rev 258) to remove the random-tab functionality:

1. On line 27, change 3 to 2
2. On line 29, change 1 to 2
3. On line 35, change 2 to 1

Coh3n

2010-09-07 22:43:22

From: marijuana
Until this bug is fixed, you can alter Antiban.simba (SVN rev 258) to remove the random-tab functionality:

1. On line 27, change 3 to 2
2. On line 29, change 1 to 2
3. On line 35, change 2 to 1

I've edited WaitWhileChopping and Anitban to never click the diary tab, so please let me know how it goes. I also made a lot of other bug fixes.

E: Are you guys sure it was the diary tab? I just had it happen with the quest tab…

traveler

2010-09-10 10:43:50

happened with both tabs if i remembered right.

Coh3n

2010-09-10 15:07:58

From: traveler
happened with both tabs if i remembered right.

It would have helped if someone mentioned that before…

E: I think I have fixed this. I haven't gotten this error and I've ran a woodcutter on multiple accounts for several hours. Update your MSI and you should be fine. :)