Jump to content
  • 0

Bought Cars NOT Towing/Lifting


Thug

Question

I have a problem and its with the tow/lift. R3F was working great with 1.0.4.2 103718
 
1.0.5.1 125548 I can find a vehicle and tow or lift and that part good.
I can spawn any vehicle with keys and without keys and i can tow or lift, that part good.
But and yes i started with a but. When you buy any vehicle you can not tow or lift at all with them.
Any help at all please, thank you in advance
 
Thug
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

my mod is Napf. I started looking at my Data Base and notice that there were vehicles that were on the trader list, but were not on the Data Base.

So after looking around i seen on the client side that they were calling the all of the Traders items from a folder in called mod. This is what i found.

In the description.ext there are four lines as follows:

//OverpochLoot
#include "mods\CfgCustomLoot\CfgBuildingLoot.hpp"
//OverpochTraders
#include "mods\CfgServerTrader\cfgServerTrader.hpp"
 
The mod folder has the following:
CfgCustomLoot and CfgServerTrader
 
In the CfgServerTrader folder is an cfgServerTrader.hpp
in that file it looks like this
class CfgTraderCategory {
#include "Category\BanditAmmunition.hpp"
#include "Category\BanditClothing.hpp"
#include "Category\BanditHelicopterArmed.hpp"
and more.
 
Also in the CfgServerTrader folder is a Category folder that have the *.hpp files
Heres a look at what is in the BanditHelicopterArmed.hpp
 
class Category_512 {
class CH_47F_EP1_DZE {
type = "trade_any_vehicle";
buy[] = {7,"ItemBriefcase100oz"};
sell[] = {4,"ItemBriefcase100oz"};
};
class UH1H_DZE {
type = "trade_any_vehicle";
buy[] = {3,"ItemBriefcase100oz"};
sell[] = {1,"ItemBriefcase100oz"};
};
class Mi17_DZE {
type = "trade_any_vehicle";
buy[] = {3,"ItemBriefcase100oz"};
sell[] = {1,"ItemBriefcase100oz"};
};
and more
 
My question is could this be causing my problem? 
one other thing is in the data base they do us the character_data, Object_data, player_data, and player_login.
The Server_traders, trader_items, trader_tids and traders_data do not look like they use them. 
My last traders id was 702 and i see that in the Data Base. They added 900-920 and they are now where.
 
 
 
 
 
 
Link to comment
Share on other sites

  • 0

Hi. The trade stuff works like so:

You buy a vehicle and it will be published to the Database. This might take a few. The Car then has no "owner" (nobody ever drove the car). Because the car has no owner it can't be Towed.

You shall get in as Driver and drive around a bit. Then lock and unluck your vehicle. You should be able to tow then

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...