chucky_xxl Posted January 28, 2014 Report Share Posted January 28, 2014 its not work with Helicopters (flipped) and motor bikes Link to comment Share on other sites More sharing options...
DarkRanger Posted February 3, 2014 Report Share Posted February 3, 2014 Firstly, great idea! Really saves on space! We are encountering some issues though, where occasionally the vehicle will shoot up into the air after the key is changed, resulting in player death since it either explodes and kills anyone in the vicinity or lands on top of them lol.. Also, it occasionally dupes the vehicle.. had this happen a few times already on our server.. Link to comment Share on other sites More sharing options...
Cash Posted February 3, 2014 Report Share Posted February 3, 2014 Firstly, great idea! Really saves on space! We are encountering some issues though, where occasionally the vehicle will shoot up into the air after the key is changed, resulting in player death since it either explodes and kills anyone in the vicinity or lands on top of them lol.. Also, it occasionally dupes the vehicle.. had this happen a few times already on our server.. I've only had this happen when using Infistar's admin tools. I stopped using the tools all together. Link to comment Share on other sites More sharing options...
Cash Posted February 3, 2014 Report Share Posted February 3, 2014 Otter, My players found an exploit, when re-keying a vehicle all damage is magically repaired. Could we restrict this somehow? Link to comment Share on other sites More sharing options...
Swordfish Posted February 3, 2014 Report Share Posted February 3, 2014 I have the duping problem aswell. Tested on a suv (duped the car to 2 of them): 20:29:30 "PUBLISH: Attempt 42ae10c0# 1087180: suv.p3d REMOTE" 20:29:30 "HIVE: WRITE: "CHILD:308:11:SUV_Pink:0:1431:[96.2517,[10294.7,12053.2,0.00491333]]:[]:[]:1:10294712053203106:"" 20:29:30 "PUBLISH: Attempt 42ae10c0# 1087180: suv.p3d REMOTE" 20:29:30 "HIVE: WRITE: "CHILD:308:11:SUV_Pink:0:1431:[97.3221,[10294.6,12052.9,0.00778198]]:[]:[]:1:10294612052903107:"" 20:29:34 "HIVE: WRITE: "CHILD:388:10294712053203106:"" 20:29:34 "CUSTOM: Selected "16055"" 20:29:34 "DELETE: B 1-1-G:1 ([JmP]Girigo) REMOTE Deleted by ID: 16038" 20:29:34 "PUBLISH: B 1-1-G:1 ([JmP]Girigo) REMOTE Upgraded SUV_Pink with ID "10294712053203106"" 20:29:34 "HIVE: WRITE: "CHILD:388:10294612052903107:"" 20:29:34 "CUSTOM: Selected "16056"" 20:29:34 "DELETE: B 1-1-G:1 ([JmP]Girigo) REMOTE Deleted by ID: 16038" 20:29:34 "PUBLISH: B 1-1-G:1 ([JmP]Girigo) REMOTE Upgraded SUV_Pink with ID "10294612052903107"" And HMMWV (duped the car to 3 of them): 20:32:35 "HIVE: WRITE: "CHILD:308:11:HMMWV_M998A2_SOV_DES_EP1_DZE:0:1431:[211.914,[10293.7,12052.1,0.0126038]]:[]:[]:1:10293712052103284:"" 20:32:35 "PUBLISH: Attempt 361e90c0# 1072809: m998a2_sov.p3d REMOTE" 20:32:35 "HIVE: WRITE: "CHILD:308:11:HMMWV_M998A2_SOV_DES_EP1_DZE:0:1431:[214.125,[10293.4,12051.7,0.0101624]]:[]:[]:1:10293412051703286:"" 20:32:35 "PUBLISH: Attempt 361e90c0# 1072809: m998a2_sov.p3d REMOTE" 20:32:35 "HIVE: WRITE: "CHILD:308:11:HMMWV_M998A2_SOV_DES_EP1_DZE:0:1431:[214.125,[10293.4,12051.7,0.0101624]]:[]:[]:1:10293412051703286:"" 20:32:38 "HIVE: WRITE: "CHILD:388:10293712052103284:"" 20:32:38 "CUSTOM: Selected "16058"" 20:32:38 "DELETE: B 1-1-G:1 ([JmP]Girigo) REMOTE Deleted by ID: 16005" 20:32:38 "PUBLISH: B 1-1-G:1 ([JmP]Girigo) REMOTE Upgraded HMMWV_M998A2_SOV_DES_EP1_DZE with ID "10293712052103284"" 20:32:38 "HIVE: WRITE: "CHILD:388:10293412051703286:"" 20:32:38 "CUSTOM: Selected "16059"" 20:32:38 "DELETE: B 1-1-G:1 ([JmP]Girigo) REMOTE Deleted by ID: 16005" 20:32:38 "PUBLISH: B 1-1-G:1 ([JmP]Girigo) REMOTE Upgraded HMMWV_M998A2_SOV_DES_EP1_DZE with ID "10293412051703286"" 20:32:38 "HIVE: WRITE: "CHILD:388:10293412051703286:"" 20:32:38 "CUSTOM: Selected "16059"" 20:32:38 "DELETE: B 1-1-G:1 ([JmP]Girigo) REMOTE Deleted by ID: 16005" 20:32:38 "PUBLISH: B 1-1-G:1 ([JmP]Girigo) REMOTE Upgraded HMMWV_M998A2_SOV_DES_EP1_DZE with ID "10293412051703286"" Link to comment Share on other sites More sharing options...
OtterNas3 Posted February 5, 2014 Author Report Share Posted February 5, 2014 Hey guys, just FYI i will have a look today at the given problems! Sorry for the late response but i'm very busy atm with Work. L8er, Otter Link to comment Share on other sites More sharing options...
LancerSolurus Posted February 5, 2014 Report Share Posted February 5, 2014 You might want to add a warning about stuff in the cargo of the vehicles, I did this to a fully loaded truck and it changed all of the inventory in it to something else. It also removed all of the guns and replaced them with 2 rocket launchers. There was no ammo on the truck and now it has missiles, grenades, AK ammo etc now. It did not happen if there wasn't any inventory present. It also duplicated the vehicle as well which would have shown up on my next restart (seen it in the DB) so I went and deleted it out. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 5, 2014 Report Share Posted February 5, 2014 I'm seeing these duping issues as well, including the inventory issue. it's pulling inventory from other vehicles and placing them in your vehicle. I am still running Epoch 1.0.3.1 and I think version 1.2 of this script. Link to comment Share on other sites More sharing options...
LancerSolurus Posted February 5, 2014 Report Share Posted February 5, 2014 I'm running the one I downloaded earlier today from the first post. What I have in that vehicle now isn't in any vehicle I have since RPG's aren't spawned or sold on my server, neither is the ammo for them. Link to comment Share on other sites More sharing options...
OtterNas3 Posted February 5, 2014 Author Report Share Posted February 5, 2014 You might want to add a warning about stuff in the cargo of the vehicles, I did this to a fully loaded truck and it changed all of the inventory in it to something else. It also removed all of the guns and replaced them with 2 rocket launchers. There was no ammo on the truck and now it has missiles, grenades, AK ammo etc now. It did not happen if there wasn't any inventory present. It also duplicated the vehicle as well which would have shown up on my next restart (seen it in the DB) so I went and deleted it out. I'm seeing these duping issues as well, including the inventory issue. it's pulling inventory from other vehicles and placing them in your vehicle. I am still running Epoch 1.0.3.1 and I think version 1.2 of this script. I'm running the one I downloaded earlier today from the first post. What I have in that vehicle now isn't in any vehicle I have since RPG's aren't spawned or sold on my server, neither is the ammo for them. Inventory issues? Seems you guys use non Epoch standard Vehicles, like Trucks and such from normal Arma2! They do spawn with a standard loadout that is hard coded to these kinda Vehicles. Seems you missed the Additional Informations in my first post! -- Additional Information --- You use normal Arma2 Vehicles instead of the _DZE or _DZ versions of Epoch? You need to clear the loot that is in it from Arma2 on spawn! Read this post: For the duping, im working on it! Moo, Otter Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 5, 2014 Report Share Posted February 5, 2014 Inventory issues? Seems you guys use non Epoch standard Vehicles, like Trucks and such from normal Arma2! They do spawn with a standard loadout that is hard coded to these kinda Vehicles. Seems you missed the Additional Informations in my first post! For the duping, im working on it! Moo, Otter Nope. It happened in a standard every day Ural that comes in Epoch. Link to comment Share on other sites More sharing options...
adg Posted February 5, 2014 Report Share Posted February 5, 2014 I have not changed any vehicles in epoch and I can confirm the RPG and grenade issue on 1.0.4 Link to comment Share on other sites More sharing options...
LancerSolurus Posted February 5, 2014 Report Share Posted February 5, 2014 Same here, standard Epoch vehicles doing this, tested it on a taxi I found in a field near my base and it happened again. Link to comment Share on other sites More sharing options...
cen Posted February 6, 2014 Report Share Posted February 6, 2014 Hey Otter, If you change a key on a broken vehicle it automatically fixes itself when it spawns the new one. Anyway to avoid that? Also seeing the duping periodically. Link to comment Share on other sites More sharing options...
DarkRanger Posted February 11, 2014 Report Share Posted February 11, 2014 Any updates? Link to comment Share on other sites More sharing options...
flakvest Posted February 17, 2014 Report Share Posted February 17, 2014 I can confirm with standard Epoch vehicles like the Ural and the Merlin it changes the inventory. Link to comment Share on other sites More sharing options...
OtterNas3 Posted February 20, 2014 Author Report Share Posted February 20, 2014 UPDATE v1.3 [FIXES] Vehicle moevement after Keychange No keychange for Motorcycles/ATV's Deleting/Replace of the Vehicles Inventory Vehicles had full Fuel and got full Repaired after Keychange Vehicle duping for some server configurations [ADDED] Configuration variable for the price of changing Vehicle Keys Configuration variable for the price of Claiming Vehicles that does not yet need a Key New server_updateObjects function to allow the Keychange without replacing the Vehicle by delete and create a new one instead it now just changes the Database entry for the Vehicle, this is needed for the above fixes! Moo, Otter Radec59437 1 Link to comment Share on other sites More sharing options...
darksoon Posted February 20, 2014 Report Share Posted February 20, 2014 nice update, but i found one bug. to lock spawned vehicles i need the exapmle vkc_Price = "ItemSilverBar"; and not the vkc_claimingPrice = "ItemGoldBar10oz";. Link to comment Share on other sites More sharing options...
Radec59437 Posted February 20, 2014 Report Share Posted February 20, 2014 UPDATE v1.3 [FIXES] No keychange for Motorcycles/ATV's You might want to add cursorTarget isKindOf "Tank" too by default, as some servers (like mine) use M113s, BRDMs etc. that otherwise don't get recognized by the script. Great work on the database changes! Link to comment Share on other sites More sharing options...
OtterNas3 Posted February 20, 2014 Author Report Share Posted February 20, 2014 nice update, but i found one bug. to lock spawned vehicles i need the exapmle vkc_Price = "ItemSilverBar"; and not the vkc_claimingPrice = "ItemGoldBar10oz";. Yeah i noticed already, sorry for that, i missed to pass over a variable for the locked vehicles, its changed in the download file already. If you dont want to download again, open the VehicleKeyChanger.sqf and find this line: s_player_copyToKey = player addAction [("<t color=""#0000FF"">" + ("Change Vehicle Key") + "</t>"),"custom\VehicleKeyChanger\VehicleKeyChanger.sqf",[_cTarget, _temp_keys, _carKey, _temp_keysDisplayName, _carKeyName, _targetVehicleKey, vkc_Price],-1,false,false,"",""]; replace it with this one: s_player_copyToKey = player addAction [("<t color=""#0000FF"">" + ("Change Vehicle Key") + "</t>"),"custom\VehicleKeyChanger\VehicleKeyChanger.sqf",[_cTarget, _temp_keys, _carKey, _temp_keysDisplayName, _carKeyName, _targetVehicleKey, vkc_Price, "0"],-1,false,false,"",""]; Sorry again... Moo, Otter Link to comment Share on other sites More sharing options...
OtterNas3 Posted February 20, 2014 Author Report Share Posted February 20, 2014 You might want to add cursorTarget isKindOf "Tank" too by default, as some servers (like mine) use M113s, BRDMs etc. that otherwise don't get recognized by the script. Great work on the database changes! Edit VehicleKeyChanger_init.sqf Find this line: if (!isNull cursorTarget && speed player <= 1 && (vehicle player) == player && !isEngineOn cursorTarget && (cursorTarget isKindOf "Motorcycle" || cursorTarget isKindOf "Car" || cursorTarget isKindOf "Air" || cursorTarget isKindOf "Ship") && (cursorTarget distance player) <= 10 && cursorTarget getVariable ["VKC_disabled", 0] == 0 && cursorTarget getVariable ["VKC_claiming_disabled",0] == 0) then { replace with: if (!isNull cursorTarget && speed player <= 1 && (vehicle player) == player && !isEngineOn cursorTarget && (cursorTarget isKindOf "Motorcycle" || cursorTarget isKindOf "Car" || cursorTarget isKindOf "Air" || cursorTarget isKindOf "Ship" || cursorTarget isKindOf "Tank") && (cursorTarget distance player) <= 10 && cursorTarget getVariable ["VKC_disabled", 0] == 0 && cursorTarget getVariable ["VKC_claiming_disabled",0] == 0) then { Server admins which are able to put Tanks on their servers, should be able to add this check themself ^^ Next would be serveradmins which put locked static guns on their servers... :D Moo, Otter Link to comment Share on other sites More sharing options...
Radec59437 Posted February 20, 2014 Report Share Posted February 20, 2014 Edit VehicleKeyChanger_init.sqf Find this line: if (!isNull cursorTarget && speed player <= 1 && (vehicle player) == player && !isEngineOn cursorTarget && (cursorTarget isKindOf "Motorcycle" || cursorTarget isKindOf "Car" || cursorTarget isKindOf "Air" || cursorTarget isKindOf "Ship") && (cursorTarget distance player) <= 10 && cursorTarget getVariable ["VKC_disabled", 0] == 0 && cursorTarget getVariable ["VKC_claiming_disabled",0] == 0) then { replace with: if (!isNull cursorTarget && speed player <= 1 && (vehicle player) == player && !isEngineOn cursorTarget && (cursorTarget isKindOf "Motorcycle" || cursorTarget isKindOf "Car" || cursorTarget isKindOf "Air" || cursorTarget isKindOf "Ship" || cursorTarget isKindOf "Tank") && (cursorTarget distance player) <= 10 && cursorTarget getVariable ["VKC_disabled", 0] == 0 && cursorTarget getVariable ["VKC_claiming_disabled",0] == 0) then { Server admins which are able to put Tanks on their servers, should be able to add this check themself ^^ Next would be serveradmins which put locked static guns on their servers... :D Moo, Otter Oh I've been doing that since V1.0 myself. I just mentioned it so you could add it by default :P Link to comment Share on other sites More sharing options...
Affraid Posted February 20, 2014 Report Share Posted February 20, 2014 Hey I followed instruction on the update you did. Now it does not work at all. I had previous version and it worked , except dupe and inventory problem. 1. changed path in INIT.sqf 2.uploaded new files to custom folder 3. added battleye filter 4. replaced file in @DayZ_Epoch_Server\addons\dayz_server\compile\ Uploaded everything and went to test it out and Nothing comes up at all. (and yes I have keymaster kit in inventory) any Idea's? Thank You inadvance jay8454 1 Link to comment Share on other sites More sharing options...
OtterNas3 Posted February 21, 2014 Author Report Share Posted February 21, 2014 Hey I followed instruction on the update you did. Now it does not work at all. I had previous version and it worked , except dupe and inventory problem. 1. changed path in INIT.sqf 2.uploaded new files to custom folder 3. added battleye filter 4. replaced file in @DayZ_Epoch_Server\addons\dayz_server\compile\ Uploaded everything and went to test it out and Nothing comes up at all. (and yes I have keymaster kit in inventory) any Idea's? Thank You inadvance What else settings you have done in the Config part? Maybe missing the vkc_Price item if its a Vehicle with a Key already, or missing the vkc_claimingPrice if its a free Car? Link to comment Share on other sites More sharing options...
Affraid Posted February 21, 2014 Report Share Posted February 21, 2014 I din't change anything. I left it all default. to make sure it works before I start changing anyhting. I tried it out on 2 vehicles I already own that has 2 diffent keys . Thanks for the reply . Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now