SRL Archive - OSR Help

*sigh* New update, some problems?


Brandon

2011-03-06 16:24:52

Type————Line——-File——————-Problem/Message

Compiling Error—336—-AntiRandoms.scar—-UnknownIdentifier 'SetDTMName'


That… just started happening when both simba and scar said there is an update :S and I pressed update…


P.S. Also why does simba not have this command?:

SendInterSCARMessage('Channel1', s);

& can anyone point me to a tut on setting up reflection in SCAR… cuz simba doesn't have that command so i gotta transfer my script to scar :(

YoHoJo

2011-03-06 16:27:35

Kind of lost on what you are saying?
Update your SIMBA/SRL/Reflection and then restart Simba and try again.

Also, it would help a lot if you told us what script you were running.

MylesMadness

2011-03-06 16:32:05

From: ggzz
Type————Line——-File——————-Problem/Message

Compiling Error—336—-AntiRandoms.scar—-UnknownIdentifier 'SetDTMName'


That… just started happening when both simba and scar said there is an update :S and I pressed update…


P.S. Also why does simba not have this command?:

SendInterSCARMessage('Channel1', s);

& can anyone point me to a tut on setting up reflection in SCAR… cuz simba doesn't have that command so i gotta transfer my script to scar :(
SRL-Reflection does not work on scar. But RRL does

Brandon

2011-03-06 17:08:17

:S I did all that.. I removed all includes, reinstalled them all it still says:

unknown Identifier SetDTMName..

the script looks like this:


Program New;
{.include Srl/srl.scar}

begin
writeln('test');
end.

Thats it.. thats the entire script… I took out everything because it kept giving me that error in antiban.scar

Even reinstalling didnt work.. Iunno if its a new update or something to the antiban but it just doesnt work :S

And the last and final problem is that in simba it doesnt have the command/function:
SendInterSCARMessage('Channel1', s);

which scar has…

Harry

2011-03-06 17:19:51

Simba has an auto updater for SRL+Reflection in the extensions menu.

Brandon

2011-03-06 17:28:52

From: Harry
Simba has an auto updater for SRL+Reflection in the extensions menu.


Its already checked… i even manually did it.. that simba command doesnt exist..

As for scar.. I reinstalled it 3 times now, removed every folder manually + through add/remove programs, restarted the computer, reinstalled scar, went to file, include manager, installed pheonix, installed srl open dev.. it still has that antirandom problem..

Harry

2011-03-06 18:46:57

I am pretty sure Reflection doesn't work on SCAR. May I ask why you're trying to use it on such?

Brandon

2011-03-06 19:16:13

Cuz I was trying to run this in simba and it didnt work.. I was eventually putting this in my herblore maker which has reflection already..
but since this doesnt work in simba, I decided Ill just put this in scar with the herblore reflection script :(

So simba cant run this, and scar cant do reflection.. basically im screwed right?


program ISMTutorial1;
{.include SRL/SRL/Misc/Smart.scar}
{.include SRL/SRL.scar}

var
s : string;

begin
repeat
if IsFKeyDown(12) then
begin
s := ReadLn('What do you wish to type?');
if s <> '' then
begin
SendInterSCARMessage('Channel1', s);
Writeln('Sending message to type ''' + s + '''.');
end;
while IsFKeyDown(12) do
wait(1);
end;
until(not IsFKeyDown(11));
end.

Train

2011-03-06 20:13:11

SCAR can access reflection data.
https://github.com/RRLibrary/RRL