Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on startup #443

Open
echosssss opened this issue May 5, 2024 · 3 comments
Open

Stuck on startup #443

echosssss opened this issue May 5, 2024 · 3 comments
Labels
untriaged New issue has not been triaged

Comments

@echosssss
Copy link

Hello everyone, I wanted to open a CS2 server and develop plugins, for this reason, I decided to use CSS but I faced an error I couldn't understand.

I installed Metamod and CSS with Runtime according to your docs, and then CSS successfully started without any plugin but when I added HelloWorldPlugin to the plugins folder, I was stuck on startup :/ You can see below where I am stuck, I waited for hours and it was still the same

image

HelloWorldPlugin.cs

using CounterStrikeSharp.API.Core;

namespace HelloWorldPlugin;
public class HelloWorldPlugin : BasePlugin
{
    public override string ModuleName => "Hello World Plugin";

    public override string ModuleVersion => "0.0.1";

    public override void Load(bool hotReload)
    {
        Console.WriteLine("Hello World!");
    }
}

image

My File Tree on The Server

image

My Server

Ubuntu 22.04.4 on Oracle Cloud Ampere VM.Standard.A1.Flex

image

start.sh

/home/ubuntu/Steam/steamapps/common/cs2/game/bin/linuxsteamrt64/cs2 -dedicated -secure -usercon -maxplayers 10 -port 31313 +hostname "Game Server" +game_alias competitive +map de_inferno +sv_setsteamaccount token +exec steamapps/common/cs2/game/csgo/cfg/server.cfg

I don't know what I did wrong and what I missed, thanks for your help ❤️

@github-actions github-actions bot added the untriaged New issue has not been triaged label May 5, 2024
@roflmuffin
Copy link
Owner

There doesn't appear to be any CS# related errors in the log you posted. Does the server load successfully without the HelloWorldPlugin copied over?

@echosssss
Copy link
Author

Yes, it passes where I am stuck without any plugin and successfully starts the server:

image

And I can see it with meta list command:

image

Other than this, I tried two different retake plugins written for CS# before opening this issue. The result is the same, I am stuck after "Admin command overrides file not found. Skipping admin command overrides load." log. Therefore I thought it might be about CS#. I faced issues like this because of mostly ARM arch but in this situation, there may be many reasons because I don't take any errors.

Thanks for your help.

@elgato69
Copy link

elgato69 commented May 20, 2024

This is related to #180 where running CSS under any sort of emulation layer on AArch64 hosts results in this hanging behavior.

From my observations the following causes the issue

  • Issuing any CSS commands at the server console
    crash

  • Attempting to load CSS with any plugin installed (eg. @echosssss "Hello World" plugin)

Doing any of these causes a server hang leading to the watchdog stopping the server

I have further tested under the following environments

  • Pure x86 chroot via qemu-binfmt method
  • FEX-Emu, both through FEXInterpreter and FEXBash

My system is also Ubuntu 22.04 on Oracle Ampere A1.
sys

It is a very frustrating issue since the server works perfectly fine under the emulation layer with only Metamod, and while CSS loads and appears in the output of meta list trying to interact with it in any way just hard crashes. I have been testing with every new CSS version and FEX update with no joy so far. I would really like to see this issue fixed as it has been an ongoing problem stopping me from hosting my CS2 server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

3 participants