Page 17 of 31 FirstFirst ... 7151617181927 ... LastLast
Results 401 to 425 of 767

Thread: [Unofficial] OldschoolRS07 Include

  1. #401
    Join Date
    Jan 2013
    Posts
    167
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    i just tried to run it also and i got the same error :\

  2. #402
    Join Date
    Jan 2013
    Posts
    167
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    No need to compile it It'll work.
    i just tried to run it and i got the same error

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

    Default

    Quote Originally Posted by Hexless View Post
    i just tried to run it also and i got the same error :\
    I edited my post.
    It's an include, no need to run it.

    Creds to DannyRS for this wonderful sig!

  4. #404
    Join Date
    Jan 2013
    Posts
    167
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    I edited my post.
    It's an include, no need to run it.
    Yes i know but i was using the include in my script and it gave me that error?

  5. #405
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by Hexless View Post
    Yes i know but i was using the include in my script and it gave me that error?
    Put {$I SRL/SRL.Simba} before the include one at the top of your script


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  6. #406
    Join Date
    Jan 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Keep getting this error when attempting to run this include, I'm very new to all of this and I've not yet learned all the basics that I may need to know so please be nice haha! :-(

    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280

    Any fix?

  7. #407
    Join Date
    Jan 2013
    Posts
    167
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    Put {$I SRL/SRL.Simba} before the include one at the top of your script
    TY You're so thanks for making this

  8. #408
    Join Date
    Jan 2012
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Not sure why I keep getting this error.

    Error: Exception: You passed wrong values to a finder function: xs > xe (0,-118). at line 1563
    The following DTMs were not freed: [0, 1, 2, 3, 4, 5, 6]


  9. #409
    Join Date
    Feb 2013
    Posts
    103
    Mentioned
    0 Post(s)
    Quoted
    32 Post(s)

    Default

    Danny can you add P07_IsUpText?

  10. #410
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by Le_don View Post
    Danny can you add P07_IsUpText?
    if P07_IsUpTextMultiCustom(['Text']) then

    Quote Originally Posted by Closure View Post
    Not sure why I keep getting this error.
    Error: Exception: You passed wrong values to a finder function: xs > xe (0,-118). at line 1563
    The following DTMs were not freed: [0, 1, 2, 3, 4, 5, 6]
    That's a script problem


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  11. #411
    Join Date
    Jun 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Was running a powermining script, had this error:

    Error: Exception: Font [P07UpChars] not found. at line 544
    The following DTMs were not freed: [0, 1, 2, 3]

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

    Default

    Quote Originally Posted by kyle5471 View Post
    Was running a powermining script, had this error:

    Error: Exception: Font [P07UpChars] not found. at line 544
    The following DTMs were not freed: [0, 1, 2, 3]
    Install the fonts properly, read OP
    DannyRS explained it well enough.

    Creds to DannyRS for this wonderful sig!

  13. #413
    Join Date
    Feb 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    No matter what color i type it says
    [Error] C:\Users\Hay\Downloads\RS07JetonAF01.simba(17:21): Unknown identifier 'brown' at line 16
    Compiling failed.

  14. #414
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by ymcm View Post
    No matter what color i type it says
    [Error] C:\Users\Hay\Downloads\RS07JetonAF01.simba(17:21): Unknown identifier 'brown' at line 16
    Compiling failed.
    Colors must be integers not strings, or numbers and not words, use the color picker on simba


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  15. #415
    Join Date
    Feb 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    Colors must be integers not strings, or numbers and not words, use the color picker on simba
    Ok thank you that worked
    Do I have to have SMART on?

  16. #416
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by ymcm View Post
    Ok thank you that worked
    Do I have to have SMART on?
    Should work in browser and smart


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  17. #417
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Simba Code:
    (*
    IsMoving
    ~~~~~~~~

    .. code-block:: pascal

        function IsMoving: Boolean;

    Results true if character is moving.

    .. note::

        Author: marpis, edited by Sin
        Last Modified: Nov. 29, 2009/March 3rd, 2013

    Example:

    .. code-block:: pascal

      PlayerMoving := IsMoving;
    *)


    function P07_IsMoving: Boolean;
    begin
      Result := PixelShift(IntToBox(P07_MMCX-30, P07_MMCY-30, P07_MMCX+30, P07_MMCY+30), 500) > 200;
    end;

  18. #418
    Join Date
    Mar 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Hey, I followerd the instructions but when i try to run the script it says 'Exception in Script: Unable to find file 'P07Include .simba' used from 'C:\Simba\Scripts\iStallThiever.simba'

    I have downloaded P07Include and have put it in the includes folder, help?

  19. #419
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by joker1580 View Post
    Hey, I followerd the instructions but when i try to run the script it says 'Exception in Script: Unable to find file 'P07Include .simba' used from 'C:\Simba\Scripts\iStallThiever.simba'

    I have downloaded P07Include and have put it in the includes folder, help?
    Idk how that can be possible, unless you put it in the wrong place? It should only go in the includes folder, not in a folder in that


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  20. #420
    Join Date
    Aug 2012
    Location
    Beaumont, TX, USA
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I've looked all over for the past 3 hours and can't figure out how to fix this issue.. Help please or point me in the right direction. Thank you


    Exception in Script: Unable to find file 'P07Include.Simba' used from 'C:\Simba\Scripts\shit.simba'






    I have the include saved in the appropriate spot. Also I am running this program through WINE if that helps. Thanks.

  21. #421
    Join Date
    Mar 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    Idk how that can be possible, unless you put it in the wrong place? It should only go in the includes folder, not in a folder in that
    Hey, Yeah it seemed weird to me, even though i dont know how to use it but it should of worked, its my fault sorry it was the script that wouldnt work, all other scripts work for me now, sorry about that, thanks for your help though

  22. #422
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by joker1580 View Post
    Hey, Yeah it seemed weird to me, even though i dont know how to use it but it should of worked, its my fault sorry it was the script that wouldnt work, all other scripts work for me now, sorry about that, thanks for your help though
    Ah no worries, glad you got it working,

    @Sin, I'll add that for you when I release the next version to disable the auto updater as we move to SRL-OSR


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  23. #423
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by Le_don View Post
    Danny can you add P07_IsUpText?
    Simba Code:
    function P07_IsUpText(UpText: string): Boolean;
    begin
      Result := (Pos(UpText, P07_GetUpText) > 0);
    end;
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  24. #424
    Join Date
    Mar 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    {$DEFINE SMART8}

    when i put that in start of script for example

    program PowerChop;
    {$DEFINE SMART8}
    {$I SRL/SRL.Simba}
    {$I SRL/SRL/Misc/Debug.Simba}
    {$I P07Include.Simba}

    i get an error ( opens in new tab )


    SmartParams tab*
    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292
    Compiling failed.

    These are lines 289 to 293

    end;

    {$IFDEF SMART8}
    Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '');
    {$ELSE}

    please let me know how to fix. when not in a script and running params to load smart

    program new;{$DEFINE SMART}{$i SRL/SRL.simba}begin SetupSRL();end.

    it opens up the smart client 07 without an issue.

  25. #425
    Join Date
    Dec 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    If you have SMART 8 don't forget to change '{$DEFINE SMART}' on the top of the code to '{$DEFINE SMART8}' otherwise it won't compile

Page 17 of 31 FirstFirst ... 7151617181927 ... LastLast

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
  •