SRL Archive - MSI Bugs

Air runecrafting failing and logging out


sickle

2012-03-20 21:49:17

Can this bug be reproduced?

[INDENT]Yes[/INDENT]


Script & Location

[INDENT]Air runecrafting: Varrock West Bank[/INDENT]


Bug Description

[INDENT]Somehow gets stuck and can't get moving just after getting out of the altar after RCing.[/INDENT]


Debug Text

[ * ] ---- MSI_WalkPath: Air Altar to Varrock West Bank
[ * ] -------- MSI_MirrorATPA: New ATPA [[], [(4353, 3025), (4579, 2906)]]
[ * ] -------- MSI_MirrorATSA: New string array [['0_0'], ['10_7', '11_7']]
[ * ] ------ Walking attempts: 1
[ * ] ------ MSI_SetupSPS: Surface: Runecrafting Altars, Areas: ['0_0']
[ * ] -------- MSI_WalkTPA (True): Path has no points
[ * ] ------ MSI_SolveObstacle: OBS_PORTAL_AIR
[ * ] -------- MSI_FindObjectTPA: PORTAL_AIR
[ * ] ---------- Found: 227, PORTAL_AIR found
[ * ] ---------- Objects found: 1
[ * ] ---------- Took 203 ms to complete
[ * ] -------- MSI_FindObjectTPA: True
[ * ] ---------- Uptext: Walk here / 1 more options
[ * ] -------- Clicked obstacle
[ * ] ---------- No text for obstacle: OBS_PORTAL_AIR
[ * ] -------- MSI_FindObjectTPA: RUINS_AIR
[ * ] ---------- Took 140 ms to complete
[ * ] -------- MSI_FindObjectTPA: False
[ * ] ---------- Players Found: 1
[ * ] ---------- Scanning for randoms...
[ * ] ---------- No text for obstacle: OBS_PORTAL_AIR
[ * ] -------- MSI_FindObjectTPA: RUINS_AIR
[ * ] ---------- Found: 1529, RUINS_AIR found
[ * ] ---------- Objects found: 1
[ * ] ---------- Took 280 ms to complete
[ * ] -------- MSI_FindObjectTPA: True
[ * ] ---------- Found mirror object: RUINS_AIR
[ * ] ---------- Found mirror
[ * ] ------ MSI_SolveObstacle: True
[ * ] ------ MSI_SetupSPS: Surface: Runescape Surface, Areas: ['10_7', '11_7']
[ * ] ------ MSI_WalkTPA: Path: [(4353, 3025), (4579, 2906)]
[ * ] ---------- MSI_GetMyPos(): (4160, 3060)
[ * ] ---------- MSI_PointOnPath: Index = 13
[ * ] ---------- MSI_PointOnPath: Index = -1
[ * ] ---------- MSI_EnterPath: false
[ * ] ------ MSI_WalkTPA: False
[ * ] ------ MSI_WalkTPA: Path: [(131, 415)]
[ * ] ---------- MSI_GetMyPos(): (4160, 3060)
[ * ] ---------- MSI_EnterPath: false
[ * ] ------ MSI_WalkTPA: False
[ * ] ------ MSI_WalkTPA: Path: [(4353, 3025), (4579, 2906)]
[ * ] ---------- MSI_GetMyPos(): (4160, 3060)
[ * ] ---------- MSI_PointOnPath: Index = 13
[ * ] ---------- MSI_PointOnPath: Index = -1
[ * ] ---------- MSI_EnterPath: false
[ * ] ------ MSI_WalkTPA: False
[ * ] ------ Walking attempts: 2
[ * ] ------ Leg 0 already done, skipping...
[ * ] ------ MSI_SetupSPS: Surface: Runescape Surface, Areas: ['10_7', '11_7']
Additional Information

[INDENT][/INDENT]



Thanks,
sickle

sickle

2012-03-20 22:51:51

Just as an update, now it runs much longer than it used to and for the 3rd time I was able to have it go for about 55-60 min (before it was about 3-10 min on average). I didn't do anything differently. But still, the reason for quitting is the same as before, and here is another example.

Coh3n

2012-03-21 02:41:32

Now that you finally provided proper debug (:p), I can tell you it's a problem with SPS. See this thread for more details on that. If you look at the debug, specifically:

[ * ] ------ MSI_WalkTPA: Path: [(4353, 3025), (4579, 2906)]
[ * ] ---------- MSI_GetMyPos(): (4160, 3060)
[ * ] ---------- MSI_PointOnPath: Index = 13
[ * ] ---------- MSI_PointOnPath: Index = -1
The first line is the path; (4353, 3025) is the starting point (i.e. what the player's position should be. However, you can see that MSI_GetMyPos() (which is just SPS_GetMyPos) is saying the player's location is (4160, 3060), which obviously isn't correct.

I'm not sure why this happens, but it is a common problem for people. It's more common in Al Kharid. I can't even get it to work there. We were hoping these issues would be fixed with SPS2.0, but development there has stagnated. I may be able to setup a testing branch if I get some time, but I'm really busy this time of year (hockey playoffs).

Basically, you're out of luck, unfortunately. If the walking doesn't work for you, there isn't much more we can do. I have a question for you, though: Do other MSI scripts and locations work for you?

Coh3n

2012-03-21 02:41:32

Now that you finally provided proper debug (:p), I can tell you it's a problem with SPS. See this thread for more details on that. If you look at the debug, specifically:

[ * ] ------ MSI_WalkTPA: Path: [(4353, 3025), (4579, 2906)]
[ * ] ---------- MSI_GetMyPos(): (4160, 3060)
[ * ] ---------- MSI_PointOnPath: Index = 13
[ * ] ---------- MSI_PointOnPath: Index = -1
The first line is the path; (4353, 3025) is the starting point (i.e. what the player's position should be). However, you can see that MSI_GetMyPos() (which is just SPS_GetMyPos) is saying the player's location is (4160, 3060), which obviously isn't what it should be.

I'm not sure why this happens, but it is a common problem for people. It's more common in Al Kharid. I can't even get it to work there. We were hoping these issues would be fixed with SPS2.0, but development there has stagnated. I may be able to setup a testing branch if I get some time, but I'm really busy this time of year (hockey playoffs).

Basically, you're out of luck, unfortunately. If the walking doesn't work for you, there isn't much more we can do. I have a question for you, though: Do other MSI scripts and locations work for you?

E: I read on the other thread that it didn't withdraw the essence sometimes? I've never had this issue, but you could try using it's own bank tab. Devote a separate tab that only has essence (and the rune you're crafting) in it. But I can't tell for sure until you post some debug on that part (as you now know :p).

E2: Oh, also make sure you're in Safe Mode as the minimap differs from Safe Mode to Software mode.

sickle

2012-03-21 23:24:43

Thank you sir! As you recommended I did some reading and now experimenting with the tolerance stuff. On average it has been running 50-55 min. Pretty happy with it since before it wasn't running beyond 5 min. Would love to see this tolerance stuff to get it working for hours now :)

To answer your question, I have not tried other scripts yet but will let you know. Also, withdrawing the essence problem is now gone (strange). Only problem I have is not walking back to the bank from the mysterious ruin, after RCing.

Lastly, you know I am slow (although I am trying! not to frustrate you but really). Can you tell me how to get into safe mode, as opposed to software mode?

EDIT: Any recommendation for the tolerance values? .25, .2 .35 have been suggested. Currently trying .25. 60 min so far and no problem yet.

Coh3n

2012-03-22 00:34:47

From: sickle
Thank you sir! As you recommended I did some reading and now experimenting with the tolerance stuff. On average it has been running 50-55 min. Pretty happy with it since before it wasn't running beyond 5 min. Would love to see this tolerance stuff to get it working for hours now :)

To answer your question, I have not tried other scripts yet but will let you know. Also, withdrawing the essence problem is now gone (strange). Only problem I have is not walking back to the bank from the mysterious ruin, after RCing.

Lastly, you know I am slow (although I am trying! not to frustrate you but really). Can you tell me how to get into safe mode, as opposed to software mode?

EDIT: Any recommendation for the tolerance values? .25, .2 .35 have been suggested. Currently trying .25. 60 min so far and no problem yet.
Glad it's working a little better for you, and don't be sorry. It's the people that don't try to learn anything that frustrate me. I can see you're not that type of person.

I can't really recommend a tolerance value, I'd just try everything. :p SMART is supposed to go into safe mode by default, but I'm not sure if it always works. When RS is loading, if you type "s" on your keyboard, it will load safe mode. To make sure it's loaded, in RS, go to your graphics settings and check to see if Safe Mode is selected.

sickle

2012-03-22 17:27:41

Update: tolerance of .25 and average run time varying from 50 min to 90 min. I got it to run over 2 hrs twice, out of dozens of attempts. Often it gets stuck at 2-5 min and have to restart it (for issues related to walking). Seems slightly better and will try a different tolerance value.

Coh3n

2012-03-22 18:12:42

I really don't know what to tell you. I've been running it almost non stop for the last 2 days. I'm at 6 hours right now.

sickle

2012-03-22 20:14:24

Could you try it on a different computer and see if you can reproduce the quality you see with yours? I have a pc labtop (windows 7).

Update: tolearnce .2 not very successful. .25 at 50-90 min. Now trying .35
Update2: .35 more or less the same as .3 or .25. running from 40-90 min. starting at varrock west bank helps when stuck. the most common cause of being stuck is inability to walk from the mysterious ruin back to the bank (as posted).

sickle

2012-03-22 23:23:33

Another common error: fail to setup. (not as common as fail to walk)

[*]—- Loaded material: Rune essence
[*]—- Player[0].Script[0].ReportInfo.Items := [[[160, 161, 162, 163, 164, 165]]]
[*]– MSI_SetupSPS: Surface: Runescape Surface, Areas: ['11_7', '10_7']
[*]– MSI_SetupPlayer
[*]—— Players Found: 0
[*]—— Scanning for randoms…
[*]—- MSI_SetPlayerLoc
[*]—— MSI_AtLocation
[*]———- MSI_GetMyPos(): (4570, 2910)
[*]——– Checking sub-location: Varrock West Bank
[*]———- MSI_BoxToMM(): (622, 45, 662, 95)
[*]——– Player is at Varrock West Bank
[*]—— MSI_AtLocation: True
[*]—— Player's location: Varrock West Bank
[*]—- MSI_SetPlayerLoc: True
[*]—- MSI_SetSkillLevels
[*]—— [HOOKED] CharacterStats_FunctionCall: CharacterStats
[*]———- Bobzilla_GetData: Getting skill levels
[*]———- Player Found in XML, Updating
[*]—— [HOOKED] CharacterStats_FunctionCall: CharacterStats: 1
[*]—— Runecrafting Level: 57
[*]—- MSI_SetSkillLevels: Finished
[*]—- MSI_FindTool
[*]—— Searching Inventory tab
[*]—— Failed to find DTM of Air tiara
[*]—- MSI_FindTool: False
[*]—- MSI_FindTool
[*]—— Searching Equipment tab
[*]—— Failed to find DTM of Air tiara
[*]—- MSI_FindTool: False
[*]—- MSI_OpenBank
[*]——– Players Found: 4
[*]—— MSI_FindObjectTPA: BANK_VARROCK_WEST
[*]——– Found: 80, BANK_VARROCK_WEST found
[*]——– Found: 70, BANK_VARROCK_WEST found
[*]——– Found: 39, NOT ENOUGH
[*]——– Found: 34, NOT ENOUGH
[*]——– Found: 21, NOT ENOUGH
[*]——– Found: 6, NOT ENOUGH
[*]——– Found: 62, BANK_VARROCK_WEST found
[*]——– Found: 21, NOT ENOUGH
[*]——– Found: 6, NOT ENOUGH
[*]——– Found: 23, NOT ENOUGH
[*]——– Found: 2, NOT ENOUGH
[*]——– Found: 49, BANK_VARROCK_WEST found
[*]——– Objects found: 4
[*]——– Took 280 ms to complete
[*]—— MSI_FindObjectTPA: True
[*]——– Uptext: Walk here
[*]—- MSI_OpenBank: True (BANK_VARROCK_WEST)
[*]—- Best tool for Runecrafting is Air tiara
[*]—- MSI_Withdraw
[*]—— Failed to find item in bank: Air Tiara
[*]—— Didn't find item (Air tiara) in inventory
[*]—- MSI_Withdraw: False (Air tiara)
[*]—- Couldn't withdraw best tool
[*]– MSI_SetupPlayer: False
[*]– MSI_UnsetPlayer
[*]—- Failed to setup player
[*]—- MSI_SetSkillLevels
[*]—— [HOOKED] CharacterStats_FunctionCall: CharacterStats
[*]———- Bobzilla_GetData: Getting skill levels
[*]———- Player Found in XML, Updating
[*]—— [HOOKED] CharacterStats_FunctionCall: CharacterStats: 1
[*]—— Runecrafting level hasn't changed
[*]—- MSI_SetSkillLevels: Finished
[*]—— All players inactive

Coh3n

2012-03-23 01:03:00

According to that it didn't find the Air Tiara. I'm assuming you had it equipped? It works almost flawlessly on both my desktop and laptop comupters. Both running Windows 7, one 32-bit, one 64-bit.

I'm coming up on a 14 hour run as I type this. I really think there's something wrong with your graphics settings. I don't know what else it could be. It doesn't make sense that the walking would work for an hour, then suddenly not work.

Here's a screen shot of what my SMART looks like, maybe yours looks different?


sickle

2012-03-23 07:41:26

Looks exactly the same. Min, brightest, safe mode, fixed.

Coh3n

2012-03-23 12:11:11

From: sickle
Looks exactly the same. Min, brightest, safe mode, fixed.
Then all I can say is make sure you're using the latest MSI, SRL and SPS (not SPS 1.5). If it still doesn't work after that, I have no idea what to tell you.

I just manually stopped a 24+ hour run using SMARTManager with one player.