matviy
11-18-2011, 02:58 PM
MSI is trying to walk back to the bank from aubury's hut where it ended. Walks the first step of the path, and then crashes with an error in walking.simba.
Reflection := [
// bank to outside house
TPointArray([Point(3254, 3422), Point(3257, 3406), Point(3253, 3398)]),
// outside to inside
TPointArray([Point(3253, 3398), Point(3253, 3402)]),
// Blank to do last obstacle
TPointArray([])
];
That's my path, and on the way back, this is what MSI tries to do:
[0:03:38]: [ Matviy ] -- MSI_AutoObjects: True
[0:03:38]: [ Matviy ] -- MSI_Walk
[0:03:38]: [ Matviy ] ---- Player's Location = Varrock East Essence Mine
[0:03:38]: [ Matviy ] ---- MSI_AtLocation
[0:03:39]: [ Matviy ] -------- MSI_GetMyPos(): (4835, 3030)
[0:03:39]: [ Matviy ] ------ Checking sub-location: Varrock East Bank
[0:03:39]: [ Matviy ] ------ Player not at Varrock East Bank
[0:03:39]: [ Matviy ] ---- MSI_AtLocation: False
[0:03:39]: [ Matviy ] ------ Players Found: 3
[0:03:39]: [ Matviy ] ------ Scanning for randoms...
[0:03:39]: [ Matviy ] ---- MSI_WalkPath: From Location (LOC_VE_BANK to LOC_VE_ESSMINE)
[0:03:39]: [ Matviy ] -------- MSI_MirrorATPA: New ATPA [[], [(4831, 3029), (4831, 3045)], [(4831, 3045), (4847, 3013), (4835, 2949)]] //These points are converted from the points in the path. I checked, they are all valid.
[0:03:39]: [ Matviy ] -------- MSI_MirrorATSA: New string array [['0_1'], ['11_7'], ['11_7']]
[0:03:39]: [ Matviy ] ------ Walking attempts: 1
[0:03:39]: [ Matviy ] ------ SPS Info.: Surface: 1, Areas: ['0_1']
[0:03:39]: [ Matviy ] ------ MSI_SolveObstacle: OBS_DOOR_AUBURY_INSIDE
[0:03:43]: [ Matviy ] -------- MSI_FindObjectTPA: DOOR_AUBURY_INSIDE //Checking of it can find "door closed" obstacle
[0:03:43]: [ Matviy ] ---------- Not enough points: 8
[0:03:43]: [ Matviy ] ---------- Not enough points: 513
[0:03:43]: [ Matviy ] ---------- Not enough points: 485
[0:03:43]: [ Matviy ] ---------- Not enough points: 124
[0:03:43]: [ Matviy ] ---------- Points found: 4
[0:03:43]: [ Matviy ] ---------- Took 235 ms to complete
[0:03:43]: [ Matviy ] -------- MSI_FindObjectTPA: True
[0:03:43]: [ Matviy ] ---------- Uptext: Walk here
[0:03:44]: [ Matviy ] ---------- Failed to find uptext: ['Open', 'pen']
[0:03:44]: [ Matviy ] ---------- Uptext: Walk here Four2 Kids (level: 51) / 3 more options
[0:03:44]: [ Matviy ] ---------- Failed to find uptext: ['Open', 'pen']
[0:03:45]: [ Matviy ] ---------- Uptext: Walk here
[0:03:45]: [ Matviy ] ---------- Failed to find uptext: ['Open', 'pen']
[0:03:46]: [ Matviy ] ---------- Uptext: Walk here
[0:03:46]: [ Matviy ] ---------- Failed to find uptext: ['Open', 'pen']
[0:03:46]: [ Matviy ] ---------- Players Found: 3
[0:03:46]: [ Matviy ] ---------- Scanning for randoms...
[0:03:46]: [ Matviy ] -------- Obstacle not found. Ignore option set. Moving on. //My own bit of magic.
[0:03:46]: [ Matviy ] ------ MSI_SolveObstacle: True
[0:03:46]: [ Matviy ] ------ SPS Info.: Surface: 1, Areas: ['11_7']
[0:03:46]: [ Matviy ] ------ MSI_WalkTPA
[0:03:46]: [ Matviy ] -------- Path: [(4831, 3029), (4831, 3045)]
[0:03:46]: [ Matviy ] ---------- MSI_PointOnPath: Index = 1
[0:03:49]: [ Matviy ] ---------- MSI_GetMyPos(): (4835, 3030)
[0:03:49]: [ Matviy ] ---------- MSI_PointOnPath: Index = 0
[0:03:50]: [ Matviy ] ---------- MSI_GetMyPos(): (4835, 3030)
[0:03:50]: [ Matviy ] ---------- MSI_PointOnPath: Index = 0
[0:03:50]: [ Matviy ] ---------- Current Energy: 100
[0:03:50]: [ Matviy ] -------- Next Point: 1 (4831, 3045)
[0:03:50]: [ Matviy ] ---------- Players Found: 3
[0:03:51]: [ Matviy ] ---------- Average pixel shift: 86
[0:03:51]: [ Matviy ] ---------- Flag distance: 17
[0:03:51]: [ Matviy ] ---------- Players Found: 3
[0:03:51]: [ Matviy ] ---------- Average pixel shift: 62
[0:03:51]: [ Matviy ] ---------- Player animation: Player Idle
[0:03:51]: [ Matviy ] ---------- MSI_GetMyPos(): (4835, 3030)
[0:03:51]: [ Matviy ] ---------- MSI_PointOnPath: Index = 0
[0:03:51]: [ Matviy ] -------- Attempts: 1
[0:03:51]: [ Matviy ] ---------- Current Energy: 98
[0:03:51]: [ Matviy ] -------- Next Point: 1 (4831, 3045)
[0:03:52]: [ Matviy ] ---------- Players Found: 3
[0:03:52]: [ Matviy ] ---------- MSI_AntiBan
[0:03:52]: [ Matviy ] ---------- Average pixel shift: 220
[0:03:52]: [ Matviy ] ---------- Flag distance: -1
[0:03:52]: [ Matviy ] ---------- Players Found: 2
[0:03:52]: [ Matviy ] ---------- Average pixel shift: 145
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 167
[0:03:53]: [ Matviy ] ---------- Players Found: 2
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 179
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 332
[0:03:53]: [ Matviy ] ---------- Players Found: 3
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 149
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 204
[0:03:53]: [ Matviy ] ---------- Players Found: 3
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 103
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 135
[0:03:54]: [ Matviy ] ---------- Players Found: 3
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 86
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 102
[0:03:54]: [ Matviy ] ---------- Players Found: 3
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 125
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 98
[0:03:54]: [ Matviy ] ---------- Players Found: 3
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 45
[0:03:54]: [ Matviy ] ---------- Player animation: Player Idle
[0:03:55]: [ Matviy ] ---------- MSI_GetMyPos(): (4830, 3045)
[0:03:55]: [ Matviy ] ---------- MSI_PointOnPath: Index = 1
[0:03:55]: [ Matviy ] -------- Attempts: 1
[0:03:55]: [ Matviy ] ---------- Players Found: 3
[0:03:55]: [ Matviy ] ---------- Average pixel shift: 39
[0:03:55]: [ Matviy ] ---------- Player animation: Player Idle
[0:03:55]: [ Matviy ] -------- Final distance: 1
[0:03:55]: [ Matviy ] ------ MSI_WalkTPA: True
Error: Out Of Range at line 790 //Crashes here. It usually walks to the first point of the path before this happens.
Reflection := [
// bank to outside house
TPointArray([Point(3254, 3422), Point(3257, 3406), Point(3253, 3398)]),
// outside to inside
TPointArray([Point(3253, 3398), Point(3253, 3402)]),
// Blank to do last obstacle
TPointArray([])
];
That's my path, and on the way back, this is what MSI tries to do:
[0:03:38]: [ Matviy ] -- MSI_AutoObjects: True
[0:03:38]: [ Matviy ] -- MSI_Walk
[0:03:38]: [ Matviy ] ---- Player's Location = Varrock East Essence Mine
[0:03:38]: [ Matviy ] ---- MSI_AtLocation
[0:03:39]: [ Matviy ] -------- MSI_GetMyPos(): (4835, 3030)
[0:03:39]: [ Matviy ] ------ Checking sub-location: Varrock East Bank
[0:03:39]: [ Matviy ] ------ Player not at Varrock East Bank
[0:03:39]: [ Matviy ] ---- MSI_AtLocation: False
[0:03:39]: [ Matviy ] ------ Players Found: 3
[0:03:39]: [ Matviy ] ------ Scanning for randoms...
[0:03:39]: [ Matviy ] ---- MSI_WalkPath: From Location (LOC_VE_BANK to LOC_VE_ESSMINE)
[0:03:39]: [ Matviy ] -------- MSI_MirrorATPA: New ATPA [[], [(4831, 3029), (4831, 3045)], [(4831, 3045), (4847, 3013), (4835, 2949)]] //These points are converted from the points in the path. I checked, they are all valid.
[0:03:39]: [ Matviy ] -------- MSI_MirrorATSA: New string array [['0_1'], ['11_7'], ['11_7']]
[0:03:39]: [ Matviy ] ------ Walking attempts: 1
[0:03:39]: [ Matviy ] ------ SPS Info.: Surface: 1, Areas: ['0_1']
[0:03:39]: [ Matviy ] ------ MSI_SolveObstacle: OBS_DOOR_AUBURY_INSIDE
[0:03:43]: [ Matviy ] -------- MSI_FindObjectTPA: DOOR_AUBURY_INSIDE //Checking of it can find "door closed" obstacle
[0:03:43]: [ Matviy ] ---------- Not enough points: 8
[0:03:43]: [ Matviy ] ---------- Not enough points: 513
[0:03:43]: [ Matviy ] ---------- Not enough points: 485
[0:03:43]: [ Matviy ] ---------- Not enough points: 124
[0:03:43]: [ Matviy ] ---------- Points found: 4
[0:03:43]: [ Matviy ] ---------- Took 235 ms to complete
[0:03:43]: [ Matviy ] -------- MSI_FindObjectTPA: True
[0:03:43]: [ Matviy ] ---------- Uptext: Walk here
[0:03:44]: [ Matviy ] ---------- Failed to find uptext: ['Open', 'pen']
[0:03:44]: [ Matviy ] ---------- Uptext: Walk here Four2 Kids (level: 51) / 3 more options
[0:03:44]: [ Matviy ] ---------- Failed to find uptext: ['Open', 'pen']
[0:03:45]: [ Matviy ] ---------- Uptext: Walk here
[0:03:45]: [ Matviy ] ---------- Failed to find uptext: ['Open', 'pen']
[0:03:46]: [ Matviy ] ---------- Uptext: Walk here
[0:03:46]: [ Matviy ] ---------- Failed to find uptext: ['Open', 'pen']
[0:03:46]: [ Matviy ] ---------- Players Found: 3
[0:03:46]: [ Matviy ] ---------- Scanning for randoms...
[0:03:46]: [ Matviy ] -------- Obstacle not found. Ignore option set. Moving on. //My own bit of magic.
[0:03:46]: [ Matviy ] ------ MSI_SolveObstacle: True
[0:03:46]: [ Matviy ] ------ SPS Info.: Surface: 1, Areas: ['11_7']
[0:03:46]: [ Matviy ] ------ MSI_WalkTPA
[0:03:46]: [ Matviy ] -------- Path: [(4831, 3029), (4831, 3045)]
[0:03:46]: [ Matviy ] ---------- MSI_PointOnPath: Index = 1
[0:03:49]: [ Matviy ] ---------- MSI_GetMyPos(): (4835, 3030)
[0:03:49]: [ Matviy ] ---------- MSI_PointOnPath: Index = 0
[0:03:50]: [ Matviy ] ---------- MSI_GetMyPos(): (4835, 3030)
[0:03:50]: [ Matviy ] ---------- MSI_PointOnPath: Index = 0
[0:03:50]: [ Matviy ] ---------- Current Energy: 100
[0:03:50]: [ Matviy ] -------- Next Point: 1 (4831, 3045)
[0:03:50]: [ Matviy ] ---------- Players Found: 3
[0:03:51]: [ Matviy ] ---------- Average pixel shift: 86
[0:03:51]: [ Matviy ] ---------- Flag distance: 17
[0:03:51]: [ Matviy ] ---------- Players Found: 3
[0:03:51]: [ Matviy ] ---------- Average pixel shift: 62
[0:03:51]: [ Matviy ] ---------- Player animation: Player Idle
[0:03:51]: [ Matviy ] ---------- MSI_GetMyPos(): (4835, 3030)
[0:03:51]: [ Matviy ] ---------- MSI_PointOnPath: Index = 0
[0:03:51]: [ Matviy ] -------- Attempts: 1
[0:03:51]: [ Matviy ] ---------- Current Energy: 98
[0:03:51]: [ Matviy ] -------- Next Point: 1 (4831, 3045)
[0:03:52]: [ Matviy ] ---------- Players Found: 3
[0:03:52]: [ Matviy ] ---------- MSI_AntiBan
[0:03:52]: [ Matviy ] ---------- Average pixel shift: 220
[0:03:52]: [ Matviy ] ---------- Flag distance: -1
[0:03:52]: [ Matviy ] ---------- Players Found: 2
[0:03:52]: [ Matviy ] ---------- Average pixel shift: 145
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 167
[0:03:53]: [ Matviy ] ---------- Players Found: 2
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 179
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 332
[0:03:53]: [ Matviy ] ---------- Players Found: 3
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 149
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 204
[0:03:53]: [ Matviy ] ---------- Players Found: 3
[0:03:53]: [ Matviy ] ---------- Average pixel shift: 103
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 135
[0:03:54]: [ Matviy ] ---------- Players Found: 3
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 86
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 102
[0:03:54]: [ Matviy ] ---------- Players Found: 3
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 125
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 98
[0:03:54]: [ Matviy ] ---------- Players Found: 3
[0:03:54]: [ Matviy ] ---------- Average pixel shift: 45
[0:03:54]: [ Matviy ] ---------- Player animation: Player Idle
[0:03:55]: [ Matviy ] ---------- MSI_GetMyPos(): (4830, 3045)
[0:03:55]: [ Matviy ] ---------- MSI_PointOnPath: Index = 1
[0:03:55]: [ Matviy ] -------- Attempts: 1
[0:03:55]: [ Matviy ] ---------- Players Found: 3
[0:03:55]: [ Matviy ] ---------- Average pixel shift: 39
[0:03:55]: [ Matviy ] ---------- Player animation: Player Idle
[0:03:55]: [ Matviy ] -------- Final distance: 1
[0:03:55]: [ Matviy ] ------ MSI_WalkTPA: True
Error: Out Of Range at line 790 //Crashes here. It usually walks to the first point of the path before this happens.