Ragno Posted August 24, 2017 Share Posted August 24, 2017 (edited) Good day and thanks for your time; i have been trying to use a lockpicking mod (http://pz-mods.net/gameplay/GuysMod/), everything works fine with the exception of some errors on few functions, that i believe is because a change in the format due to the different versions (mod is for build 27, im playing build 38.5),. Spoiler this is the code that i believe requires an update to the current syntaxis of the game function Lockpicking.onPickLock(worldobjects, door, player) local adjacent; adjacent = AdjacentFreeTileFinder.FindWindowOrDoor(door:getSquare(), door); if adjacent ~= nil then ISTimedActionQueue.add(ISWalkToTimedAction:new(getSpecificPlayer(ISContextMenu.globalPlayerContext), adjacent)); ISTimedActionQueue.add(GMPickLockAction:new(getSpecificPlayer(ISContextMenu.globalPlayerContext), door, 200)); end end I attached the screenshots from the console and the actual lines Edited August 27, 2017 by Ragno Link to comment Share on other sites More sharing options...
Ragno Posted August 24, 2017 Author Share Posted August 24, 2017 I tried with this kind of code v:getSquare():getObjects(); it stops the error from the line that is from the mod, but still gets the other ones Link to comment Share on other sites More sharing options...
Ragno Posted August 27, 2017 Author Share Posted August 27, 2017 ok, nevermind, i managed to find a working mod (https://github.com/gabstv/pzomboid_GTV_Thieves) it just has a lua exception at the moment to check tiles (since is for an older version) but works as intended Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now