F507DMT Posted February 4, 2014 Report Share Posted February 4, 2014 Hi everyone! I have a problem, vehicles are not sold with missions (( because of which it is impossible to sell cars that do not exist in the database. Epoch Chernorus 1.0.4 Help pls ps my en bad)) Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted February 4, 2014 Report Share Posted February 4, 2014 You didn't say which mission system you are using, but normally, you can't sell mission vehicles because they aren't in the database. They aren't supposed to be. Link to comment Share on other sites More sharing options...
0 F507DMT Posted February 4, 2014 Author Report Share Posted February 4, 2014 EMS missions i know whot they aren't in the database. problem i cant sell my car on missions((( i one have this problem? Link to comment Share on other sites More sharing options...
0 Halvhjearne Posted February 4, 2014 Report Share Posted February 4, 2014 i had this problem yestoday aswell, ill investigate later today ... its most likely just a matter of giving them an id variable and it will propperbly work again Link to comment Share on other sites More sharing options...
0 cen Posted February 4, 2014 Report Share Posted February 4, 2014 i had this problem yestoday aswell, ill investigate later today ... its most likely just a matter of giving them an id variable and it will propperbly work again This is correct. _uniqueid = str(round(random 999999)); _object setVariable ["ObjectID", _uniqueid, true]; _object setVariable ["ObjectUID", _uniqueid, true]; PetuniaEpoch and Halvhjearne 2 Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted February 4, 2014 Report Share Posted February 4, 2014 EMS missions i know whot they aren't in the database. problem i cant sell my car on missions((( i one have this problem? If they aren't written to the database, they can't be sold, as you can only sell a vehicle if you were the last one driving it. If the vehicle isn't in the database, there's no way for the trader to know you were the last one driving it. Link to comment Share on other sites More sharing options...
0 cen Posted February 4, 2014 Report Share Posted February 4, 2014 If they aren't written to the database, they can't be sold, as you can only sell a vehicle if you were the last one driving it. If the vehicle isn't in the database, there's no way for the trader to know you were the last one driving it. This is false. So very false. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted February 4, 2014 Report Share Posted February 4, 2014 This is false. So very false. How so? Link to comment Share on other sites More sharing options...
0 cen Posted February 4, 2014 Report Share Posted February 4, 2014 This is correct. _uniqueid = str(round(random 999999)); _object setVariable ["ObjectID", _uniqueid, true]; _object setVariable ["ObjectUID", _uniqueid, true]; How so? I already posted it like 5 posts above. They have to have a uniqueID in order to be sold now in Epoch 1.0.4. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted February 5, 2014 Report Share Posted February 5, 2014 I already posted it like 5 posts above. They have to have a uniqueID in order to be sold now in Epoch 1.0.4. Which they don't have, so they can't be sold, like I said. Kind-Sir 1 Link to comment Share on other sites More sharing options...
0 Halvhjearne Posted February 5, 2014 Report Share Posted February 5, 2014 Which they don't have, so they can't be sold, like I said. idk if you are either oblivius or too stupid to understand, but he posted the code with the fix already. what more do you want him to do ... fix your files aswell? Paxton 1 Link to comment Share on other sites More sharing options...
0 cletus Posted February 5, 2014 Report Share Posted February 5, 2014 i tried to sell a mission uaz and kept getting a message to enter the drivers seat first. obviously i tried entering.... ninja edit: will try this fix thx Link to comment Share on other sites More sharing options...
0 F507DMT Posted February 5, 2014 Author Report Share Posted February 5, 2014 sorry, where i need change/add this: _uniqueid = str(round(random 999999)); _object setVariable ["ObjectID", _uniqueid, true]; _object setVariable ["ObjectUID", _uniqueid, true]; Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted February 5, 2014 Report Share Posted February 5, 2014 idk if you are either oblivius or too stupid to understand, but he posted the code with the fix already. what more do you want him to do ... fix your files aswell? I don't have a problem with any files. My server isn't even running 1.0.4. I'm not the OP. The OP wanted to sell vehicles from missions. Those vehicles aren't written to the database so I replied that he couldn't sell them. I'm not sure what is confusing you. Link to comment Share on other sites More sharing options...
0 cen Posted February 5, 2014 Report Share Posted February 5, 2014 I don't have a problem with any files. My server isn't even running 1.0.4. I'm not the OP. The OP wanted to sell vehicles from missions. Those vehicles aren't written to the database so I replied that he couldn't sell them. I'm not sure what is confusing you. Because you are spreading lies. The reason you cannot sell vehicles has NOTHING to do with them not being written to the database, but how they changed vehicle IDs in 1.0.4. Stop spreading lies :) Link to comment Share on other sites More sharing options...
0 Kroenen Posted February 5, 2014 Report Share Posted February 5, 2014 Not meaning to stick my head in the lions mouth, but where exactly do you think those vehicle IDs get written, hmm? Both answers are essentially correct as far as I can see, so no need to be jumping down each others throats. Link to comment Share on other sites More sharing options...
0 cen Posted February 5, 2014 Report Share Posted February 5, 2014 The IDs get written to the object, not the database. Link to comment Share on other sites More sharing options...
0 F507DMT Posted February 6, 2014 Author Report Share Posted February 6, 2014 agen, how fix problem? how sell noBD cars?? can i copy trade_any_vehicle.sqf in mission??? where change path? Link to comment Share on other sites More sharing options...
0 cen Posted February 6, 2014 Report Share Posted February 6, 2014 Try this F507DMT Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted February 6, 2014 Report Share Posted February 6, 2014 Because you are spreading lies. The reason you cannot sell vehicles has NOTHING to do with them not being written to the database, but how they changed vehicle IDs in 1.0.4. Stop spreading lies :) Using an "admin tool" spawns vehicles without them being written into the database, thus they vanish after restart. Some of the missions sytems do not write vehicles to the database, ie: EMS. The OP asked why he couldn't sell vehicles that come from missions. I don't know of any mission system that writes the mission vehicles to the database. Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted February 6, 2014 Report Share Posted February 6, 2014 Not meaning to stick my head in the lions mouth, but where exactly do you think those vehicle IDs get written, hmm? Both answers are essentially correct as far as I can see, so no need to be jumping down each others throats. I'm not jumping down his throat, but he certainly is jumping down mine. A very aggresive person. Probably a cultural thing from whatever country he is from. Link to comment Share on other sites More sharing options...
0 cen Posted February 6, 2014 Report Share Posted February 6, 2014 I'm not jumping down his throat, but he certainly is jumping down mine. A very aggresive person. Probably a cultural thing from whatever country he is from. ROFL, I'm from Ohio. Been to Jersey, nothing to brag about :D Also, you CAN sell vehicles from missions that DON'T save to the database, that's the point I am trying to get across. Paxton 1 Link to comment Share on other sites More sharing options...
0 Richie Posted February 7, 2014 Report Share Posted February 7, 2014 I'm not jumping down his throat, but he certainly is jumping down mine. A very aggresive person. Probably a cultural thing from whatever country he is from. Cen isn't aggresive, he's a big cuddley bear who's warn and fuzzy :p He's also clued up about Epoch so listen to his advice, he runs multiple popular servers and i know him well :) Paxton 1 Link to comment Share on other sites More sharing options...
0 F507DMT Posted February 7, 2014 Author Report Share Posted February 7, 2014 can just remove the check on whether there is a car in the database???? trade_any_vehicle.sqf Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted February 7, 2014 Report Share Posted February 7, 2014 ROFL, I'm from Ohio. Been to Jersey, nothing to brag about :D Also, you CAN sell vehicles from missions that DON'T save to the database, that's the point I am trying to get across. I assumed with your hostile attitude you were having trouble translating into English and it came out wrong or was just a cultural way of acting. So how was Jersey when you visited? I've never been over there, off the coast of France. If you re-read the OP, you'll see that he's trying to sell mission spawned vehicles but can not. He's referring to EMS, which doesn't save vehicles to the database. Lots of people have reported this since the change that requires you to be the last person to be in the driver's seat. Since the vehicle isn't saved to the database, it can be assumed that there's no way to track who was the last person in the driver's seat of that vehicle because it would make sense that information is stored in the database someplace. I haven't seen any other explanation for why they can't be sold anymore. Link to comment Share on other sites More sharing options...
0 cen Posted February 7, 2014 Report Share Posted February 7, 2014 I assumed with your hostile attitude you were having trouble translating into English and it came out wrong or was just a cultural way of acting. So how was Jersey when you visited? I've never been over there, off the coast of France. If you re-read the OP, you'll see that he's trying to sell mission spawned vehicles but can not. He's referring to EMS, which doesn't save vehicles to the database. Lots of people have reported this since the change that requires you to be the last person to be in the driver's seat. Since the vehicle isn't saved to the database, it can be assumed that there's no way to track who was the last person in the driver's seat of that vehicle because it would make sense that information is stored in the database someplace. I haven't seen any other explanation for why they can't be sold anymore. Spent most of our time in point pleasant for a wedding, it wasn't bad. I can't believe they charge you to access the beach though, blew my mind. Back on topic, I know what the OP is trying to do and I posted a fix for it. You can sell EMS mission vehicles without them saving to the database. They changed the way vehicles are handled in 1.0.4 so you need a uniqueID assigned to the vehicle when it spawns. It doesn't matter if it's in the database or not. Link to comment Share on other sites More sharing options...
Question
F507DMT
Link to comment
Share on other sites
39 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