myst Posted January 31, 2014 Report Share Posted January 31, 2014 As the title states, I don't seem to be able to sell any vehicles which spawn via missions. Every other vehicle (purchased/spawned by admin etc) is able to be sold. Mission vehicles keep saying you need to have sat in the drivers seat. Any suggestions would be appreciated. Thanks! Link to comment Share on other sites More sharing options...
0 cen Posted January 31, 2014 Report Share Posted January 31, 2014 Having this same issue with planes that I spawn every restart via SQF. Link to comment Share on other sites More sharing options...
0 Namindu Posted January 31, 2014 Report Share Posted January 31, 2014 Make sure the class names are the same, If they are not, either change it to onces that work, or add the current ones to the traders. Link to comment Share on other sites More sharing options...
0 myst Posted January 31, 2014 Author Report Share Posted January 31, 2014 Make sure the class names are the same, If they are not, either change it to onces that work, or add the current ones to the traders. They're all the same, was working fine with same class names prior to upgrading to 1.0.4. Just can't seem to figure it out. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted January 31, 2014 Report Share Posted January 31, 2014 Which mission system? There's at least 3 of them out there. Link to comment Share on other sites More sharing options...
0 myst Posted January 31, 2014 Author Report Share Posted January 31, 2014 Oops sorry, https://github.com/theszerdi/DayZ-Missions Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted January 31, 2014 Report Share Posted January 31, 2014 Oops sorry, https://github.com/theszerdi/DayZ-Missions Ok, make that at least 4 mission systems, as I've never seen that one before. :) Link to comment Share on other sites More sharing options...
0 Firefly Posted February 2, 2014 Report Share Posted February 2, 2014 That one is pretty much the same as the Chernarus mission system and is what EMS is based on. Unfortunately you will not be able to sell vehicles from those missions without modifying them on Epoch 1.0.4. Link to comment Share on other sites More sharing options...
0 myst Posted February 2, 2014 Author Report Share Posted February 2, 2014 Yeah, we've switched to the WAI system now, seems to be running alright so far. Link to comment Share on other sites More sharing options...
0 infiniti Posted February 2, 2014 Report Share Posted February 2, 2014 what is the WAI system may i ask. i have the same problem with not being able to sell mission vehicles. im using EMS at the moment Link to comment Share on other sites More sharing options...
0 myst Posted February 3, 2014 Author Report Share Posted February 3, 2014 what is the WAI system may i ask. i have the same problem with not being able to sell mission vehicles. im using EMS at the moment Hey, The 2 threads relating to WAI can be found below: Hope that helps you! Link to comment Share on other sites More sharing options...
0 fr1nk Posted February 3, 2014 Report Share Posted February 3, 2014 I've edited my missions to exclude any vehicles, so I don't even remember anymore...but are the missions spawning the Epoch versions of vehicles or the Arma ones? If they're not using the Epoch classnames, then the traders won't do anything with them. Link to comment Share on other sites More sharing options...
0 cen Posted February 3, 2014 Report Share Posted February 3, 2014 They changed some things in 104 in regards to vehicle IDs and variables. Link to comment Share on other sites More sharing options...
0 fr1nk Posted February 3, 2014 Report Share Posted February 3, 2014 Ah gotcha, good to know. Link to comment Share on other sites More sharing options...
0 Baker Posted February 3, 2014 Report Share Posted February 3, 2014 I have this issue but, the vehicles one wont sell for a different reason, says i need to get in the driver seat first even though i already have Link to comment Share on other sites More sharing options...
0 infiniti Posted February 3, 2014 Report Share Posted February 3, 2014 its the same bug, the drivers seat message is just what it says and its the same thing i was getting. basically i got around it for now by dropping ems for a bit until its fixed and instead installing WAI found here https://github.com/WilliamJBrown/Re-Worked-WAI-0.17 and here they have even ported some of the ems missions to it and it has some great features. give it a try Link to comment Share on other sites More sharing options...
0 Phail Posted February 8, 2014 Report Share Posted February 8, 2014 I found a fix for this issue. I don't know if there will be side effects to using this so use at your own risk. I was working with the WAI system and found a line that looked like it might work. In WAI they use this in the armed_vehicle.sqf line 19 _veh setVariable ["ObjectID","1",true]; So in this mission system I replaced _hummer setVariable ["Sarge",1,true]; to _hummer setVariable ["ObjectID","1",true]; If anyone is still using this mission I hope this helps. Link to comment Share on other sites More sharing options...
0 WGC GeekGarage Posted February 8, 2014 Report Share Posted February 8, 2014 You shouldn't replace the serve with the object but rater add it so mission system adds both vars to the vehicle, now you cleanup script will prob remove your vehicles. This is what i did for now copy player_traderMenu.sqf from your Client PBO: \dayz_code\actions into "mission root\fixes\ change compiles.sqf -> player_traderMenu to call player_traderMenu.sqf from fixes folder copy from dayz_code\actions\ : trade_any_bicycle.sqf trade_any_boat.sqf trade_any_vehicle.sqf trade_backpacks.sqf trade_items.sqf trade_items_wo_db.sqf trade_metals.sqf trade_weapons.sqf to a folder called "actions" inside fixes folder now in these files: trade_any_bicycle.sqf trade_any_boat.sqf trade_any_vehicle.sqf Find these line: _notSetup = (_objectID == "0" && _objectUID == "0"); if(local _obj and !isNull _obj and alive _obj and !_notSetup) then { and remove: _notSetup = (_objectID == "0" && _objectUID == "0"); and change to if(local _obj and !isNull _obj and alive _obj) then { this way you should be able to trade mission vehicles again. you could also try to add the "setVariable ["ObjectID","1",true]; " to all you mission files and you should be good I did it this way since i'm plying around with some other settings in these files Link to comment Share on other sites More sharing options...
0 Baker Posted February 14, 2014 Report Share Posted February 14, 2014 I found a fix for this issue. I don't know if there will be side effects to using this so use at your own risk. I was working with the WAI system and found a line that looked like it might work. In WAI they use this in the armed_vehicle.sqf line 19 _veh setVariable ["ObjectID","1",true]; So in this mission system I replaced _hummer setVariable ["Sarge",1,true]; to _hummer setVariable ["ObjectID","1",true]; If anyone is still using this mission I hope this helps. I have been doing it this way for a few weeks with no obvious effects. Just fyi i guess Link to comment Share on other sites More sharing options...
0 Baker Posted February 14, 2014 Report Share Posted February 14, 2014 alright so after much fuggin around, here is how to do this: MCoords = _coords; publicVariable "MCoords"; [] execVM "debug\addmarkers75.sqf"; _uniqueid = str(round(random 999999)); _baserunover = createVehicle ["Land_HouseV_1I3",[(_coords select 0) +2, (_coords select 1) +5,-0.3],[], 0, "CAN_COLLIDE"]; _baserunover2 = createVehicle ["Land_hut06",[(_coords select 0) - 10, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"]; _baserunover3 = createVehicle ["Land_hut06",[(_coords select 0) - 7, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"]; _hummer = createVehicle ["HMMWV_DZ",[(_coords select 0) + 10, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"]; _hummer1 = createVehicle ["HMMWV_Ambulance",[(_coords select 0) - 25, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"]; _hummer2 = createVehicle ["SUV_Camo",[(_coords select 0) + 25, (_coords select 1) - 15,0],[], 0, "CAN_COLLIDE"]; _hummer setVariable ["ObjectID", _uniqueid, true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh]; _hummer1 setVariable ["ObjectUID", _uniqueid, true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh]; _hummer2 setVariable ["ObjectUID", _uniqueid, true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh]; Link to comment Share on other sites More sharing options...
0 Halvhjearne Posted February 15, 2014 Report Share Posted February 15, 2014 this is fixed in vampires revised version of the mission system, just switch to that, its a much cleaner code aswell Baker 1 Link to comment Share on other sites More sharing options...
Question
myst
As the title states, I don't seem to be able to sell any vehicles which spawn via missions. Every other vehicle (purchased/spawned by admin etc) is able to be sold. Mission vehicles keep saying you need to have sat in the drivers seat.
Any suggestions would be appreciated.
Thanks!
Link to comment
Share on other sites
20 answers to this question
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