Markus
2011-01-16 15:24:51
Hey! :)
Until recently, I ignored these fora a lot. I didn't auto, thus I didn't care about MSI. But I started to come back to autoing around one or two weeks ago so I was looking for a script.
A quick glance at villavu showed me that nowadays that there was only one way to go: MSI. It looked great, supported tons of locations/scripts and it could use both colour/reflection. That's awesome, I thought!
I freshly installed Simba 0.95RC, enabled SRL/Reflection.sex, installed them and verified it to be working fine by running an old script of mine (which also seems to use reflection for a few parts nowadays). Then I ran Runme.simba
Immediately I was presented with a nice form! Really, it gave me a good impression. I turned breaking on, world switching on, then entered my character details and said I wanted to use the Varrock East Miner.
Or at least, that's what I thought;
#1: MSI uses wicked default location settings
After I posted something, I heard that that mode was strictly meant for powermining. How should I know? I just know MSI thinks I'm somewhere in Runescape. Reflection was up, why can't it use reflection to figure out where I am?
Even Wizzup's multiminer can do that using colour. Of course I can be anywhere, but detecting if I'm either at mine, bank, or unknown location isn't too hard and with reflection it's trivial.
So I fixed that, but I accidentally logged out my player. I was hoping it would log in (I set my user/pass), but I forgot to enter something in the form. What happened?
I got an error out of range in loginplayer.scar! But, I am using one player? Do I really have to set it?
I guess so. Worst of all: it doesn't even save that 0 I set there, so I have to enter that every single time. No press run at Simba, press load+run at form, no I actually have to switch to the keyboard to enter that 0! Really, after 20 times that really gets annoying.
So I figured this out and was like, ok! |Let's get some mining levels!
I started the script and watched it for a moment. One thing really annoyed me:
It might be hard to explain, but there's one main problem and that's that it always clicks at the same tiles and it sometimes misses the next tile (read: it clicks at a tile 4 pixels away from Minimap center, now THAT is human-like), pauses for a second to check for randoms, stuff like that. That is really not human-like:
Suggestion: Many scripts (at least mining, for example varrock east, lumby swamp) just need to walk in a few straight lines. How about having the script record only include those 'corner' tiles and using r_WebWalk to walk between them? You can script VEM in only 4 tiles then and be a bit more human-like:

.
After it walked to VEM, it was standing there with a couple of other bots and it happily started mining. However, after a few rocks, it was standing there doing nothing.
I looked at debug, which said:
[ @@@ ] ---- MSI_WaitWhileMining
[ @@@ ] ------ InvCount: 5
[ @@@ ] ------ Entering loop
[ @@@ ] ---------- MSI_AntiBan
And it took a while. A quick glance at the debug drawing was clear: it was tracking the wrong rock which no one was mining. It seems I was not the only one having this problem as a couple of other botters were also standing there with exactly the same problem I had.Luckily another botter managed to mine that rock (the rock it was tracking) and suddenly my character (and one or two others) came to live!
This wasn't an isolated case, I think it cuts my iron mining rate at least by 30%. This also happens in the mining guild, but due to all rsbotters/ibotters the wrong rock gets mined away earlier. This is *really* annoying. If you could fix this problem I'd love you.
Problem also occurs when someone else mines the rock while we are still walking towards it. You'll stop walking and what does MSI think? That I'm mining some rock at the corner of my mainscreen.
I managed to reduce this a bit by setting a lower time-out in mining.scar but the problem is still there, which also leads me to #5
In fact it doesn't even take longer than 10 at mining level 15. Can't the "Artificial Intelligence" figure out that that's ridiculous??
I switched off my PC and switched to my laptop, a Toshiba Tecra m2 (upgraded to 1gb RAM). It's singlecore and I really suffered from that:
This also causes me to lag a lot. It also made it literally impossible to use the guild miner. Not because it can't mine, but because it can't walk back to the bank! This problem occurs at any pc which isn't dualcore and it also decreases efficiency when trying to run multiple scripts at a pc.
[ Ine ] -- MSI_Walk
[ Ine ] ------ MSI_WaitWhileResting
[ Ine ] ---- Player's Location = Mining Guild
[ Ine ] ---- MSI_PerfomWalk
[ Ine ] ------ MSI_ReflectionWalk
[ Ine ] -------- Tile(3021, 9739) is not on the minimap
[ Ine ] -------- Tile(3033, 9738) is on the minimap
[ Ine ] -------- Tile(3021, 9739) is not on the minimap
[ Ine ] -------- Tile(3033, 9738) is on the minimap
[ Ine ] -------- Tile(3021, 9739) is on the minimap
[ Ine ] ---------- Scanning for randoms...
[ Ine ] ---------- Flag distance: 47
[ Ine ] ---------- Flag distance: 30
[ Ine ] ---------- Flag distance: 15
[ Ine ] -------- MSI_SolveObstacle
[ Ine ] ---------- Mining Guild: Ladder Up's tile is visible
[ Ine ] ---------- MSI_FindObjectsIn
[ Ine ] -------------- MSI_FindObjectsTPA: Not enough points!
[ Ine ] -------------- MSI_FindObjectsTPA: Not enough points!
[ Ine ] -------------- MSI_FindObjectsTPA: Not enough points!
[ Ine ] -------------- MSI_FindObjectsTPA: Not enough points!
[ Ine ] ------------ 5 objects found!
[ Ine ] ------------ MSI_Track Object
[ Ine ] -------------- ~ Track Record
[ Ine ] -------------- ~ ~ TrackObject
[ Ine ] -------------- ~ ~ Searches: 99
[ Ine ] -------------- ~ ~ Successes: 81
[ Ine ] -------------- ~ ~ Success %: 81
[ Ine ] ------------ MSI_TrackObject: True
[ Ine ] ---------- MSI_FindObjectsIn: True
[ Ine ] ---------- MSI_FindObjectsIn
[ Ine ] ------------ 6 objects found!
[ Ine ] ---------- MSI_FindObjectsIn: False
[ Ine ] ---------- MSI_FindObjectsIn
[ Ine ] ------------ 6 objects found!
[ Ine ] ---------- MSI_FindObjectsIn: False
[ Ine ] ---------- MSI_FindObjectsIn
[ Ine ] ------------ 6 objects found!
[ Ine ] ---------- MSI_FindObjectsIn: False
[ Ine ] ---------- MSI_FindObjectsIn
[ Ine ] ------------ 6 objects found!
[ Ine ] ---------- MSI_FindObjectsIn: False
[ Ine ] ---------- MSI_FindObjectsIn
[ Ine ] ------------ 6 objects found!
[ Ine ] ---------- MSI_FindObjectsIn: False
[ Ine ] ---------- MSI_FindObjectsIn
[ Ine ] -------------- MSI_FindObjectsTPA: Not enough points!
[ Ine ] -------------- MSI_FindObjectsTPA: Not enough points!
[ Ine ] ------------ 4 objects found!
[ Ine ] ---------- MSI_FindObjectsIn: True
[ Ine ] ---------- Found mirror object: Mining Guild Ladder: Down
[ Ine ] ------------ Player is on end tile
[ Ine ] -------- MSI_SolveObstacle: True
[ Ine ] ---------- Distance from player to location: 71
[ Ine ] -------- Tile(3012, 3355) is not on the minimap
[ Ine ] -------- Tile(3023, 3352) is on the minimap
[ Ine ] ---------- Scanning for randoms...
[ Ine ] ---------- Flag distance: 60
[ Ine ] ---------- Flag distance: 62
[ Ine ] ---------- Flag distance: 63
[ Ine ] ---------- MSI_AntiBan
[ Ine ] ---------- Flag distance: 58
[ Ine ] ---------- Flag distance: 45
[ Ine ] ---------- Flag distance: 34
[ Ine ] ---------- Flag distance: 24
[ Ine ] ---------- Distance from player to location: 42
[ Ine ] -------- Tile(3021, 9739) is not on the minimap
[ Ine ] -------- Tile(3033, 9738) is not on the minimap
[ Ine ] -------- Tile(3042, 9737) is not on the minimap
[ Ine ] -------- Failed to walk leg 0 of script: Mining Guild Miner
[ Ine ] ------ MSI_ReflectionWalk: False
[ Ine ] ------ MSI_ColorWalk
[ Ine ] ------ MSI_ColorWalk: False
[ Ine ] ---- MSI_PerformWalk: False
[ Ine ] -- MSI_Walk: False
[ Ine ] -- MSI_UnsetPlayer
[ Ine ] ---- Failed to walk to bank
[ Ine ] ---- MSI_SetSkillLevels
[ Ine ] ------ Mining level hasn't changed
[ Ine ] ---- MSI_SetSkillLevels: Finished
[ Ine ] ---- MSI_SetSkillLevels
[ Ine ] ------ Mining level hasn't changed
[ Ine ] ---- MSI_SetSkillLevels: Finished
[ Ine ] ---- Cleared file: C:\Simba\Includes\MSI\Remote.txt
[ Ine ] -- MSI_Walk
[ Ine ] ------ MSI_WaitWhileResting
[ Ine ] ---- Player's Location = Mining Guild
[ Ine ] ---- MSI_PerfomWalk
[ Ine ] ------ MSI_ReflectionWalk
[ Ine ] -------- Tile(3021, 9739) is not on the minimap
[ Ine ] -------- Tile(3033, 9738) is on the minimap
[ Ine ] ---------- Flag distance: 56
[ Ine ] ---------- Scanning for randoms...
[ Ine ] ---------- Flag distance: 43
[ Ine ] ---------- Flag distance: 35
[ Ine ] ---------- Flag distance: 21
[ Ine ] -------- Tile(3021, 9739) is on the minimap
[ Ine ] ---------- Flag distance: 48
[ Ine ] ---------- Flag distance: 37
[ Ine ] ---------- Flag distance: 24
[ Ine ] -------- MSI_SolveObstacle
[ Ine ] ---------- Mining Guild: Ladder Up's tile not on the MainScreen
[ Ine ] ---------- Tile(3019, 9741) is on the minimap
[ Ine ] ------------ Flag distance: 10
(I know it's incomplete, idk why).One good thing: it *does* work. Just not too great. The quirks really make it a lot less fun to use MSI :(
Just my $0.07, but I hope the MSI devs could use this constructively :)
- Markus
Edit: I even left that PvP world issue out of this.
Just add some bounds so it doesn't exceed MSX2/MSY2.