Zoranth Posted August 20, 2017 Report Share Posted August 20, 2017 salival, Question/Request for you that is half on topic and half off topic. On topic is that it involves locking and unlocking vehicles and is somewhat like a master key. My question/request is this: Is it at all possible to use the same system for locking/unlocking vaults/lock boxes and doors that assigns your ID to that vehicle so that keys are no longer needed at all? So if the vehicle belongs to you, it will automatically give you the option to lock/unlock. A possible second option to this is the ability to assign ownership of a vehicle to another using something like what is used in plot management. Also the ability to add players to a group that can use the vehicle and also that players added to the vehicle can be removed if needed. Lemme know what you think. Zor Link to comment Share on other sites More sharing options...
salival Posted August 20, 2017 Author Report Share Posted August 20, 2017 10 minutes ago, Zoranth said: salival, Question/Request for you that is half on topic and half off topic. On topic is that it involves locking and unlocking vehicles and is somewhat like a master key. My question/request is this: Is it at all possible to use the same system for locking/unlocking vaults/lock boxes and doors that assigns your ID to that vehicle so that keys are no longer needed at all? So if the vehicle belongs to you, it will automatically give you the option to lock/unlock. A possible second option to this is the ability to assign ownership of a vehicle to another using something like what is used in plot management. Also the ability to add players to a group that can use the vehicle and also that players added to the vehicle can be removed if needed. Lemme know what you think. Zor Anything is possible really, there are no public scripts, though that do this. There are definitely private ones, though. Link to comment Share on other sites More sharing options...
ReDBaroN Posted August 23, 2017 Report Share Posted August 23, 2017 @salival This seems to be working fine but, I am getting this error in the client rpt: Error in expression <garage_dialog = -1; player removeAction s_player_copyToKey; s_player_copyToKey => Error position: <s_player_copyToKey; s_player_copyToKey => Error Undefined variable in expression: s_player_copytokey File mpmissions\__CUR_MP.Chernarus\dayz_code\compile\fn_selfActions.sqf, line 1146 Double checked my install and can't see I've missed anything but, happy to be severely scolded if I've been dense... :) Link to comment Share on other sites More sharing options...
salival Posted August 23, 2017 Author Report Share Posted August 23, 2017 4 minutes ago, ReDBaroN said: @salival This seems to be working fine but, I am getting this error in the client rpt: Error in expression <garage_dialog = -1; player removeAction s_player_copyToKey; s_player_copyToKey => Error position: <s_player_copyToKey; s_player_copyToKey => Error Undefined variable in expression: s_player_copytokey File mpmissions\__CUR_MP.Chernarus\dayz_code\compile\fn_selfActions.sqf, line 1146 Double checked my install and can't see I've missed anything but, happy to be severely scolded if I've been dense... :) You're either missing these 2 lines: https://github.com/oiad/vkc/blob/master/dayz_code/init/variables.sqf#L95-L96 Or these 4 lines: https://github.com/oiad/vkc/blob/master/dayz_code/compile/fn_selfActions.sqf#L1173-L1176 I'd say the latter Link to comment Share on other sites More sharing options...
ReDBaroN Posted August 23, 2017 Report Share Posted August 23, 2017 oh heavens....it was the former. Note to self, don't try and do this stuff while babysitting 3 under 5's! Thanks again and apologies Link to comment Share on other sites More sharing options...
salival Posted September 3, 2017 Author Report Share Posted September 3, 2017 Hey guys, been a few weeks wondering how the new release is going with the new UI? Has this fixed the duping problem? (plzplzplzplzplz) and have you had any bouncing issues? I know sometimes it can still bounce, panthera seems to be the biggest culprit so far (that map seems to break so much stuff) Any other issues or suggestions you've noticed? Link to comment Share on other sites More sharing options...
Thug Posted September 3, 2017 Report Share Posted September 3, 2017 On Taviana and Takistan there is a little bouncing. Have not seen any duping. Working good. salival 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted September 3, 2017 Report Share Posted September 3, 2017 hey @salival can't really help with the before and after as I waited until this version to install. However, our feedback from what I would call a medium pop server (15-45) is that it's really good and we aren't having any of the issues previously reported in this thread. Thanks for a cracking script! :thumbsup salival and DieTanx 2 Link to comment Share on other sites More sharing options...
salival Posted September 4, 2017 Author Report Share Posted September 4, 2017 Well i'm pleased to hear the dupe is resolved, I really don't have anything else to add regarding the bouncing, the main thing i've seen is to keep it away from trees and other vehicles. The code i'm using is the same epoch is using to spawn vehicles, so I don't understand why if it doesn't bounce when buying a vehicle it bounces here ... just arma things Link to comment Share on other sites More sharing options...
DieTanx Posted September 4, 2017 Report Share Posted September 4, 2017 12 hours ago, salival said: Well i'm pleased to hear the dupe is resolved, I really don't have anything else to add regarding the bouncing, the main thing i've seen is to keep it away from trees and other vehicles. The code i'm using is the same epoch is using to spawn vehicles, so I don't understand why if it doesn't bounce when buying a vehicle it bounces here ... just arma things Would it be possible to make a "claim your vehicle here" area? Just thinking this could remove some of those issues for people on the servers having issues like that? i would even consider just doing the heli pads being required nearby in order to do it? just thinking outside box. Link to comment Share on other sites More sharing options...
kingpapawawa Posted September 5, 2017 Report Share Posted September 5, 2017 mine still blow up on napf and panthera mostly. They go 500m in the air. Was wondering if you could make a toggle to paradrop the rekeyed vehicles in? =) Link to comment Share on other sites More sharing options...
Dr.Killmore Posted October 26, 2017 Report Share Posted October 26, 2017 Hello, I just updated and everything works fine on spawned vehicles but when I buy a vehicle and click on 'change key' the scroll menu gets taken over with 'change vehicle key' spam in the scroll wheel menu you can't use your scroll wheel menu because of the spam until restart I don't have any rpt errors and the install appears to be correct does anyone know what i am doing wrong or a way to fix this? Thanks. Link to comment Share on other sites More sharing options...
salival Posted October 26, 2017 Author Report Share Posted October 26, 2017 1 hour ago, Dr.Killmore said: Hello, I just updated and everything works fine on spawned vehicles but when I buy a vehicle and click on 'change key' the scroll menu gets taken over with 'change vehicle key' spam in the scroll wheel menu you can't use your scroll wheel menu because of the spam until restart I don't have any rpt errors and the install appears to be correct does anyone know what i am doing wrong or a way to fix this? Thanks. somewhere you've messed up an install step, possibly in your fn_selfActions.sqf Dr.Killmore 1 Link to comment Share on other sites More sharing options...
salival Posted November 14, 2017 Author Report Share Posted November 14, 2017 Hi Guys, added localization support for this script, Usual thing, if anyone can please provide translations feel free to submit a pull request. https://github.com/oiad/vkc/commit/4879b851e77294c386caa54b997d2ac892920b31 Cheers Link to comment Share on other sites More sharing options...
ReDBaroN Posted November 29, 2017 Report Share Posted November 29, 2017 Is there a way to modify the code so that hotwired vehicles can be claimed? Or, is this nor possible as the vehicle is tied to the original owner? Bricktop 1 Link to comment Share on other sites More sharing options...
salival Posted November 29, 2017 Author Report Share Posted November 29, 2017 7 hours ago, ReDBaroN said: Is there a way to modify the code so that hotwired vehicles can be claimed? Or, is this nor possible as the vehicle is tied to the original owner? Yes, I just never modified it to be able to do that since I thought it was a bad idea/unfair for players. I'm away on holiday tomorrow till Monday but I can have it working when I get back Tuesday if you remind me. Bricktop 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted November 30, 2017 Report Share Posted November 30, 2017 I thought it was a feature rather than a bug but, that's what players call it. So I keep just hearing, "Admin! Claim vehicle is bugged!!!" lol I thought I would ask seeing as I think it would be a good option to add to the config. On my servers, hotwire kits are pretty rare so, I don't mind them getting the full benefit of being able to claim it. Link to comment Share on other sites More sharing options...
salival Posted December 27, 2017 Author Report Share Posted December 27, 2017 Hi guys, VKC has been updated for the newest version of Epoch 1.0.6.2: https://github.com/oiad/vkc/commit/30f38ced8dfc37c352bf800c343cf8f856f236d6 JasonTM 1 Link to comment Share on other sites More sharing options...
stirrific Posted December 29, 2017 Report Share Posted December 29, 2017 So i added this to 1062 server and when i select the key and hit change key nothing happens checked rpt log no errors in there at all only other addons i have installed in infistar and WAI.. not sure what gone wrong not had issues with this on 1061. Sorted now was my mistake lol Link to comment Share on other sites More sharing options...
salival Posted December 29, 2017 Author Report Share Posted December 29, 2017 1 minute ago, stirrific said: So i added this to 1062 server and when i select the key and hit change key nothing happens checked rpt log no errors in there at all only other addons i have installed in infistar and WAI.. not sure what gone wrong not had issues with this on 1061. Hello, I have tested this on a fresh install with no issues. I will PM you my email address, please email me your dayz_server.pbo and your mission pbo. Link to comment Share on other sites More sharing options...
stirrific Posted December 29, 2017 Report Share Posted December 29, 2017 (edited) It ok redone it from scratch it now working fine guess i missed something. thanks for fast response though Edited December 29, 2017 by stirrific Link to comment Share on other sites More sharing options...
Thug Posted December 30, 2017 Report Share Posted December 30, 2017 This is the story of my build. Fresh install of the server (Arma, Arma oa) WORKED. ESSV3, WORKED, ZSC and BANKS, WORKED. VKC, BROKE BANK. I can see the money on me and in the bank. Now I can not access the bank. This happens after VKS was installed. I have looked through what I did and cannot see whats wrong. The two errors below are from my Client side RPT, No errors on Server side RPT. The one in red, there is over 200 of them, so I seen no point to post all. If someone can help, thank you Here is my fn_selfActions.sqf https://pastebin.com/qTjqvjvX Error in expression <s_bank_dialog = -1; player removeAction s_bank_dialog1; s_bank_dialog1 = -1; pla> Error position: <s_bank_dialog1; s_bank_dialog1 = -1; pla> Error Undefined variable in expression: s_bank_dialog1 File mpmissions\__CUR_MP.sauerland\dayz_code\compile\fn_selfActions.sqf, line 1218 Error in expression <cterID,"change"],5,false,true]; }; }; } else { {player removeAction _x} count s_> Error position: <else { {player removeAction _x} count s_> Error else: Type Array, expected code File mpmissions\__CUR_MP.sauerland\dayz_code\compile\fn_selfActions.sqf, line 726 Link to comment Share on other sites More sharing options...
Thug Posted December 30, 2017 Report Share Posted December 30, 2017 On 9/4/2017 at 8:58 PM, kingpapawawa said: They go 500m in the air. are you rekeying in the grass or on road? I know when this happened last time, I just keyed on roads, runways and anything other than grass or dirt. Just a thought til fixed Link to comment Share on other sites More sharing options...
kingpapawawa Posted December 30, 2017 Report Share Posted December 30, 2017 3 hours ago, Thug said: This is the story of my build. Fresh install of the server (Arma, Arma oa) WORKED. ESSV3, WORKED, ZSC and BANKS, WORKED. VKC, BROKE BANK. I can see the money on me and in the bank. Now I can not access the bank. This happens after VKS was installed. I have looked through what I did and cannot see whats wrong. The two errors below are from my Client side RPT, No errors on Server side RPT. The one in red, there is over 200 of them, so I seen no point to post all. If someone can help, thank you Here is my fn_selfActions.sqf https://pastebin.com/qTjqvjvX Error in expression <s_bank_dialog = -1; player removeAction s_bank_dialog1; s_bank_dialog1 = -1; pla> Error position: <s_bank_dialog1; s_bank_dialog1 = -1; pla> Error Undefined variable in expression: s_bank_dialog1 File mpmissions\__CUR_MP.sauerland\dayz_code\compile\fn_selfActions.sqf, line 1218 Error in expression <cterID,"change"],5,false,true]; }; }; } else { {player removeAction _x} count s_> Error position: <else { {player removeAction _x} count s_> Error else: Type Array, expected code File mpmissions\__CUR_MP.sauerland\dayz_code\compile\fn_selfActions.sqf, line 726 ive got working script with all those mods installed, you broke fn selfactions adding vkc, check that one change.. the s_bank_dialog1 wont break it.. but that needs to be added to variables.sqf probably both of these //Custom below s_bank_dialog1 = -1; s_bank_dialog2 = -1; salival 1 Link to comment Share on other sites More sharing options...
kingpapawawa Posted December 30, 2017 Report Share Posted December 30, 2017 } else { <---- delete this line if (s_player_copyToKey < 0) then { if (_hasKey && {_hasKeyKit} && {(count _temp_keys) > 1} && {!_isLocked}) then { s_player_copyToKey = player addAction ["<t color=""#0096FF"">Change vehicle key</t>","scripts\vkc\vehicleKeyChanger.sqf",[_cursorTarget,_characterID,"change"],5,false,true]; }; }; Link to comment Share on other sites More sharing options...
Recommended Posts