KMM 0 Posted July 7, 2021 Posted July 7, 2021 How do you get door hashes? I would like to unlock some doors and I am interested in the procedure to get them. I seen in another section that you can get door hashes by reading the game memory. If so, what software is required and what are the steps to do so? Quote
LMS 676 Posted July 7, 2021 Posted July 7, 2021 Since retrieving them from memory is a bit more involved, this list of door hashes with positions might help you already: https://github.com/femga/rdr3_discoveries/blob/master/doorHashes/doorhashes.lua Quote
KMM 0 Posted July 12, 2021 Author Posted July 12, 2021 @LMS Thank you! This was just what I was looking for. I have tried using the following code in my Rage Plugin to unlock some doors but it isn't working for me. Game.CallNative("DOOR_SYSTEM_SET_DOOR_STATE", 1716899875, 0); Do you know what I am doing wrong? Quote
LMS 676 Posted July 12, 2021 Posted July 12, 2021 Some doors first need to get registered before they can be used. Quote
KMM 0 Posted July 16, 2021 Author Posted July 16, 2021 @LMS How do I register doors? I have tried the following while making a rage plugin: Game.CallNative("_ADD_DOOR_TO_SYSTEM_NEW", "1716899875"); but the plugin just crashes. Quote
LMS 676 Posted July 16, 2021 Posted July 16, 2021 That native name is guessed and hence cannot be resolved. Call the native by its hash instead. Also pass the hash as a number, not a string. Quote
M8T 0 Posted February 3, 2022 Posted February 3, 2022 Was this ever solved? I am having a similar issue right now. No matter what I do, the door is still locked. Quote
TuffyTown 23 Posted February 3, 2022 Posted February 3, 2022 10 hours ago, M8T said: Was this ever solved? I am having a similar issue right now. No matter what I do, the door is still locked. Try this: if (!OBJECT::IS_DOOR_REGISTERED_WITH_SYSTEM(doorHash)) { OBJECT::_ADD_DOOR_TO_SYSTEM_NEW(doorHash, 1, 0, 0, SCRIPTS::GET_ID_OF_THIS_THREAD(), 0, 0); } OBJECT::DOOR_SYSTEM_SET_DOOR_STATE(doorHash, 0); // 0 = DOORSTATE_UNLOCKED Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.