OtterNas3 Posted February 21, 2014 Author 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...
Logan Posted February 22, 2014 Report Share Posted February 22, 2014 Not working for me either VehicleKeyChanger_init.sqf http://pastebin.com/NHcTst8Z jay8454 1 Link to comment Share on other sites More sharing options...
Proximus Posted February 22, 2014 Report Share Posted February 22, 2014 We implemented this yesterday. Almost everything works, except for openening up the vehicle where you throw away the key from. It takes the 1silverbar, it put's the "old" key in de BC, we use de keykit, but we cannot open the vehicle with the "new" key. Any help appreciated :) Link to comment Share on other sites More sharing options...
RickAKASpud Posted February 23, 2014 Report Share Posted February 23, 2014 Hmm, Cant seem to get it working at all for some reason. No options etc. Followed the tutorial exactly. Any ideas or known issues? Rick jay8454 1 Link to comment Share on other sites More sharing options...
Logan Posted February 23, 2014 Report Share Posted February 23, 2014 Edit: My issue. Link to comment Share on other sites More sharing options...
WGC GeekGarage Posted February 23, 2014 Report Share Posted February 23, 2014 running on our 1.0.4.2 server get the option and everything, but it doesn't change the key. checked the ID in the database in character field. still the same, so it's the hive call thats the issue Link to comment Share on other sites More sharing options...
Radec59437 Posted February 23, 2014 Report Share Posted February 23, 2014 Having a small issue since the database entry change patch, vehicles will often teleport back to the location the key script was used on them after restart. Basically every movement past the key change won't save to the database for some reason. This has happened 4+ times. Edit: Alright, getting even bigger problems with this, now it's actually teleporting vehicles to each other's positions and wiping inventories.. Link to comment Share on other sites More sharing options...
FoRcE72 Posted February 24, 2014 Report Share Posted February 24, 2014 Having a small issue since the database entry change patch, vehicles will often teleport back to the location the key script was used on them after restart. Basically every movement past the key change won't save to the database for some reason. This has happened 4+ times. Edit: Alright, getting even bigger problems with this, now it's actually teleporting vehicles to each other's positions and wiping inventories.. Same issue here, any luck on getting this sorted yet? Link to comment Share on other sites More sharing options...
Metro Posted February 24, 2014 Report Share Posted February 24, 2014 When we try to claim a vehicle the Character ID is indeed correctly changed in the database but we have to wait the server restart to have access to the vehicle. In the meantime we can still claim the vehicle (I claimed it 3 times) and it will duplicate it in the database. Link to comment Share on other sites More sharing options...
Slaughterfast Posted February 24, 2014 Report Share Posted February 24, 2014 Having a small issue since the database entry change patch, vehicles will often teleport back to the location the key script was used on them after restart. Basically every movement past the key change won't save to the database for some reason. This has happened 4+ times. Edit: Alright, getting even bigger problems with this, now it's actually teleporting vehicles to each other's positions and wiping inventories.. Just installed this mod on Saturday, everything seemed to be working fine, we used one keymaker kit to create keys for four vehicles. When the server restarted, a helicopter full of cargo was replaced with one of the other vehicles (a pickup truck) and much of its loot was dumped on the ground. Really great mod idea, but I might have to remove it until I can get this sorted. Link to comment Share on other sites More sharing options...
Sellis Posted February 24, 2014 Report Share Posted February 24, 2014 Yeah, I just followed all the instructions but no option pops up to change key in the action menu. Tried a Blackhawk and a M2 Humvee. Any ideas? Link to comment Share on other sites More sharing options...
Metro Posted February 25, 2014 Report Share Posted February 25, 2014 @OtterNas3 : If there is no way to fix the problems above, I would recommend to go back to the old model (1.2) but prevent players to change the vehicle key or claim the vehicle (with a notice saying why they can't) IF the inventory isn't empty. The same goes if the vehicle is damaged or not fully fuelled. Just like it is right now with skins, we must get rid of our backpack before changing our skin. Link to comment Share on other sites More sharing options...
ToClose Posted February 26, 2014 Report Share Posted February 26, 2014 Love this script. Has been working amazing. Going to check out these new additions.. Link to comment Share on other sites More sharing options...
MassAsster Posted February 26, 2014 Report Share Posted February 26, 2014 would this work for damage ? _targetVehicleID = _targetVehicle getVariable ["ObjectID","0"]; _targetVehicleUID = _targetVehicle getVariable ["ObjectUID","0"]; if (_targetVehicleID == "0" && _targetVehicleUID == "0") exitWith {s_player_copyToKey = -1;}; _targetVehicleDamage = _targetVehicle getVariable ["Damage","0"]; if (_targetVehicleDamage == "1") exitWith {s_player_copyToKey = -1;}; Link to comment Share on other sites More sharing options...
JohnoDotCA Posted February 26, 2014 Report Share Posted February 26, 2014 When the server restarted, a helicopter full of cargo was replaced with one of the other vehicles (a pickup truck) and much of its loot was dumped on the ground. Really great mod idea, but I might have to remove it until I can get this sorted. Link to comment Share on other sites More sharing options...
Peppermint Posted February 27, 2014 Report Share Posted February 27, 2014 Nice script bad feature The helicopter Merlin is replaced after changekey with loot m107 ammo as50 ammo some weapons grenades.... sometimes duplicated vehicle. on made masterkey spawning duplicated SUVPink running 1.0.4.2 Link to comment Share on other sites More sharing options...
Gondalf Posted February 28, 2014 Report Share Posted February 28, 2014 Otter can you help maybe ? I got trouble with the database. Every time when a user create a master key the car got duplicated in the database. One vehicle with the old key id one with the new one :/ Greetz Gondalf Link to comment Share on other sites More sharing options...
Turk Posted February 28, 2014 Report Share Posted February 28, 2014 | cursorTarget isKindOf "StaticWeapon" | added into the VehicleKeyChanger_init.sqf, in the same fashion as your "tank" post earlier, will allow static weapons to be changed as well. Already did it on my server :) Link to comment Share on other sites More sharing options...
Radec59437 Posted February 28, 2014 Report Share Posted February 28, 2014 I have disabled the script on my server for the time being, a good solution could be rolling back to the previous version (with bouncy vehicles). Link to comment Share on other sites More sharing options...
Affraid Posted March 1, 2014 Report Share Posted March 1, 2014 Post your VehicleKeyChanger_init.sqf pls Link to comment Share on other sites More sharing options...
Turk Posted March 1, 2014 Report Share Posted March 1, 2014 1 thing I've been noticing lately, (as in, it's happened twice, in the last, say, 5 days?) that the DB can get a little confused and kind of shift similar keyed vehicles around on a restart. The first time it happened,.. I had used the keyclaim on a spawn vehicle,... moved it back to my base,... tinkered around with a few other things for 5 minutes or so, then restarted the server. When I loaded back in, the spawn vehicle I found was back at it's original spot (still keyed) and one of my other keyed vehicles was sitting where I left it parked at restart. The second time it happened, I got caught in a keyed Heli at restart (working and not paying attention :P). When I loaded back in,.. the Heli was parked where I took off from, and again, one of my other keyed vehicles was sitting where I got cutoff at the restart. Incidentally, the vehicle that got placed was a Keyed Armored SUV both times. Don't know if maybe I have too many vehicles keyed alike,.. or if it's just a function of doing something with keyed alike vehicles too close to a restart. Anyway, not a huge deal to me as it seems to be a rare happening,.. but thought I should report it. Link to comment Share on other sites More sharing options...
Turk Posted March 1, 2014 Report Share Posted March 1, 2014 Happened a 3rd time. Purchased an MTVR,.. re-keyed it, about 45 minutes before restart. Drove it back to base. After the restart,.. my Armored SUV teleported to the vicinity of a V3S that a friend of mine had re-keyed 10 minutes or prior to restart,.. his V3S moved, and, my MTVR teleported back to the Trader City. So,... not sure if it's an issue with my Armored SUV,.. armored SUV's in general,. or if the DB is getting confused with multiple vehicles being keyed alike. Any thoughts? Link to comment Share on other sites More sharing options...
Turk Posted March 1, 2014 Report Share Posted March 1, 2014 well,.. not the armored SUV. Got rid of it,... Split up vehicles into different keys so there wasn't too many on one key. Waited about 30 minutes or so,.. interacting with all the vehicles I changed (get in,.. start the engine,.. maybe move it just a little, check the gear) Restarted the server,... and it moved my BTR40 to where my Osprey was,.. and moved my Osprey about 100m away. (and they are not keyed alike) It kinda looks like the last vehicle to be changed before a restart moves, and pulls an arbitrary vehicle in it's place. (speculation, but fits considering every vehicle that is the last to be keyed returns to where it was keyed at. I have no clue how it's choosing what vehicle to move into it's place when it happens.) Link to comment Share on other sites More sharing options...
Vindomire Posted March 4, 2014 Report Share Posted March 4, 2014 Had to disable this script as well. Its functionality works perfect but after restarts baaaad things happen, had 2 vehicles vanish completely, Had one helicopter spawn in on top of another, Had loot left in a long line down the road from an armoured suv.... Link to comment Share on other sites More sharing options...
Logan Posted March 4, 2014 Report Share Posted March 4, 2014 Had to disable this script as well. Its functionality works perfect but after restarts baaaad things happen, had 2 vehicles vanish completely, Had one helicopter spawn in on top of another, Had loot left in a long line down the road from an armoured suv.... Same issue here on my server, too many issues for the admins to deal with when this was in. Love the script, just needs a fix. 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