SRL Archive - MSI Bugs

Clicking new rock while mining one


Bobzilla69

2010-12-13 13:28:51

hey,

i am running the miner for LWS and i have it set to do coal (70%) and mithril(30%) and what i notice is that it will start mining coal then decide it want to mine mithril and just click it while still mining the coal, then once it reaches the mithril decide it wants to mine coal again.

this is very bot like and is a bad thing, it also does it occasionally with coal it will start mining then just click another rock.

NCDS

2010-12-13 19:20:32

It's because MSI_TrackObject loses the Object, so, thinking the rock has been mined, it searches for a new one.

We may be able to tweak it a bit to make it somewhat better, but I'll have to have a look.

Bobzilla69

2010-12-14 03:35:13

ok, this would be good, i also just notices when i was just mining coal, and only coal, at LSW it decided it wants to mine rune….. which i cant yet, have the colors been broken slightly?

my own stupidity, getting a debug of my first error for you

[ Est ] ---------- MSI_FindObjectsTPA: No colors found!
[ Est ] ---------- MSI_FindObjectsTPA: No colors found!
[ Est ] -------- Lost track of object
[ Est ] -------- ~ Track Record
[ Est ] -------- ~ ~ TrackObject
[ Est ] -------- ~ ~ Searches: 11
[ Est ] -------- ~ ~ Successes: 9
[ Est ] -------- ~ ~ Success %: 81
[ Est ] ------ MSI_TrackObject: False
[ Est ] ---- MSI_FindObjectsIn: True
[ Est ] ---- MSI_WaitWhileMining
[ Est ] ------ InvCount: 9
[ Est ] ------ Entering loop
[ Est ] -------- Colours found < Accuracy
[ Est ] ------ Out of loop
[ Est ] ---- MSI_WaitWhileMining: exit
[ Est ] ---- MSI_FindObjectsIn
[ Est ] -------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ------ 2 objects found!
[ Est ] ------ MSI_Track Object
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points! {Happens round this sections, doe not allways happen when walking i can be static}
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] -------- ~ Track Record
[ Est ] -------- ~ ~ TrackObject
[ Est ] -------- ~ ~ Searches: 12
[ Est ] -------- ~ ~ Successes: 10
[ Est ] -------- ~ ~ Success %: 83
[ Est ] ------ MSI_TrackObject: True
[ Est ] ---- MSI_FindObjectsIn: True
[ Est ] ---- MSI_WaitWhileMining
[ Est ] ------ InvCount: 9
[ Est ] ------ Entering loop
[ Est ] ---------- Scanning for randoms...
[ Est ] ---------- MSI_AntiBan
[ Est ] ---------- Scanning for randoms...
[ Est ] ---------- Scanning for randoms...
[ Est ] ---------- MSI_AntiBan
[ Est ] ---------- Scanning for randoms...
[ Est ] -------- OldInvCount < InvCount
[ Est ] ------ Out of loop
[ Est ] ---- MSI_WaitWhileMining: exit
[ Est ] ---- MSI_FindObjectsIn
[ Est ] ------ 5 objects found!
[ Est ] ------ MSI_Track Object
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] -------- ~ Track Record
[ Est ] -------- ~ ~ TrackObject
[ Est ] -------- ~ ~ Searches: 13
[ Est ] -------- ~ ~ Successes: 11
[ Est ] -------- ~ ~ Success %: 84
[ Est ] ------ MSI_TrackObject: True
[ Est ] ---- MSI_FindObjectsIn: True
[ Est ] ---- MSI_WaitWhileMining
[ Est ] ------ InvCount: 10
[ Est ] ------ Entering loop
[ Est ] ---------- MSI_AntiBan
[ Est ] ---------- Scanning for randoms...
[ Est ] -------- OldInvCount < InvCount
[ Est ] ------ Out of loop
[ Est ] ---- MSI_WaitWhileMining: exit
[ Est ] ---- MSI_FindObjectsIn
[ Est ] ------ 6 objects found!
[ Est ] ------ MSI_Track Object
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] -------- ~ Track Record
[ Est ] -------- ~ ~ TrackObject
[ Est ] -------- ~ ~ Searches: 14
[ Est ] -------- ~ ~ Successes: 12
[ Est ] -------- ~ ~ Success %: 85
[ Est ] ------ MSI_TrackObject: True
[ Est ] ---- MSI_FindObjectsIn: True
[ Est ] ---- MSI_WaitWhileMining
[ Est ] ------ InvCount: 11
[ Est ] ------ Entering loop
[ Est ] ---------- Scanning for randoms...
[ Est ] ---------- MSI_AntiBan
[ Est ] -------- Found Text
[ Est ] ------ Out of loop
[ Est ] ---- MSI_WaitWhileMining: exit
[ Est ] ---- MSI_FindObjectsIn
[ Est ] ------ 4 objects found!
[ Est ] ------ MSI_Track Object
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: No colors found!
[ Est ] -------- ~ Track Record
[ Est ] -------- ~ ~ TrackObject
[ Est ] -------- ~ ~ Searches: 15
[ Est ] -------- ~ ~ Successes: 13
[ Est ] -------- ~ ~ Success %: 86
[ Est ] ------ MSI_TrackObject: True
[ Est ] ---- MSI_FindObjectsIn: True
[ Est ] ---- MSI_WaitWhileMining
[ Est ] ------ InvCount: 12
[ Est ] ------ Entering loop
[ Est ] ---------- Scanning for randoms...
[ Est ] -------- OldInvCount < InvCount
[ Est ] ------ Out of loop
[ Est ] ---- MSI_WaitWhileMining: exit
[ Est ] ---- MSI_FindObjectsIn
[ Est ] -------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ------ 1 objects found!
[ Est ] ------ MSI_Track Object
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] -------- ~ Track Record
[ Est ] -------- ~ ~ TrackObject
[ Est ] -------- ~ ~ Searches: 16
[ Est ] -------- ~ ~ Successes: 14
[ Est ] -------- ~ ~ Success %: 87
[ Est ] ------ MSI_TrackObject: True
[ Est ] ---- MSI_FindObjectsIn: True
[ Est ] ---- MSI_WaitWhileMining
[ Est ] ------ InvCount: 13
[ Est ] ------ Entering loop
[ Est ] -------- Colours found < Accuracy
[ Est ] ------ Out of loop
[ Est ] ---- MSI_WaitWhileMining: exit
[ Est ] ---- MSI_FindObjectsIn
[ Est ] ------ 2 objects found!
[ Est ] ------ MSI_Track Object
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] ---------- MSI_FindObjectsTPA: Not enough points!
[ Est ] -------- ~ Track Record
[ Est ] -------- ~ ~ TrackObject
[ Est ] -------- ~ ~ Searches: 17
[ Est ] -------- ~ ~ Successes: 15
[ Est ] -------- ~ ~ Success %: 88
[ Est ] ------ MSI_TrackObject: True
[ Est ] ---- MSI_FindObjectsIn: True
[ Est ] ---- MSI_WaitWhileMining
[ Est ] ------ InvCount: 13
[ Est ] ------ Entering loop
[ Est ] ---------- Scanning for randoms...
[ Est ] ---------- MSI_AntiBan
[ Est ] -------- MSI_SetSkillLevels
[ Est ] ---------- Mining level hasn't changed
[ Est ] -------- MSI_SetSkillLevels: Exit

Coh3n

2010-12-14 16:16:10

Yeah I think MSI_TrackObject needs to be looked at. It used to work really, really well. I'm not exactly sure what happened. I've noticed a couple times that it doesn't really "track" the object. It just clicks it an waits for the player to move. The box that contained the object doesn't move as the player moves (like it previously did). This only happens sometimes, however. Other times it woks quite well.

Bobzilla69

2010-12-14 16:41:55

mine seems to fail quite often, might just be me.

i aint sure if the box is moving with the track item as i set debug off, runs better for em then.

doublex8

2010-12-14 16:46:18

Yea, the same thing happens for me quite a bit, I actually stopped using MSI for minning because of it. I can try running it again and watch it and tell you guys what happens.

Rich

2010-12-14 17:05:43

I'm never really got that involved in MSI, nor know much about it. If MSI uses reflection, you could check the animation of the character to see whether it is still mining or not. If MSI doesn't use reflection, could I be just ask why? :)

NCDS

2010-12-14 17:31:45

From: Rich
I'm never really got that involved in MSI, nor know much about it. If MSI uses reflection, you could check the animation of the character to see whether it is still mining or not. If MSI doesn't use reflection, could I be just ask why? :)


We use Reflection but currently for walking only. At some point we will use Reflection to sort of 'back up' and gather information for our color functions, but it will never be the 'core' of MSI.

I may be able to get into this a bit shortly.

Coh3n

2010-12-14 19:31:54

From: NCDS
We use Reflection but currently for walking only. At some point we will use Reflection to sort of 'back up' and gather information for our color functions, but it will never be the 'core' of MSI.

I may be able to get into this a bit shortly.

This may be a nice time to start developing the reflection "back up" for object tracking. My favourite idea was to get the tile from a main screen point, so that when the object was found, we can track the tile at the same time as the color routines.

It may just be better to implement the reflection animation system, though.

TomTuff

2010-12-14 20:17:31

From: bobzilla69
it decided it wants to mine rune….


There's rune at LSW?

Coh3n

2010-12-14 20:22:48

From: TomTuff
There's rune at LSW?

No. I'm actually not sure how he knows that. It doesn't ever say the object name in the debug (perhaps it should?).

Bobzilla69

2010-12-15 03:45:41

From: TomTuff
There's rune at LSW?


no it was my mistake hence i crossed it out, its actually adamant it mined.

From: Coh3n
No. I'm actually not sure how he knows that. It doesn't ever say the object name in the debug (perhaps it should?).


yes that would be nice to track whats its mining would make finding whats causing this bot like action easier, i am not using this for a while again so will check when i get time if its working better