Jump to content
  • 0

Stuck at loading screen after adding buildings to my .pbo


Guest

Question

So i bought a server and i tried to add custom buildings in but i get stuck at the loading screen after adding in some custom buildings. They are located in the "server_functions.sqf". Here is the code:

[] execVM "\z\addons\dayz_server\addons\ai.sqf";
[] execVM "\z\addons\dayz_server\addons\lottery.sqf";
[] execVM "\z\addons\dayz_server\addons\buildingsupplys.sqf"
[] execVM "\z\addons\dayz_server\addons\kamenka.sqf";
[] execVM "\z\addons\dayz_server\addons\Krutoy-Cap.sqf"
[] execVM "\z\addons\dayz_server\addons\Balota.sqf"
[] execVM "\z\addons\dayz_server\addons\cities.sqf";
[] execVM "\z\addons\dayz_server\addons\3cities.sqf"
  • They are IN the addons folder
  • They are correctly named
  • They are at the bottom of the file (Very bottom)

FIX:

 

I was being stupid and not reading the code carefully. Here are 2 fixes (in case you have this issue)

 

1

 

code should be:

[] execVM "\z\addons\dayz_server\addons\ai.sqf";
[] execVM "\z\addons\dayz_server\addons\lottery.sqf";
[] execVM "\z\addons\dayz_server\addons\buildingsupplys.sqf"
[] execVM "\z\addons\dayz_server\addons\kamenka.sqf";
[] execVM "\z\addons\dayz_server\addons\Krutoy-Cap.sqf";
[] execVM "\z\addons\dayz_server\addons\Balota.sqf";
[] execVM "\z\addons\dayz_server\addons\cities.sqf";
[] execVM "\z\addons\dayz_server\addons\3cities.sqf";

Semi colans... .God damn it .Sorry am a VB programmer :p

Credit to Fr1nk and Richie

 

2.

 

Change code to:

call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\ai.sqf";
call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\lottery.sqf";
call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\buildingsupplys.sqf"
call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\kamenka.sqf";
call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\Krutoy-Cap.sqf"
call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\Balota.sqf"
call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\cities.sqf";
call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\3cities.sqf" 

Credit to Millasaurus

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

When calling to the pbo from server_functions, it needs to be:

not really, that's a preprocessor to call and load fnc into RAM  to access later if required. ExecVM loads from HDD, but only once.

Although preprocessLineNumbers is used alot because it has ability to show faulty lines in a file when error pops up.

 

@OP: what your server RPT says? and what tool are you using to create PBO? Make sure that prefix is set up properly:

property: prefix 

value: z\addons\dayz_server

 

you can check this with PBOManager, make sure property is not pboprefix, if it is, just change it to prefix

 

edit: oh yeah, make sure SQL server is running

Link to comment
Share on other sites

  • 0

not really, that's a preprocessor to call and load fnc into RAM  to access later if required. ExecVM loads from HDD, but only once.

Although preprocessLineNumbers is used alot because it has ability to show faulty lines in a file when error pops up.

 

@OP: what your server RPT says? and what tool are you using to create PBO? Make sure that prefix is set up properly:

property: prefix 

value: z\addons\dayz_server

 

you can check this with PBOManager, make sure property is not pboprefix, if it is, just change it to prefix

The prefix is correct.

 

When calling to the pbo from server_functions, it needs to be:

 

call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\ai.sqf";

 

etc.

 

Other than that your placement etc. is correct.

 

Hope this helps!

Trying this now

Link to comment
Share on other sites

  • 0

Looks like you're missing some semi-colons there.

Nail on the head :)

 

You have

[] execVM "\z\addons\dayz_server\addons\ai.sqf";
[] execVM "\z\addons\dayz_server\addons\lottery.sqf";
[] execVM "\z\addons\dayz_server\addons\buildingsupplys.sqf"
[] execVM "\z\addons\dayz_server\addons\kamenka.sqf";
[] execVM "\z\addons\dayz_server\addons\Krutoy-Cap.sqf"
[] execVM "\z\addons\dayz_server\addons\Balota.sqf"
[] execVM "\z\addons\dayz_server\addons\cities.sqf";
[] execVM "\z\addons\dayz_server\addons\3cities.sqf"

 

Should be

[] execVM "\z\addons\dayz_server\addons\ai.sqf";
[] execVM "\z\addons\dayz_server\addons\lottery.sqf";
[] execVM "\z\addons\dayz_server\addons\buildingsupplys.sqf";
[] execVM "\z\addons\dayz_server\addons\kamenka.sqf";
[] execVM "\z\addons\dayz_server\addons\Krutoy-Cap.sqf";
[] execVM "\z\addons\dayz_server\addons\Balota.sqf";
[] execVM "\z\addons\dayz_server\addons\cities.sqf";
[] execVM "\z\addons\dayz_server\addons\3cities.sqf";
Link to comment
Share on other sites

  • 0

When calling to the pbo from server_functions, it needs to be:

 

call compile preProcessFileLineNumbers "\z\addons\dayz_server\addons\ai.sqf";

 

etc.

 

Other than that your placement etc. is correct.

 

Hope this helps!

Thank you! This worked!

Link to comment
Share on other sites

  • 0

 

Nail on the head :)

 

You have

[] execVM "\z\addons\dayz_server\addons\ai.sqf";
[] execVM "\z\addons\dayz_server\addons\lottery.sqf";
[] execVM "\z\addons\dayz_server\addons\buildingsupplys.sqf"
[] execVM "\z\addons\dayz_server\addons\kamenka.sqf";
[] execVM "\z\addons\dayz_server\addons\Krutoy-Cap.sqf"
[] execVM "\z\addons\dayz_server\addons\Balota.sqf"
[] execVM "\z\addons\dayz_server\addons\cities.sqf";
[] execVM "\z\addons\dayz_server\addons\3cities.sqf"

Should be

[] execVM "\z\addons\dayz_server\addons\ai.sqf";
[] execVM "\z\addons\dayz_server\addons\lottery.sqf";
[] execVM "\z\addons\dayz_server\addons\buildingsupplys.sqf";
[] execVM "\z\addons\dayz_server\addons\kamenka.sqf";
[] execVM "\z\addons\dayz_server\addons\Krutoy-Cap.sqf";
[] execVM "\z\addons\dayz_server\addons\Balota.sqf";
[] execVM "\z\addons\dayz_server\addons\cities.sqf";
[] execVM "\z\addons\dayz_server\addons\3cities.sqf";

Oh yeah. I Do VB programming... Semi colans are unkown haha xD. I feel stupid now ._. 

Link to comment
Share on other sites

  • 0

not really, that's a preprocessor to call and load fnc into RAM  to access later if required. ExecVM loads from HDD, but only once.

Although preprocessLineNumbers is used alot because it has ability to show faulty lines in a file when error pops up.

 

you can check this with PBOManager, make sure property is not pboprefix, if it is, just change it to prefix

 

When I said needs, I wasn't meaning it's a necessity. It's useful for map additions.

 

Also, my prefix gets changed to pboprefix as the former doesn't work for me. 

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

×
×
  • Create New...