• 0
jabeds

Players dying when loading back into the server [FIXED]

Question

When players load back into the server, they load in and die instantly. This isn't the well known dead character bug, as I have seen that before. The only option they have is to commit suicide, rather than having the respawn option you usually have when you are dead.

Does anyone know of a fix for this bug or anything that could work as a workaround to prevent people from loosing their stuff every time they log or there's a restart

Edited by jabeds

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Any errors in your RPT? Look at a complete RPT that was running until server restart. Any errors near the end about your DB? Sounds like it isnt saving thier characters correctly.

Share this post


Link to post
Share on other sites
  • 0

Well i might have missed things as it is hard not to with a 6mb rpt file xd. 

But near the end i did find this:

14:39:00 Server: Network message 1a40fc is pending
14:39:00 Server: Network message 1a4101 is pending
14:39:00 Server: Network message 1a4166 is pending
14:39:00 Server: Network message 1a4166 is pending

....it goes on a few more times

this mean anything to you, would it helping changing my sql mode?

under my exile.sql i have SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";

Share this post


Link to post
Share on other sites
  • 0

I figured out a simple workaround for anyone else who might happen to read this (well at least for the bug I had in which player died right at the moment they left the load screen).

create a new sqf file in your mission folder named death_timer_bug_temp_fix.sqf and in it write this

player allowdamage false;
sleep 20;
player allowdamage true;

At the top of the initplayerlocal.sqf file, add this

[] execVM "death_timer_bug_temp_fix.sqf";

This very simple work around gives players god mode for 20 seconds once loaded in. In theory you could change it to just a couple of seconds and it should still work.

Edited by jabeds

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.