Results 1 to 12 of 12

Thread: Hi, Im new in scripting and im not even scrping for rs any1 can help?

  1. #1
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Question Hi, Im new in scripting and im not even scrping for rs any1 can help?

    Im wondering if any1 can explain me how DTMs exactly work can any1 explain me?
    is it mesuring the lenght and color at each point? if it was I think Id get my script to work
    however I have no idea how to use DTMs I ve just heared of it
    and if ur wondering why im not using bitmaps well they just dosent work in my case
    if theres any1 whos willing to help me with it let me know or add me to skype which is> KristenSro
    thnx.

  2. #2
    Join Date
    Sep 2012
    Location
    Australia.
    Posts
    839
    Mentioned
    16 Post(s)
    Quoted
    225 Post(s)

    Default

    There are a few DTM tutorials in the Tutorial for Intermediates section!

    I highly recommend this and this. There are a few more in the section I linked above.

    Good luck.

  3. #3
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Well I dont have any programming exp at all at simba so its like total blank I cant get my DTM finder to work I wonder what am I doing wrong.
    this is what I got so far.

    program new;
    {$Define Smart}
    {$I SRL/SRL.Simba}
    var
    Plus5, x, y: integer;

    begin
    Plus5:= DTMFromString('mbQAAAHicY2VgYLjFCsF3kegWJgaGTiBuB+ JGKL5wdg/DyeO7GC5cOMFw59oJhts3LjPwA/WjY0YsGAwAIWoTYg==');
    SetupSRL;
    FindDTM(Plus5, x, y);
    MMouse(x, y, 0, 0);
    end.

    gives me an error for some reason but Ill look over the tutorial

    thnx for the reply too.

  4. #4
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Anyway the script I wanna do is basicly very robotic and like I said b4 its not for runescape so I wont get banned for using it or anything
    basicly what it is Mmouse, Clickmouse and terminate script if found DTM thats all I need
    it shouldnt take more then 50 lines I wonder if any1 can help me out with it thnx.

  5. #5
    Join Date
    Sep 2007
    Location
    Australia, NSW
    Posts
    934
    Mentioned
    6 Post(s)
    Quoted
    145 Post(s)

    Default

    Quote Originally Posted by kriss1993 View Post
    Anyway the script I wanna do is basicly very robotic and like I said b4 its not for runescape so I wont get banned for using it or anything
    basicly what it is Mmouse, Clickmouse and terminate script if found DTM thats all I need
    it shouldnt take more then 50 lines I wonder if any1 can help me out with it thnx.
    What game is it for? You might be able to use even simpler functions. Have a look here http://docs.villavu.com/simba/script...ouse-functions

    INACTIVE
    How-to: Make S.M.A.R.T. less laggy

    Sell me your Maple Shieldbows (u)! Up to 95gp ea!

    My Scripts:
    Ivy Chopper Ultra [RS3] | Fantastic Fletcher [RS3]
    99 x78 | 99 x10 | 99 x2 | 99 x12


    Use the REPORT tags when posting progress reports to make life easier (:
    [REPORT]Put progress report in here![/REPORT]

    Super Savvy Smither V1.06Cool Classy Cooker V1.02 [EoC]

  6. #6
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Ya been there on the mouse and keyboard part anyway I dont wanna type out the game name here.
    btw if u wanna help me or can help me plz add me to skype which is KristenSro.

  7. #7
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Simba Code:
    FindDTM(Plus5, x, y);

    needs to be something like

    Simba Code:
    if FindDTM(Plus5, X, Y, MSX1, MSY1, MSX2, MSY2) then
    begin
      writeln('Found DTM "plus5"');  
      MMouse(x, y, 0, 0);
    end;

  8. #8
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Seems like the MSX1,MSY1... is for runescape inventory im not using it for runescape like said b4 anyway thnx for trying it didnt work.
    SRL Compiled in 0 msec
    Warning! You passed a wrong xe to a finder function: 764. The client has a width of 596, thus the xe is out of bounds. Setting the value to 595 (w-1) for now.
    Successfully executed.

  9. #9
    Join Date
    Sep 2012
    Location
    Australia.
    Posts
    839
    Mentioned
    16 Post(s)
    Quoted
    225 Post(s)

    Default

    The warning that it's debugging is just occurring because the script is trying to do something outside the bounds of the client, so it just readjusts to the confines of the client window.

    MSX1, MSY1, MSX2, MSY2 are for the main screen of RuneScape. I believe MM is for the mini map (don't rely on me for that information, I don't know them well).

  10. #10
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by kriss1993 View Post
    Seems like the MSX1,MSY1... is for runescape inventory im not using it for runescape like said b4 anyway thnx for trying it didnt work.
    SRL Compiled in 0 msec
    Warning! You passed a wrong xe to a finder function: 764. The client has a width of 596, thus the xe is out of bounds. Setting the value to 595 (w-1) for now.
    Successfully executed.
    Make sure green arrow is dragged to the client

  11. #11
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    Make sure green arrow is dragged to the client
    Green crosshairs, green arrow starts the script

  12. #12
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Ye I did that it didnt work Ill take longer look at it today after I get back home anyway thnx for ur support guys.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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