ExtDB Heli save issue

ExtDB Heli save issue

« posted: Apr 10, 2015, 10:56 PM »
Hi,

Some guys reporting me that their heli not being saved. I had a look at it and press force vehicle save. After it I had a look in the database and the heli wasnt save. Does anyone know where to look at? I think that other peaple have the same issues on my server. Seems to be random because other vehicles got saved.
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: ExtDB Heli save issue

« Reply #1 posted: Apr 10, 2015, 11:04 PM »
Show us your server RPT please.

Re: ExtDB Heli save issue

« Reply #2 posted: Apr 10, 2015, 11:20 PM »
you can look here https://github.com/lahlor/A3Wasteland/blob/master/RPT

Had already a look at but didnĀ“t find anything :(
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: ExtDB Heli save issue

« Reply #3 posted: Apr 10, 2015, 11:35 PM »
Well nothing weird in your RPT. Is it a standard shop heli?

Re: ExtDB Heli save issue

« Reply #4 posted: Apr 10, 2015, 11:46 PM »
No it is a mission heli. They bought a license for it. Vehicle info give me the right owner. Everything seems be ok but nothing in the sql db. Had activated the sql query log so may I can have a look next restart what exactly will happen. Did you see my object not found in the rpt log? It normal or too often?
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: ExtDB Heli save issue

« Reply #5 posted: Apr 10, 2015, 11:51 PM »
Are these variables set when the license is bought?
Code: [Select]
_vehicle setVariable ["A3W_purchasedVehicle", true, true];
_vehicle setVariable ["ownerUID", getPlayerUID player, true];
_vehicle setVariable ["ownedVehicle", true, true];

Re: ExtDB Heli save issue

« Reply #6 posted: Apr 10, 2015, 11:55 PM »
Where exactly I have to look at?
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: ExtDB Heli save issue

« Reply #7 posted: Apr 11, 2015, 12:17 AM »
Your license script.

Re: ExtDB Heli save issue

« Reply #8 posted: Apr 11, 2015, 12:17 AM »
I am using the License script from CREAMPIE which is called in client/systems/selling/licenseVehicle.sqf like https://github.com/CRE4MPIE/ArmA3_Wasteland_1.1c.Stratis/blob/master/client/systems/selling/licenseVehicle.sqf
and there is

Code: [Select]
  _vehicle setVariable ["A3W_missionVehicle", true, true];
_vehicle setVariable ["ownerN", name player, true];
_vehicle setVariable ["ownerUID", getPlayerUID player, true];

Re: ExtDB Heli save issue

« Reply #9 posted: Apr 11, 2015, 12:22 AM »
I am using the License script from CREAMPIE which is called in client/systems/selling/licenseVehicle.sqf like https://github.com/CRE4MPIE/ArmA3_Wasteland_1.1c.Stratis/blob/master/client/systems/selling/licenseVehicle.sqf
and there is

Code: [Select]
  _vehicle setVariable ["A3W_missionVehicle", true, true];
_vehicle setVariable ["ownerN", name player, true];
_vehicle setVariable ["ownerUID", getPlayerUID player, true];

But as you can see this is a dump fromk the SQL and it seems to be working for other players
Code: [Select]
[["ownerUID","76561198074955861"],["A3W_purchasedVehicle",true]]
[["ownerUID","76561198074955861"],["A3W_purchasedVehicle",true]]
[["ownerUID","76561198071170693"],["A3W_purchasedVehicle",true]]
[["ownerUID","76561198071170693"],["A3W_missionVehicle",true]]
[["ownerUID","76561198071170693"],["A3W_missionVehicle",true]]
[["ownerUID","76561198071170693"],["A3W_missionVehicle",true]]
[["ownerUID","76561198071170693"],["A3W_missionVehicle",true]]