Page 3 of 4 FirstFirst 1234 LastLast
Results 51 to 75 of 89

Thread: [2007 RS] M1D1 Powerminer [Failsafes/accuracy]

  1. #51
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by earthline View Post
    Yes if you mean this line

    ehm should i change the variables iron ore etc.?
    Depends where you're doing it. Every spot will have slightly different colours/rocks and every time you load the game the colours are slightly different, so I'd say to get your own colours every time, and also the DTM.

    Any log for the stopping? Does it say anything?

  2. #52
    Join Date
    Feb 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Man im so tired this colour bots sucks so hard sry but i've only a html/javascript knowledge.. so i found this scripts was very happy and learned this awesome stuff 9 hours on piece for getting mining 70-80 for some gold to buy pking mats but the bot just klick on the Dwarf pants and not on the iron rock i got the right colour he mine 1-2 rocks then hes searching for someone else and thats not all he also klicks the rocks in inventory its just exhausting I will wait for the wbot/ powerbot etc. thats unnecessary -.-

  3. #53
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by earthline View Post
    Man im so tired this colour bots sucks so hard sry but i've only a html/javascript knowledge.. so i found this scripts was very happy and learned this awesome stuff 9 hours on piece for getting mining 70-80 for some gold to buy pking mats but the bot just klick on the Dwarf pants and not on the iron rock i got the right colour he mine 1-2 rocks then hes searching for someone else and thats not all he also klicks the rocks in inventory its just exhausting I will wait for the wbot/ powerbot etc. thats unnecessary -.-
    Same, I used to script for RB and that was a lot easier, but I'm learning pascal (this is basically my first own script). Also, remember that this is currently an unofficial include for rs 2007 and thus everything will only improve over time.

    And finally, as I said, the script is not that good considering I wrote it, so don't give up on colour bots yet!

  4. #54
    Join Date
    Feb 2013
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default

    Why not add an antiban? Feel free to use mine?

    Simba Code:
    procedure Antiban;
    begin
      case random(200) of
      1: P07_HoverSkill('fishing', RandomRange(1000, 2000));
      2: P07_HoverSkill('random', RandomRange(500, 2000));
      3: P07_MakeCompassDegree(RandomRange(97,107));
      4: P07_MakeCompassDegree(RandomRange(229, 286));
      5: MMouse(random(400), random(300), 0, 0);
      end;
    end;

  5. #55
    Join Date
    Jan 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    how do i set this up for iron ore?

  6. #56
    Join Date
    Apr 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Hey man, I'd really appreciate it if you could help me out here..
    I'm really new to this, finally got everything setup and working and now I'm stuck on this DTM and colour thing.

    Simba Code:
    PBox := IntToBox(240, 158, 285, 198);
    if not P07_InvFull then
    If AveragePixelShift(PBox, 250, 350) < 30 then
    If FindColorSpiralTolerance(x, y, 1384250, P07_MSX1, P07_MSY1, P07_MSX2, P07_MSY2, 3) then
    if (FindColorTolerance(x, y, 1384250, 0, 0, 760, 500, 5)) then
    If P07_FindObjCustom(x, y, ['1384250'], [1384250, 1384250, 1384250], 10) then

    I fiddled around at the top, wasn't really sure what I was doing.. Just used the color codes from the color picker (I think I'm right using those?) and put them in random places it looked like they could go, tested it, repeated and so forth.. Still nothing.

    This DTM also doesn't seem to be working

    Simba Code:
    Ore := DTMFromString('m1gAAAHic42JgYChiZmAoAOJiKC4D4lIorgDiSmaIGltGBgYrIDYHYmMgNgFiB0aIuAsQO0L53rqKDHaqMgzu2vIMFopSYD4DAyOYD8MQMeIAI5EYAQAdngwh');

    I assume that IS for the Iron ore in your inventory not the actual rock? Since it's called "Ore". I'd really appreciate some help with this man, been at it for hours with no avail. Thanks for any and all advice/tips you can give.

  7. #57
    Join Date
    Feb 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Worked really great but when my inv is full, it keeps clicking on rock and doesn't try to drop anything.

  8. #58
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by The Mentor View Post
    Hey man, I'd really appreciate it if you could help me out here..
    I'm really new to this, finally got everything setup and working and now I'm stuck on this DTM and colour thing.

    Simba Code:
    PBox := IntToBox(240, 158, 285, 198);
    if not P07_InvFull then
    If AveragePixelShift(PBox, 250, 350) < 30 then
    If FindColorSpiralTolerance(x, y, [B]1384250[/B], P07_MSX1, P07_MSY1, P07_MSX2, P07_MSY2, 3) then
    if (FindColorTolerance(x, y, [B]1384250[/B], 0, 0, 760, 500, 5)) then
    If P07_FindObjCustom(x, y, ['ine Rock'], [[B]1384250[/B], [B]1384250[/B], [B]1384250[/B]], 10) then

    I fiddled around at the top, wasn't really sure what I was doing.. Just used the color codes from the color picker (I think I'm right using those?) and put them in random places it looked like they could go, tested it, repeated and so forth.. Still nothing.

    This DTM also doesn't seem to be working

    Simba Code:
    Ore := DTMFromString('m1gAAAHic42JgYChiZmAoAOJiKC4D4lIorgDiSmaIGltGBgYrIDYHYmMgNgFiB0aIuAsQO0L53rqKDHaqMgzu2vIMFopSYD4DAyOYD8MQMeIAI5EYAQAdngwh');

    I assume that IS for the Iron ore in your inventory not the actual rock? Since it's called "Ore". I'd really appreciate some help with this man, been at it for hours with no avail. Thanks for any and all advice/tips you can give.
    You had an integer in one part where it should be 'ine Rock'. I also bolded all the parts where you put the colour of the rock. Also, you need to get your own DTM - this is VERY important as the colours change a lot it seems. Follow the guide I posted in this reply below.

    Quote Originally Posted by spreak41 View Post
    Worked really great but when my inv is full, it keeps clicking on rock and doesn't try to drop anything.
    This is definitely because of the different DTM (the colour is different every time you load the game/changes slightly). Follow this guide: http://villavu.com/forum/showthread.php?t=77691 to get your own DTM.

  9. #59
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Updated to 2.2 - the shift detection wasn't working, and now is. No longer will it click away when mining a rock. Also showed a picture of how to set up the DTM for the ore.

  10. #60
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hello, i'm first time using simba and, im just downloaded ur amazing script and he says that error. What i need to do ?
    http://postimage.org/image/puae7sdgd/
    ''Exception in script : Unable to find file 'srl/srl.simba' used from C:\Simba\Scripts\WordMinerV2.2.simba'
    new error : http://postimage.org/image/pvykpt0d9/
    Last edited by uggabugga; 03-02-2013 at 12:58 PM.

  11. #61
    Join Date
    Jan 2012
    Posts
    369
    Mentioned
    6 Post(s)
    Quoted
    91 Post(s)

    Default

    Just took a quick look on your code again to see if you fixed it

    Code:
    if Random(2) = 1 then
    begin
    ClickMouse2(mouse_Right);
    wait(randomRange(200, 300));
    P07_ChooseOptionMulti(['ine']);
    end
    else
    begin
    ClickMouse2(mouse_Left); 
    end;
    repeat
    P07_FindRockBomb;  
    wait(randomRange(100, 150));
    until AveragePixelShift(PBox, 165, 350) < 30;
    noTimes := noTimes +  1;
    end;
    I used to detect Empty Iron Rocks before, but now in my granite miner, because the background is too similar with the empty rocks it is a bit difficult. So I check for granite in inventory to stop the wait and have a timeout of 6.5 seconds just to fight other players mining.

    The AntiRandom Function might still need a little bit of tweeking to work properly, it has failed for me in the desert 2 times ... Will let you know once i get it fixed properly.

    Anyway check out my code here : GraniteMiner Any feedback would be awesome

  12. #62
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by speedster View Post
    Just took a quick look on your code again to see if you fixed it

    Code:
    if Random(2) = 1 then
    begin
    ClickMouse2(mouse_Right);
    wait(randomRange(200, 300));
    P07_ChooseOptionMulti(['ine']);
    end
    else
    begin
    ClickMouse2(mouse_Left); 
    end;
    repeat
    P07_FindRockBomb;  
    wait(randomRange(100, 150));
    until AveragePixelShift(PBox, 165, 350) < 30;
    noTimes := noTimes +  1;
    end;
    I used to detect Empty Iron Rocks before, but now in my granite miner, because the background is too similar with the empty rocks it is a bit difficult. So I check for granite in inventory to stop the wait and have a timeout of 6.5 seconds just to fight other players mining.

    The AntiRandom Function might still need a little bit of tweeking to work properly, it has failed for me in the desert 2 times ... Will let you know once i get it fixed properly.

    Anyway check out my code here : GraniteMiner Any feedback would be awesome
    Same, whatever I seem to do, still seems to mess up sometimes, especially since GetUptext() (or whatever) is not working for me - is it for you?

    Will check your script right now - thanks for all the help!

  13. #63
    Join Date
    Jan 2012
    Posts
    369
    Mentioned
    6 Post(s)
    Quoted
    91 Post(s)

    Default

    Nop , mine doesn't mess up Make sure you the P07_Getuptext scans a wider area : x from whatever to whatever + 80 . it helps.

  14. #64
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Word View Post
    Same, whatever I seem to do, still seems to mess up sometimes, especially since GetUptext() (or whatever) is not working for me - is it for you?

    Will check your script right now - thanks for all the help!
    Checked your script - it looks good. Did you use ACA (looks like the generated function) to find granite rocks? Ah, thanks for that, will try it.

  15. #65
    Join Date
    Jan 2012
    Posts
    369
    Mentioned
    6 Post(s)
    Quoted
    91 Post(s)

    Default

    Nop, That's how finding objects should look like - but I do use ACA to get my colors and saturations

    I had Rick Turpentine Stuck for about 30 minutes, just in time to create a function .

    next time he shows up it would be nice if the script will go through it, fixing one more random. I also fixed exploding rocks in the desert, I have no clue if it will work in every area, but the colors and saturations are about the same.
    Last edited by speedster; 03-03-2013 at 12:31 AM.

  16. #66
    Join Date
    Mar 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Nice work
    But I'm getting truble with P07
    this is the massage " Unable to find file 'P07Include.simba' used from 'C:\Users\Admin\Desktop\WordMinerV2.1.simba'

  17. #67
    Join Date
    Feb 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    I cant seem to find where to edit in the new rock color. I did the DTM for the ore.

  18. #68
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by curtjak View Post
    Nice work
    But I'm getting truble with P07
    this is the massage " Unable to find file 'P07Include.simba' used from 'C:\Users\Admin\Desktop\WordMinerV2.1.simba'
    Have you set up the RS2007 unofficial include?

    Quote Originally Posted by Cwreck View Post
    I cant seem to find where to edit in the new rock color. I did the DTM for the ore.
    It's the number that appears 4 times in the mining function.

  19. #69
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    New update soon, which will hopefully improve detection, and will also include anti-combat (so it runs away when getting attacked, waits, and then comes back).

  20. #70
    Join Date
    Mar 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Here you say ''VERY IMPORTANT: DUE TO THE CHANGE IN COLOURS (BY JAGEX) YOU NEED TO SET UP THE COLOURS/DTM YOURSELF WHEN YOU LOAD THE CLIENT, OTHERWISE THE SCRIPT WILL NOT WORK AT ALL/AS WELL''

    But how do I found out what the colour/DTM is ?

    sincerely yours,

    Warrior1335

  21. #71
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Warrior1335 View Post
    Here you say ''VERY IMPORTANT: DUE TO THE CHANGE IN COLOURS (BY JAGEX) YOU NEED TO SET UP THE COLOURS/DTM YOURSELF WHEN YOU LOAD THE CLIENT, OTHERWISE THE SCRIPT WILL NOT WORK AT ALL/AS WELL''

    But how do I found out what the colour/DTM is ?

    sincerely yours,

    Warrior1335
    There are many guides on the forum. Both of those functions are simple and done using the client.

  22. #72
    Join Date
    Mar 2012
    Location
    Indiana
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Great script man, I love it!!!

    This is really helping me learn simba as well.!
    lukas76 here cooking up another evil plan!

  23. #73
    Join Date
    Mar 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Where can i find the color for tin and copper?

  24. #74
    Join Date
    Jan 2012
    Posts
    369
    Mentioned
    6 Post(s)
    Quoted
    91 Post(s)

    Default

    You will have to pick them yourself if you are talking about the rocks, if items you will have to get them using the DTM Editor.

  25. #75
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by lukas76 View Post
    Great script man, I love it!!!

    This is really helping me learn simba as well.!
    Thank you!

    Quote Originally Posted by pikachu234 View Post
    Where can i find the color for tin and copper?
    Quote Originally Posted by speedster View Post
    You will have to pick them yourself if you are talking about the rocks, if items you will have to get them using the DTM Editor.

Page 3 of 4 FirstFirst 1234 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
  •