Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vehicles, stashes, and tents missing after restart #503

Closed
AggrOnline opened this issue Jun 9, 2015 · 20 comments
Closed

Vehicles, stashes, and tents missing after restart #503

AggrOnline opened this issue Jun 9, 2015 · 20 comments

Comments

@AggrOnline
Copy link

I have had to restart my server on three occasions since going live (three days) my admin regularly checks on the server after restarts and he reported missing vehicles and stashes so it looks like on three occupations the game was not able to read data from objects_data however it was able to get character data as players would show in the correct position with all their gear.

I have DayZadmin running could this be the problem?

@dayzjarhead
Copy link
Contributor

It´s maybe the "startup sequence aborted"-bug. When the first player connecting to a server aborts the login process, the stream of items from the database to the server instance may get corrupted and the items (tents, stashes, vehicles, buildables) do not spawn to the server.

When you restart the server, all stuff should be there. Make sure to crosscheck your items in the database. If they are still in there, it´s the described bug.

@AggrOnline
Copy link
Author

when i checked in MyPhp admin and expanded object_data, i see a warning as follows:

Notice in ./libraries/tbl_columns_definition_form.inc.php#55
Undefined variable: server

Backtrace

./libraries/structure.lib.php#2447: include(./libraries/tbl_columns_definition_form.inc.php)
./tbl_structure.php#45: PMA_displayHtmlForColumnChange(
string 'myUsername',
string 'object_data',
NULL,
string 'tbl_structure.php',
)

any ideas what this is?

@dayzjarhead
Copy link
Contributor

Seems to be a phpmyadmin issue.

@AggrOnline
Copy link
Author

the error is on every field name I click on in object_data table

@dayzjarhead
Copy link
Contributor

Have you tried any other method? e.g. Navicat? Just to figure out if it´s a phpmyadmin issue or a corrupted database?

@AggrOnline
Copy link
Author

Do you think that will work? its got to be table/data issue since the only thing that doesn't appear in the game is stuff from object_data although restarting the server brings everything back in the game! I will try another client and report back

@dayzjarhead
Copy link
Contributor

Restarting brings back all items? Then it´s likely be the bug I described in the first reply.

@AggrOnline
Copy link
Author

yes all come back after restart, what is the fix? it's happening almost every other restart! I dont think its related to first player aborting simply because there are no players until we get to the server after restart!

@dayzjarhead
Copy link
Contributor

As far as I know, there is no fix for this. @R4Z0R49 , got any suggestions?

@R4Z0R49
Copy link
Member

R4Z0R49 commented Jun 9, 2015

No idea it yet this is the first report of it happening every restart.

@dayzjarhead
Copy link
Contributor

I derive from his postings that this is not happening on every single restart. So I guess it´s the known bug.

@R4Z0R49
Copy link
Member

R4Z0R49 commented Jun 9, 2015

We are looking into it

@AggrOnline
Copy link
Author

Thank you guys I will wait patiently !

It's not every restart but every other almost!

@vinyljunkie
Copy link

Hey guys, Isn't this what happens if a client joins the server too soon after a restart and disconnects/crashes?
A solution is to lock the server after restart until it has started up then unlock to let players in to the lobby.

@dayzjarhead
Copy link
Contributor

This is the way I can reliably reproduce this:

  • Restart the server.
  • Connect as first player.
  • Wait until the server starts to read items from the database.
  • While reading and streaming to the server, disconnect the client.
  • Boom. No items on map.

Maybe I´m wrong about this and there is another cause. But locking the server might not do the trick, if the error is triggered as described.

@kichilron
Copy link
Collaborator

That is exactly the issue described above.

When a player joins and then crashes or aborts, the stream of objects is interrupted. This is an issue we were trying to battly for many patches now - but there's currently no solution for that.

@dayzjarhead
Copy link
Contributor

I´m not in any way competent to make a good suggestion... just making a stupid guess here. Maybe the spawning of items should be separated from a player joining. Server starts up in locked state, server gets all items... server goes idle, unlocks... players are free to connect.

But I think this an issue of the Arma2OA Server, right?

@kichilron
Copy link
Collaborator

Well, up until a player joins to kick off the process of the server starting up it's theoretically a vanilla ARMA 2 Server.

Only when a player joins, the mission is loaded and thus the DayZ Stuff being loaded in. That is the reason why the vehicles are being loaded when a player joins.

@dayzjarhead
Copy link
Contributor

Ah ok. Thanks for clarifying.

@R4Z0R49
Copy link
Member

R4Z0R49 commented Aug 7, 2016

This is an ongoing issues we are looking to resovle

@R4Z0R49 R4Z0R49 closed this as completed Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants