Go Back   Scar Scripts Forums > SRL - Scar Resource Library > SRL Discussion

Reply
 
LinkBack Thread Tools Search this Thread Display Modes

I need help with a Power Fisher HELP ASAP PLEASE
  #1 (permalink)  
Old 11-15-2008, 12:28 AM
Tokani Tokani is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Total 'Thanks' Received by This User = 0 For This Post / 0 Total
Default I need help with a Power Fisher HELP ASAP PLEASE

[Runtime Error] : Out Of Range in line 30 in script C:\Program Files\SCAR 3.15\Scripts\PowerFisher.scar

That is my problem and I shall post the script in separate posts since it is well over 10,000 characters.. Lol ((43k approx.))

program PowerFisher;
{.include SRL/SRL.scar}

const
PlayerLoads = 2; //Loads to do per player before switching
MaxLoadTime = 15; //Maximum time for 1 load, in minutes
RunDirec = 'S'; //Direction to run if attacked
CompassDirection = 'N'; //Direction for compass. Try to find one where the player will be side on when it fishes, at all locations you are using.
CheckForSymbol = True; //Calibrate around fishing symbol? not reccommended on crowded places, like karamja
DropRandomItems = False; //Would you like to drop the items you get from random events, such as gems and coins?
MSpeed = 35; //Mouse speed?

Version = '0.02'; //Script Version
YourSRLID = ''; //Your SRL User ID
YourSRLPass = ''; //Your SRL User Pass

{-----------------------------------------------

Declare Players

------------------------------------------------}

procedure DeclarePlayers;
begin
HowManyPlayers := 0;
CurrentPlayer := 0;
// HowManyBooleans := 1;
NumberOfPlayers(HowManyPlayers);

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := 'xzin';
Players[0].Rand := 'Cage';
Players[0].Strings[0] := 'Auto'; //Auto, Net, Bait, Lure, Harpoon or Cage
Players[0].Booleans[0]:= False; //Check for auto retaliate off once?
Players[0].Active := True;


((Part one though I don't think I will need to post anymore of it since the problem is with line 30 which is: Players[0].Name := ''; ))
Reply With Quote

  #2 (permalink)  
Old 11-15-2008, 12:37 AM
Tokani Tokani is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Total 'Thanks' Received by This User = 0 For This Post / 0 Total
Default

Please someone read this over and offer any assistance you may have, I am sort of in a rush because I want to have this working ASAP Thank you for your time and please don't think I am trying to be pushy or impatient in any way, I am just trying to get things done with this before I have to go since I won't be able to be on much this weekend.
Reply With Quote

  #3 (permalink)  
Old 11-15-2008, 01:38 AM
Tokani Tokani is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Total 'Thanks' Received by This User = 0 For This Post / 0 Total
Default

I am beginning to think something is missing from the script.. If that is the case can someone fill me in on what I might be missing? Perhaps the lines are off a bit?
Reply With Quote

  #4 (permalink)  
Old 11-22-2008, 03:55 AM
We run U.S. We run U.S. is offline
Member
 
Join Date: Aug 2008
Location: cardboard box on new york streets.
Posts: 85
Total 'Thanks' Received by This User = 0 For This Post / 0 Total
Default

Quote:
Originally Posted by Tokani View Post
[Runtime Error] : Out Of Range in line 30 in script C:\Program Files\SCAR 3.15\Scripts\PowerFisher.scar

That is my problem and I shall post the script in separate posts since it is well over 10,000 characters.. Lol ((43k approx.))

program PowerFisher;
{.include SRL/SRL.scar}

const
PlayerLoads = 2; //Loads to do per player before switching
MaxLoadTime = 15; //Maximum time for 1 load, in minutes
RunDirec = 'S'; //Direction to run if attacked
CompassDirection = 'N'; //Direction for compass. Try to find one where the player will be side on when it fishes, at all locations you are using.
CheckForSymbol = True; //Calibrate around fishing symbol? not reccommended on crowded places, like karamja
DropRandomItems = False; //Would you like to drop the items you get from random events, such as gems and coins?
MSpeed = 35; //Mouse speed?

Version = '0.02'; //Script Version
YourSRLID = ''; //Your SRL User ID
YourSRLPass = ''; //Your SRL User Pass

{-----------------------------------------------

Declare Players

------------------------------------------------}

procedure DeclarePlayers;
begin
HowManyPlayers := 0;
CurrentPlayer := 0;
// HowManyBooleans := 1;
NumberOfPlayers(HowManyPlayers);

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := 'xzin';
Players[0].Rand := 'Cage';
Players[0].Strings[0] := 'Auto'; //Auto, Net, Bait, Lure, Harpoon or Cage
Players[0].Booleans[0]:= False; //Check for auto retaliate off once?
Players[0].Active := True;


((Part one though I don't think I will need to post anymore of it since the problem is with line 30 which is: Players[0].Name := ''; ))


Ok to my understanding, Line 30 is>
Quote:
Players[0].Name := '';
If so, you most likely typed in the user name/ password in the wrong place.

Quote:
Players[0].Name := '';

THE " are most likely in the color pink

What you need to do is to type your user name/password inside those parenthesis like so
Quote:
Players[0].Name := 'user name';
same thing goes for your password.

Another thing you can do, is update your includes... but the procedure ^ should solve your problem.

Another thing is to update your lingin.scar is updated.

Hope i helped


EDIT:and if all that doesn't work, then try to uninstall and reinstall... trust me it works sometimes!

we run u.s.~
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump



All times are GMT. The time now is 12:14 PM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0