Results 1 to 25 of 25

Thread: I dont know the correct place to post this

  1. #1
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default I dont know the correct place to post this

    So im trying to setup Simba for the first time and i copy and pasted the script on the setup page just like the video says and i get this error continously
    [Error] C:\Simba\Includes\SRL\SRL\core\globals.simba(751:1 3): Unknown identifier 'GetColorToleranceSpeed' at line 750
    Compiling failed.

  2. #2
    Join Date
    Feb 2012
    Location
    Discord
    Posts
    3,114
    Mentioned
    37 Post(s)
    Quoted
    538 Post(s)

    Default

    Make sure you have updated simba fully
    check out: http://villavu.com/forum/showthread.php?t=75086

  3. #3
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    It is revision 992...

  4. #4
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

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

    Default

    Quote Originally Posted by SlimShadyy96 View Post
    So im trying to setup Simba for the first time and i copy and pasted the script on the setup page just like the video says and i get this error continously
    [Error] C:\Simba\Includes\SRL\SRL\core\globals.simba(751:1 3): Unknown identifier 'GetColorToleranceSpeed' at line 750
    Compiling failed.
    Did u call

    {$i SRL/srl.simba}

    after program ..; ?

    Creds to DannyRS for this wonderful sig!

  6. #6
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    Did u call

    {$i SRL/srl.simba}

    after program ..; ?
    im not sure i know what you're talking about... What is it exactly that i have to do? :S

  7. #7
    Join Date
    Sep 2012
    Location
    Australia.
    Posts
    839
    Mentioned
    16 Post(s)
    Quoted
    225 Post(s)

    Default

    At the top of your script:

    Simba Code:
    program YourScriptNameHere;

    {$I SRL/SRL.Simba} //Make sure you have this.

    procedure Whatever;
    begin
      Dosomething;
      Wait(123456);
    end;

    begin
      SetupSRL; //YOU NEED THIS ASWELL
      Whatever; //Not your actual proc name.
    end.

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

    Default

    Quote Originally Posted by SlimShadyy96 View Post
    im not sure i know what you're talking about... What is it exactly that i have to do? :S
    so your script must look like this


    Simba Code:
    program new;
    {$i SRL/srl.simba}   // Don't forget this part!!!

    begin
    SetupSRL;
    end.

    EDIT: looks like Chris beat me too it

    Creds to DannyRS for this wonderful sig!

  9. #9
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    so your script must look like this


    Simba Code:
    program new;
    {$i SRL/srl.simba}   // Don't forget this part!!!

    begin
    SetupSRL;
    end.

    EDIT: looks like Chris beat me too it
    Quote Originally Posted by Chris! View Post
    At the top of your script:

    Simba Code:
    program YourScriptNameHere;

    {$I SRL/SRL.Simba} //Make sure you have this.

    procedure Whatever;
    begin
      Dosomething;
      Wait(123456);
    end;

    begin
      SetupSRL; //YOU NEED THIS ASWELL
      Whatever; //Not your actual proc name.
    end.
    Guys I don't think you understand! I'm setting up Simba for the first time, and I was following the vid tutorial, and I was trying to see if everything worked properly like the tutorial said, so i copy and pasted the code
    program new;
    {$DEFINE SMART}
    {$i srl/srl.simba}

    begin
    ClearDebug();
    SetupSRL();
    end.

    and i kept getting that error. Im not trying to run any script, or make one, just trying to figure out how to work this bot.

  10. #10
    Join Date
    Sep 2012
    Location
    Australia.
    Posts
    839
    Mentioned
    16 Post(s)
    Quoted
    225 Post(s)

    Default

    Quote Originally Posted by SlimShadyy96 View Post
    Guys I don't think you understand! I'm setting up Simba for the first time, and I was following the vid tutorial, and I was trying to see if everything worked properly like the tutorial said, so i copy and pasted the code
    program new;
    {$DEFINE SMART}
    {$i srl/srl.simba}

    begin
    ClearDebug();
    SetupSRL();
    end.

    and i kept getting that error. Im not trying to run any script, or make one, just trying to figure out how to work this bot.
    SRL and Simba fully up-to-date? Try force-updating by going to Tools -> Update.

  11. #11
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Chris! View Post
    SRL and Simba fully up-to-date? Try force-updating by going to Tools -> Update.
    Did that, still nothing. I've Installed the client twice already. Also along with the previous error, I keep getting this error.

    [Error] C:\Simba\Includes\SRL/SRL/core/globals.simba(662:13): Unknown identifier 'GetColorToleranceSpeed' at line 661
    Compiling failed.

  12. #12
    Join Date
    Sep 2012
    Location
    Australia.
    Posts
    839
    Mentioned
    16 Post(s)
    Quoted
    225 Post(s)

    Default

    Line 661 in my globals.simba file isn't anything to do with 'GetColorToleranceSpeed'. The only instance of that in that file is at line 750.

    Open up globals.simba and tell me what's at line 650 -> 670. Be sure to use [simba=true][/simba] tags so we can see the lines.

  13. #13
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Chris! View Post
    Line 661 in my globals.simba file isn't anything to do with 'GetColorToleranceSpeed'. The only instance of that in that file is at line 750.

    Open up globals.simba and tell me what's at line 650 -> 670. Be sure to use [simba=true][/simba] tags so we can see the lines.
    I have no idea where to look for that. Sorry but im a little tired, Im going to bed. I'll try to get this figured out tmrw...hopefully.

  14. #14
    Join Date
    Sep 2012
    Location
    Australia.
    Posts
    839
    Mentioned
    16 Post(s)
    Quoted
    225 Post(s)

    Default

    C:\Simba\Includes\SRL/SRL/core/globals.simba.

    It tells you the directory of the file that's throwing an error.

    Good luck tomorrow!

  15. #15
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    ok i have no idea what im doing with this goddamn bot. Simple my ass

  16. #16
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    ok heres what it says in my globals files from lines 650-670
    HP_BAR_WIDTH = 57;
    HP_BAR_HEIGHT = 7;
    HP_BAR_COLOR1 = 9728;//Green
    HP_BAR_COLOR2 = 132923;//Red

    (*
    GetFightBarTPA
    ~~~~~~~~~~~~~~

    .. code-block:: pascal

    Function GetFightBarTPA(SearchArea: TBox): TPointArray;

    Used in various fighting functions, including srl_InFight

    .. note::

    by Narcle

    Example:

  17. #17
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    and this is lines 747 to 772
    Function FoundBar: Boolean;
    var
    tempCTS, X, Y: Integer;
    begin
    tempCTS:= GetColorToleranceSpeed;
    SetColorToleranceSpeed(1);

    Result := FindBitmapToleranceIn(SRL_NAVBAR_BITMAP, X, Y, 0, 0, 764, 50, 10);

    SetColorToleranceSpeed(tempCTS);
    end;

    (*
    SRL_DisableNavBar
    ~~~~~~~~~~~~~~~~~

    .. code-block:: pascal

    Procedure SRL_DisableNavBar;

    Offsets the client by 50 pixels when logged in, 22 when not logged in. This is to ignore the navigation bar at the top.

    .. note::

    by: Brandon.

    Example:

  18. #18
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    also i get this when i start simba
    Loading extension C:\Simba\Extensions\sps.sex
    Extension Enabled
    Error in Simba extension (SPS Updater): Could not call proc

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

    Default

    The GetcolorTOleranceSPeed error,
    That function should be located in C:\Simba\Includes\SRL\SRL\core\simba.simba
    (the function is on line 236, just in case)
    Simba Code:
    function GetColorToleranceSpeed : integer;
    begin;
      result := GetToleranceSpeed;
    end;

    Do u have that file?
    And are you running simba as Administrator?

    Creds to DannyRS for this wonderful sig!

  20. #20
    Join Date
    Jan 2013
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    The GetcolorTOleranceSPeed error,
    That function should be located in C:\Simba\Includes\SRL\SRL\core\simba.simba
    (the function is on line 236, just in case)
    Simba Code:
    function GetColorToleranceSpeed : integer;
    begin;
      result := GetToleranceSpeed;
    end;

    Do u have that file?
    And are you running simba as Administrator?
    Honestly i have no idea what's up with this. Im so confused..

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

    Default

    This is Fixed

    Creds to DannyRS for this wonderful sig!

  22. #22
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    This is Fixed
    What was the problem?

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

    Default

    Quote Originally Posted by BMWxi View Post
    What was the problem?
    His SRL files were all messed up, I replaced it.

    simba.simba had nothing in it..

    Creds to DannyRS for this wonderful sig!

  24. #24
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    His SRL files were all messed up, I replaced it.

    simba.simba had nothing in it..
    Force updating or a reinstall should have fixed that, oh well.

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

    Default

    Quote Originally Posted by BMWxi View Post
    Force updating or a reinstall should have fixed that, oh well.
    He tried force-updating, yeah he should have re-installed it. maybe didn't do it correctly the first time.

    Creds to DannyRS for this wonderful sig!

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
  •