Jump to content

Help! Desync - Getting shot and taking no damage!


LePogo

Recommended Posts

Hi guys I am having a big problem on my server. I really dont know if its client-side or server-side.

The server seems to run smooth but when I'm getting shot I'm not taking damage or very little damage. The gunshot makes me bleed and can break my legs but the shot itself doesnt make any damage on me. Ive made several tests. Some rifle will give me damage, sometime a headshot will work. But a simple 9mm shot to the chest seems to do nothing at point blank.

 

I tried to completely deactivate the admin tool thinking that it might cause the problem. But it didn't change anything.

 

Note that I have a 30Mb/s internet connection and my ping on the server is about 10-15. My friend has the same connection and the same ping.

 

Ive tried to shoot my friend with the same weapon. and he lost about 3-4000 blood on the first shot.

I sometime notice desync between 10 and 20 when we are both on the server.

When I am alone there is never any desync.

 

Do you have any idea what can cause this?

I really dont know when it started cause I dont really try to shoot at people and get shot in between each script I install.

 

The Host = Vilayer

The Mod = Overpoch

The Map = Panthera

 

There is a list of what is on the server so far : 

 

- Admin tool 1.9.1

- Snap build Pro

- Build Vectors

- Precise base building 1.0.3

- Plot pole 4 Life

- Walking Zombies

- Wicked AI (with an AI city)

- Map Edits

- Dynamic traders

- Config Traders

- Action Menu (edited version)

- Modified Debug Monitor

- Weapon Upgrade System

- Modified Loot Table

- Other small addons that I probably forgot

 

Here is a part of My RPT (when I am getting shot)

20:48:26 O 1-3-A:1: moving in direct condition failed, dist 2.65904
20:48:55 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with glock17_EP1 from 5.17565m with 0.230522 dmg"
20:48:57 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
20:49:03 O 1-1-D:4: moving in direct condition failed, dist 3.03147
20:49:10 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with glock17_EP1 from 5.17565m with 0.230704 dmg"
20:49:14 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with glock17_EP1 from 5.17565m with 0.230497 dmg"
20:49:18 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with glock17_EP1 from 5.17565m with 0.230507 dmg"
20:49:18 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with glock17_EP1 from 5.17565m with 0.230774 dmg"
20:49:22 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with glock17_EP1 from 5.17565m with 0.230651 dmg"
20:49:31 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with glock17_EP1 from 5.17565m with 0.230658 dmg"
20:49:35 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with glock17_EP1 from 5.17565m with 0.23042 dmg"
20:49:35 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with glock17_EP1 from 5.17565m with 0.230678 dmg"
20:49:47 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with Saiga12K from 5.18325m with 0.807285 dmg"
20:50:17 O 1-2-C:1: moving in direct condition failed, dist 3.14311
20:50:57 "PHIT: B 1-1-B:1 (LePogoQC) REMOTE was hit by B 1-1-C:1 (Shadow) REMOTE with Saiga12K from 1.49272m with 0.820683 dmg"
20:50:58 "PKILL: LePogoQC was killed by Shadow with weapon Saiga12K from 1.49272m"
20:50:58 "PDEATH: Player Died 76561198101544274"
20:51:09 "get: STRING (76561198101544274), sent: STRING (76561198101544274)"
20:51:09 "DISCONNECT: LePogoQC (76561198101544274) Object: B 1-1-B:1 (LePogoQC) REMOTE, _characterID: 2 at loc [5133.92,-3091.46,30.6553]"
20:51:09 "ERROR: server_playerSync: Cannot Sync Player LePogoQC [2]. Position in debug! [5133.92,-3091.46,30.6553]"

This is my basic.cfg (Also tried with the default one and having the same issue)

MinBandwidth=1097152;
MaxBandwidth=2147483647;
MaxMsgSend=256;
MaxSizeGuaranteed=512;
MaxSizeNonguaranteed=192;
MinErrorToSend=0.004;
MinErrorToSendNear=0.05;
MaxCustomFileSize=0;
Windowed=0;
adapter=-1;
3D_Performance=1;
Resolution_W=800;
Resolution_H=600;
Resolution_Bpp=32;

I hope someone has a fix for me!

Thanks

Link to comment
Share on other sites

Anyone?

 

Tried to remove AI, still have the problem.

Tried to remove my admin tool still have the problem.

Tried to remove my Dynamic Traders, still have the problem.

 

I use Vilayer

 

100 Mb/s Down

300 Mb/s Up
SSD Drive

32 GB RAM

Intel Xeon (2 processors) @ 3,4 GHz

 

There is no reason with theses specs to get desync like this...

Link to comment
Share on other sites

  • 3 weeks later...

You can log in as an admin in game by using the command #login ******* stars being the password. After that use the command #monitor 5

 

This will tell you the server FPS. How the server its self is performing. 

 

https://community.bistudio.com/wiki/Multiplayer_Server_Commands

 

See this for more info! 

 

How many vehicles and zombies in your init.sqf? 

Link to comment
Share on other sites

We had the same thing on our server. I think it had something to do with the eventhandlers not being set up properly or setup multiple times (i read something about ARMA being able to remember them even after you died). What seemed to fix the issue for us is removing the eventhandler MPHit everytime it gets setup.

 

So for instance in player_switchmodel.sqf.

 

Find

_newUnit addMPEventHandler ["MPHit", {_this spawn fnc_plyrHit;}];

Add above

_newUnit removeAllMPEventHandlers "MPHit";

--

Checkout these 3 files

  • /dayz_server/init/server_functions.sqf (i added it to the object_handleServerKilled function)
  • /dayz_server/compile/server_playersetup.sqf
  • /dayz_code/compile/player_switchmodel.sqf (add it to your mpmission folder and at it as a custom compile)
Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...