SRL Archive - SRL Bugs

Animation.scar Issues.


'Toxin

2011-12-11 11:12:28

So I know that this was written a while ago, however there is a function called PixelShiftMulti which is trying to be used by another function Marpis created, called IsMoving. I am trying to use the IsMoving boolean to identify when the character is mining the rock, so it waits till character is not moving. Anyway, this is the error :

[Error] C:\Simba\Includes\SRL/SRL/core/animation.scar(18:10): Duplicate identifier 'PIXELSHIFTMULTI' at line 17 Compiling failed.

marpis

2011-12-11 11:35:55

From: XxX Toxin XxX
So I know that this was written a while ago, however there is a function called PixelShiftMulti which is trying to be used by another function Marpis created, called IsMoving. I am trying to use the IsMoving boolean to identify when the character is mining the rock, so it waits till character is not moving. Anyway, this is the error :

[Error] C:\Simba\Includes\SRL/SRL/core/animation.scar(18:10): Duplicate identifier 'PIXELSHIFTMULTI' at line 17 Compiling failed.


Post your code please. :)

This will wait and check for randoms until the character is still, if the character did start moving at all in the first 3 seconds:

if WaitFunc( @IsMoving, 10, 3000) then
while IsMoving do
FindNormalRandoms;

'Toxin

2011-12-11 11:42:50

From: marpis
Post your code please. :)

This will wait and check for randoms until the character is still, if the character did start moving at all in the first 3 seconds:

if WaitFunc( @IsMoving, 10, 3000) then
while IsMoving do
FindNormalRandoms;


Okay, well… I used your fix and it does what I wanted it to do. Maybe my code was messing it up or something, however it's fixed now. Thanks Marpis.

Nava2

2011-12-11 14:14:12

I think you probably were including animation.scar twice. :)

'Toxin

2011-12-12 14:59:01

From: Nava2
I think you probably were including animation.scar twice. :)


That wasn't it. But I'll make sure that doesn't happen in the future, lol.

Coh3n

2011-12-12 17:33:41

From: XxX Toxin XxX
That wasn't it. But I'll make sure that doesn't happen in the future, lol.
Did you include it in your script? Because it's also included in SRL.scar, so if you did it would cause a duplicate identifier.

'Toxin

2011-12-13 00:06:29

From: Coh3n
Did you include it in your script? Because it's also included in SRL.scar, so if you did it would cause a duplicate identifier.


That definitely did it ;) hehe. Thanks Coh3n.