SRL Archive - SRL Bugs

LampSkill bug


Shatterhand

2012-02-27 16:13:11

Hey everyone!
I have a problem with the randoms system. I set up lampskill for ranged xp, but the script chose mining xp after solving teleport random.
Players[0].LampSkill := 4;
I am not sure if this correct, I found the numbers somewhere in the includes. Forgot where. Someone could help me? :)

tehq

2012-02-27 16:19:57

Try this
 LampSkill := SKILL_RANGE; 

Coh3n

2012-02-27 17:15:47

That only works if you're using the new randoms system. If you're not using it, do this:

LampSkill := 'range';

Shatterhand

2012-02-28 16:16:10

From: Coh3n
That only works if you're using the new randoms system. If you're not using it, do this:

LampSkill := 'range';


Alright, thanks.
By the way it would be amazing, if there were examples at every functions in the srl simba files. :)

Coh3n

2012-02-28 17:13:56

From: hunt3rx3
Alright, thanks.
By the way it would be amazing, if there were examples at every functions in the srl simba files. :)
There is supposed to be, but some people were lazy when they added documentation. If you pointed out which functions don't have examples, I'd be happy to add them for you.