Results 1 to 3 of 3

Thread: 'SRL_NAVBAR_INGAME_X' - Script Loading The Wrong SmartGraphics?...

  1. #1
    Join Date
    Jan 2012
    Location
    Texas
    Posts
    241
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Angry 'SRL_NAVBAR_INGAME_X' - Script Loading The Wrong SmartGraphics?...

    My script is loading the wrong SmartGraphics.simba.

    I want it to use the OSR one, but it's to be using the EOC one.
    Simba Code:
    {$DEFINE SMART8}
    {$I SRL-OSR/SRl.simba}
    {$I ObjectDTM\ObjDTMInclude.simba}
    PHP Code:
    [ErrorE:\Simba\Includes\SRL\SRL\Misc\SmartGraphics.Simba(88:45): Unknown identifier 'SRL_NAVBAR_INGAME_X' at line 87
    Compiling failed

    As seen below:
    598eff1edc3290e3f8d665197b12e765.png

    SRL_NAVBAR_INGAME_X doesn't exist in the osr's SmartGraphics.Simba, but that's besides the point. As you can see it's referencing the wrong SmartGraphics, and I'm wondering why.

    Thanks in advance for any help,
    Spiker

    P.S. I'm sure I'm missing something obvious. Been up for 26 hours.
    Coming together is a beginning.
    Keeping together is progress.
    Working together is success.

  2. #2
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    {$I ObjectDTM\ObjDTMInclude.simba}

    Doesn't work for SRL-OSR

    Creds to DannyRS for this wonderful sig!

  3. #3
    Join Date
    Jan 2012
    Location
    Texas
    Posts
    241
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Sjoe View Post
    {$I ObjectDTM\ObjDTMInclude.simba}

    Doesn't work for SRL-OSR
    I just changed the path inside ObjDTMInclude.simba to point to the OSR ones.

    Like so:
    Simba Code:
    {$IFDEF SMART}
      {$IFDEF SIMBAMAJOR980}
        {$include_once SRL-OSR\SRL\Misc\paintsmart.Simba}
      {$ELSE}
        {$include_once SRL-OSR\SRL\misc\SmartGraphics.Simba}
      {$ENDIF}
    {$ENDIF}

    So messing around with it now.

    EDIT: I've found another solution anyways, but thank you for your help Sjoe.
    Last edited by Spiker; 04-28-2013 at 02:53 PM.
    Coming together is a beginning.
    Keeping together is progress.
    Working together is success.

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
  •