Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
enottapochek

Помогите с крашем

Игроки во время боя часто ловят вот такое
стак трейс мне ни о чем не говорит функцию там такую 

Reason: Access violation. Illegal read by 0x7ff70986ad63 at 0x7ffc0004e420


Class:      'SurvivorBase'
Entity id:1020883

Function: 'HeadingModel'
Stack trace:
scripts/4_World/entities\dayzplayerimplement.c:1594
scripts/4_World/entities\manbase\playerbase.c:8056

SymGetSymFromAddr:487, addr:0x7ff70986ad63
SymGetSymFromAddr:487, addr:0x7ff7098ef65b
SymGetSymFromAddr:487, addr:0x7ff7098da134
SymGetSymFromAddr:487, addr:0x7ff7098d74b9
SymGetSymFromAddr:487, addr:0x7ff7098dbf37
SymGetSymFromAddr:487, addr:0x7ff7098d78c4
SymGetSymFromAddr:487, addr:0x7ff709a85f66
SymGetSymFromAddr:487, addr:0x7ff709a92989
SymGetSymFromAddr:487, addr:0x7ff709a884db
SymGetSymFromAddr:487, addr:0x7ff709a889cb
SymGetSymFromAddr:487, addr:0x7ff709a16745
[CDPCreateClient]: ??? addr:0x7ff709e4659c
[CDPCreateClient]: ??? addr:0x7ff709fce36e
[CDPCreateClient]: ??? addr:0x7ff709fc5055
[CDPCreateClient]: ??? addr:0x7ff709fcd5a7
SymGetSymFromAddr:487, addr:0x7ff7099f8f98
[CDPCreateClient]: ??? addr:0x7ff709fcf59c
SymGetSymFromAddr:487, addr:0x7ff709b27bd3
[CDPCreateClient]: ??? addr:0x7ff70a11f9f2
[BaseThreadInitThunk]: ??? addr:0x7ffcef1d7344
[RtlUserThreadStart]: ??? addr:0x7ffcf09dcc91
[RtlUserThreadStart]: ??? addr:0x7ffcf09dcc91

Строчка из player base

void SetLiftWeapon(int pJunctureID, ParamsReadContext ctx)
	{
		bool state;              // <<------- Вот она
		ctx.Read(state);
		
		m_ProcessLiftWeaponState = state;
		m_ProcessLiftWeapon = true;
		
		//Print("SetLiftWeapon | STS: " + GetSimulationTimeStamp());
	}

и из dayzplayerimplement

bool CanClimb(int climbType, SHumanCommandClimbResult climbRes)
	{
		if (IsFBSymptomPlaying() || IsRestrained() || IsUnconscious() || IsInFBEmoteState())
			return false;
		
		if (m_MovementState.m_iStanceIdx == DayZPlayerConstants.STANCEIDX_PRONE || m_MovementState.m_iStanceIdx == DayZPlayerConstants.STANCEIDX_RAISEDPRONE)
			return false;
		
		if (IsRaised() && GetInputInterface().SyncedPress("UAGetOverControllerHelper")) //no raised climb on cotroller
		{
			return false;
		}
		
		HumanItemBehaviorCfg hibcfg = GetItemAccessor().GetItemInHandsBehaviourCfg();
		if (!hibcfg.m_bJumpAllowed)
			return false;
		
		if (climbRes)
		{
			EntityAI entity;
			if (Class.CastTo(entity,climbRes.m_GrabPointParent) && entity.IsHologram())     // <<------------
				return false;
			if (Class.CastTo(entity,climbRes.m_ClimbStandPointParent) && entity.IsHologram())
				return false;
			if (Class.CastTo(entity,climbRes.m_ClimbOverStandPointParent) && entity.IsHologram())
				return false;
		}

		return true;
	}

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.