Log in

View Full Version : SRL 4 Beta Error...



yanix
08-21-2007, 12:05 PM
Ok so all scripts that is for srl 4 dosent work for me i get this all the time

Line 33: [Error] (16140:1): Duplicate identifier 'x' in script

all the time the x thing i dont know why....

lindstrom
08-21-2007, 12:23 PM
same happends to me...

WT-Fakawi
08-21-2007, 12:25 PM
add

var
x,y:integer;


to scripts that complain :)

Markus
08-21-2007, 01:05 PM
add

var
x,y:integer;


to scripts that complain :)

I'm pretty sure that doesn't work with SRL 3.81.

Guys, you gotta download the SRL 4 beta in order to use SRL 4 scripts.

yanix
08-21-2007, 01:11 PM
add

var
x,y:integer;


to scripts that complain :)

ok im running ur [SRL 4] Gobbiez! 0.60 (http://www.villavu.com/forum/showthread.php?t=15712) and i still get this

Line 33: [Error] (16140:1): Duplicate identifier 'x' in script

and when i put in this ....

var
x, y:integer;
CastleFloor, NewDoor, Doors, RockColor, TheBone, NewBones, OldBones, Bone1,
Bone2, Bone3, Bone4, Bone5, Tellies, BeerMask, DaggerMask, BoneMask, HideMask,
ShieldMask, EmptyBeerMask, Bones, Goblins, Hides, Shields, Daggers, Beers,
GoblinAttempts, GoblinTimeOut, HGA, LeftCorner, RightCorner, BitMap,
BonesText, BeerText, CoinsText, GoodClick, BadClick: integer;

its same thing Line 33: [Error] (16140:1): Duplicate identifier 'x' in script

so plz help

Markus
08-21-2007, 01:17 PM
Download SRL 4

yanix
08-21-2007, 02:57 PM
Download SRL 4

WTF U THINK I HAVE ?!?!?!?

EDIT: Welcome to the SRL forums... SRL 4 BETA is out!...

if u dont understand sarcasm I HAVE SRL 4 BETA!

WT-Fakawi
08-21-2007, 04:28 PM
WTF U THINK I HAVE ?!?!?!?

EDIT: Welcome to the SRL forums... SRL 4 BETA is out!...

if u dont understand sarcasm I HAVE SRL 4 BETA!

I dont think you tone of voice is appropriate. Please lower your tone.

Tails111
08-21-2007, 04:34 PM
I dont think you tone of voice is appropriate. Please lower your tone.

AHAHAH, voices.

Anyways, until SRL 4(delete it) and re-install, you probably put it in the wrong folder and it is still reading the old SRL.

And "yelling" doesn't ask for help any better when you read things.

[Off-Topic] Fakawi, how do you pronounce your name? and Does SRL-Stats update instantly or every half hour or what?[/Off-Topic]

Markus
08-21-2007, 04:40 PM
WTF U THINK I HAVE ?!?!?!?


Program Proof;
{.include srl/srl.scar}
begin
cleardebug;
writeln('You have SRL '+srlversionnumber);
if(srlversionnumber <> '4.00') then
writeln('T'+'r'+chr(41+80)+chr(-195+227)+#105+'n'+#115+chr(116)+chr(152-55)+#108+'l'+'i'+
#110+chr(155-52)+chr(37-5)+chr(83)+'R'+chr(315-239)+' '+'4'+chr(244-198)+chr(48)+' '+'a'+
chr(283-180)+chr(97)+chr(253-148)+chr(110)+','+chr(141-109)+chr(244-147)+'s'+#32+'I'+
#39+chr(-110+219)+' '+'s'+'u'+'r'+chr(53+48)+chr(128-96)+#121+chr(-32+143)+'u'+chr(-9+41)+'s'+'c'+'r'+chr(101)+
'w'+'e'+#100+chr(32)+'s'+chr(-63+174)+chr(-138+247)+chr(-12+113)+chr(57+62)+'h'+'e'+chr(83+31)+chr(101))
else
writeln(#65+'r'+#101+' '+chr(138-17)+chr(287-176)+'u'+chr(32)+chr(115)+chr(117)+
chr(89+25)+'e'+chr(86-54)+'y'+chr(300-189)+chr(117)+chr(-168+200)+'i'+#110+chr(115)+
chr(113+3)+chr(-106+203)+chr(108)+chr(310-202)+chr(16+85)+chr(57+43)+#32+chr(83)+'R'+
chr(205-129)+#32+chr(-105+204)+#111+chr(49+65)+chr(226-112)+#101+chr(99)+chr(-94+210)+
#108+chr(43+78)+chr(-101+164)+chr(32)+#73+chr(64-32)+chr(100)+#111+chr(218-108)+#116+
chr(32)+chr(116)+'h'+chr(-57+162)+chr(327-217)+chr(238-131)+chr(-23+55)+chr(18+97)+chr(234-123)+
chr(44)+' '+chr(308-187)+chr(66+45)+chr(106+11)+chr(-62+94)+'h'+#97+#118+chr(-11+112)+chr(32)+
#97+#110+#32+'o'+#108+chr(62+38)+chr(-162+194)+#118+'e'+'r'+'s'+chr(302-197)+'o'+'n.');
end.


Please post the output of this nice lil scrpt here.

yanix
08-21-2007, 05:13 PM
Program Proof;
{.include srl/srl.scar}
begin
cleardebug;
writeln('You have SRL '+srlversionnumber);
if(srlversionnumber <> '4.00') then
writeln('T'+'r'+chr(41+80)+chr(-195+227)+#105+'n'+#115+chr(116)+chr(152-55)+#108+'l'+'i'+
#110+chr(155-52)+chr(37-5)+chr(83)+'R'+chr(315-239)+' '+'4'+chr(244-198)+chr(48)+' '+'a'+
chr(283-180)+chr(97)+chr(253-148)+chr(110)+','+chr(141-109)+chr(244-147)+'s'+#32+'I'+
#39+chr(-110+219)+' '+'s'+'u'+'r'+chr(53+48)+chr(128-96)+#121+chr(-32+143)+'u'+chr(-9+41)+'s'+'c'+'r'+chr(101)+
'w'+'e'+#100+chr(32)+'s'+chr(-63+174)+chr(-138+247)+chr(-12+113)+chr(57+62)+'h'+'e'+chr(83+31)+chr(101))
else
writeln(#65+'r'+#101+' '+chr(138-17)+chr(287-176)+'u'+chr(32)+chr(115)+chr(117)+
chr(89+25)+'e'+chr(86-54)+'y'+chr(300-189)+chr(117)+chr(-168+200)+'i'+#110+chr(115)+
chr(113+3)+chr(-106+203)+chr(108)+chr(310-202)+chr(16+85)+chr(57+43)+#32+chr(83)+'R'+
chr(205-129)+#32+chr(-105+204)+#111+chr(49+65)+chr(226-112)+#101+chr(99)+chr(-94+210)+
#108+chr(43+78)+chr(-101+164)+chr(32)+#73+chr(64-32)+chr(100)+#111+chr(218-108)+#116+
chr(32)+chr(116)+'h'+chr(-57+162)+chr(327-217)+chr(238-131)+chr(-23+55)+chr(18+97)+chr(234-123)+
chr(44)+' '+chr(308-187)+chr(66+45)+chr(106+11)+chr(-62+94)+'h'+#97+#118+chr(-11+112)+chr(32)+
#97+#110+#32+'o'+#108+chr(62+38)+chr(-162+194)+#118+'e'+'r'+'s'+chr(302-197)+'o'+'n.');
end.


Please post the output of this nice lil scrpt here.

i ran it and

You have SRL 4.00
Are you sure you installed SRL correctly? I dont think so, you have an old version.
Successfully executed

umh u have srl 4 but Are you sure you installed SRL correctly? I dont think so, you have an old version. what is this?

Tails111
08-21-2007, 05:52 PM
What that is saying is you do HAVE SRL 4 you just didn't put in the right place... unless Markus screwed up his script :P.

Markus
08-21-2007, 05:56 PM
Wait, lemme check my script again.
Hmm, same message here.
Replace <> with = and it works :p

So you got SRL 4.00, and it compiles.
Try redownloading the script and maybe it works :)
Else you might need to redownload SRL.

yanix
08-21-2007, 06:38 PM
Wait, lemme check my script again.
Hmm, same message here.
Replace <> with = and it works :p

So you got SRL 4.00, and it compiles.
Try redownloading the script and maybe it works :)
Else you might need to redownload SRL.

ok so the script looks like this now

Program Proof;
{.include srl/srl.scar}
begin
cleardebug;
writeln('You have SRL '+srlversionnumber);
if(srlversionnumber = '4.00') then
writeln('T'+'r'+chr(41+80)+chr(-195+227)+#105+'n'+#115+chr(116)+chr(152-55)+#108+'l'+'i'+
#110+chr(155-52)+chr(37-5)+chr(83)+'R'+chr(315-239)+' '+'4'+chr(244-198)+chr(48)+' '+'a'+
chr(283-180)+chr(97)+chr(253-148)+chr(110)+','+chr(141-109)+chr(244-147)+'s'+#32+'I'+
#39+chr(-110+219)+' '+'s'+'u'+'r'+chr(53+48)+chr(128-96)+#121+chr(-32+143)+'u'+chr(-9+41)+'s'+'c'+'r'+chr(101)+
'w'+'e'+#100+chr(32)+'s'+chr(-63+174)+chr(-138+247)+chr(-12+113)+chr(57+62)+'h'+'e'+chr(83+31)+chr(101))
else
writeln(#65+'r'+#101+' '+chr(138-17)+chr(287-176)+'u'+chr(32)+chr(115)+chr(117)+
chr(89+25)+'e'+chr(86-54)+'y'+chr(300-189)+chr(117)+chr(-168+200)+'i'+#110+chr(115)+
chr(113+3)+chr(-106+203)+chr(108)+chr(310-202)+chr(16+85)+chr(57+43)+#32+chr(83)+'R'+
chr(205-129)+#32+chr(-105+204)+#111+chr(49+65)+chr(226-112)+#101+chr(99)+chr(-94+210)+
#108+chr(43+78)+chr(-101+164)+chr(32)+#73+chr(64-32)+chr(100)+#111+chr(218-108)+#116+
chr(32)+chr(116)+'h'+chr(-57+162)+chr(327-217)+chr(238-131)+chr(-23+55)+chr(18+97)+chr(234-123)+
chr(44)+' '+chr(308-187)+chr(66+45)+chr(106+11)+chr(-62+94)+'h'+#97+#118+chr(-11+112)+chr(32)+
#97+#110+#32+'o'+#108+chr(62+38)+chr(-162+194)+#118+'e'+'r'+'s'+chr(302-197)+'o'+'n.');
end.

but i get this message?

You have SRL 4.00
Try installing SRL 4.0 again, as I'm sure you screwed somewhere
Successfully executed

You have SRL 4.00-->Try installing SRL 4.0 again,....????