Jump to content
  • 0

Dead charachter bug?


harcosgoogle

Question

HI!

 

How to fix Bug?

Dies the player and they put it down,Where he died ,In the same equipment.

Why?

 

Dead charachter-last position saved and respawned last point last gear

 

@juandayz 

I think so AH.sqf bug

 

Quote


 

20:27:56 "INFO - Player: harcosgoogle(UID:76561198134262401/CID:27) Status: CLIENT LOADED & PLAYING"

20:27:57 "B 1-1-B:1 (harcosgoogle) REMOTE, SafeZoneState, [0], 3"

20:28:02 "P1ayer PID#3(harcosgoogle) hit by PID#1(Sadat Jawadi) with AK_47_M/B_762x39_Ball <ammo left:26> from 6 meters in head_hit for 0.140351 damage"

20:28:02 "PLAYERDEATH: Player Died id"

20:28:07 "DELETE: Player <NULL-object> deleted object with UID: 0"

20:28:07 "DELETE: Player <NULL-object> deleted object with UID: 0"

20:28:08 "DELETE: Player <NULL-object> deleted object with UID: 0"

20:28:08 "DELETE: Player <NULL-object> deleted object with UID: 0"

20:28:16 "infiSTAR.de PlayerDisconnected: _uid: 76561198134262401   _name: harcosgoogle"

20:28:16 "INFO: OnPlayerDisconnect exiting. Player is near respawn_west. This is normal after death. ["id","harcosgoogle"]"

20:28:16 Warning: Cleanup player - person 3:75 not found

20:28:23 No owner

 

Link to comment
Share on other sites

22 answers to this question

Recommended Posts

  • 0
Quote

20:24:38 "HIVE: WRITE: "CHILD:303:626821:[[["Binocular_Vector"],[4]],[["ItemBloodbag","HandGrenade_West","PartEngine"],[16,14,9]],[[],[]]]:-1:""

20:24:38 "P1ayer PID#3(harcosgoogle) hit by PID#1(Aslan Ghafurzai) with G36C/B_556x45_Ball <ammo left:27> from 6 meters in head_hit for 0.54465 damage"

20:24:39 "PLAYERDEATH: Player Died myid"

20:24:45 No owner

20:24:45 No owner

20:24:52 "infiSTAR.de PlayerDisconnected: _uid: myid   _name: harcosgoogle"

20:24:52 "INFO: OnPlayerDisconnect exiting. Player is near respawn_west. This is normal after death. ["myid","harcosgoogle"]"

20:24:52 Warning: Cleanup player - person 3:37 not found

20:25:05 No owner

20:25:05 No owner

20:25:15 "DELETE: Player <NULL-object> deleted object with UID: 0"

20:25:15 "DELETE: Player <NULL-object> deleted object with UID: 0"

20:25:16 "infiSTAR.de PlayerConnected: ["myid","harcosgoogle"]"

20:25:18 "TESTKIT - Authorized startup by harcosgoogle(myid)"

20:25:18 "INFO - Player: PID#3(harcosgoogle)(UID:myid1/CID:27) Status: LOGGING IN"

20:25:18 "INFO - Player: PID#3(harcosgoogle)(UID:myid/CID:27) Status: LOGIN PUBLISHING, Location Liestal [122108]"

20:25:24 "infiSTAR.de fnc_AdminFirstReq: [1234,B 1-1-B:1 (harcosgoogle) REMOTE,"myid"]"

20:25:24 "infiSTAR.de fnc_AdminReqProceed: [1234,B 1-1-B:1 (harcosgoogle) REMOTE,"myid"]"

20:25:24 "infiSTAR.de ******ADMIN-LOGIN******: harcosgoogle(76561198134262401)"

20:25:24 "INFO - Player: harcosgoogle(UID:myid/CID:27) Status: CLIENT LOADED & PLAYING"

20:25:25 No owner

20:25:26 "B 1-1-B:1 (harcosgoogle) REMOTE, SafeZoneState, [0], 3"

 

Link to comment
Share on other sites

  • 0

It's really quite simple. 

Any place it says SPAWN PLAYER_DEATH

change the spawn to CALL. 

You don't need to touch or do anything else. This won't break anything.

 

also as I said make sure if you are using ESS spawn select to make sure the call to the ess spawn_config.sqf in server_functions.sqf is BEFORE the call to infistar  


#include "spawn_config.sqf";
[] execVM "\a2_infiSTAR\AH.sqf";

DO NOT COPY THIS DIRECTLY AS YOUR FILE PATHS MAY BE  DIFFERENT. IT IS JUST AN EXAMPLE. 

Link to comment
Share on other sites

  • 0
59 minutes ago, harcosgoogle said:

'\z\addons\dayz_code\compile\player_death.sqf';

I do not have such a file 

You can't have that file in your mission. This file is provided in your client files in the steam game files. So don't be confused by that.

Just follow @Iwbuk's steps. He is right. Just to make sure you can open notepad++, then open the file in it and hit CTRL + F, then a small window appears and you enter "spawn player_death", after that hit find all and all corresponding lines are listed for you. :)

Link to comment
Share on other sites

  • 0

EESV install:

 

I do not understand that part of it

If using body check, in dayz_server\compile\server_playerDied.sqf find _newObject setVariable ["bodyName",_playerName,true]; Add below:

_newObject setVariable ["bodyUID",_playerID,true];

 

Add or Replace ?

 

Example?:

_newObject setVariable ["bodyName", _victimName, true];
_newObject setVariable ["bodyUID",_playerID,true];

Otherwise, it still does not work,I do not understand why

Link to comment
Share on other sites

  • 0

Only replace these in the infistar files. And not all "spawn". Only the "spawn player_death".

Just open the files and search for

spawn player_death

And replace them with

call player_death

 

And the "#include "spawn_config.sqf"; is only needed if you installed ESS which is this script:

https://github.com/ebayShopper/ESSV3

IF YOU DIDN'T INSTALL THAT, DON'T EDIT YOUR server_functions.sqf!!!

Link to comment
Share on other sites

  • 0
3 minutes ago, DAmNRelentless said:

Only replace these in the infistar files. And not all "spawn". Only the "spawn player_death".

Just open the files and search for


spawn player_death

And replace them with


call player_death

 

And the "#include "spawn_config.sqf"; is only needed if you installed ESS which is this script:

https://github.com/ebayShopper/ESSV3

IF YOU DIDN'T INSTALL THAT, DON'T EDIT YOUR server_functions.sqf!!!

Yes,Installed essv3 ,And yes edited all spawn player_death (replaced) call player_death

Link to comment
Share on other sites

  • 0

Have you enabled body check in the config and amended the body check distance to suit? 

 

In server_playerdied the block should look like 

_newObject setVariable ["bodyName",_playerName,true];
_newObject setVariable ["bodyUID",_playerID,true];
_pos = getPosATL _newObject;
Link to comment
Share on other sites

  • 0
_victim = _newObject;
_newObject setVariable ["bodyName",_playerName,true];
_newObject setVariable ["bodyUID",_playerID,true];

It looked like this.

 

And now it looks like this?

_victim = _newObject;
_newObject setVariable ["bodyName",_playerName,true];
_newObject setVariable ["bodyUID",_playerID,true];
_pos = getPosATL _newObject;

@lwbuk

But it still does not work.

Can not the file be old?

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...