Page 11 of 15 FirstFirst ... 910111213 ... LastLast
Results 251 to 275 of 360

Thread: Object DTMs: A Walking/Positioning System

  1. #251
    Join Date
    May 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i installed the dtm into the program and now i get
    Exception in Script: Unable to find file 'Updater.sei' used from ''
    when i try to run

  2. #252
    Join Date
    Nov 2011
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Code:
    T2DStringArray = Array of TStringArray;
    Complain was
    Code:
    Duplicate identifier 'T2DStringArray' at line 216
    Weird...

  3. #253
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by gooddiubro View Post
    Code:
    T2DStringArray = Array of TStringArray;
    Complain was
    Code:
    Duplicate identifier 'T2DStringArray' at line 216
    Weird...
    Look at earlier posts - I came up with a simple fix.

  4. #254
    Join Date
    Nov 2011
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Did you?
    I did it by, uh, renaming.
    Then I have to declare the type of TDpointArray
    because of
    Code:
    Unknown type 'TDPointArray' at line 692
    It runs, but uh, the code is pretty messy now. Hope I didnt screw up anything.
    Last edited by gooddiubro; 06-05-2012 at 02:32 AM.

  5. #255
    Join Date
    May 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    doesnt work this doesnt att...

  6. #256
    Join Date
    Apr 2012
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    The Include doesn't compile for a number of error's.

    Anyone else getting this?

  7. #257
    Join Date
    Nov 2011
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    What errors?

  8. #258
    Join Date
    May 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    how can i fix this error?

  9. #259
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by ganja for life View Post
    how can i fix this error?
    If you tell us the errors you are getting, we''ll be glad to help

  10. #260
    Join Date
    Apr 2012
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    [Error] (379:53): Unknown identifier 'MMCX' at line 378
    Compiling failed.


    this is when compiling the include

  11. #261
    Join Date
    Mar 2007
    Location
    USA
    Posts
    1,433
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ne lg View Post
    [Error] (379:53): Unknown identifier 'MMCX' at line 378
    Compiling failed.


    this is when compiling the include
    That's just it, its an include, it isn't supposed to compile. SRL won't self-compile either. Try running a script with it included and the line ObjDTM_Setup;
    I'm Silent SPY
    Secret project: 0%
    Need help? Send me a PM

  12. #262
    Join Date
    Apr 2012
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Silent SPY View Post
    That's just it, its an include, it isn't supposed to compile. SRL won't self-compile either. Try running a script with it included and the line ObjDTM_Setup;
    Good fight my intelligence.

    forgot to include ObjDTM_Setup;

  13. #263
    Join Date
    Mar 2007
    Location
    USA
    Posts
    1,433
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ne lg View Post
    Good fight my intelligence.

    forgot to include ObjDTM_Setup;
    Haha, don't worry about it. ObjDTM's can be tricky at first, especially learning how to call them. Check out this thread if you come across something you don't know:
    http://villavu.com/forum/showthread.php?t=72067
    I'm Silent SPY
    Secret project: 0%
    Need help? Send me a PM

  14. #264
    Join Date
    Jun 2012
    Posts
    219
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hi

    I`m trying to run this script to see how it woks so that I can implement this on a looting script, but I keep getting this error when trying to run the script.

    SMART Initialized.
    Loaded: Server 10, Members: True, Signed: True, Super Detail: False.
    Error: Exception: Access violation at line 101
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

    This is the function that generates the error:

    Simba Code:

    Simba Code:
    function IsRealMouseInBox(B : TBox): Boolean;
    var
      P : TPoint;
    begin
      GetRealMousePos(P.X, P.Y);
      Result := PointInBox(P, B);
    end;

    Can anyone give me an idea what is wrong and how to fix it?

    Thanks

    Ps. I found the solution to the problem. Apparently it has to do with your Java version, mine was not updated to the latest version of java, when I updated it, it worked smoothly.
    Last edited by VastlySuperior; 06-30-2012 at 08:58 PM. Reason: Found Solution to problem.

  15. #265
    Join Date
    May 2012
    Location
    Doncaster, UK
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Seen a lot of errors on this thread lately, but when I updated to simba 0.99, odtm ceased to work for me, when I downgraded to 0.98, it was all fine. Maybe that could fix some issues?
    Current goal: Make my first script

    Clay miner: 70% Completed

  16. #266
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by bishknight View Post
    Seen a lot of errors on this thread lately, but when I updated to simba 0.99, odtm ceased to work for me, when I downgraded to 0.98, it was all fine. Maybe that could fix some issues?
    It would be infinitely more helpful if you could be more specific as to what exactly has "ceased to work."
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  17. #267
    Join Date
    Mar 2007
    Location
    USA
    Posts
    1,433
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by euphemism View Post
    It would be infinitely more helpful if you could be more specific as to what exactly has "ceased to work."
    Remind me of what even changed between these? The ability for path DTMS?
    I'm Silent SPY
    Secret project: 0%
    Need help? Send me a PM

  18. #268
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by Silent SPY View Post
    Remind me of what even changed between these? The ability for path DTMS?
    Hmm? As far as I can tell, he is talking about differing Simba versions, not two versions of the include.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  19. #269
    Join Date
    Mar 2007
    Location
    USA
    Posts
    1,433
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by euphemism View Post
    Hmm? As far as I can tell, he is talking about differing Simba versions, not two versions of the include.
    Ah, I think you are right, I totally mis-read that.
    I'm Silent SPY
    Secret project: 0%
    Need help? Send me a PM

  20. #270
    Join Date
    Mar 2012
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    112
    Last edited by Pendulum_From_Rid; 07-06-2012 at 03:24 AM.

  21. #271
    Join Date
    May 2012
    Location
    Doncaster, UK
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by euphemism View Post
    It would be infinitely more helpful if you could be more specific as to what exactly has "ceased to work."
    Sorry, I'll write a better response now.

    After installing Simba 0.99, I installed all my plugins as normal and then loaded up a script which used your system, and I got an error.

    [Error] C:\Simba099\Includes\ObjectDTM\ObjDTMInclude.simba (217:3): Duplicate identifier 'T2DStringArray' at line 216
    Compiling failed.

    I checked and double checked to see if I had any plugins missing, any updates I hadn't installed, but I had done all my updates to the latest version, as well as using the fix for this error posted earlier in the thread. The error is still the same.

    [Error] C:\Simba099\Includes\ObjectDTM\ObjDTMInclude.simba (217:3): Duplicate identifier 'T2DStringArray' at line 216
    Compiling failed.

    After I uninstalled Simba 0.99, I reinstalled Simba 0.98, which for me at least, has no issues with your extension. Hope this helps, again, sorry for an undescriptive post, busy inductions for school.
    Last edited by bishknight; 07-06-2012 at 07:35 PM.
    Current goal: Make my first script

    Clay miner: 70% Completed

  22. #272
    Join Date
    Jun 2012
    Posts
    219
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    Look at earlier posts - I came up with a simple fix.
    I keep getting this error:

    Simba Code:
    [Error] C:\Simba99\Includes\objectdtm/objdtminclude.simba(217:3): Duplicate identifier 'T2DStringArray' at line 216
    Compiling failed.

    Now I have looked at the earlier posts you made and although you mention that you get this error and that you could fix it yourself, you never really showed how to fix this error.

    I would appreciate it if you can show me where in the earlier post you created a fix for this error.

    Much appreciated and thanks in advance for the help on this problem.

  23. #273
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    You should change the top of ObjDTMInclude.simba to:
    Simba Code:
    {$IFDEF SMART}
      {$IFNDEF PAINT}
        {$DEFINE PAINT}
        {$IFDEF SIMBAMAJOR980}
          {.include SRL\SRL\MISC\Paintsmart.simba}
        {$ELSE}
          {.include SRL\SRL\Misc\SmartGraphics.simba}
        {$ENDIF}
      {$ENDIF}
    {$ENDIF}
    To get over the compatibility issues...

    also T2DStringArray already exists in Simba 990 so you should probably change it to:
    Simba Code:
    {$IFDEF SIMBAMAJOR980}
      T2DStringArray = Array of TStringArray;
    {$ENDIF}
    Last edited by putonajonny; 07-13-2012 at 11:01 AM.

  24. #274
    Join Date
    Jun 2012
    Posts
    219
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by putonajonny View Post
    You should change the top of ObjDTMInclude.simba to:
    Simba Code:
    {$IFDEF SMART}
      {$IFNDEF PAINT}
        {$DEFINE PAINT}
        {$IFDEF SIMBAMAJOR980}
          {.include SRL\SRL\MISC\Paintsmart.simba}
        {$ELSE}
          {.include SRL\SRL\Misc\SmartGraphics.simba}
        {$ENDIF}
      {$ENDIF}
    {$ENDIF}
    To get over the compatibility issues...

    also T2DStringArray already exists in Simba 990 so you should probably change it to:
    Simba Code:
    {$IFDEF SIMBAMAJOR980}
      T2DStringArray = Array of TStringArray;
    {$ENDIF}
    The first suggestion was already done when requesting help, the second part is already the same in the latest ObjectDTM.sex download in the first post.

    But just to make sure I copied your sample above and it still gives the same error.

    When I exclude T2DStringArray = Array of TStringArray; by commenting it, as it cries that it is a duplicate, that means it was already declared somewhere and as stated by you that it is included in simba 99 then it gives me other errors in objectDTM namely
    Simba Code:
    Unknown, identifier, 'SmartGetDebugDC'

    I have now searched for this error and how to fix it and everybody says it is because the plugins is outdated, but i have downloaded the newest plugins.zip from New plugins (zip or tar.bz2): https://github.com/MerlijnWajer/Simba/downloads (Make sure you don't let the SRL updater Extension override them... )

    I think that is the latest plugins, I have overwritten the existing plugins in simba directory with these, but it keeps giving me this error or the last one I mentioned.I really don`t know where the problem is where I`m screwing up. But from the moment I upgraded to simba 99 these problems cropped up. I understand that if the plugins is outdated it will have problems, but the link I gave is the official link in simba 99 release. So I would guess that that should be the latest plugins that should work with simba 99. I have now overwritten these plugins once more with the downloaded plugins and it should do the trick by overwriting the older files shouldn`t it?

    I`m a bit flabbergasted here. But maybe I`m just not doing it right.

    Any suggestion? Thanks guys, I appreciate your time and effort in helping me to get this sorted out. It just feels as if I`m hitting my head against the same wall all the time.

  25. #275
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Releasing a quick fix for the RS update, as it broke the generation tool. Also notable are the following:

    Code:
    -Version 10.2: Optimised object-finding code and fixed a bug that could have
                   been the root cause of many false positives.  Removed the
                   'T2DStringArray' type declaration as it was for an older planned
                   revision of the include, future plans now do not include
                   multi-dimensional strings, and it was causing duplicate errors.
                   Improved the ground level check.Fixed certain coordinates in the
                   Generation Tool that have been affected by the addition of a
                   toolbar at the top of the RS client.  Removed 'ObjectDebug', as
                   it is obsolete.  Changed the include lines at the top,
                   $DEFINEPAINT is no longer needed.
    
                   Sorry for the lack of updates this year, am trying to get back
                   on track with this and hope to be producing some exciting
                   features soon.
    Wanted to get this out because the other changes I am making to the include are quite large and are taking a bit of time.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

Page 11 of 15 FirstFirst ... 910111213 ... 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
  •