Spackler

Wheels Buried

9 posts in this topic

I am having issue since putting infistar on the server of my cars all the sudden all on server sinking and cannot be fixed outside of a reboot. Any ideas/suggestions.

Share this post


Link to post
Share on other sites

What are you doing that your cars are sinking? I mean this is a pretty strange error and I can't really confirm it.

Just watch any stream, many servers run my tool but their cars are not sinking

I will look thorugh my github tomorrow and see what I've changed that may cause this but I think it's something else causing you that trouble.

 

Are you on DEV build? maybe tested on Tanoa? because cars can actually sink on there.. :)

Share this post


Link to post
Share on other sites
Advertisement

Running all CUP, and Esseker on the server. So not sure but makes me want to hulk smash something.

Share this post


Link to post
Share on other sites

haha you're funny :P

and it happens to ALLLLL your vehicles?

Share this post


Link to post
Share on other sites

I had the same problem on Esseker. I even had a problem at one point where the vehicles were spawning under ground. It happened with Infistar disabled too. Now it doesn't do it on my Esseker server but I don't know why.

Share this post


Link to post
Share on other sites

so it's a Esseker thing, thanks for pointing out @BetterDeadThanZed

Might just have to

_pos = getPosATL _veh;
_pos set [2,0];
_veh setPosATL _pos;

to set it above the ground / on 0 level

Share this post


Link to post
Share on other sites
6 hours ago, infiSTAR said:

so it's a Esseker thing, thanks for pointing out @BetterDeadThanZed

Might just have to

_pos = getPosATL _veh;
_pos set [2,0];
_veh setPosATL _pos;

to set it above the ground / on 0 level

Ok going to be the moron that I am and ask where this should go?

Share this post


Link to post
Share on other sites

Try to put it here:
@ExileServer\addons\exile_server\code\ExileServer_object_vehicle_carefulCreateVehicle.sqf

or well replace the code in that file with this:
 

Spoiler

/**
 * ExileServer_object_vehicle_carefulCreateVehicle
 *
 * Exile Mod
 * www.exilemod.com
 * © 2015 Exile Mod Team
 *
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. 
 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
 */
 
private["_vehicleClassName","_position","_direction","_usePositionATL","_temporaryPositionInOuterSpace","_vehicleObject"];
_vehicleClassName = _this select 0;
_position = _this select 1;
_direction = _this select 2;
_usePositionATL = _this select 3;
_temporaryPositionInOuterSpace = 
[
	(_position select 0) - 250 + (random 500),
	(_position select 1) - 250 + (random 500),
	1000 + (random 1000)
];
_vehicleObject = createVehicle [_vehicleClassName, _temporaryPositionInOuterSpace, [], 0, "CAN_COLLIDE"];
_vehicleObject allowDamage false;
_vehicleObject removeAllEventHandlers "HandleDamage";
_vehicleObject addEventHandler["HandleDamage", {false}];
_vehicleObject setVelocity [0, 0, 0];
if ((typeName _direction) isEqualTo "ARRAY") then 
{
	_vehicleObject setVectorDirAndUp _direction;
}
else 
{
	_vehicleObject setDir _direction;
};
if (_usePositionATL) then
{
	if(_position select 2 < 0)then{_position set [2,0];};
	_vehicleObject setPosATL _position;
}
else 
{
	_vehicleObject setPosASL _position;
};
_vehicleObject setVelocity [0, 0, 0];
_vehicleObject allowDamage true;
_vehicleObject removeAllEventHandlers "HandleDamage";
_vehicleObject setDamage 0;
clearBackpackCargoGlobal _vehicleObject;
clearItemCargoGlobal _vehicleObject;
clearMagazineCargoGlobal _vehicleObject;
clearWeaponCargoGlobal _vehicleObject;
if (_vehicleClassName isKindOf "I_UGV_01_F") then 
{
	createVehicleCrew _vehicleObject;
};
if (getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "nightVision") isEqualTo 0) then 
{
	_vehicleObject disableNVGEquipment true;
};
if (getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "thermalVision") isEqualTo 0) then 
{
	_vehicleObject disableTIEquipment true;
};
_vehicleObject

 

and see what happens ^^ might help or break the world :P

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.