Jump to content
Sign in to follow this  
miguel93041

Custom vehicle creates desync on spawn

Recommended Posts

Hello i´ve been trying to fix this error but i simply can´t.

 

I don´t know why but when i´m spawning a car to the server increases the output and input of bandwith.

 

f2d4b2a1dd26a88c22fb0a146c9600dd.png

 

When deleting this car (or without spawning it) i have out: 4 Kbps, in: 8 Kbps

I´ve been fixing errors from my RPT that said about some animation source errors but no succed.

 

The car is about 45000 faces (polys) but that´s not the problem because i´ve checked a car with 110000 faces (polys, not mine) and works perfect.

 

MODEL.CFG

https://pastebin.com/7WqwkcwS

 

CONFIG.CPP

https://pastebin.com/vFEpAR6K

 

CFGPATCHES

class CfgPatches
{
	class Peugeot508
	{
		// List of units defined in this "PBO"
		units[]= 
		{
			"Peugeot_01_F"
		};
		weapons[]={};
		requiredVersion=0.1;
		// because we are using references to this addon, our test car should not be loaded if A3_Soft_F is not present
		requiredAddons[]	= {"A3_Soft_F"};
	};
};

 

I think you don´t need the basicDefines file because it´s from the arma 3 samples.

And obviously i have binarised this model so that´s not the problem.

If you need more information PLEASE tell me and i´ll try to post it.

Share this post


Link to post
Share on other sites

Try temporarily eliminating some items from your config.cpp to see if you can narrow down whether it's related to the config or not:

 

For example, 

1) comment out class Reflectors (line 137-177)

2) comment out class EventHandlers (line 179-182)

3) comment out class UserActions (line 194-262)

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×