SRL Archive - MSI Bugs

MSI Woodcutting Bug


MV7

2012-01-01 16:44:37

Script - Magic Tree Seers Village
Error - It wouldn't click the magic trees
Debug - In Simba it says, "Found: 389, TREE_MAGIC found" – it says it found the tree, but it doesnt actually click it,

Variations - I fixed the settings of RS.

nickrules

2012-01-01 19:55:11

What else does it say? My guess is something about a point being on the player.

It should eventually fix itself….

Coh3n

2012-01-04 14:35:41

More debug would be helpful.

pierre

2012-01-04 15:10:32

This is what i get at Grand Exchange Yew

Coh3n

2012-01-04 15:16:03

That's the walking, and it looks like it's working?

pierre

2012-01-04 16:44:56

From: Coh3n
That's the walking, and it looks like it's working?


It walks towards the trees, but than it just keeps walking form tree to tree without doing anything. Tried it several times :s.

Coh3n

2012-01-05 01:53:02

From: pierre
It walks towards the trees, but than it just keeps walking form tree to tree without doing anything. Tried it several times :s.
Does it set the camera all the way down? Can you post all the debug? It's saved in Simba/Includes/MSI/Debug Logs. You don't have to take a picture of the console.

wantonman

2012-01-05 03:06:18

why does is say point on player for such a long time anyways????

pierre

2012-01-05 04:01:02

From: Coh3n
Does it set the camera all the way down? Can you post all the debug? It's saved in Simba/Includes/MSI/Debug Logs. You don't have to take a picture of the console.


Going to run it again and i'll give you the debug.

Drax

2012-01-05 04:27:16

We are all getting the same thing even with the all the yew cutters, the script can't seem to find the trees and then just gets stuck in a loop. I'v got all the correct settings for botting (high brightness everything else low) in rs so it's not that. I do know draynor willows works pretty much flawlessly. So ill give you a debug copied from simba as i had no debug log. I have had it repeat below for around 5 hours until i turn the script of.
MSI_FindObjectTPA: TREE_YEW_NEW
Found: 29, NOT ENOUGH
Took 94 ms to complete
MSI_FindObjectTPA: False
Scanning for randoms…
Scanning for randoms…
MSI_FindObjectTPA: TREE_YEW_NEW
Found: 29, NOT ENOUGH
Took 93 ms to complete
MSI_FindObjectTPA: False
Scanning for randoms…
Scanning for randoms…
MSI_FindObjectTPA: TREE_YEW_NEW
Found: 29, NOT ENOUGH
Took 140 ms to complete
MSI_FindObjectTPA: False
Scanning for randoms…
Scanning for randoms…

pierre

2012-01-05 04:33:59

What's the best way to Upload this? Since the file is to big for attachment, and there's only 100.000characters allowed in this box.
When you tell me my answer probably be :duh: :p.

Shuttleu

2012-01-05 04:38:50

stick it on the paste
http://paste.villavu.com

~shut

Drax

2012-01-05 04:41:33

Ok i'v work out what half my problem was, i had to go to the msi/msi/core/objects.simba and pick a new colour for the yew_trees_new but then i got this below repeating 1000 times so i guess there is a loop thats happening, i might just try deleting some of the animation code so it skips that bit but if you have any another FIX then please share with the rest of the community thanks!
Average pixel shift: 469
Player animation: Chopping (NEW)
Average pixel shift: 442
Player animation: Chopping (NEW)
Average pixel shift: 363
Player animation: Chopping (NEW)

Drax

2012-01-05 05:12:39

Ok just pissed off the Chopping (New) from animations.simba and told it to use the old in woodcutting seems to work pretty good now unless there are other people around taking the trees then it goes back to the first error i stated about where it can't find the trees.

Coh3n

2012-01-06 01:17:16

From: wantonman
why does is say point on player for such a long time anyways????
Because the color was found on the player. We don't want to move the mouse to a point on the player since the tree isn't there.

From: Surfing
Ok i'v work out what half my problem was, i had to go to the msi/msi/core/objects.simba and pick a new colour for the yew_trees_new but then i got this below repeating 1000 times so i guess there is a loop thats happening, i might just try deleting some of the animation code so it skips that bit but if you have any another FIX then please share with the rest of the community thanks!
Average pixel shift: 469
Player animation: Chopping (NEW)
Average pixel shift: 442
Player animation: Chopping (NEW)
Average pixel shift: 363
Player animation: Chopping (NEW)


From: Surfing
Ok just pissed off the Chopping (New) from animations.simba and told it to use the old in woodcutting seems to work pretty good now unless there are other people around taking the trees then it goes back to the first error i stated about where it can't find the trees.
Can you post what you changed so it can be committed?

Drax

2012-01-06 02:03:01

OK in Msi/msi/skills/woodcutting.simba at line 176 there is this bit of script
result := MSI_IsAnimating(MSI_GetAnimation(ANIM_CHOPPING_NEW))
followed by this below.
else
result := MSI_IsAnimating(MSI_GetAnimation(ANIM_CHOPPING));
end else
result := MSI_IsAnimating(MSI_GetAnimation(ANIM_CHOPPING));
end;

All i did was change the first line of code to this so it would use the old animation script instead.
result := MSI_IsAnimating(MSI_GetAnimation(ANIM_CHOPPING))

Coh3n

2012-01-06 02:43:05

Okay, thanks! And what did you change in Objects.simba? You said you changed the colour?

Rezozo

2012-01-06 15:49:49

From: Coh3n
Okay, thanks! And what did you change in Objects.simba? You said you changed the colour?


Lol Coh3n you got shunned, he stopped talking.

Drax

2012-01-07 00:55:35

From: Coh3n
Okay, thanks! And what did you change in Objects.simba? You said you changed the colour?


Oh sorry i had to work, my bad. In Includes\MSI\MSI\Core\objects.simba it has a list of every tree and there individual statistics.
Example -
TREE_YEW_NEW:
with result do
begin
Name := 'TREE_YEW_NEW';
Uptexts := ['own Yew'];
Options := ['Chop down Yew'];
Level := 60;
Colors := [4147538]; // This is the old colour, just pick another.
Tol := 8; // I changed this to 9.
Hue := 0.08;
Sat := 0.09;
FindAllColors := False;
W := 80;
H := 100;
Accuracy := 100;
SearchArea := MSBox;
ExcludeSelf := False;
WaitToMove := True;
MultiClick := True;
Track := False;
MaxTime := 30000;
AssociatedItems := [LOGS_YEW];
end;

I simple fiddled with the colour and tolerance imputs so that the script using above would be able to find the yew tree.

Kyle Undefined

2012-01-14 20:38:48

The Magics are working as far as I can tell. Also, the Yew trees will work after I push out this update.