• 0
Leander

Vehicle Trader cannot spawn CUP Vehicles

Question

Posted (edited)

We have made an Exile server with CUP Mods. We have added the CUP Vehicles to the Vehicle Trader but when I want to buy one nothing happens.

RPT Error:

Cannot create non-ai vehicle CUP_B_Ridgback_HMG_GB_W,
 4:11:43 Error in expression <llExtension _query);
(_result select 1) select 0>
 4:11:43   Error position: <select 0>
 4:11:43   Error Generic error in expression
 4:11:43 File exile_server\code\ExileServer_system_database_query_insertSingle.sqf, line 16
 4:11:43 Error in expression <llExtension _query);
(_result select 1) select 0>
 4:11:43   Error position: <select 0>
 4:11:43   Error Generic error in expression
 4:11:43 File exile_server\code\ExileServer_system_database_query_insertSingle.sqf, line 16

ExtDB Error:

[04:11:43:006018 +00:-1] [Thread 4136] extDB2: SQL_CUSTOM_V2: Error StatementException: MySQL: [MySQL]: [Comment]: mysql_stmt_execute error    [mysql_stmt_error]: Cannot add or update a child row: a foreign key constraint fails (`exile`.`vehicle`, CONSTRAINT `vehicle_ibfk_1` FOREIGN KEY (`account_uid`) REFERENCES `account` (`uid`) ON DELETE CASCADE)    [mysql_stmt_errno]: 1452    [mysql_stmt_sqlstate]: 23000    [statemnt]: INSERT INTO vehicle SET class = ?, account_uid = ?, is_locked = ?, position_x = ?, position_y = ?, position_z = ?, direction_x = ?, direction_y = ?, direction_z = ?, up_x = ?, up_y = ?, up_z = ?, pin_code = ?

Mods: @Exile;@Esseker;@CUP Units;@CUP Vehicles;@CUP Weapons;@CUP Terrains - Core;@CBA_A3 + infiSTAR + ExAd

It does this with all CUP vehicles but not the stock vehicles that came with Exile.

Any fix because I have tried so many things to try to fix it.
 

Edited by Leander

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Also the MySQL is not running in Strict Mode. MySQL 5.7

We really need help on this one because other forum posts did not help.

Share this post


Link to post
Share on other sites
Advertisement
  • 0

I am such a dummy. The CUP Mod folders were wrong. They cannot have spaces in them.

Wrong:  CUP vehicles

Correct:  CUP_vehicles

Such a newbie mistake. This question has been answered by myself.

Share this post


Link to post
Share on other sites
Advertisement

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.