tivo444 Posted July 12, 2014 Share Posted July 12, 2014 Hello. I noticed that Jagex randomized the NPC ID's. No NPC's ID is what they should be. Is there any way to get the real ID of the NPC? Thanks Link to comment Share on other sites More sharing options...
Mysteryy Posted July 12, 2014 Share Posted July 12, 2014 Hello. I noticed that Jagex randomized the NPC ID's. No NPC's ID is what they should be. Is there any way to get the real ID of the NPC? Thanks Why not use names instead? Ids will change frequently as you have seen. ^_^ Link to comment Share on other sites More sharing options...
Khaleesi Posted July 12, 2014 Share Posted July 12, 2014 (edited) Hello. I noticed that Jagex randomized the NPC ID's. No NPC's ID is what they should be. Is there any way to get the real ID of the NPC? Thanks Just use Names, models, Vertices count, etc... Edited July 12, 2014 by Khaleesi Link to comment Share on other sites More sharing options...
Eliot Posted July 12, 2014 Share Posted July 12, 2014 Hello. I noticed that Jagex randomized the NPC ID's. No NPC's ID is what they should be. Is there any way to get the real ID of the NPC? Thanks You can turn on entity debug and then hover over an entity in the game to get the ID. Link to comment Share on other sites More sharing options...
Khaleesi Posted July 12, 2014 Share Posted July 12, 2014 You can turn on entity debug and then hover over an entity in the game to get the ID. He means an Id that doesn't change But most of them / all of them change every thursday I think. Link to comment Share on other sites More sharing options...
Dreamliner Posted July 12, 2014 Share Posted July 12, 2014 Assuming they make a Map of NPC's -> ID at loading the game, you could try to reflect that variable. Each ID is stored in a static location in the cache, so there needs to be some way to tracing it back to what it really is. A brute force approach to this could be to find the NPC models in the cache itself and compare ingame model to cache model. If they match, you know what NPC it is. (but there's easier ways - like names for instance) Link to comment Share on other sites More sharing options...
Dog_ Posted July 13, 2014 Share Posted July 13, 2014 Why not use names instead? Ids will change frequently as you have seen. Names tend to be unreliable. Link to comment Share on other sites More sharing options...
tivo444 Posted July 13, 2014 Author Share Posted July 13, 2014 Names tend to be unreliable. Yes. There are atleast 10 different "Guards" Link to comment Share on other sites More sharing options...
Dreamliner Posted July 13, 2014 Share Posted July 13, 2014 Yes. There are atleast 10 different "Guards" L2Filter Link to comment Share on other sites More sharing options...
Deffiliate Posted July 13, 2014 Share Posted July 13, 2014 (edited) Assuming they make a Map of NPC's -> ID at loading the game, you could try to reflect that variable. Each ID is stored in a static location in the cache, so there needs to be some way to tracing it back to what it really is. A brute force approach to this could be to find the NPC models in the cache itself and compare ingame model to cache model. If they match, you know what NPC it is. (but there's easier ways - like names for instance) This is relevant to me. I actually need a way of telling ea dragon from the other. If the model of ea dragon is the same, but the coloration is different, will I still be able to tell the difference in the dragons based off the model? Edited July 13, 2014 by Deffiliate Link to comment Share on other sites More sharing options...
Apaec Posted July 13, 2014 Share Posted July 13, 2014 .getId() ? Link to comment Share on other sites More sharing options...
ProtectedForum Posted July 24, 2014 Share Posted July 24, 2014 .getid() should work Link to comment Share on other sites More sharing options...
Phoenix21 Posted July 27, 2014 Share Posted July 27, 2014 Thank you for great answer! Link to comment Share on other sites More sharing options...