Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
MrPit4er

Помогите пожалуйста с крашем сервера.

Здравствуйте. Прошу помощи у знающих людей. Итак, я запустил сервер, вроде все нормально, но стоит мне только попробовать на него зайти, как сервер тут же выбивает ошибку File mpmissions\DayZ_Epoch_11.Chernarus\description.ext, line 32: '.': '{' encountered instead of '=' . И в окошечке с этой ошибкой можно нажать ,,Ок,, в следствии чего сервер сразу закрывается. Очень прошу помочь с этой напастью.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

У тебя же написано в каком файле, в какой строке и в чем именно ошибка.

Файл description.ext

Линия (строка) в файле 32

а дальше нужно смотреть код, чтобы понять что у тебя не правильно в нем указано и как поправить

Share this post


Link to post
Share on other sites



  • 0

У тебя же написано в каком файле, в какой строке и в чем именно ошибка.

Файл description.ext

Линия (строка) в файле 32

а дальше нужно смотреть код, чтобы понять что у тебя не правильно в нем указано и как поправить

Вот весь код из этого файла.

#include "ZSC\config\cfgServerTrader.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
 
briefing = 0;
debriefing = 0;
 
onPauseScript = "";
loadScreen = "logo.jpg";
 
class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};
 
aiKills = 1;
diagRadio = 1;
diagHit = 1;
 
class RscTitles
{
#include "ZSC\config\ZSChud.hpp"
};
    class BTC_Hud
    {
        idd = 1000;
        movingEnable=0;
        duration=1e+011;
        name = "BTC_Hud_Name";
        onLoad = "uiNamespace setVariable ['HUD', _this select 0];";
        controlsBackground[] = {};
        objects[] = {};
        class controls 
        {
            class Radar
            {
                type = 0;
                idc = 1001;
                style = 48;
                x = (SafeZoneW+2*SafeZoneX) - 0.1;//safezonex + 0.1;//0.9
                y = (SafeZoneH+2*SafeZoneY) - 0.15;//safezoney + 0.1;//0.85
                w = 0.3;
                h = 0.4;
                font = "Zeppelin32";
                sizeEx = 0.03;
                colorBackground[] = {0, 0, 0, 0};
                colorText[] = {1, 1, 1, 1};
                text = "\ca\ui\data\igui_radar_air_ca.paa";
            };
            class Img_Obj
            {
                type = 0;
                idc = 1002;
                style = 48;
                x = (SafeZoneW+2*SafeZoneX) + 0.045;
                y = (SafeZoneH+2*SafeZoneY) + 0.045;
                w = 0.01;
                h = 0.01;
                font = "Zeppelin32";
                sizeEx = 0.04;
                colorBackground[] = {0, 0, 0, 0};
                colorText[] = {1, 1, 1, 1};
                text = "=BTC=_Logistic\data\=BTC=_Obj.paa";
            };
            class Pic_Obj
            {
                type = 0;
                idc = 1003;
                style = 48;
                x = (SafeZoneW+2*SafeZoneX) - 0.125;
                y = (SafeZoneH+2*SafeZoneY) - 0.23;
                w = 0.1;
                h = 0.1;
                font = "Zeppelin32";
                sizeEx = 0.03;
                colorBackground[] = {0, 0, 0, 0};
                colorText[] = {1, 1, 1, 1};
                text = "";
            };
            class Arrow
            {
                type = 0;
                idc = 1004;
                style = 48;
                x = (SafeZoneW+2*SafeZoneX) + 0.15;
                y = (SafeZoneH+2*SafeZoneY) - 0.15;
                w = 0.05;
                h = 0.05;
                font = "Zeppelin32";
                sizeEx = 0.03;
                colorBackground[] = {0, 0, 0, 0};
                colorText[] = {1, 1, 1, 1};
                text = "";
            };
            class Type_Obj
            {
                type = 0;
                idc = 1005;
                style = 0x00;
                x = (SafeZoneW+2*SafeZoneX) - 0.03;
                y = (SafeZoneH+2*SafeZoneY) - 0.335;
                w = 0.3;
                h = 0.3;
                font = "Zeppelin32";
                sizeEx = 0.03;
                colorBackground[] = {0, 0, 0, 0};
                colorText[] = {1, 1, 1, 1};
                text = "";
            };
        };   
    };
    class ExampleTitle {     
        idd = -1; 
        duration = 10; //show for 10 seconds 
        class controls 
        
            class ExampleControl 
            {
                idc = -1; 
                type = 0; 
                style = 2; //centre text 
                x = safeZoneX + safeZoneW - 0.6 * 3 / 4;  
                y = safeZoneY + safeZoneH - 0.6; 
                h = 0.6; 
                w = 0.6 * 3 / 4; //w == h 
                font = "EtelkaNarrowMediumPro"; 
                sizeEx = 0.03; 
                colorBackground[] = {1,1,0,1}; //yellow background 
                colorText[] = {0,0,1,1}; //blue text 
                text = "Bottom Right Corner Square Box"; 
            };
        };
    };
};
 
class RscText
{
    type = 0;
    idc = -1;
    x = 0;
    y = 0;
    h = 0.037;
    w = 0.3;
    style = 0x100; 
    font = Zeppelin32;
    SizeEx = 0.03921;
    colorText[] = {1,1,1,1};
    colorBackground[] = {0, 0, 0, 0};
    linespacing = 1;
};
class RscPicture
{
    access=0;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="TahomaB";
    sizeEx=0;
    lineSpacing=0;
    text="";
};
class RscLoadingText : RscText
{
    style = 2;
    x = 0.323532;
    y = 0.666672;
    w = 0.352944;
    h = 0.039216;
    sizeEx = 0.03921;
    colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
    x = 0.344;
    y = 0.619;
    w = 0.313726;
    h = 0.0261438;
    texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
    colorFrame[] = {0,0,0,0};
    colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
    idc = -1;
    type = 45;
    style = 0;
    x = 0.022059;
    y = 0.911772;
    w = 0.029412;
    h = 0.039216;
    texture = "#(argb,8,8,3)color(0,0,0,0)";
};
//
// the loading screen itself
//
class DayZ_loadingScreen
    idd = -1;
    duration = 10e10;
    fadein = 0;
    fadeout = 0;
    name = "loading screen";
    class controlsBackground
    {
        class blackBG : RscText
        {
            x = safezoneX;
            y = safezoneY;
            w = safezoneW;
            h = safezoneH;
            text = "";
            colorText[] = {0,0,0,0};
            colorBackground[] = {0,0,0,1};
        };
        /*
        class nicePic : RscPicture
        {
            style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
            x = safezoneX + safezoneW/2 - 0.25;
            y = safezoneY + safezoneH/2 - 0.2;
            w = 0.5;
            h = 0.4;
            text = "img\nicePic.paa";
        };
        */
    };
    class controls
    {
        class Title1 : RscLoadingText
        {
            text = "$STR_LOADING"; // "Loading" text in the middle of the screen
        };
        class CA_Progress : RscProgress // progress bar, has to have idc 104
        {
            idc = 104;
            type = 8; // CT_PROGRESS
            style = 0; // ST_SINGLE
            texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
        };
        class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
        {
            idc = 103;
        };
        class Name2: RscText // the text on the top-left
        {
            idc = 101;
            x = 0.05;
            y = 0.029412;
            w = 0.9;
            h = 0.04902;
            text = "";
            sizeEx = 0.05;
            colorText[] = {0.543,0.5742,0.4102,1.0};
        };
    };
};
 
#include "custom\snap_build\points.hpp"
#include "spawn\distance.hpp"
#include "ZSC\config\ZSCdefines.hpp"
#include "ZSC\config\ZSCdialogs.hpp"
#include "zupa\advancedTrading\advancedTrading.hpp"
#include "spawn\class.hpp"
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"

Share this post


Link to post
Share on other sites
  • 0

Лишняя };

class RscTitles
{
#include "ZSC\config\ZSChud.hpp"
};
 

Share this post


Link to post
Share on other sites
  • 0

Лишняя };

 

class RscTitles

{

#include "ZSC\config\ZSChud.hpp"

};

 

Почему она лишняя? 

class RscTitles

Открываем {

запускаем #

Закрываем }

 

Дальше идет следующий класс

class BTC_Hud

 

Для решения попробуй строки 

 

class RscTitles
{
#include "ZSC\config\ZSChud.hpp"
};
 

поставить перед 

 

#include "custom\snap_build\points.hpp"

Share this post


Link to post
Share on other sites
  • 0

Почему она лишняя?

Потому что тогда непонятно зачем ему:

           class ExampleTitle {     

        idd = -1;

        duration = 10; //show for 10 seconds

        class controls

        {

            class ExampleControl

            {

                idc = -1;

                type = 0;

                style = 2; //centre text

                x = safeZoneX + safeZoneW - 0.6 * 3 / 4;  

                y = safeZoneY + safeZoneH - 0.6;

                h = 0.6;

                w = 0.6 * 3 / 4; //w == h

                font = "EtelkaNarrowMediumPro";

                sizeEx = 0.03;

                colorBackground[] = {1,1,0,1}; //yellow background

                colorText[] = {0,0,1,1}; //blue text

                text = "Bottom Right Corner Square Box";

            };

        };

    };

};

Edited by Loot (see edit history)

Share this post


Link to post
Share on other sites
  • 0

 

Потому что тогда непонятно зачем ему:

           class ExampleTitle {     

        idd = -1;

        duration = 10; //show for 10 seconds

        class controls

        {

            class ExampleControl

            {

                idc = -1;

                type = 0;

                style = 2; //centre text

                x = safeZoneX + safeZoneW - 0.6 * 3 / 4;  

                y = safeZoneY + safeZoneH - 0.6;

                h = 0.6;

                w = 0.6 * 3 / 4; //w == h

                font = "EtelkaNarrowMediumPro";

                sizeEx = 0.03;

                colorBackground[] = {1,1,0,1}; //yellow background

                colorText[] = {0,0,1,1}; //blue text

                text = "Bottom Right Corner Square Box";

            };

        };

    };

};

Тогда правильнее удалить ее из этого кода

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Miduznya
      Люди помогите кто знает, перепробовал множество вариантов
      ехе качал с сайта ragezone который типа переделан и в нем не работает БЕ
      но если зайти на сервер и выключить БЕ на клиенте через лаунчер, с сервера кикает, так что этот вариант не рабочий
      battleye = 0; тоже ничего не дает, кикает с сервера тоже.
      если не хотите тут можно и в лс , буду рад любой помощи.
    • By 123new
      В данной теме я ничего не прошу. Эта тема исключительно для обмена информацией и файлами со Steam мастерской и инструментов Steam, преимущественно для тех. кто не может их загрузить сам по тем или иным причинам.
       
      Форма запроса:
      1. Помогите скачать: {название и ссылка на необходимое вам, можно перечислить списком}
      2. Предпочитаю скачивать через: {названия облачных хранилищ, torrent, если работает}
      3. Буду ждать результата до: {дата, время по GMT+3, до которой вы ждете что вам помогут}
       
      Обращаю внимание, что все запросы и помощь исключительно добровольные между всеми форумчанами, никто ничем никому не обязан. Если по какой-то причине вам никто не может помочь загрузить файлы ищите свои способы это сделать сами.
      Форма запроса рекоммендуемая, но не обязательная в теме.
       
      ВАЖНО!! Благодарности за помощь оставлять в виде поднятия репутации автору за сообщение с нужной вам ссылкой.
    • By BorizzK
      Вобщем в процессе работы сервера происходят рандомные динамические события и вместе с ними на карте спавнятся некоторые обьекты
      Если время их жизни истекает и настает время нового события и в радиусе видимости нет игроков обьекты удаляются с карты
      Но
      Если выключение корректно (запланированный рестарт например), вызов функции удаления происходит из деструктора класса
      Все отрабатывает
      Ошибок нет
      Но после рестарта некоторые обьекты на месте
      Тогда я замутил функцию-задержку с проверкой
       
      float TimeWait(Object object, float timeW) { float cTick = GetGame().GetTickTime() + timeW; while(object || GetGame().GetTickTime() < cTick ) { if ( GetGame().GetTickTime() >= cTick ) break; } return GetGame().GetTickTime(); } и вызываю ее
       
      if (object) tW = TimeWait(object, timeW); задержка реально происходит - делал ее 60 секунда да же
      НО! обьекты эти после рестарта опять на месте
       
      Пока придумал костыль - сохраняю в профиль сервера при каждом спавне координаты и тайпнеймы заспавленных обьектов и при запуске в конструкторе проверяю это место и грохаю обьекты по тайпнеймам - места безлюдные и открытые, лагерей и тп там быть не может - потому в принципе ничего лишнего туда попасть не может
      к тому же это полезно в случае крашей
       
      и все же
      почему обьекты не удаляются при завершении работы сервера?
       
    • By BorizzK
      Давайте все что касается камер обсуждать в этой теме.
       
      Камеры бывают
      freedebugcamera
      dayzspectator
      staticcamera
       
      Взято из примера:
       
      Cоздание свободной камеры игроку (player - обьект игрока типа PlayerBase)
      GetGame().SelectSpectator(player.GetIdentity(), "freedebugcamera", player.GetPosition()); Уничтожение камеры c возвратом фокуса камеры обратно к персонажу
      PlayerBase pBody = player; GetGame().SelectPlayer(player.GetIdentity(), pBody);  
      Тут мне не ясен нюанс
      Зачем было загонять обьект игрока в переменную pBody и использовать эту переменную в SelectPlayer, когда проще
      GetGame().SelectPlayer(player.GetIdentity(), player);
       
      И еще хотелось бы понять
      как получить координаты положения камеры на сервере когда она  создана и переместилась
    • By JEKA666
      Кто нибудь знает как настроить( Х ) НА  лут в лучах и рыбалку какие команды прописывать? Хочется чтоб они приносили что-то нужное и полезное или только модом.
  • Our picks

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.