Page 1 of 5 123 ... LastLast
Results 1 to 25 of 108

Thread: ~ Teh Flax Spinner ~

  1. #1
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default ~ Teh Flax Spinner ~

    Teh Flax Spinner

    This script was requested by grim1685

    As reflection 1 is getting outdated, and I'm a lazy man, I will allow anyone to do whatever they want to with this script. That means if you want to fix and/or improve it, you may do so and re-release it if you wish.


    What does it do?
    - It spins flax in lumbridge castle!
    - Has anti-ban and breaking and failsafes.

    How do I do I set it up?
    - Place your character in lumbridge castle middle or upper floor, and have flax in your bank.

    Neat!
    - I know

    v2.0 released!
    - Rewrote the main loop, making the script faster and more reliable. This script may seem superhuman at some points, so if you are really afraid of getting banned please keep using the previous version.
    v2.1 released!
    - Stats are so awesome! Sign up at Stats.villavu.com if you're using my script please
    v2.2 released!
    - Minor bug preventing the script from logging out when breaking fixed.


    ^ Spirit's proggie report


    ^legoluke182's report
    Last edited by Emaziz; 09-05-2011 at 09:09 AM.

  2. #2
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you very much friend :]

  3. #3
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    You are very welcome =)

  4. #4
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It has a bug wehre it goes down there stairs, then it goes to spin can't click the bowstring option though. And then when it thinks its spinning it mouses onto the minimap to the stairs, and then clicks them, then goes back to the wheel and repeats

  5. #5
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by grim1685 View Post
    It has a bug wehre it goes down there stairs, then it goes to spin can't click the bowstring option though. And then when it thinks its spinning it mouses onto the minimap to the stairs, and then clicks them, then goes back to the wheel and repeats
    Uhm ... You got updated SRL and reflection right?
    Works well to me :\

  6. #6
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have everything updated :[ and it still wont work :\

    It wont show me a progress report in my SMART window either :\


    [Hint] C:\Users\Cameron\Documents\Simba\Includes\reflecti on\./Core/Objects.simba(347:3): Variable 'X' never used at line 346
    [Hint] C:\Users\Cameron\Documents\Simba\Includes\reflecti on\./Core/Objects.simba(347:3): Variable 'Y' never used at line 346
    [Hint] (90:5): Variable 'I' never used at line 89
    [Hint] (248:5): Variable 'C1' never used at line 247
    [Hint] (248:5): Variable 'E' never used at line 247
    [Hint] (248:5): Variable 'E2' never used at line 247
    [Hint] (248:5): Variable 'I' never used at line 247
    [Hint] (248:5): Variable 'C2' never used at line 247
    [Hint] (248:51): Variable 'P' never used at line 247
    [Hint] C:\Users\Cameron\Documents\Simba\Includes\SRL/SRL/core/SRLlog.scar(17:3): Variable 'THEFILE' never used at line 16
    Compiled succesfully in 3432 ms.
    SRL Compiled in 15 msec
    SMART Initialized.
    Loaded: Server 68, Members: True, Signed: True, Super Detail: False.
    [05:27:07 PM] Set vPreviousBreak to 05:27:07 PM
    [05:27:07 PM] Set vNextBreak to occur in 1 hours(s), 1 minute(s), 48 second(s).
    [Reflection] Randoms var set!
    [05:27:08 PM] Walking to middle floor/wheel
    [05:27:17 PM] Walked to da wheel
    [05:27:17 PM] Time to spin!
    (397, 86)
    [05:27:25 PM] Walking to middle floor/wheel
    [05:27:37 PM] Walked to da wheel
    [05:27:37 PM] Time to spin!
    (393, 82)
    [0[05:27:57 PM] Time to spin!
    (393, 82)
    [05:28:05 PM] Walking to middle floor/wheel
    [05:28:17 PM] Walked to da wheel
    [05:28:17 PM] Time to spin!
    (397, 86)
    [05:28:25 PM] Walking to middle floor/wheel
    [05:28:36 PM] Walked to da wheel
    [05:28:36 PM] Time to spin!
    (397, 86)
    Last edited by grim1685; 03-16-2011 at 09:32 PM.

  7. #7
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by grim1685 View Post
    I have everything updated :[ and it still wont work :\

    It wont show me a progress report in my SMART window either :\
    Most likely it's failing to detect the bow string DTM, that will cause the loop to start over again. But err... It detects it perfectly to me. Do you have a laggy computer? Perhaps it tries to detect the DTM too early.

    EDIT: Download the script again, I updated it. You will now see if it fails to detect the DTM

    EDIT2: Please post as much information about it as possible. I'll see what I can do about it tomorrow, as well as improving the loop since it's not so good. G'night
    Last edited by Emaziz; 03-16-2011 at 09:59 PM.

  8. #8
    Join Date
    Feb 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [10:39:05 PM] Time to spin!
    [10:39:13 PM] Failed to find vDTM_String
    [10:39:14 PM] Walking to middle floor/wheel

  9. #9
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Works fine from what I see :] Thanks again so much :]

  10. #10
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by ofc View Post
    [10:39:05 PM] Time to spin!
    [10:39:13 PM] Failed to find vDTM_String
    [10:39:14 PM] Walking to middle floor/wheel
    DTM finding suddenly failed. Removed it and used BMP finding instead, works like a charm! Also added failsafes so it won't perform unwanted tasks. (Walking to bank when still having flax, walking to wheel when not having flax, etc.)

  11. #11
    Join Date
    Feb 2011
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    first 20 minutes I forgot I had smart off so didn't do anything but worked good for the rest.

    Progress Report:

  12. #12
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by ofc View Post
    first 20 minutes I forgot I had smart off so didn't do anything but worked good for the rest.

    Progress Report:
    Great to hear! Thanks for proggy

  13. #13
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    made about a mil in my sleep last night :P thanks again heh

  14. #14
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by grim1685 View Post
    made about a mil in my sleep last night :P thanks again heh
    Wow nice

    You probably shouldn't run it at night thought. If script was to mess up you could be running around for 6 hours doing nothing. That's risky :\

  15. #15
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I ran it last night and it was fine, and i don't really care if my crafting levels get reset, I just needed them at first for lunar spells :P

    But I'll try to refrain from doing so, and btw to everyone on Villavu, try to keep this script as much of a secret as possible, don't leak to other sites because other sites can cause more and more bots to make Bow Strings in which making the price go down :\ Thanks

  16. #16
    Join Date
    Jun 2008
    Posts
    57
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It sometimes has trouble banking when there's players standing in front of the booth. Once it right clicks, it shows use bank in the first line then the player's names. The script then tries to click on the players' names.

  17. #17
    Join Date
    Sep 2008
    Posts
    352
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you should try adding more randomness in the script to make it seem more human like

    EDIT: BTW same thing that happened to wand2658 happened to me and in thing you put flax spinned --> its flax spun ^^ lol
    Last edited by William; 03-18-2011 at 02:50 AM.

  18. #18
    Join Date
    Mar 2007
    Posts
    378
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Added the Players[X].Pin := ' '; in declare players. And you need to modify script on line 110 to this

    while(not(R_BankScreen or R_PinScreen)) do

    So it is compatible with banking. Credits to smurg
    Last edited by newb cheater; 03-18-2011 at 07:44 AM.

  19. #19
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    All you have to do for flax spinning is add something to DeclarePlayers. Just add Players[X].Pin := '1234'; where 1234 is in between ' 's, and X is the player number.

  20. #20
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    All you have to do for flax spinning is add something to DeclarePlayers. Just add Players[X].Pin := '1234'; where 1234 is in between ' 's, and X is the player number.
    newb cheater was requesting some assistance, so I browsed over the script real quick.

    It should actually be just Pin := '1234'; because it's already in the 'while Players[0] do' loop.

    Then line 109 needs to be changed to include 'or R_PinScreen' because it will never reach the pin procedure because it exits if it doesn't find the bankscreen in a set amount of time.
    I'm back

  21. #21
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Bank procedures in SRL have pin functionality. Unless you use a custom function, then you need to add it.

  22. #22
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I don't use PIN so I haven't thought of it.
    I'll fix it after class.

    I'm aware of the banking issue when many players are in front of the bank, I hoped Timer's R_ChooseOptionSpecial (or something like that) would fix it, if not I'll make my own function.

    I know it's supposed to be "Spun", but my fingers always write "spinned" instead
    Will fix it


    German class is so boring

    EDIT: A question: Are anyone interested in support for multiple players?
    Last edited by Emaziz; 03-18-2011 at 09:21 AM.

  23. #23
    Join Date
    Mar 2007
    Posts
    378
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Would support and love more randomness tho

    Will give u a good proggie

  24. #24
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    493
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Very well. By request (x2) I've now added anti-ban. You're welcome to give ideas to improve it. (procedure AntiBan)

  25. #25
    Join Date
    Mar 2007
    Posts
    378
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Very nice and neat work

    *-*- Teh Flax Spinner v1.00 ~ By Emaziz -*-*
    * Running for: 2 Hours, 57 Minutes and 27 Seconds
    * Experience: 49560
    * Exp/hour: 16757
    * Flax spun: 3304
    *Flax spun/hour: 1117

    Still running. Just a suggestion;

    While spinning the flax, and almost to finish, is it possible to mix up walking the movement from spin wheel to bank to make it look less botty.

    Make it randomly choose 2 paths;

    1. While flaxing, hover mouse to bottom left corner of smart and right click on stairs to go up the stairs. So it instantly goes up once finished spinning. (instead of walking near stairs and the right click to go up)

    2. Just as current

    For the banking part, the character likes to land itself near the booths but outside the bank on the other side of the wall.

    Hope you don't think i'm complaining, just some suggestions and feedback to reduce suspicion.
    Last edited by newb cheater; 03-18-2011 at 02:50 PM.

Page 1 of 5 123 ... 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
  •