+ Reply to Thread
Results 1 to 20 of 20

Thread: MSI Woodcutting Bug

  1. #1
    Join Date
    Jan 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default MSI Woodcutting Bug

    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.

  2. #2
    Join Date
    May 2008
    Location
    ;)
    Posts
    576
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

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

    It should eventually fix itself....

  3. #3
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    More debug would be helpful.

  4. #4
    Join Date
    Dec 2011
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default


    This is what i get at Grand Exchange Yew
    grtz Pierre

  5. #5
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

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

  6. #6
    Join Date
    Dec 2011
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    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.
    grtz Pierre

  7. #7
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by pierre View Post
    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.

  8. #8
    Join Date
    Sep 2010
    Location
    Azeroth
    Posts
    395
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

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

  9. #9
    Join Date
    Dec 2011
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    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.
    grtz Pierre

  10. #10
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    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...

  11. #11
    Join Date
    Dec 2011
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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 .
    grtz Pierre

  12. #12
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  13. #13
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    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)

  14. #14
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    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.

  15. #15
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by wantonman View Post
    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.

    Quote Originally Posted by Surfing View Post
    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)
    Quote Originally Posted by Surfing View Post
    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?

  16. #16
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    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))

  17. #17
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

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

  18. #18
    Join Date
    Dec 2011
    Location
    Nj
    Posts
    2,341
    Mentioned
    1 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Okay, thanks! And what did you change in Objects.simba? You said you changed the colour?
    Lol Coh3n you got shunned, he stopped talking.

    For the basics of the basics of pascal, try my TuT. ||Photoshop Editing ||MapleResourceDung Script || Book a flight! BuySellTrip

  19. #19
    Join Date
    Dec 2011
    Posts
    249
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    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.
    Last edited by Drax; 01-07-2012 at 05:57 AM. Reason: Fix up

  20. #20
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    The Magics are working as far as I can tell. Also, the Yew trees will work after I push out this update.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may post attachments
  • You may edit your posts
  •