Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

victusmortuus

Custom buildings not appearing after 1.7.7 update

Recommended Posts

We've updated the server with the new patch yet we've had trouble implementing any custom buildings onto our server, which before 1.7.7 worked perfectly.

We've removed them from instance building table and building table and re added them yet they do not appear.

Share this post


Link to post
Share on other sites

This is probably due to the fact that there's not a proper private hive release for 1.7.7 yet, therefore something broke along the way. My best recommendation if you want all those extra features again is to just downgrade, at least until a proper hive build is released.

Share this post


Link to post
Share on other sites

Need to add this to your server_monitor.sqf file

//Send the key

_key = format["CHILD:999:select b.class_name, ib.worldspace from instance_building ib join building b on ib.building_id = b.id where ib.instance_id = ?:[%1]:", dayZ_instance];

_data = "HiveEXT" callExtension _key;

diag_log("SERVER: Fetching buildings...");

//Process result

_result = call compile format ["%1", _data];

_status = _result select 0;

_bldList = [];

_bldCount = 0;

if (_status == "CustomStreamStart") then {

_val = _result select 1;

for "_i" from 1 to _val do {

_data = "HiveEXT" callExtension _key;

_result = call compile format ["%1",_data];

_pos = call compile (_result select 1);

_dir = _pos select 0;

_pos = _pos select 1;

_building = createVehicle [_result select 0, _pos, [], 0, "CAN_COLLIDE"];

_building setDir _dir;

_bldCount = _bldCount + 1;

};

diag_log ("SERVER: Spawned " + str(_bldCount) + " buildings!");

};

SOLVED.

Share this post


Link to post
Share on other sites

My custom buildings spawned fine in my 1.7.7 server.

Share this post


Link to post
Share on other sites

×