Log in

View Full Version : Unknown identifier 'x' in Wizzup Ess Miner (SRL 4)



jellybean468
09-14-2007, 12:02 PM
I have SRL 4 and I'm trying to use Wizzup Essence Miner. When the script would not work before I was told to download SRL 4 which I did.

I changed Boolean1 to Booleans[0] and String1 to Strings[0] as told to do but now I get the error:

Unknown identifier 'x'.

Anyone know what I can do?

DO NOT TELL ME TO :google: because I have spent the last 3 hours trying to find help using :google: but it hasn't worked.

EDIT: I have double checked that I have extracted all the SRL 4 files correctly and I have SCAR 3.11.

If there is no way to solve this problem (script is outdated), could someone please post a script that will work after the Varrock (Ess Miner) or Falador (Guild Miner) updates.

JuKKa
09-14-2007, 12:40 PM
add: Var X, Y: Integer;

jellybean468
09-14-2007, 12:41 PM
Thanks I just found that at bottom of SRL BETA thread but now I got another error:

Line 14: [Error] (12858:1): Semicolon (';') expected in script

Here:

14 Const
15 StartPlayer = 0;

What should I do?

merchartist
09-14-2007, 01:00 PM
It might be something to do with the line/lines before that could you post them as well?

jellybean468
09-14-2007, 01:20 PM
Nvm fized that part BUT (another error)

Invalid number of parameters

Begin
MMouse(iX, iY, 0, 0);
Wait(10);
If IsupTextMulti('Talk','bury','alk-to') Then
Begin
Mouse(iX, iY, 0, 0, False);
Result := ChooseOption(iX, iY, 'eleport'); -----> This is where I get the error
If Result Then Exit;
End;
End;

bloodlust 916
10-15-2007, 12:07 AM
im getting unknown identifyer x in line 82 of wizzups ess miner pls help here it is............





line 81 begin
line 82 x := 0;
line 83 y := 0;
line 84 Xmid := 0;
line 85 Xmin := 0;
line 86 Xmax := 0;
line 87 NoMoreYellow := False;
line 88 if (FindColor(x, y, 65535, 10, 25, 511, 334)) and (not (FindColor(x, y, 65280, 220, 130, 290, 165))) then

stupedspam
10-15-2007, 12:32 AM
Try this...
program EssMiner;
{.include SRL/SRL.scar}
{.include SRL/SRL/Skill/Mining.scar}
{.include SRL/SRL/misc/trade.scar}

{

FOR SRL 4.

"Stars, Hide your fires, Let not light see my black and deep desires.
The eye wink at the hand; Yet let that be, Which the eye fears when it
is done to see"
Macbeth - Shakespeare
}
Var X, Y: Integer; //<---Added this


Hope this helps,
~Stupedspam

Smartzkid
10-15-2007, 12:36 AM
Nvm fized that part BUT (another error)

Invalid number of parameters

Begin
MMouse(iX, iY, 0, 0);
Wait(10);
If IsupTextMulti('Talk','bury','alk-to') Then
Begin
Mouse(iX, iY, 0, 0, False);
Result := ChooseOption(iX, iY, 'eleport'); -----> This is where I get the error
If Result Then Exit;
End;
End;

Remove the iX and iY from ChooseOption.

flaice
11-05-2007, 09:00 PM
All the time I fix another error, then new will come up... Could someone fix my script or something?

jelmer gf
03-27-2008, 04:49 PM
where can i ghet wizzups essence miner?

blackhand101
04-02-2008, 04:25 AM
did u guy ever think that wizzup?'s ess miner is outdated? it is not safe to auto with an outdated version! and the way u get wizzup?'s ess miner is become a srl junior member

2pacfan
04-08-2008, 07:05 PM
Line 189: [Error] (13743:4): Unknown identifier 'IsUpTextMulti' in script G:\Documents and Settings\Said\Bureaublad\SRL Rev #10 Essence Miner.scar

Shuttleu
04-08-2008, 10:02 PM
just use this one i fixed it and have been using it for personal use
use scar 3.15 and srl rev#14

~shut

Triniton
04-09-2008, 02:05 PM
Dude Im new here but correct me if im wrong but arnt we only supposed to get it only if you are a junior member?

Richard
04-09-2008, 03:43 PM
Wizzy wont mind, hes currently updating the script as it does not work right now, so and versions will not work, don't try and leech it.

splbooth
04-12-2008, 12:32 AM
Uh, put this back an SRL version, and it runs perfectly... I have to agree with Triniton

EDIT: When I say perfectly, it has a bit of trouble, but sorts itself out... havent tryed it long run. Also, the mouse movement seems anything from human-like, but then I dont know what to expect. Either way, this is a working profitable script... posted on a non jr member section

benjaa
04-30-2008, 08:25 AM
Download New includes
Make sure the script is up to date
Make sure all vars are declared

Tell the creater about the hiccup

Baked0420
05-08-2008, 12:34 AM
does anyone know what to use for these lines, I dont know whta the knew codes are for them, probably because I dont really know 100% what they're doing, I kinda know, but don't wanna mess anything up. Well the lines are:

Function BankStuff: Boolean;

Var
RuneEss, PureEss: Integer;
Begin
If Not BankScreen Then Exit;
RuneEss := BitmapFromString(8, 12, 'z78DA8DCD3112C3200C44D1' +
'2BE1B02B9B1288B9FF91222315149107EFCCAFF4B08037BB5 84F0' +
'E0E6F9143D724EBAC5F79BE0F1BABF7DDCEB25374B3925858 BCC1' +
'3BBC78E82AA1DBB07EBFAAC8DA3D3130BC1B8A191DFD8F8A6 C424' +
'57515D945E1C685D35564973FA23DD4D48ED5ABACDB560092 CED4' +
'BB9DF73F7ACE7D1F');
PureEss := BitmapFromString(11, 10, 'z78DAA5CF490E03211003C' +
'02FB1B56D8E0CCBFF9F1492CC012962B2B5251F4B6E451616 192B' +
'ABC8CEA62CC771F6A120AFA638D39594B213841C342F27151 536A' +
'6994110F214A59DB9D1783032FCE39018E8CCF474BF693434 B48F' +
'9C555B1CBAF98A185050BED0963DE8B8DFA3DF689BEF90E16 70EA' +
'4994F9C65D5D38159B736596763AB5D3A362C5B46B46AF5D4 AE57' +
'BD3837C02891A6');
// FixBank;
**RuneEssenceMined := RuneEssenceMined + CountItemBmpTol(RuneEss, 15);**
**PureEssenceMined := PureEssenceMined + CountItemBmpTol(PureEss, 15);**
ReportVars[1] := ReportVars[1] + 1;
**ReportVars[0] := CountItemBmpTol(RuneEss, 15) + CountItemBmpTol(PureEss, 15);**
**Players[CurrentPlayer].Integers[1] := Players[CurrentPlayer].Integers[1] + CountItemBmpTol(PureEss, 15) + CountItemBmpTol(RuneEss, 15);**
**ClickAllItemsBmpTolWait('All', RuneEss, 15, 1500);**
**ClickAllItemsBmpTolWait('All', PureEss, 15, 1500);**
If EquipPick Then Deposit(1, 28, True)
Else Deposit(2, 28, True);
FreeBitMap(RuneEss);
FreeBitMap(PureEss);
If BankScreen Then CloseBank;
Players[CurrentPlayer].Banked := Players[CurrentPlayer].Banked + 1;
Banks := Banks + 1;
Result := True;
End;

and

Procedure SetupScript;

Begin
ClearDebug;
SmartSetupEx(SmartWorld, False, True);
While Not SmartReady Do Wait(100);
SetTargetDC(SmartGetDC);
SetupSRL;
DeclarePlayers;
RuneShopColor := 4551800; // Temp.
Rcmaster := YourRCMASTER;
RcLoc := 'Bank';
ScriptID := '51';
ClearVars;
SRLID := YourSRLstatsID;
SRLPassword := YourSRLstatsPASS;
CurrentPlayer := StartPlayer;
LoginPlayer;
Wait(1000 + random (1500));
LogOut;
Wait(1000 + random (1500));
LoginPlayer;
Wait(1000 + random (1500));
DoChats;
EquipPick := Players[CurrentPlayer].Booleans[1];
AuburyText := CreateBitmapMaskFromText('isthine', upchars);
**BenMouse := True;**
GetAllLevels;
End;

The lines with errors have **'s around them, and I have no clue what BenMouse does, I never saw it before. If anyone can help though it'd be greatly appreciated.

EDIT: by the way, they're all unknown identifiers

Shuttleu
05-08-2008, 01:54 PM
this script is outdated it will not work dont bother asking about problems
if a mod or someone could close this thread please

~shut

mrpager
05-12-2008, 09:17 PM
what shuttleu says is right, a script is written with a certain runescape, scar and rev update ( maybe theres more to it but this is extent of my knowledge ) so it is usually only safe for the same versions as when the creator wrote the script...the best you can do is get into junior section for scripts and keep everything up to date...

nielsie95
05-14-2008, 11:03 AM
Let's close this. :)