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
StiCh

Крашит игроков на сервере.

Всем привет ребята помогити , после обновы стало крашить игроков на моем сервере , что только не пробовал , онлайн стремительно падает , помогите .

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

@StiCh Прикрепи свои логи сюда, мы же должны понять из-за чего это + какие моды у тебя стоят на сервере ?

 

Share this post


Link to post
Share on other sites



  • 0
//All modification was created by editing original DayZ mainmenu class
modded class MainMenu
{
    protected Widget m_Play0;
    protected Widget m_Play1;
    protected Widget                custom_button1;
    protected Widget                custom_button2;

    override Widget Init()
    {
        layoutRoot = GetGame().GetWorkspace().CreateWidgets( "OBOIMenu/gui/main_menu.layout" ); // Don't forget to change the path if you've changed the name of the folder or have replaced script into your modpack
        
        m_Play0                        = layoutRoot.FindAnyWidget( "play0" );
        m_CustomizeCharacter        = layoutRoot.FindAnyWidget( "customize_character" );
        m_SettingsButton            = layoutRoot.FindAnyWidget( "settings_button" );
        m_Exit                        = layoutRoot.FindAnyWidget( "exit_button" );
        m_Play1                        = layoutRoot.FindAnyWidget( "choose_server" );

        custom_button1                = layoutRoot.FindAnyWidget( "custom_button1" );
        custom_button2                = layoutRoot.FindAnyWidget( "custom_button2" );

        m_Version                    = TextWidget.Cast( layoutRoot.FindAnyWidget( "version" ) );
        m_CharacterRotationFrame    = layoutRoot.FindAnyWidget( "character_rotation_frame" );
        m_Mission                    = MissionMainMenu.Cast( GetGame().GetMission() );
        m_ScenePC                    = m_Mission.GetIntroScenePC();
        
        if( m_ScenePC )
        {
            m_ScenePC.ResetIntroCamera();
        }
        
        m_PlayerName                = TextWidget.Cast( layoutRoot.FindAnyWidget("character_name_text") );
        
        m_Version.SetText( "Created by FireCA" ); //I'll appreciate if you leave this text for credits
        
        GetGame().GetUIManager().ScreenFadeOut(0);

        SetFocus( null );
        
        Refresh();
        
        GetDayZGame().GetBacklit().MainMenu_OnShow();
    
        g_Game.SetLoadState( DayZLoadState.MAIN_MENU_CONTROLLER_SELECT );
        
        return layoutRoot;
    }
    
    override bool OnClick( Widget w, int x, int y, int button )
    {
        if( button == MouseState.LEFT )
        {
            if( w == m_Play0 )
            {
                m_LastFocusedButton = m_Play0;
                g_Game.ConnectFromServerBrowser( "212.22.93.100", 2302, "" ); // place YOUR IP and Port here
                return true;
            }

            else if ( w == m_CustomizeCharacter )
            {
                OpenMenuCustomizeCharacter();
                return true;
            }
            else if ( w == m_SettingsButton )
            {
                OpenSettings();
                return true;
            }
            else if ( w == m_Play1 )
            {
                m_LastFocusedButton = m_Play1;
                g_Game.ConnectFromServerBrowser( "185.189.255.80", 2200, "" );
                return true;
            }
            else if ( w == m_Exit )
            {
                Exit();
                return true;
            }
            else if ( w == custom_button1 )
            {
                GetGame().OpenURL("https://vk.com/dayzoboi"); //Replace my links to yours. Opens any URL Page in browser
                return true;
            }
            else if ( w == custom_button2 )
            {
                GetGame().OpenURL("https://discord.com/invite/Hq7XKcM"); //Replace my links to yours. Opens any URL Page in browser
                return true;
            }            
        }
        return false;
    }
    
    bool IsFocusable( Widget w )
    {
        if( w )
        {
            if( w == m_Play || w == m_CustomizeCharacter || w == m_SettingsButton || w == m_Exit || w == custom_button1 || w == custom_button2 );
            {
                return true;
            }
        }
        return false;
    }
    
    override void Refresh()
    {
        string name;
        
        if( m_ScenePC )
        {
            OnChangeCharacter();
        }        
        
        m_Version.SetText( "" ); //I'll appreciate if you leave this text for credits
    }    

    override void OnShow()
    {
        SetFocus( null );
        OnChangeCharacter();
        return;
    }    
}


 

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Edited by 123new
всавка кода в обязательный спец. тег code (see edit history)

Share this post


Link to post
Share on other sites
  • 0

Клиентов крашит как?

После входа на серв?

До входа?

Share this post


Link to post
Share on other sites
  • 0

В идеале логи с crash.log файлов последних по дате и времени создания, они у игрока в %localappdata% в папке dayz хранятся

Share this post


Link to post
Share on other sites
  • 0

Заходят на сервер и через пару минут вылетают , говорят что ошибка связана с меню 

Share this post


Link to post
Share on other sites
  • 0
9 часов назад, StiCh сказал:

Заходят на сервер и через пару минут вылетают , говорят что ошибка связана с меню 

пусть скриншот сделают и скинут логи, что сказал. человека этак 2-3 хотя бы

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

×
×
  • 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.