Thread: [667]Packing Custom maps to Your Cache

Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11  
    🎬 Video Editor


    Join Date
    Jun 2015
    Posts
    407
    Thanks given
    393
    Thanks received
    155
    Rep Power
    567
    Nice contribution!
    Map editing snippets aren't common for some reason. =[

    Reply With Quote  
     

  2. #12  
    Discord Johnyblob22#7757


    Join Date
    Mar 2016
    Posts
    1,384
    Thanks given
    365
    Thanks received
    575
    Rep Power
    5000
    Quote Originally Posted by Superkickabout View Post
    Nice contribution!
    Map editing snippets aren't common for some reason. =[


    I can make them common
    Attached image
    Reply With Quote  
     

  3. Thankful user:


  4. #13  
    Registered Member
    Join Date
    May 2014
    Posts
    130
    Thanks given
    3
    Thanks received
    17
    Rep Power
    18
    Quote Originally Posted by crazybeast View Post
    Getting a lot errors fixed some of them by renaming stuff and i cant find a way to fix all of them.
    Attached image
    Code:
    if (command[0].equalsIgnoreCase("mapfiles")) {
        
    	int regionId = player.getRegionId();
    	int regionX = (regionId >> 8) * 64;
    	int regionY = (regionId & 0xff) * 64;
    	int mapArchiveId = Cache.STORE.getIndexes()[5].getArchiveId("m" + ((regionX >> 3) / 8) + "_" + ((regionY >> 3) / 8));
    	int landscapeArchiveId = Cache.STORE.getIndexes()[5].getArchiveId("l" + ((regionX >> 3) / 8) + "_" + ((regionY >> 3) / 8));
    	
        System.out.println("RegionId: "+command[1]);
    System.out.println("landArchive: "+landscapeArchiveId);
    System.out.println("mapArchive: "+mapArchiveId);
    return false;
        }
    Import: import com.rs.cache.Cache; into your commands.java
    Reply With Quote  
     

  5. #14  
    Registered Member
    Join Date
    Nov 2012
    Posts
    599
    Thanks given
    14
    Thanks received
    54
    Rep Power
    26
    How do i go about getting a lower revison or w.e mapdata file?
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [667] Packing More Crowns to Cache
    By Dev Jordon in forum Help
    Replies: 10
    Last Post: 04-19-2016, 07:08 PM
  2. Adding new maps to Your WorldMap!
    By SWAT in forum Tutorials
    Replies: 170
    Last Post: 04-14-2010, 10:34 PM
  3. How to add a custom background to your client
    By Magic in forum Tutorials
    Replies: 12
    Last Post: 09-30-2009, 04:20 PM
  4. Replies: 0
    Last Post: 05-07-2009, 08:47 AM
  5. Add a custom title to your 508 client
    By BlackShade in forum Tutorials
    Replies: 8
    Last Post: 10-27-2008, 11:19 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •