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

crash server after mission laoded #29

Open
vfrbgt opened this issue Oct 23, 2014 · 7 comments
Open

crash server after mission laoded #29

vfrbgt opened this issue Oct 23, 2014 · 7 comments

Comments

@vfrbgt
Copy link

vfrbgt commented Oct 23, 2014

I install server by readme instruction and run this on my VPS. But when i connected to my server and after loaded map server shutdown. This my dump.txt(server.log file is empty):

http://pastebin.com/dqswqYSC

Help me please solve my problem.

@deannreid
Copy link

Anything happen when you try join?

Try looking at the live log through the screen or when you do ./epoch.sh as sometimes the dump.log doesn't catch everything before a crash, everything on the log looks normal there.

@vfrbgt
Copy link
Author

vfrbgt commented Nov 10, 2014

no more logs, simple crash server after map loaded(

@deannreid
Copy link

try re-downloading the arma files again, might be corrupt files that is causing it

@vfrbgt
Copy link
Author

vfrbgt commented Nov 10, 2014

how i can enable advansed debug logging? if redownloading arma files not solve my problem?

@deannreid
Copy link

There is no real advanced debugging, you could add -showscripterrors to the epoch.sh inbetween -exThreads and -pid= but its meant to be there by default you could also try adding

diag_log "File Execute Here";

and Change File Execute Here to the file thats currently executing like how I do in my mission

https://github.com/deannreid/TWD_Server_Missions/blob/master/twd.chernarus%20-%201.0.5.2/init.sqf

for example

diag_log "Loading Epoch Compiled Functions";
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";
diag_log "Loaded Variables";
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";
diag_log "Loaded Public Event Handlers";
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
diag_log "Loaded Medical Functions";
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "custom\code\defaultcompiles.sqf";
diag_log "Loaded Compiles";
progressLoadingScreen 0.5;
diag_log "Finished loading LoadingScreen 0-5";

and add that after every file thats loaded Itll spam the console but if its one of those it will stop sending debug logs at/before the file thats failed to load,

I'd first recommend to test the server with a fully default mission and server file, and if that works then try the above approach

@vfrbgt
Copy link
Author

vfrbgt commented Nov 13, 2014

problem solved! in sytem requirments need add min RAM on server must be min 2GB else you get this error. thank you for help!

@deannreid
Copy link

Glad you fixed it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants