Page 7 of 11 FirstFirst ... 56789 ... LastLast
Results 151 to 175 of 256

Thread: SPS.simba

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

    Default

    Quote Originally Posted by Nava2 View Post
    Could be windows because you are simultaneously trying to access the map?
    I thought that at first also, but it's happened with only one Simba as well. Plus I would think it would just get loaded into memory for each Simba rather than loaded/unloaded, etc., etc.

    E: Also just got it after a few loads on the Simba that worked.
    Last edited by Coh3n; 03-14-2011 at 06:22 AM.

  2. #152
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    Could be windows because you are simultaneously trying to access the map?
    As far as I know you can read with as many processes as you like, unless you acquire a read lock, which isn't default.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  3. #153
    Join Date
    Mar 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The map doesn't show from verock east bank to the wilderness, is this done on purpose or did something happen to me that stuffed the bmp?

    Suggestion: It would be epic if the world map was cut into grid and labelled what grid was number.

    Oh, and btw, this is awesome as it is and i cant wait to test it!

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

    Default

    Quote Originally Posted by SundayForever View Post
    The map doesn't show from verock east bank to the wilderness, is this done on purpose or did something happen to me that stuffed the bmp?

    Suggestion: It would be epic if the world map was cut into grid and labelled what grid was number.

    Oh, and btw, this is awesome as it is and i cant wait to test it!
    As far as I know marpis didn't include the wilderness. And the map is already cut into a grid. 5_3, for example, is the 5th column, 3rd row.

  5. #155
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by KingKong View Post
    The map doesn't show from verock east bank to the wilderness, is this done on purpose or did something happen to me that stuffed the bmp?

    Suggestion: It would be epic if the world map was cut into grid and labelled what grid was number.

    Oh, and btw, this is awesome as it is and i cant wait to test it!
    That SundayForever guy is a spambot, Coh3n. He copied the above post >.>
    Ce ne sont que des gueux


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

    Default

    Quote Originally Posted by Floor66 View Post
    That SundayForever guy is a spambot, Coh3n. He copied the above post >.>
    Oh wow, thanks.

  7. #157
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Does this work with the lumbridge updates?
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

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

    Default

    Quote Originally Posted by Nava2 View Post
    Does this work with the lumbridge updates?
    If you're talking about the swamp, I highly doubt it. Looks like it was a pretty drastic change.

  9. #159
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Ok so I have the new worldmap, but I've lost the MapMaker.simba.
    That's bad.

    Does anyone have any version of that saved?

  10. #160
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Did you ever post it on the forum?

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

    Default

    I looked through this whole thread and couldn't find it. I do remember looking at it somewhere though.

  12. #162
    Join Date
    Jun 2009
    Posts
    177
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I just downloaded the latest upload and followed the instructions exactly.

    Then I tried to make a walker from the VW bank to the V fountain:

    Code:
    program TestSPS;
    {$i SRL/SRL.scar}
    {$i SRL/SRL/core/SPS/SPS.simba}
    
    var
      TestPath : TPointArray;
    
    begin
      SetupSRL;
      ActivateClient;
      Sleep(RandomRange(1000, 2000));
      (*
      WriteLn(SPS_PixelToPoint(Point(367, 157)));
      WriteLn(SPS_PixelToPoint(Point(394, 184)));
      WriteLn(SPS_PixelToPoint(Point(411, 185)));
      WriteLn(SPS_PixelToPoint(Point(447, 187)));
      WriteLn(SPS_PixelToPoint(Point(481, 187)));
      TerminateScript;
      *)
      SPS_Areas := ['10_3'];
      TestPath := [Point(2184, 3735),
        Point(2192, 3728),
        Point(2196, 3728),
        Point(2204, 3728),
        Point(2214, 3728)];
      if SPS_WalkPath(TestPath) then
      begin
        WriteLn('Walk was successful');
      end
      else
      begin
        WriteLn('Failed to walk');
      end;
    end.
    Progress Report:
    [Hint] E:\Program Files\Simba\Includes\SRL/SRL/core/SPS/SPS.simba(115:3): Variable 'I' never used at line 114
    [Hint] E:\Program Files\Simba\Includes\SRL/SRL/core/SRLlog.scar(17:3): Variable 'THEFILE' never used at line 16
    Compiled succesfully in 562 ms.
    SRL Compiled in 16 msec
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [ERROR] GATHERMINIMAP:: Exception: Access violation


    And it keeps printing that error...

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

    Default

    ^ Where'd you get those coords in the Writeln's from? PixelToPoint I'm pretty sure converts coords from the entire world map to tiles.

    Also, I ran MSI using this last night and everything worked well except I think there's still a memory leak somewhere. Memory jumped over 200k over night. No, I wasn't using MSI's form, and no it didn't increase this much when I used reflection walking. I could still be wrong, but just thought I'd post it anyway.

  14. #164
    Join Date
    Apr 2007
    Location
    Colchester, UK
    Posts
    1,220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is this still functional?

    i was thinking of using it was a backup to my new script

    Edit:

    It seems to be working, i did get a error about not being able to get MiniMap due to a access violation, but i simply restarted the script and it was fine
    Last edited by Bobzilla69; 04-29-2011 at 09:07 AM.

  15. #165
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Nice to hear it works Although that's not surprising.
    I'm a bit sorry this hasn't gotten finishes. I have no time since I'm studying 10 hours a day, and in July I'm going to the army.

    I guess I could write the MapMaker.simba again since it vanished somehow.
    I'd love to see someone work on this and make it commitable.

  16. #166
    Join Date
    Apr 2007
    Location
    Colchester, UK
    Posts
    1,220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I hope someone will pick this up, i am currently implementing it into my script so i hope support will continue

  17. #167
    Join Date
    Apr 2007
    Location
    Colchester, UK
    Posts
    1,220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Small bug.

    if you start half way thought a path it come up with following error

    Code:
    [SPS] Did not gather Minimap.
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [SPS] Did not gather Minimap.
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [SPS] Did not gather Minimap.
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [SPS] Did not gather Minimap.
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [SPS] Did not gather Minimap.
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [SPS] Did not gather Minimap.
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [SPS] Did not gather Minimap.
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [SPS] Did not gather Minimap.
    [ERROR] GATHERMINIMAP:: Exception: Access violation
    [SPS] Did not gather Minimap.
    edit:

    or not just got it after first point was walked to

  18. #168
    Join Date
    Sep 2010
    Location
    Finland
    Posts
    299
    Mentioned
    8 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by marpis View Post
    Nice to hear it works Although that's not surprising.
    I'm a bit sorry this hasn't gotten finishes. I have no time since I'm studying 10 hours a day, and in July I'm going to the army.

    I guess I could write the MapMaker.simba again since it vanished somehow.
    I'd love to see someone work on this and make it commitable.
    I found MapMaker.simba in my SPS folder. Now you don't need to create it from scratch.

  19. #169
    Join Date
    Apr 2007
    Location
    Colchester, UK
    Posts
    1,220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    how do we go about getting the new updated world map?

    i think thats whats throwing up the errors

    edit: never mind got one

    Damn wrong size
    Last edited by Bobzilla69; 04-30-2011 at 04:23 PM.

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

    Default

    @marpis, I think the only reason it hasn't been committed is because the images were too big to be included in SRL. Maybe an extension to download SPS would work?

  21. #171
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    @marpis, I think the only reason it hasn't been committed is because the images were too big to be included in SRL. Maybe an extension to download SPS would work?
    Its not that large when you use compressed png images (which Simba supports) rather than bmp.

    The issue iw that its a waste of resources to re-download these files when they *rarely* change. The best option ffrom my point of view is to use a separate updater for the map files and use the regular updater for the SPS.simba.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

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

    Default

    Quote Originally Posted by Nava2 View Post
    Its not that large when you use compressed png images (which Simba supports) rather than bmp.

    The issue iw that its a waste of resources to re-download these files when they *rarely* change. The best option ffrom my point of view is to use a separate updater for the map files and use the regular updater for the SPS.simba.
    Oh I know it's a lot smaller, but IIRC it still doubles the total size of SRL, which like you said would waste resources. I agree about including SPS.simba and separately downloading the images.

  23. #173
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Oh I know it's a lot smaller, but IIRC it still doubles the total size of SRL, which like you said would waste resources. I agree about including SPS.simba and separately downloading the images.
    Do you need the image to run SPS?
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  24. #174
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Yago View Post
    Do you need the image to run SPS?
    Yes
    Interested in C# and Electrical Engineering? This might interest you.

  25. #175
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Smartzkid View Post
    Yes
    Nvm. Is there a way you can download it and then delete it?

    I downloaded a bmp for one of my scripts then checked if it existed.
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

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