Results 1 to 5 of 5

Thread: LampSkill bug

  1. #1
    Join Date
    Jan 2012
    Posts
    1,104
    Mentioned
    18 Post(s)
    Quoted
    211 Post(s)

    Default LampSkill bug

    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.
    Simba Code:
    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?

  2. #2
    Join Date
    Nov 2011
    Location
    MA
    Posts
    545
    Mentioned
    3 Post(s)
    Quoted
    10 Post(s)

    Default

    Try this
    Simba Code:
    LampSkill := SKILL_RANGE;

  3. #3
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    That only works if you're using the new randoms system. If you're not using it, do this:
    Simba Code:
    LampSkill := 'range';

  4. #4
    Join Date
    Jan 2012
    Posts
    1,104
    Mentioned
    18 Post(s)
    Quoted
    211 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    That only works if you're using the new randoms system. If you're not using it, do this:
    Simba Code:
    LampSkill := 'range';
    Alright, thanks.
    By the way it would be amazing, if there were examples at every functions in the srl simba files.

  5. #5
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by hunt3rx3 View Post
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •