Results 1 to 9 of 9

Thread: SoulSplit Cow Killer (First Script Ever)

  1. #1
    Join Date
    Jan 2012
    Location
    Classified
    Posts
    157
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default SoulSplit Cow Killer (First Script Ever)

    This is my very first script and is VERY basic. Most of what I learned is from Yohojo's scripting videos. You should try to get on a world with less people then set up your camera like this (tilt down and face towards the red lined area of the fence) to get decent results:


    I will probably not be updating this script anytime soon, sorry


    Attachment 15774
    Last edited by Kerk; 05-07-2012 at 11:52 PM.
    There is no 'Ctrl' button on 's computer. is always in control.

  2. #2
    Join Date
    Dec 2011
    Posts
    183
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i was gonna make a script like urs , was gonna make it search for hp bars and check for bitmap uptext. havent gotten around it yet.

  3. #3
    Join Date
    Apr 2012
    Location
    Brampton
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    34 line script .. nice
    Simba Code:
    if FindColorSpiralTolerance(x, y, 10031, 265, 12, 765, 330, 5) or
         FindColorSpiralTolerance(x, y, 10031, 265, 12, 765, 330, 5) or
         FindColorSpiralTolerance(x, y, 10031, 265, 12, 765, 330, 5) Then
      Begin
    Why did you do this 3 times??


    Simba Code:
    MoveMouse (x, y);
    wait (50);
    ClickMouse(x, y, 1);
    ReleaseMouse (x, y, 1);
    in order to release the mouse button you must first 'hold' it .. Instead of doing it this way you could use the Mouse(x, y, ?) function with the '?' being either True for left click or False for right click

  4. #4
    Join Date
    Jan 2012
    Location
    Classified
    Posts
    157
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by fletcher18 View Post
    34 line script .. nice
    Simba Code:
    if FindColorSpiralTolerance(x, y, 10031, 265, 12, 765, 330, 5) or
         FindColorSpiralTolerance(x, y, 10031, 265, 12, 765, 330, 5) or
         FindColorSpiralTolerance(x, y, 10031, 265, 12, 765, 330, 5) Then
      Begin
    Why did you do this 3 times??
    Oops, I didn't mean to do that... I will find some different colors soon.


    Quote Originally Posted by zluo View Post
    i was gonna make a script like urs , was gonna make it search for hp bars and check for bitmap uptext. havent gotten around it yet.
    I was going to do the same exact thing! But at the moment my scripting skills are minimal. Hopefully once I've learned more I will be able to do that.

    *Idea we should work together, PM me if interested.
    Last edited by Kerk; 05-09-2012 at 08:40 PM.
    There is no 'Ctrl' button on 's computer. is always in control.

  5. #5
    Join Date
    Apr 2012
    Location
    Brampton
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if your gonna look for more than 1 colour you can use FindObjEx ..
    http://docs.villavu.com/srl-5/object.html

  6. #6
    Join Date
    Feb 2012
    Posts
    107
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    Hey, is there any way for the script to determine if you're still in combat. I'm like you who has just started coding for rsps'.

    I also made a combat script and did it like you have. "Wait(70000); "

    So I'm just wondering if theres a way to tell if you finished killing the monster.

  7. #7
    Join Date
    Dec 2011
    Location
    -bash
    Posts
    515
    Mentioned
    0 Post(s)
    Quoted
    27 Post(s)

    Default

    Quote Originally Posted by spin3x View Post
    Hey, is there any way for the script to determine if you're still in combat. I'm like you who has just started coding for rsps'.

    I also made a combat script and did it like you have. "Wait(70000); "

    So I'm just wondering if theres a way to tell if you finished killing the monster.
    First off, this is the wrong place to ask this. You have to ask it in scripting help section.

    To answer your question, you can call a function called
    Simba Code:
    srl_infight
    This function basically checks for you char's hp bar and if it finds it, then you are in a fight else you are not

  8. #8
    Join Date
    Feb 2012
    Posts
    107
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    Chig I know this is the wrong place to ask, but I was asking the community, I was asking op if he knew.

    Thanks fot your help

  9. #9
    Join Date
    Dec 2011
    Posts
    183
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Chig View Post
    First off, this is the wrong place to ask this. You have to ask it in scripting help section.

    To answer your question, you can call a function called
    Simba Code:
    srl_infight
    This function basically checks for you char's hp bar and if it finds it, then you are in a fight else you are not
    are you sure srl_infight actually works in a private server like soulsplit? and could you tell me the destination this function is in simba?

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
  •