SRL Archive - MSI Bugs

Banking..


Sir R. M8gic1an

2010-09-17 07:50:19

Mining at VE with Tin & copper in my items array…

It'll click the copper ores one by one, while debug says something about tin,
and then when there's like 5 ores left it'll say 'banking copper' and it'll click all.

I'll have a look into some other time, I guess.

~RM

Coh3n

2010-09-17 16:12:58

From: Sir R. Magician
Mining at VE with Tin & copper in my items array…

It'll click the copper ores one by one, while debug says something about tin,
and then when there's like 5 ores left it'll say 'banking copper' and it'll click all.

I'll have a look into some other time, I guess.

~RM

I have never had that happen. Banking has always been good for me.

I'm testing a load right now, so we'll see.

E: Yeah, same thing is happening for me. When I wrote MSI_Deposit it's suppose to click all other items in the inventory to bank them. My first thought was that it wasn't finding the copper ore, but the debug says it is. Honest, I'm not sure what would cause this. I remember it working fine a week or so ago.

Coh3n

2010-09-25 16:42:15

Does anyone know if this still happens? When I tested a while ago, it would only happen when the pickaxe was in my inventory.

NCDS

2010-09-26 20:46:29

From: Coh3n
Does anyone know if this still happens? When I tested a while ago, it would only happen when the pickaxe was in my inventory.


NOt sure at the moment, but I've added it to my list of things to do tonight.

Edit: Tested all the other ores at VE Mine and Copper is the only one this happens with. I've also tested all the ores a LWS Mine and they work fine so I'm going to re-make the TItem record for Copper Ore and see if that does it.

E2: I really have no idea why it's only doing it with copper because it always tries to 'Dpeosit-All' eventually, just after clicking what seems to be a random amount of them.

I'll be back at it in an hour or so but I'm supposed to be playing poker right now ;)


Edit3:

[ Ifex ] -- MSI_SetupPlayer: True
[ Ifex ] -- MSI_FindItemSlots: Found 0 Bronze pickaxe in inventory slot(s) []
[ Ifex ] -- MSI_FindItemSlots: Found 0 Iron pickaxe in inventory slot(s) []
[ Ifex ] -- MSI_FindItemSlots: Found 0 Steel pickaxe in inventory slot(s) []
[ Ifex ] -- MSI_FindItemSlots: Found 0 Mithril pickaxe in inventory slot(s) []
[ Ifex ] -- MSI_FindItemSlots: Found 1 Adamant pickaxe in inventory slot(s) [1]
[ Ifex ] -- MSI_FindItemSlots: Found 0 Rune pickaxe in inventory slot(s) []
[ Ifex ] -- MSI_BankMaterials
[ Ifex ] ------ MSI_CountItems: Found 0 of item Iron ore
[ Ifex ] ------ MSI_CountItems: Found 11 of item Copper ore
[ Ifex ] ---- MSI_OpenBank
[ Ifex ] ------ MSI_FindObjectsIn
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Ifex ] -------- 27 objects found!
[ Ifex ] -------- Track Object
[ Ifex ] ------------ MSI_FindObjectsTPA: Not enough points!
[ Ifex ] ---------- ~ Track Record
[ Ifex ] ---------- ~ ~ TrackObject
[ Ifex ] ---------- ~ ~ Searches: 1
[ Ifex ] ---------- ~ ~ Successes: 1
[ Ifex ] ---------- ~ ~ Success %: 100
[ Ifex ] -------- TrackObject: True
[ Ifex ] ------ MSI_FindObjectsIn: True
[ Ifex ] ---- MSI_OpenBank: True(Varrock east bank)
[ Ifex ] ---- MSI_Deposit
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Bronze pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Iron pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Steel pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Mithril pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 1 Adamant pickaxe in inventory slot(s) [1]
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Rune pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Iron ore in inventory slot(s) []
[ Ifex ] -------- Iron ore not found!
[ Ifex ] ---- MSI_Deposit: True
[ Ifex ] ---- MSI_Deposit
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Bronze pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Iron pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Steel pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Mithril pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 1 Adamant pickaxe in inventory slot(s) [1]
[ Ifex ] ------ MSI_FindItemSlots: Found 0 Rune pickaxe in inventory slot(s) []
[ Ifex ] ------ MSI_FindItemSlots: Found 3 Copper ore in inventory slot(s) [10, 11, 15]
As you can see by the above debug, MSI_CountItems returns the correct amount of Copper Ore in the inventory, yet MSI_FindItemSlots only finds 3 Copper Ore each time.

I'm still trying to figure out why this is happening as MSI_FindItemSlots uses ItemCoordinates and searches with a DTM. All Ores use the same DTM, and yet Copper is the only one with a problem.

I have updated the Copper DTM color, but still no success.

Coh3n

2010-09-28 14:11:14

Even though one function is only finding three, MSI_Deposit should still right click > Deposit-All on the first one…

From: NCDS

I'm still trying to figure out why this is happening as MSI_FindItemSlots uses ItemCoordinates and searches with a DTM. All Ores use the same DTM, and yet Copper is the only one with a problem.

Seems to me that something may be wrong with ItemCoordinates. That doesn't really make sense though if it's only happening with copper…

NCDS

2010-09-28 14:40:43

From: Coh3n
Even though one function is only finding three, MSI_Deposit should still right click > Deposit-All on the first one…


Seems to me that something may be wrong with ItemCoordinates. That doesn't really make sense though if it's only happening with copper…


That's the same thought process I went through :/

Coh3n

2010-09-28 14:41:35

From: NCDS
That's the same thought process I went through :/

Have you tried different banks? I don't see why that would make a difference, but you never know.

NCDS

2010-09-28 14:48:27

From: Coh3n
Have you tried different banks? I don't see why that would make a difference, but you never know.


No, I haven't yet, but I will now.

Coh3n

2010-10-08 17:18:24

I *think* this has been fixed in the latest revision. I really hope it doesn't come up again.