Results 1 to 12 of 12

Thread: First script: Wired357's Range Guild.scar

  1. #1
    Join Date
    Nov 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default First script: Wired357's Range Guild.scar

    This is my first script. It was inspired by raf bomber's rangeguild.scar

    This script plays the Ranging Guild mini-game. Make sure that you can see the Judge and at least a couple targets and the #3 inv slot is empty.

    I tried to include AntiRandoms but I get the following error when it is enabled:

    Range in line 1087 in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar
    I don't know how to correct this error and welcome any suggestions on how to fix it.

    I tried to include some fail safes. ex: Exiting if script cannot find the judge or the targets. This does not seem to work.

    I also tried to implement some AntiBan but the script seems to get off track when it is enabled. I am not exactly sure of the proper usage.

    Other than that , I have tested it for 10 loops while attended and it works fine. (got enough tickets for 100 rune arrows while testing)

    A progress report is also in the works.

    I tried to keep with the formatting standards.

    Please Let me know how I can improve this script.

  2. #2
    Join Date
    Jul 2007
    Location
    's-Gravenpolder, Holland
    Posts
    204
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Pretty nice for a first script
    I haven't tested it though , cause i'm not a member at the moment.

    However, i would like you a little with your script

    While scanning over your script, i've seen this a few times:

    SCAR Code:
    Mouse(x,y,1,1, True);
              wait(500+random(500));
              //ChooseOption('Talk');

    I'm guessing you wanted to make the script right click the judge, and choose Talk, but it didn't work. This is easily fixed. You need to change the True to a False.
    True = Left click
    False = Right click
    It works then

    You also asked (in the script) if the Username and Password part was really neccesary. Well, it is.
    The script uses it to log the player in, but you didn't implent that yet.

    I thought i'll help you out a little, so i fixed a few little things, and added some more (Like ActivateClient, to activate RS)
    Also antirandoms and antiban should work now.

    Good luck!

    ~Sir

  3. #3
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    quite horrible

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  4. #4
    Join Date
    Jul 2007
    Location
    's-Gravenpolder, Holland
    Posts
    204
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ah come on Jukka , its his first script
    He has allot to learn, ok, but atleast he tried unlike allot of other people on here

  5. #5
    Join Date
    Nov 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by sirpali View Post
    Pretty nice for a first script

    I'm guessing you wanted to make the script right click the judge, and choose Talk, but it didn't work. This is easily fixed. You need to change the True to a False.
    True = Left click
    False = Right click
    It works then

    You also asked (in the script) if the Username and Password part was really neccesary. Well, it is.
    The script uses it to log the player in, but you didn't implent that yet.

    I thought i'll help you out a little, so i fixed a few little things, and added some more (Like ActivateClient, to activate RS)
    Also antirandoms and antiban should work now.

    Good luck!

    ~Sir

    Thank you for you help and input

    Yes, I had it set up to right click on the judge and choose talk, but I thought it would be more human to just click him. At least that's how I played the mini-game normally. I left it in there just in case. Is it better (SCAR-wise/human-wise) to use the right click/choose vs the direct left click?

    The LoopsToDo const was in the works, but it was almost 0300 and I was tired.

    I have tested your revision and still get the same error for AntiRandoms and a similar error for LoginPlayer. Since I am testing this while attended, I have disabled them for now.

    Again, thank you for your help



    Quote Originally Posted by JuKKa View Post
    quite horrible
    I partially agree JuKKa.

    Perhaps you could deign to descend for a moment from your vertiginous Ivory Tower and bestow upon me a token gift of your vast and limitless wisdom?

    Personally, I don't think it's all that bad for a first script considering I've had two strokes in the last year, and I have virtually no modern programming experience (unless you want to count a wee bit of COBOL and FORTRAN many years ago). The script meets 90% of my design criteria and it works (which is more than I can say for a lot of the others posted in the first script forum).

  6. #6
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by JuKKa View Post
    quite horrible
    for some-one with 6 posts? i think not.
    Did someone say GDK?

  7. #7
    Join Date
    Nov 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    dude it is very much like my script just looks like u have split the main procedure up into smaller procedures and then put the loop at teh end.

  8. #8
    Join Date
    Nov 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by raf bomber View Post
    dude it is very much like my script just looks like u have split the main procedure up into smaller procedures and then put the loop at teh end.

    I'm sorry you think that raf. To err on the side of caution and courtesy, I have removed to download link.

    The sections i think you are referring to are essentially the same in nearly every script I have seen that uses them. e.g. Declare Players, AntiRandoms, and AntiBan. If there are any other items that you feel are your own unique creations, please let me know exactly what they are and I will refrain from using them in the future.

    I will re-write the entire script just for you to ensure that it uses nothing you have created.

  9. #9
    Join Date
    Nov 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thank you
    just ask in future and i will be happy to lend procedures or even work with u to make a better one. i am always open to new suggestions or ideas.

  10. #10
    Join Date
    Nov 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by raf bomber View Post
    thank you
    just ask in future and i will be happy to lend procedures or even work with u to make a better one. i am always open to new suggestions or ideas.
    Swing and a miss.


    raf, you missed this part of my last post:

    If there are any other items that you feel are your own unique creations, please let me know exactly what they are and I will refrain from using them in the future.

    I will re-write the entire script just for you to ensure that it uses nothing you have created.
    Present evidence for your claims. Nothing that I used from your script went uncredited. I guess you overlooked that too.

    I am not scrapping my script because I happened to use a few commands that were similar to ones you used.

  11. #11
    Join Date
    Dec 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Where exactly is it? Yes, i'm a noob.

  12. #12
    Join Date
    Aug 2007
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just what i need for my pure, tyvm

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. My First Script - Does range guild mini game
    By raf bomber in forum First Scripts
    Replies: 10
    Last Post: 03-22-2009, 12:20 PM
  2. Range guild
    By Lorax in forum RS3 Outdated / Broken Scripts
    Replies: 69
    Last Post: 01-23-2009, 01:45 AM
  3. Plz need simple 200 line script, auto range guild shooter
    By dx019 in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 06-16-2007, 04:30 AM
  4. Range Guild
    By ~PuRePoWeR~ in forum RS3 Outdated / Broken Scripts
    Replies: 1
    Last Post: 03-01-2007, 11:58 PM

Posting Permissions

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