Page 26 of 40 FirstFirst ... 16242526272836 ... LastLast
Results 626 to 650 of 983

Thread: [Simba/SCAR] Coh3n's Anywhere PowerChopper

  1. #626
    Join Date
    Jan 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    Remove the last parameter of line 269's function and it compiles fine

    srl-opendev should work thought.
    could you explain that in more detail please? once again im new, but learning fast.

  2. #627
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by wolffang93 View Post
    could you explain that in more detail please? once again im new, but learning fast.
    Make your 269 line look like:
    SCAR Code:
    s := rs_GetUpTextAt(x, y - 2)
    There used to be something meaningful here.

  3. #628
    Join Date
    Jan 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    Make your 269 line look like:
    SCAR Code:
    s := rs_GetUpTextAt(x, y - 2)
    thanks worked perfectly Cheers!

  4. #629
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Yeah no problemos
    There used to be something meaningful here.

  5. #630
    Join Date
    Jan 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **

    i get this error a lot and the red dot goes from tree to tree and sits there for like half a second and keeps doing that then finally clicks on one, and it keeps switching trees before the tree is fully cut down, and in the log it says tree was cut down or w/e but it wasn't. is that something i messed up?

  6. #631
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Yeah i get it too from time to time. Just ignore it
    There used to be something meaningful here.

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

    Default

    Quote Originally Posted by wolffang93 View Post
    in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **
    ** Warning in Chop_Tree: Error Finding Uptext. **

    i get this error a lot and the red dot goes from tree to tree and sits there for like half a second and keeps doing that then finally clicks on one, and it keeps switching trees before the tree is fully cut down, and in the log it says tree was cut down or w/e but it wasn't. is that something i messed up?
    Depends what type of tree you're trying to cut. That will come up all the time if you're trying to cut Oak/Yew trees as the colors are similar for Normal trees. Sometimes it'll say the tree is cut down when it's not, simply because my TreeCutDown detection isn't perfect.

    It works the best with Trees that have a unique color such as Willows, Maples, and Magics.

  8. #633
    Join Date
    Jan 2010
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Heres my best proggy ever -- sortof
    [code]
    [================================================== ===============
    [ Coh3n's Anywhere PowerChopper! ]
    [============================= V.2.7 =============================]
    [ ]
    [ You have chosen to cut willow trees. ]
    [ ]
    [ Ran For: 9 Hours, 47 Minutes and 53 Seconds ]
    [ Loads Done: 126 ]
    [ Logs Chopped: 3526 ]
    [ Levels Gained: 1 ]
    [ Exp Gained: 238005 ]
    [ Breaks: 0 ]
    [ ]
    [================================================== ===============
    [================================================== ===============

    But, i got totally screwed after that. random event, went to cage(Pillary random), antirandoms didnt detect somehow. My character was logging in and out for 5 hours until i noticed it there.
    If i'm looking at this correctly, i believe after it logs out, the script calls SwitchToNextPlayer(ive got 1 player setup), and it logs back in (srl didnt detect or fail to solve and log out), because Players[CurrentPlayer].Active = true. Somehow we have to deactivate that player. Ideas on how to implement this:

    Edit: Here's my latest idea. Do something like MarkTime(SinceStartChopping) and then at cannot find tree error: TimeFromMark(SinceStartChopping) >= (10-20 mins or something)
    and set player.active=false and log out
    Last edited by hubbard1989; 01-17-2010 at 02:38 AM.

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

    Default

    That's weird. It's suppose to log out and set the player to false if the trees aren't found after 50 tries. It's also suppose to terminate if you have it set to only one player. It shouldn't have switched players at all.

    Maybe something got screwed up in the last update. I'll have to check it out when I get time in the next couple days.

    I appretiate all the feedback.

    Coh3n

  10. #635
    Join Date
    Jan 2010
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    It's suppose to log out and set the player to false if the trees aren't found after 50 tries. It's also suppose to terminate if you have it set to only one player.
    Coh3n
    script did not log the character out, being stuck in a cage caused it to just sit there until you log out, so the player did not get set to false. and it did not terminate because there was still an active player.

    It looks like your other script has the code to log out if >50, but not this one yet

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

    Default

    Well it was a recent update. I must have gotten comfused between the two. I'll upload a new version as soon as I can.

  12. #637
    Join Date
    Feb 2006
    Location
    Pennsylvania
    Posts
    1,524
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    For the love of god, please use standards!

  13. #638
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Maybe you should make it to run farther away from the center of the minimap if it doesnt find trees after 50 tries. Maybe search for a minimap tree symbol (not the symbol but the green tree, you know ).
    There used to be something meaningful here.

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

    Default

    Quote Originally Posted by Bebe View Post
    For the love of god, please use standards!
    Uhm, what's wrong with my standards...?

    Quote Originally Posted by Frement View Post
    Maybe you should make it to run farther away from the center of the minimap if it doesnt find trees after 50 tries. Maybe search for a minimap tree symbol (not the symbol but the green tree, you know ).
    That may not be a bad idea, although it shouldn't ever get lost if the player is set in a good location.

  15. #640
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Well it does walk off the area where i set it to cut, since it cuts those trees so fast, new ones cant respawn fast enough, so it walks right, right right until there are only 3-4 trees and it keeps doing those :/
    There used to be something meaningful here.

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

    Default

    Quote Originally Posted by Frement View Post
    Well it does walk off the area where i set it to cut, since it cuts those trees so fast, new ones cant respawn fast enough, so it walks right, right right until there are only 3-4 trees and it keeps doing those :/
    Yeah okay that makes sense. I have an idea on how to fix that, and I'll work on it for the next version. I'm still debating whether to add stats/form to the next version or not. I'll probably do a quick update before then, but we'll see. Thanks for the feedback.

  17. #642
    Join Date
    Jan 2010
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Im probably doing something wrong, but when I run the script, my mouse just starts going insane, clicking everywhere =o.

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

    Default

    Quote Originally Posted by Baba mhillo View Post
    Im probably doing something wrong, but when I run the script, my mouse just starts going insane, clicking everywhere =o.
    When you downloaded SCAR, did you get it via Freddy's website, or SVN? It won't work unless you get it through SVN.

  19. #644
    Join Date
    Jan 2010
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Svn

  20. #645
    Join Date
    Jan 2010
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Remember, im that noob that said "shit. It works! Thanks man" lol

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

    Default

    Quote Originally Posted by Baba mhillo View Post
    Svn
    Make sure you have the open dev SRL (if you don't, just follow by guide to get it).

  22. #647
    Join Date
    Jan 2010
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Im using swiftkit, could that interfere?

  23. #648
    Join Date
    Jan 2010
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have the open dev SRL

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

    Default

    Quote Originally Posted by Baba mhillo View Post
    Im using swiftkit, could that interfere?
    I'm not sure. I don't think it should make a difference, but I've never seen anyone use it before (while trying to auto). You should try with SMART or Firefox.

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

    Default

    Quote Originally Posted by Baba mhillo View Post
    What's smart? ive never heard of that.
    SCAR Minimizing Autoing Resource Thing (I think). It's used to auto so you can still do other things on your computer without SCAR occupying the mouse. If you look on line 58 (I think) there's instructions on how to use it.

Page 26 of 40 FirstFirst ... 16242526272836 ... LastLast

Thread Information

Users Browsing this Thread

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

Posting Permissions

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