Mezo 1264 Report post Posted April 4, 2016 (edited) Allows players to claim server-spawned non-persistent vehicles with a codelock. Download Spoiler Drop ClaimVehicles_Server.pbo into @ExileServer/addons folder. Drop ClaimVehicles_Client Folder into mpmission/Exile.MAPNAME Open init.sqf or initplayerLocal.sqf and add the following. [] execVM "ClaimVehicles_Client\ClaimVehicles_Client_init.sqf"; Open your missionfile config.cpp and find class "CAR" Spoiler Add the contents of EXAMPLE_Config.cpp as a Interaction class look at the screenshot. Repeat this step for Class "AIR" and Class tank if you have it. Donezo! ^ Install Instructions ^ Note: This was tested with Vanilla Exile and Arma3 Vehicles. There's no reason why it shouldn't work with 3rd party vehicle mods, But if it doesn't I won't be making it work Edited August 9, 2016 by Taylor Swift 33 Share this post Link to post Share on other sites
Mezo 1264 Report post Posted April 5, 2016 Reserverd Share this post Link to post Share on other sites
Its me ZovkT 87 Report post Posted April 5, 2016 i wll testting this in 1 hr food is rdy to eat Share this post Link to post Share on other sites
1Man 100 Report post Posted April 5, 2016 If you have virtual garage you already have CfgNetworkMessages defined so you will need to put this class InsertClaimedVehicle { module = "ClaimVehicle"; parameters[] = {"STRING","STRING"}; }; at the bottom of config.cpp Spoiler class CfgNetworkMessages { class GetStoredVehiclesRequest { module = "VirtualGarage"; parameters[] = {"STRING"}; }; class GetStoredVehiclesResponse { module = "VirtualGarage"; parameters[] = {"ARRAY"}; }; class RetrieveVehicleRequest { module = "VirtualGarage"; parameters[] = {"STRING"}; }; class RetrieveVehicleResponse { module = "VirtualGarage"; parameters[] = {"STRING","STRING"}; }; class StoreVehicleRequest { module = "VirtualGarage"; parameters[] = {"STRING","STRING"}; }; class StoreVehicleResponse { module = "VirtualGarage"; parameters[] = {"STRING"}; }; class InsertClaimedVehicle { module = "ClaimVehicle"; parameters[] = {"STRING","STRING"}; }; }; 3 Share this post Link to post Share on other sites
Its me ZovkT 87 Report post Posted April 5, 2016 ANy Infistar settings for this ? Share this post Link to post Share on other sites
ynpMOOSE 122 Report post Posted April 5, 2016 The exceptions thrown in this code are hilarious. 2 Share this post Link to post Share on other sites
CEN 449 Report post Posted April 5, 2016 you should have to have a code lock in order to do this Share this post Link to post Share on other sites
StokesMagee 871 Report post Posted April 5, 2016 44 minutes ago, CEN said: you should have to have a code lock in order to do this ... that is already how it works, lol. 2 Share this post Link to post Share on other sites
GroundLoop 13 Report post Posted April 5, 2016 No doubt I've screwed something.. I don't use BE and have only got the admin functions enabled in infiSTAR. I find a spawned vehicle on the map ( in this case it was astock Exile Lada) and I get the option to claim. When activated, it removes a codelock that I bought from the trader (I know sometimes stuff doesn't work if you spawn it in). I get to input a code which it confirms. Now I get the option to unlock but nothing happens from that point on. I can't unlock but I can claim again and thereby have another codelock removed with the same results. This is what is shown in my rpt Spoiler "ExileServer - Network message dispatch failed: Forbidden message name! Payload: ["vSnwRfYi","InsertClaimedVehicle",["2:797","1234"]]" Share this post Link to post Share on other sites
Mezo 1264 Report post Posted April 5, 2016 23 hours ago, CEN said: you should have to have a code lock in order to do this On 04/04/2016 at 10:46 PM, Taylor Swift said: Allows players to claim server-spawned non-persistent vehicles with a codelock. ^^^^^^^^^^^^^ Not sure if blind or retarded? 3 Share this post Link to post Share on other sites