Darkness-6cc25c086b9dbafa 0 Posted May 9, 2022 it says... Can't compile mission init script'! $CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c(25): Opened scope at the end of file, missing '}'? here is the init.c file written out. I believe this is the file in question. Im not real knowledgeable on building up a private server on my personal pc. So any detailed help would be hugely appreciated. If any more files need to be attached, let me know. Im quite stuck and not entirely sure what to do. #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionTisy.c" #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionNWA.c" #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionPav.c" #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionZel.c" #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionKab.c" #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionC1.c" #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionC2.c" #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionC3.c" #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionC4.c" #include "$CurrentDir:\\mpmissions\\dayzOffline.chernarusplus\\BotMissions\\BotGroupMissionTroick.c" void main() { //Start bot mission module BotGroupMissionC1(); BotGroupMissionC2(); BotGroupMissionC3(); BotGroupMissionC4(); BotGroupMissionNWA(); BotGroupMissionPav(); BotGroupMissionZel(); BotGroupMissionKab(); BotGroupMissionTroick(); BotGroupMissionTisy(); Share this post Link to post Share on other sites
BCBasher 2465 Posted May 14, 2022 You're missing the } at the end I think? This kind of code goes screwy if you don't close brackets. Try like this? { //Start bot mission module BotGroupMissionC1(); BotGroupMissionC2(); BotGroupMissionC3(); BotGroupMissionC4(); BotGroupMissionNWA(); BotGroupMissionPav(); BotGroupMissionZel(); BotGroupMissionKab(); BotGroupMissionTroick(); BotGroupMissionTisy(); } Share this post Link to post Share on other sites
zed.zed.1995 0 Posted February 22 Hello, I have such an error, I prescribed bots, but the server does not work, does not want to start, help as much as you can) It gives the following error Log C:\gameservers\gs9353\Server\profiles\crash_2024-02-22_18-32-34.log started at 22.02. 18:32:57 ------------------------------------ DESKTOP-BBL6AM2, 22.02 2024 18:32:57 Can't compile mission init script'! $CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c(33): Unexpected statement 'if' Runtime mode CLI params: port 2218 dologs adminlog netlog freezecheck profiles C:\gameservers\gs9353\Server\profiles bepath C:\gameservers\gs9353\Server\battleye config C:\gameservers\gs9353\Server\serverDZ.cfg mod @CF;@Community-Online-Tools;@VPPAdminTools;@ZomBerry Admin Tools;@Trader;@Code Lock;@SR_WeaponsPack;@Airdrop-Upgraded;@Forward Operator Gear;@Forward Operator Gear more slots;@BBPItemPack;@SR TACTICAL CLOTHES;@Banking;@VanillaPlusPlusMap;@SchanaModGlobalChat;@WAGNER_ZOV;@WAGNER;@MiniMap Relocated;@Search For Loot;@GarbageSearch;@Online Display;@FlipTransport;@Inventory Move Sounds;@Metro Watch HUD;@Metro Watch;@RaG_ChickenCoop;@Metro Watch Custom Slot;@WAGNER_BOT;@SNAFU Weapons; serverMod @servermod; Share this post Link to post Share on other sites
zed.zed.1995 0 Posted February 22 I checked in the init file but I don't understand anything) //INIT ECONOMY-------------------------------------- Hive ce = CreateHive(); if ( ce ) ce.InitOffline(); Share this post Link to post Share on other sites