SRL Archive - News and General

Remote Control doesn't work.


m0u53m4t

2007-03-05 12:13:10

This code doesn't work:

{.include SRL\SRL.scar}
{.include SRL\SRL\Core\RC.scar}

begin
SetupSrl
end.

It throws this error:

Failed when compiling
Line 9: [Error] (17672:1): Duplicate identifier 'RCMaster' in script C:\Program Files\Useful Programs\SCAR 2.03\includes\SRL\SRL\Core\RC.scar

Yakman

2007-03-05 12:21:55

RC.scar is already included
when you try to use it like that, there are two of every identfyer

just add {.include SRL\SRL.scar} on its own and it will work

Ransom

2007-03-05 15:40:35

any of the includes you see in the CORE section of the manual are BUILT IN to the main SRL. anything else is extra. One exception though is the amount.scar include. it pre-includes the trade.scar as well

c0de

2007-03-05 20:12:46

Hence the name 'Core'. ;)

m0u53m4t

2007-03-06 14:17:02

Thanks. I'll have another go at implimenting tonight.