thevisad / DayZ-Private-master

Reality DayZ - replaced Bliss for DayZ servers
GNU General Public License v2.0
44 stars 84 forks source link

Can't build server package #266

Closed Powder5 closed 11 years ago

Powder5 commented 11 years ago

INFO: Merging Reality code into official server 28 File(s) copied INFO: Merging changes for world chernarus Merging world changes into ./pkgs/pkg1771/buildings 1 File(s) copied Merging changes for package ./tmp/buildings_tmp Hunk #2 failed at line 456. Press any key to continue . . .

I have tried it on different operating systems where I was able to build, unlike now.

My options were "Buildings, Carepackages, Custom Inventory, Killmessages, Messaging, Wrecks"

Afterwards I've tried without any feature and it was successful: (...) file 0/3: ./tmp/mission_tmp\description.ext (3 KB) file 1/3: ./tmp/mission_tmp\init.sqf (3 KB) file 2/3: ./tmp/mission_tmp\mission.sqm (35 KB) Done. INFO: Build completed successfully! Press any key to continue . . .

So two totally different machines one with Win 8 Pro x64 (of course Perl is 32bit) and another Win Server 2008 R2 x64 and the same errors. :(

goshander commented 11 years ago

Exactly!!!

thevisad commented 11 years ago

Its a merge issue with GIT

kuplion commented 11 years ago

Had exactly the same issue, any packages added cause it to fail in the same way.

kuplion commented 11 years ago

Are there any workarounds for this?

rammaru commented 11 years ago

I have the same problem...

I use windows 8 64 Bit, windows 7 32 Bit and windows server 2008!!!

rammaru commented 11 years ago

The problem appeared in "Buildings, Care Packages, messaging, and Wrecks" it works only with custom Inventory!

and sorry for the bad english (google translate) ;)

thevisad commented 11 years ago

I cannot find any reason for this occuring. All of the code looks proper at this time.

mrBlondspb commented 11 years ago

Place in the file "pkgs\pkg1771\reality\system\server_monitor.sqf" at the end after publicVariable "sm_done"; blank line and it will work. I have now works.

kuplion commented 11 years ago

Thank you, this works.

publicVariable "sm_done";

;

Nicely spotted.

NPG-Soul commented 11 years ago

@thevisad

check the "server_monitor.sqf" files for your pkgs They contain a blank line at the end, removing those fixes the error's

Might be a good idea to fix it and reGit your work ;) Love the work you do!

Skaronator commented 11 years ago

Feel free and make a pull request ;)

Powder5 commented 11 years ago

it works! thanks! so original "server_monitor.sqf" should finish with these lines

sm_done = true;
publicVariable "sm_done";

Then it builds perfectly! :)

rammaru commented 11 years ago

Thx!!!