Page 4 of 24 FirstFirst ... 2345614 ... LastLast
Results 76 to 100 of 583

Thread: Smurg's ChinHunter

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

    Default

    I noticed that error just after a SRL update, checking the paintsmart.simba file it seems the procedure ClearRSCanvas no longer exists, I'm not sure which is the correct one to replace it but I just used Smart_ClearCanvas; for the time being. Seems to work okay for me.

  2. #77
    Join Date
    Jan 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [Error] (400:3): Unknown identifier 'ClearRSCanvas' at line 399
    Compiling failed.
    [Error] (400:41): Invalid number of parameters at line 399
    Compiling failed.

    I did wat u said willy and this happened

  3. #78
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    [Error] (400:3): Unknown identifier 'ClearRSCanvas' at line 399
    Compiling failed.
    [Error] (400:41): Invalid number of parameters at line 399
    Compiling failed.

    I did wat u said willy and this happened


    That is a new update, srl changed it to clearrscavasarea. I think smurg have to update that.
    Oh Hai Dar

  4. #79
    Join Date
    Jan 2012
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There is no ClearRSCanvasArea, the nearest thing in the paintsmart.simba include is Smart_ClearCanvasArea, is that what its meant to be changed to?

    And monkey8192, using Smart_ClearCanvas requires no parameters, I assume you left the contents of the parentheses, just change the entire ClearRSCanvas line so its:

    Smart_ClearCanvas;
    Edit: Just checked the SRL updates, they state the following:

    ClearRSCanvas has been removed, use SMART_ClearCanvas instead.
    So as I said before, change the old line ClearRSCanvas(blahblah); to Smart_ClearCanvas;
    Last edited by WillyJenkins; 01-12-2012 at 06:52 PM.

  5. #80
    Join Date
    Jan 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you guys can't figure these simple problems out then there is
    no home for the anti leech coming our way. Even so, use the search
    button so you can actually learn and not just leech.

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

    Default

    I'm on vacation atm, but I may be able to install simba on this laptop and just change out the clear canvas stuff so the upload compiles (getting to everything else when i get back).
    I'm back

  7. #82
    Join Date
    Dec 2011
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes please bro, its not doing it right :P

  8. #83
    Join Date
    Jan 2011
    Posts
    335
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    EDIT: don't bother with the clearcanvas part just have it listed as an anti-leech lol.


    I didn't really have time to read over the script yet but I have one question and some suggestions.

    Question:
    Does it only run 3 boxes currently or was it just because of some lag from too many bots open that it didnt keep them all up?

    Tips:
    If question is true or for some other reason only 3 boxes worked try having it save the mouse co-ordinates on start-up of bot just make the player setup the traps hismelf since he already has too it seems.

    or even input the exact co-ordinates manually that the traps should be set at and keep having the player move back to the middle of the traps and compas north/zoomed out etc...
    Last edited by vashanddou; 01-13-2012 at 05:01 PM.
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly.

  9. #84
    Join Date
    Jan 2012
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @vashanddou: Have you noticed which traps the bot finds first, its meant to check fallen traps first (least colours), then closed traps and finally open traps (most colours).

    I noticed that the colours changed slightly and the traps were no longer sorted correctly, this meant that the fallen traps often disappeared because they weren't checked and interacted with fast enough.

    If you notice thats the case just try changing the Color_Trap const to a relatively light colour on the fallen trap, might take a few goes but if that's your problem it should fix it. After doing it I've had it running almost 4 hours solid and its still got all 5 traps, although mine isn't lagging from excessive cpu usage.

  10. #85
    Join Date
    Jan 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Do you plan on putting the dismantling code back in? If not a good suggestion is to make laying traps that fell a higher priority because as of now it goes to other boxes first leading to the fallen traps disappearing.
    Last edited by parker yo; 01-13-2012 at 08:35 PM.

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

    Default

    Nice, thanks for this script! It works great and I'm learning from seeing your methods.

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

    Default

    Ya, I can leave the canvas error in for now as my leech protection haha.

    But anyways, I plan to do some updates when I get back:
    - Make area smaller in which we look for traps
    - Possibly pick the trap color on the fly
    - Try to dismantle the failed traps and replace before it falls
    - Get a rough grid of how the traps are laid out, so it can relay them for breaks.
    - etc
    I'm back

  13. #88
    Join Date
    Jan 2011
    Posts
    335
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    @WillyJenkins, alright i'll test that now see how well it goes my CPU usage is down a lot.
    gonna read over the script a bit more in the morning see how it runs tonight.

    @smurg hopefully with a grid it'll be easier to detect if a trap is no longer there, and be able to place a trap down.
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly.

  14. #89
    Join Date
    Dec 2011
    Location
    Belgium
    Posts
    623
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    nice exp/h

    Made by P1ng

  15. #90
    Join Date
    Jan 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you should update the bot so it can dismantle box, and fix the bot, so the bot doesn't check the other players boxes. (:?
    Last edited by zaorak; 01-14-2012 at 03:01 PM.

  16. #91
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    it seems to do 'ok' when it needs to dismantle the box traps, it works maybe like 25% of the time if that

    it does very well when laying traps and when it does actually dismantle the traps it works well too

    what I'm noticing is it only handles 1 box, lets say there are 3 down.. at the beginning of the script it'll choose 1 box to dismantle and the other 2 it'll ignore everytime they catch a creature

    pretty good though, impressive script

    edit/

    so far it works well with two box traps, very well! I think I'll just use 2 for now, it's responding very quick
    Last edited by grats; 01-14-2012 at 07:46 PM.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  17. #92
    Join Date
    Jan 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Maybe im doing something wrong? I just open the script with simba -> and then run it. But can't choose any settings or something, anyone can help me here?

  18. #93
    Join Date
    Nov 2011
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Highlights line 117 and states:
    Chin Slot: 0
    Error: Exception: "" is an invalid integer at line 117
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
    Can someone rather than calling me a leech or tell me read a tutorial, either give me the quick fix, or point me toward the right direction?? I simply asking for a link so i can read how to fix this specific problem, thank you.
    Last edited by Mink; 01-15-2012 at 06:42 AM.

  19. #94
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Mink View Post
    ClearRSCanvas(SMART_Canvas.canvas);
    its highlighting that and fails compiling, i read 3 pages of the OP and no replies about this. is there a fix someone can help me with? please dont say read a couple tutorials, because i hav and just want some help...
    It's the leach protection. If you can't figure out how to fix that, you aren't going to be able to fix later versions.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  20. #95
    Join Date
    Nov 2011
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    think i fixed it, now im getting this and it runs and identifies boxes, but wont setup more than 1, and if it doesnt catch something then it goes back to listing this continuously:
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0
    Total Colors: -1
    Total Arrays: -1
    Chin Slot: 0

  21. #96
    Join Date
    Nov 2011
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    figured it all out, running great with 3 traps even able to manage multiple ppl passing by and attempting to mess with it, very impressive.

  22. #97
    Join Date
    Dec 2011
    Posts
    496
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    sup guys, got it working, working great, if it lasts longer than an hour i'll post the proggy!
    Tried adding my own antiban, but it didnt work out for me :P wrote the antiban but couldn't find the right place to put it!! :/

  23. #98
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by momotron View Post
    sup guys, got it working, working great, if it lasts longer than an hour i'll post the proggy!
    Tried adding my own antiban, but it didnt work out for me :P wrote the antiban but couldn't find the right place to put it!! :/
    put it in the mainloop (near end of the script) and set minimum time wait between each antiban

  24. #99
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    The amount of leechers in this thread is making me sick.

  25. #100
    Join Date
    Jan 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Fix the compiling errors [done on purpose; complete leach prevention] [Not Yet Added].
    Download my include and place it in (/Includes/SI/).
    Run the script with Debug mode on.

    nowhere do i see an include download nore do i see a (includes/si/) in the script

Page 4 of 24 FirstFirst ... 2345614 ... 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
  •