rozenturk Posted January 27 Share Posted January 27 (edited) Hi fellow modders! First of all I'm new as a member here but I've been stalking these pages since the old website. Lately I've been compiling some builds with AzerothCore and experimenting with modules and custom LUA scripts to make a updated version of 3.3.5 My idea is to make a "Blizzlike" 3.3.5 permadeath server with updated models and textures, transmog system and player housing. I got everything working flawlessly except for the housing part. 😞 My idea for the playerhousing is to have houses spread over the world and that each house hase a unique gameobject door with a unique key item belonging to that door. I made the houses, I made the gobject doors in the database and I tried to find some guides online but the furthest I got is that I managed to make a functioning gameobject door with the displayid I want. I made a unique lock entry (lockid) in the lock.dbc file and linked that lockid to both the door and the key item in the database. I then updated my server and client with the new lock.dbc Basicly I have no idea what to do in Lock.dbc except for making the entry a unique number, set the first row value to 1 (because all lockid's linked to locked doors appear to have that 🤔) And I know that the 10th row is set to key item entry number. But that's about it.  I tried to follow the logic of other doors and locks and tried to find more info online but this is how far I got: -The door is a functioning door, it opens and closes in the time that I want and functions as a regular door. -The key item is looking good. I think I got everything covered database wise with the key. (But hey I could be totally wrong here 🙃) -When I hover my cursor on the door gameobject in-game it says: Locked (That is because I put state row on Locked in gameobject_addon_template) but in reality it is not locked at all. -The door still opens and closes as if it was lockless, with or without key. (maybe because of missing values for lock in lock.dbc and perhaps additional tables need to be edited) So long story short, I got a custom gameobject door where the lock system isn't working and I was hoping to get a step closer to my goal of making this work. Edit: I assigned lockid 699 (Prison Cell Key) from lock.dbc to my custom door gameobject and that appeared to be working, so I now know for a fact that the problem is within my custom lockid in lock.dbc. If there is someone that has some knowledge about Lock.DBC I'm happy to absorb it. 🤓 I would love it if someone can walk me through this in detail. I'm sorry for my broken english but it's not my first language. I hope that a fellow modder can help me with realizing this 🙂 Greetings, Rozenturk Edited January 29 by rozenturk Additional information I failed humanity once before...and I will NOT do so again. If you cannot take up this cup, then I shall find another who will.   Link to comment Share on other sites More sharing options...
HELP Requested! Stuck on creating custom lock/key/door (AzerothCore)
By rozenturkin General
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now