oylsister / ZombieSharp

Infection/survival style gameplay for CS2 in C#
GNU General Public License v3.0
37 stars 7 forks source link

crash running plugin start #26

Open metacop opened 5 months ago

metacop commented 5 months ago

I am on Linux(ubuntu) and I carry out all the installation steps, it lists the plugin in "css_plugin list" but when I enter the server, when I restart the game with bots, the server crashes. and I can't try even one round with zombie sharp mode. This happens when the warm-up round ends and the game is restarted and the server is deleted and shut down.

image

image

(final console message, this is the last thing it shows when the server closes ) image

image Load plugin

image

i use: last version Stable version 144v counter strike sharp

metacop commented 5 months ago

I am on Linux(ubuntu) and I carry out all the installation steps, it lists the plugin in "css_plugin list" but when I enter the server, when I restart the game with bots, the server crashes. and I can't try even one round with zombie sharp mode. This happens when the warm-up round ends and the game is restarted and the server is deleted and shut down.

image

image

(final console message, this is the last thing it shows when the server closes ) image

image Load plugin

image

i use: last version Stable version 144v counter strike sharp

update: The mode works now, my solution was to compile it from Linux. dotnet build

problem: but now I'm having trouble with player resources/models.

The route that I have, the models are in " game/csgo/characters/models/camareman_ported_cs2.vmdl_c"

image

image

image

metacop commented 5 months ago

help me pls

image

metacop commented 5 months ago

help me pls

image

updated: fix the name the file has vmdl_c but in the file it should be without _c. Now it doesn't give me any error on the console, but I still get an error in the game, that is, the 3D model "ERROR" does not show the player

oylsister commented 5 months ago
{
    "Resources": [
    "characters\\models\\nozb1\\2b_nier_automata_player_model\\2b_nier_player_model.vmdl"
    ],
oylsister commented 5 months ago

where you placed the model in your game folder?

metacop commented 5 months ago

where you placed the model in your game folder?

updated:

change the model for humans, the original police model and it works for humans.

but in zombies it does not load the model/resource.

the folder/path is game\csgo\characters\models\kolka\metro_cop\metro_cop.vmdl_c

image

my resources image

playerclasses.json

image

folder model

image

help me I have tried 3 models, could you give me one that works or one that is working for you to test?

Everything seems to be fine. For the tests I am using another PC on my local network, entering through the IP where the server PC is. Maybe downloads are not enabled? downloads for clients? Is there a way to activate that? in server.cfg or something like that?

oylsister commented 5 months ago

There is no way client can downloads your custom model in cs2, since they have no fastdl. You have to make other player put your model to game folder manually.

metacop commented 5 months ago

There is no way client can downloads your custom model in cs2, since they have no fastdl. You have to make other player put your model to game folder manually.

I was reading on github, that cs2 does not allow fastdl. but it does allow a workshop for personalized maps. https://help.dathost.net/article/144-cs2-custom-and-workshop-maps

but I don't understand, I've played on zombie scape servers with custom player zombies models. and it has downloaded, do you have an idea how that was done?

oylsister commented 5 months ago

I believe this is more like configuration issues than the code issue. Double check these list below

if you're calling model in workshop file, check the model path in .vpk too