Page MenuHomeFeedback Tracker

Incorrect determination of the position of the object in the hands
Assigned, UrgentPublic

Description

If you determine the position of an item on the server, which is in your hands, it gives incorrect data, everything works well on the client.

protected Object m_ObjectTest;

override void OnWork( float consumed_energy )
{
	vector m_detectorPosition = GetPosition();
	if (m_ObjectTest) GetGame().ObjectDelete(m_ObjectTest);
	m_ObjectTest = GetGame().CreateObjectEx( "SA_Detector_Bear", m_detectorPosition, ECE_NONE);
}

A test mod that reproduces this effect.

Use item with classname "Flashlight"

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

nIkRon created this task.Feb 23 2021, 4:57 PM
This comment was removed by nIkRon.
nIkRon updated the task description. (Show Details)Feb 23 2021, 7:12 PM
Geez changed the task status from New to Assigned.Feb 24 2021, 3:19 PM
komer added a subscriber: komer.Mar 1 2021, 9:31 PM
Ralian added a subscriber: Ralian.Mar 16 2021, 2:46 AM