|
I have dumped a list of the amount of times every object (0-62353) is spawned in the game. I did this particularly to find objects that are unused and can be safely over-written.
Note that a lot of the 0 spawned objects are objects that are intended to be spawned server side (for gfx / animation reasons). I also included the types associated with each object.
I don't have a clean 667 cache so this may not be 100% accurate as it's based off the cleanest version of my cache that I have before I started messing with maps.
DOWNLOAD
I've also included a txt file that lists only objects with no spawns
What the file looks like:
good release as always
Did you do this so you don't have to add support for archive ids > 65535?
(Since js5 in 667 didn't support it yet.)
If yes, here's what I did when packing objects:You will need to change how object defs are read in the client, but this is a cheap fix for not having support for archives > 65535.Code:if(packId >= 65536) { int shortId = packId - 65536; if(shortId > 65535) //668 cache had about 63k objs. There's no way in the world we add more than 65k. throw new RuntimeException("TOO MANY OBJECT IDS!"); archiveId = 256 + (shortId >>> 8); fileId = shortId & 0xff; } else { archiveId = packId >>> 8; fileId = packId & 0xff; }
Proof of concept: (OSRS region packed where we start new object ids off at 65536)
I have customers who use their own models on a map and aren’t too knowledgeable on adding new objects so I use this to find suitable objects for them to overwrite models it’s also a nice way to find objects intended for server-sided spawn.
That’s a nice bit of information though, thank you for that!
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |