Thread: [REQ] 667 Mapdata

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 [REQ] 667 Mapdata 
    Jake from State Farm

    FKN Jake's Avatar
    Join Date
    Nov 2013
    Posts
    675
    Thanks given
    45
    Thanks received
    58
    Rep Power
    153
    I've downloaded the ones provided but nothing seems to change,

    Attached image

    I've repacked maps and added new data cache/server sided and I can't seem to get these random god damn capes off the map. When you hover them you get nothing so it's gotta be in the map itself.
    Reply With Quote  
     

  2. #2  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    repack 667 models
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
    Reply With Quote  
     

  3. #3  
    Jake from State Farm

    FKN Jake's Avatar
    Join Date
    Nov 2013
    Posts
    675
    Thanks given
    45
    Thanks received
    58
    Rep Power
    153
    Quote Originally Posted by mige5 View Post
    repack 667 models
    That'd be an issue because of all the weapons and npc's ive added.. what would you do in this current situation?

    Edit: I repacked 65,000 Models and the cape is still there.
    Reply With Quote  
     

  4. #4  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    Quote Originally Posted by Yalu View Post
    That'd be an issue because of all the weapons and npc's ive added.. what would you do in this current situation?

    Edit: I repacked 65,000 Models and the cape is still there.
    are u preloading models?
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Feb 2016
    Posts
    224
    Thanks given
    177
    Thanks received
    51
    Rep Power
    119
    Just change the items modelIds to something else in ItemDefinition or whichever class you use.
    Reply With Quote  
     

  6. #6  
    Jake from State Farm

    FKN Jake's Avatar
    Join Date
    Nov 2013
    Posts
    675
    Thanks given
    45
    Thanks received
    58
    Rep Power
    153
    Quote Originally Posted by mige5 View Post
    are u preloading models?
    It appears so.

    Code:
    	public void preloadModels() {
    		String cacheDir = signlink.findcachedir();
    		File file = new File(cacheDir + "data/raw/");
    		File[] fileArray = file.listFiles();
    		int i = 0;
    		int y = 0;
    		int length = fileArray.length;
    		try {
    			for (y = length - 1;; y--) {
    				String s = fileArray[y].getName();
    				byte[] buffer = ReadFile(cacheDir + "data/raw/" + s);
    				String tmp = s.replace(".dat", ""); // getFileNameWithoutExtension(s);
    				if(tmp.startsWith(".")) {
    					continue;
    				}
    				if(tmp.equals("62766")) {
    					continue;
    				}
    				Model.readFirstModelData(buffer, Integer.parseInt(tmp));
    				drawLoadingText(60, "Preloading model " + i + "/" + length + " (" + ((i * 100) / length) + "%)");
    				i++;
    			}
    		} catch (ArrayIndexOutOfBoundsException e) {
    		}
    	}
    Reply With Quote  
     

  7. #7  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    Quote Originally Posted by Yalu View Post
    It appears so.

    Code:
    	public void preloadModels() {
    		String cacheDir = signlink.findcachedir();
    		File file = new File(cacheDir + "data/raw/");
    		File[] fileArray = file.listFiles();
    		int i = 0;
    		int y = 0;
    		int length = fileArray.length;
    		try {
    			for (y = length - 1;; y--) {
    				String s = fileArray[y].getName();
    				byte[] buffer = ReadFile(cacheDir + "data/raw/" + s);
    				String tmp = s.replace(".dat", ""); // getFileNameWithoutExtension(s);
    				if(tmp.startsWith(".")) {
    					continue;
    				}
    				if(tmp.equals("62766")) {
    					continue;
    				}
    				Model.readFirstModelData(buffer, Integer.parseInt(tmp));
    				drawLoadingText(60, "Preloading model " + i + "/" + length + " (" + ((i * 100) / length) + "%)");
    				i++;
    			}
    		} catch (ArrayIndexOutOfBoundsException e) {
    		}
    	}
    ofc repacking the models wont fix anything if ur just preloading the custom ones over them... remove the models from the raw folder or uncomment the method where its being called.
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
    Reply With Quote  
     

  8. Thankful user:


  9. #8  
    Jake from State Farm

    FKN Jake's Avatar
    Join Date
    Nov 2013
    Posts
    675
    Thanks given
    45
    Thanks received
    58
    Rep Power
    153
    Quote Originally Posted by mige5 View Post
    ofc repacking the models wont fix anything if ur just preloading the custom ones over them... remove the models from the raw folder or uncomment the method where its being called.
    Thanks mate you helped a lot, now I was able to remove 2 objects but I cannot find the ID for this cape:

    Attached image

    I searched my entire itemdef spawned item by item and none of them were that cape.

    I do want to thank you for helping me disable Auto-Loader and fix two models, this is the last one that needs to be gone.

    What should I do now? I spawned hundreds of customs and went over them a few times, even used RSMV to take a peak around a lot of custom ID's and no success.
    Reply With Quote  
     

  10. #9  
    Registered Member graardorrsps's Avatar
    Join Date
    Nov 2016
    Posts
    126
    Thanks given
    41
    Thanks received
    32
    Rep Power
    0
    Quote Originally Posted by Yalu View Post
    Thanks mate you helped a lot, now I was able to remove 2 objects but I cannot find the ID for this cape:

    Attached image

    I searched my entire itemdef spawned item by item and none of them were that cape.

    I do want to thank you for helping me disable Auto-Loader and fix two models, this is the last one that needs to be gone.

    What should I do now? I spawned hundreds of customs and went over them a few times, even used RSMV to take a peak around a lot of custom ID's and no success.
    Find something like this:
    Code:
    menuActionCmd1[menuActionRow] = object.type << 14;
    You'll see something like this two lines above it:
    Code:
    menuActionName[menuActionRow] = s;
    This piece of code displays info if you right click the menu. Make it somthing like this so you can see the model ids when you right click the object:
    Code:
    menuActionName[menuActionRow] = s + " " + Arrays.toString(object.objectModelIds);
    Reply With Quote  
     

  11. #10  
    Jake from State Farm

    FKN Jake's Avatar
    Join Date
    Nov 2013
    Posts
    675
    Thanks given
    45
    Thanks received
    58
    Rep Power
    153
    Quote Originally Posted by graardorrsps View Post
    Find something like this:
    Code:
    menuActionCmd1[menuActionRow] = object.type << 14;
    You'll see something like this two lines above it:
    Code:
    menuActionName[menuActionRow] = s;
    This piece of code displays info if you right click the menu. Make it somthing like this so you can see the model ids when you right click the object:
    Code:
    menuActionName[menuActionRow] = s + " " + Arrays.toString(object.objectModelIds);
    Thanks bud but it has no hover option:

    https://gyazo.com/7c77e4c74d80ab188e738d8aa458a7f7
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. [req] 667/7** new sprites
    By izaazkothawala in forum Help
    Replies: 0
    Last Post: 05-20-2012, 02:07 AM
  2. { REQ } 667 Blank Source Needed { REQ }
    By L3git in forum Requests
    Replies: 2
    Last Post: 02-17-2012, 05:31 PM
  3. [Req]668 Mapdata[Req]
    By minecraft in forum Requests
    Replies: 1
    Last Post: 11-15-2011, 07:38 PM
  4. [REQ]667 Models
    By BullETH in forum Models
    Replies: 9
    Last Post: 10-12-2011, 04:07 AM
  5. [REQ] [508] Mapdata [508] [REQ]
    By xx eco xx in forum Requests
    Replies: 0
    Last Post: 10-28-2010, 07:08 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •