Results 1 to 5 of 5

Thread: [Help] Working on a Roat Pkz bot for killing Donator NPC's

  1. #1
    Join Date
    Nov 2015
    Location
    Glasgow, Scotland
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default [Help] Working on a Roat Pkz bot for killing Donator NPC's

    Hi there, my name is Kieran and I have 0% knowledge of Simba.

    I currently do software development(Very low level) at college and am working towards learning Java. I know that Simba uses Pascal but I still want to learn it. I am currently spending my time browsing the forums and watching tutorials ect so that I can figure this out.

    -- UPDATED 12.00PM 9/11/15 GMT --

    Ok, so since last night I've picked up a lot, well I would say so atleast, currently the Bot is a stage where it can ;

    1. Click Food
    2. Click Restores (also drops the vial) [I'm using super restore(1) because it's spawn server so having (1) makes it slightly easier
    3. Spawn food if there isn't any in inv
    4. Spawn restores if there isn't any in inv
    5. When it starts it checks if the inventory is open and if not it opens it

    So. What do I need help with now you may ask? I have no idea how to do the looting function, there is a lot of items the NPC drops so i don't really want to do it with DTM's, but if this is the only way then i guess that's fine. Again, any suggestions are great












    [ Original post .. ]

    Currently I am stuck with the [ if FindColorTolerance(x, y, color, X, Y, X2, Y2, Tol) I am struggling to work out what the X2 and Y2 are.

    But aside that, if anyone knows how I should go about scripting this then that would be great. I am currently just trying to plan it out as there is quite a lot of planning needed. The area in which the NPC's are is spawnable so to keep it simple im only going to use Super Restores (1) and rocktails (::food) so that there is no other dose's ect. I know that I'm going to need to work out what NPC it's killing and also how it's going to loot items and what items it has to loot. but aside from knowning this i have no idea how to do this.




    Any help would be great. As in just any links to tutorials that might help, any tips that you found useful when you just started learning this or anything in general haha also, if you have time for 1 Million questions then add me on skype Kieran.Ps.

    Thanks a lot, and I hope someone replies haha, apologies for it being long.
    Last edited by Kieran x Dzr; 11-09-2015 at 12:04 PM.

  2. #2
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Welcome, Kieran

    The X2 and Y2 parameters would be the XY coordinates of the bottom right corner of the box you are searching colors within.



    The findColorTolerance will return true if it finds your color and tolerance inside that box.

    The tutorials you need will depend on this private server - is it OSRS-like or RS3-like?

  3. #3
    Join Date
    Nov 2015
    Location
    Glasgow, Scotland
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    That makes sense now! Thanks a lot I seem pretty stupid now i guess haha. that's really simple.

    It is a 317 server, so like oldschool.


    Also, i've noticed a lot of people puting like {$I SRL/SRL.simba}, could anyone please explain why they're doing this and essentially what this is.


    (I forgot to mention above I have a bit of experience in visual basic so I don't know if this has now became a bad thing as I have no idea about {$I SRL/SRL.simba} haha. )

    Thanks a lot
    Last edited by Kieran x Dzr; 11-08-2015 at 10:24 PM.

  4. #4
    Join Date
    Dec 2015
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    "{$I SRL-OSR/srl.simba}"
    Includes the SRL functions.
    ex. "MMouse"

  5. #5
    Join Date
    Dec 2010
    Posts
    483
    Mentioned
    30 Post(s)
    Quoted
    328 Post(s)

    Default

    Its an import/include. Its the equivalent of "import" in Java, "using" in C#, "#include" in C++.

    Visual Basic, to my limited knowledge (this is back in Highschool), does not have includes in this sense. Perhaps this was changed with VB.NET.

    Truth be told, your best bet is to repress the fact you know VB. VB is full of weird and frankly horrendous standards.

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
  •