I get this error:
I even re-installed simba and srl.Code:[Error] C:\Program Files\Simba\Includes\SRL/SRL/core/simba.simba(248:10): Duplicate identifier 'REPLACE' at line 247
I get this error:
I even re-installed simba and srl.Code:[Error] C:\Program Files\Simba\Includes\SRL/SRL/core/simba.simba(248:10): Duplicate identifier 'REPLACE' at line 247
It works just fine for me
Have you edited simba.simba? I got some errors in simba.simba yesterday (Not same error though), but my problem was because the font folder was missing (I have no idea where that went lol)No Reflection update
No SRL update / Plugins update available!
Compiled succesfully in 827 ms.
SRL Compiled in 187 msec
Successfully executed.
Where is your simba folder located?
Last edited by Zyt3x; 10-01-2010 at 11:57 AM.
Nvm I figured out that this happened becouse I included another include before srl.
Why must srl be included first?
SRL doesn't have to be included as first if you don't use SRL's functions in the file you want to include before SRL.![]()
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
BUMP!
I figured out that the problem is that SRL replaces Replace() function with different parameters than it has in simba.
That makes me unable to use replace In my own include when I wan't to use SRL too. AND I WANT ALSO WANT TO BE ABLE TO USE IT WITHOUT SRL.
so no matter if I do:
orCode:{.include LobbyInclude.simba} {.include srl/srl.scar}With the first one I get this error:Code:{.include srl/srl.scar} {.include LobbyInclude.simba}
and with the second one I get this:Code:[Error] C:\Program Files\Simba\Includes\SRL/SRL/core/simba.simba(248:10): Duplicate identifier 'REPLACE' at line 247 Compiling failed.
Code:[Error] C:\Program Files\Simba\Includes\LobbyInclude.simba(316:103): Invalid number of parameters at line 315 Compiling failed.
Here is my suggestion: Don't have SRL replace functions with different parameters. Rather make it like Replace2 then.
Last edited by weequ; 10-03-2010 at 10:08 AM.
Can't you just give the replace in your include a different name? Or are you trying to use Simba's original replace in your include?
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
In that case you can't use it with SRL because we're encumbered with the SCAR compatibility.
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
The simba.simba is there to provide functions similar to SCAR for SRL. Which is the easier way to add Simba compatiblity to SRL. This is what we did initially.
That does mean you can't use Simba's original functions in SRL since simba.simba overrides these to provide SCAR compatibility. (And SRL needs this)
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
There are currently 1 users browsing this thread. (0 members and 1 guests)