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

How to add this to linuxgsm #377

Open
DrissiReda opened this issue Feb 1, 2021 · 17 comments
Open

How to add this to linuxgsm #377

DrissiReda opened this issue Feb 1, 2021 · 17 comments

Comments

@DrissiReda
Copy link

How can I add this plugin to linuxgsm, I have sourcemod mod installed, and the game mode for jb doesn't work: game_type 3, game_mode 0.

Any ideas? running debian buster.

@azalty
Copy link

azalty commented Feb 1, 2021

I use +game_type 0 +game_mode 0, but I think it doesn't change anything except that I have to modify gamemode_casual_server.cfg while you can directly use server.cfg

Do you have any error log? It could be useful to send the output of sm plugins list as well as where you installed MyJailbreak (you need to follow the path that was in the archive when you downloaded MyJb)

You need to install the dev branch of MyJailbreak, and have SM 1.10

Afaik MyJb works for both Windows and Linux. You just need to have the correct version of sourcemod&metamod: source, verify that they work.

@DrissiReda
Copy link
Author

Yeah using 0,0 is just casual. 3,0 is marked as custom during loading screen with the right map but then it just loads with terrorists in their spawn and ct in their spawns with a timer that goes to 0. There is no error.

What I did to install:

  • extracted everything to serverfiles/csgo/
  • Ran fastdl so it’s available to clients.
  • launched the server with 3,0

i installed sourcemod and metamod from linuxGSM : using csgoserver mod-install.

is there anything I’m doing wrong?

@azalty
Copy link

azalty commented Feb 1, 2021

  • Please check your sourcemod version (sm version)
  • Please provide your plugin list (sm plugins list)
  • Where did you download MyJailbreak, and from which branch?

What you should do:

  1. Install the latest build from dev branch (click download latest for the dev branch): https://shanapu.de/MyJailbreak/
  2. Follow this: https://github.com/shanapu/MyJailbreak/wiki/Installation (SM 1.10 stable is better - ENT_Hosties can be used as well instead of SM Hosties)

Ensure you have ALL the Required Plugins installed!

@DrissiReda
Copy link
Author

sm version
sm version
 SourceMod Version Information:
    SourceMod Version: 1.10.0.6502
    SourcePawn Engine: 1.10.0.6502, jit-x86 (build 1.10.0.6502)
    SourcePawn API: v1 = 5, v2 = 12
    Compiled on: Dec 18 2020 04:15:26
    Built from: https://github.com/alliedmodders/sourcemod/commit/617fb77
    Build ID: 6502:617fb77
    http://www.sourcemod.net/
sm plugins list
sm plugins list
[SM] Listing 47 plugins:
  01 <Failed> "Fun Commands" (1.10.0.6502) by AlliedModders LLC
  02 "Sound Commands" (1.10.0.6502) by AlliedModders LLC
  03 "Basic Info Triggers" (1.10.0.6502) by AlliedModders LLC
  04 "Anti-Flood" (1.10.0.6502) by AlliedModders LLC
  05 "Basic Commands" (1.10.0.6502) by AlliedModders LLC
  06 <Failed> "Player Commands" (1.10.0.6502) by AlliedModders LLC
  07 "Admin File Reader" (1.10.0.6502) by AlliedModders LLC
  08 "Admin Help" (1.10.0.6502) by AlliedModders LLC
  09 "Nextmap" (1.10.0.6502) by AlliedModders LLC
  10 "Basic Ban Commands" (1.10.0.6502) by AlliedModders LLC
  11 "Reserved Slots" (1.10.0.6502) by AlliedModders LLC
  12 "Admin Menu" (1.10.0.6502) by AlliedModders LLC
  13 "Basic Votes" (1.10.0.6502) by AlliedModders LLC
  14 <Failed> "Fun Votes" (1.10.0.6502) by AlliedModders LLC
  15 <Failed> "Basic Comm Control" (1.10.0.6502) by AlliedModders LLC
  16 "Basic Chat" (1.10.0.6502) by AlliedModders LLC
  17 <Failed> "MyJailbreak - Torch Relay" (Beta 14.1.dev-2a6fa76) by shanapu
  18 <Failed> "MyJailbreak - HE Battle" (Beta 14.1.dev-2a6fa76) by shanapu
  19 <Failed> "MyJailbreak - KnifeFight" (Beta 14.1.dev-2a6fa76) by shanapu
  20 <Failed> "MyJailbreak - Last Guard Rule" (Beta 14.1.dev-2a6fa76) by shanapu
  21 <Failed> "MyJailbreak - Ratio" (Beta 14.1.dev-2a6fa76) by shanapu, Addicted
  22 <Failed> "MyJailbreak - Arms Race" (Beta 14.1.dev-2a6fa76) by shanapu
  23 <Failed> "MyJailbreak - Request" (Beta 14.1.dev-2a6fa76) by shanapu
  24 <Failed> "MyJailbreak - Drunk" (Beta 14.1.dev-2a6fa76) by shanapu
  25 <Failed> "MyJailbreak - Player HUD" (Beta 14.1.dev-2a6fa76) by shanapu
  26 <Failed> "MyJailbreak - Icons" (Beta 14.1.dev-2a6fa76) by shanapu
  27 <Failed> "MyJailbreak - Zeus" (Beta 14.1.dev-2a6fa76) by shanapu
  28 <Failed> "MyJailbreak - PlayerTags" (Beta 14.1.dev-2a6fa76) by shanapu
  29 <Failed> "MyJailbreak - Freeday" (Beta 14.1.dev-2a6fa76) by shanapu
  30 <Failed> "MyJailbreak - Suicide Bomber" (Beta 14.1.dev-2a6fa76) by shanapu
  31 <Failed> "MyJailbreak - NoScope" (Beta 14.1.dev-2a6fa76) by shanapu
  32 <Failed> "MyJailbreak - Menus" (Beta 14.1.dev-2a6fa76) by shanapu
  33 <Failed> "MyJailbreak - DealDamage" (Beta 14.1.dev-2a6fa76) by shanapu
  34 <Failed> "MyJailbreak - War FFA" (Beta 14.1.dev-2a6fa76) by shanapu
  35 <Failed> "MyJailbreak - OneInTheChamber" (Beta 14.1.dev-2a6fa76) by Hexah | shanapu
  36 <Failed> "MyJailbreak - HideInTheDark" (Beta 14.1.dev-2a6fa76) by shanapu
  37 <Failed> "MyJailbreak - Core" (Beta 14.1.dev-2a6fa76) by shanapu
  38 <Failed> "MyJailbreak - CowBoy" (Beta 14.1.dev-2a6fa76) by shanapu
  39 <Failed> "MyJailbreak - Weapons" (Beta 14.1.dev-2a6fa76) by shanapu
  40 <Failed> "MyJailbreak - Ghosts War" (Beta 14.1.dev-2a6fa76) by shanapu
  41 <Failed> "MyJailbreak - Warden" (Beta 14.1.dev-2a6fa76) by shanapu
  42 <Failed> "MyJailbreak - Zombie" (Beta 14.1.dev-2a6fa76) by shanapu
  43 <Failed> "MyJailbreak - Teleport War" (Beta 14.1.dev-2a6fa76) by shanapu
  44 <Failed> "MyJailbreak - War" (Beta 14.1.dev-2a6fa76) by shanapu
  45 <Failed> "MyJailbreak - DuckHunt" (Beta 14.1.dev-2a6fa76) by shanapu
  46 <Failed> "MyJailbreak - Catch & Freeze" (Beta 14.1.dev-2a6fa76) by shanapu
  47 "Client Preferences" (1.10.0.6502) by AlliedModders LLC
Errors:
funcommands.smx (Fun Commands): Required extension "SDKTools" file("sdktools.ext") not running
playercommands.smx (Player Commands): Required extension "SDKTools" file("sdktools.ext") not running
funvotes.smx (Fun Votes): Required extension "SDKTools" file("sdktools.ext") not running
basecomm.smx (Basic Comm Control): Required extension "SDKTools" file("sdktools.ext") not running
MyJailbreak/torch.smx (MyJailbreak - Torch Relay): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/hebattle.smx (MyJailbreak - HE Battle): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/knife.smx (MyJailbreak - KnifeFight): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/lastguard.smx (MyJailbreak - Last Guard Rule): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/ratio.smx (MyJailbreak - Ratio): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/armsrace.smx (MyJailbreak - Arms Race): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/request.smx (MyJailbreak - Request): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/drunk.smx (MyJailbreak - Drunk): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/hud.smx (MyJailbreak - Player HUD): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/icons.smx (MyJailbreak - Icons): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/zeus.smx (MyJailbreak - Zeus): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/playertags.smx (MyJailbreak - PlayerTags): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/freeday.smx (MyJailbreak - Freeday): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/suicide.smx (MyJailbreak - Suicide Bomber): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/noscope.smx (MyJailbreak - NoScope): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/menu.smx (MyJailbreak - Menus): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/dealdamage.smx (MyJailbreak - DealDamage): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/ffa.smx (MyJailbreak - War FFA): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/oneinthechamber.smx (MyJailbreak - OneInTheChamber): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/hide.smx (MyJailbreak - HideInTheDark): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/myjailbreak.smx (MyJailbreak - Core): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/cowboy.smx (MyJailbreak - CowBoy): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/weapons.smx (MyJailbreak - Weapons): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/ghosts.smx (MyJailbreak - Ghosts War): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/warden.smx (MyJailbreak - Warden): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/zombie.smx (MyJailbreak - Zombie): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/teleport.smx (MyJailbreak - Teleport War): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/war.smx (MyJailbreak - War): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/duckhunt.smx (MyJailbreak - DuckHunt): Required extension "cstrike" file("games/game.cstrike.ext") not running
MyJailbreak/catch.smx (MyJailbreak - Catch & Freeze): Required extension "cstrike" file("games/game.cstrike.ext") not running

Downloaded MyJailbreak from here:

shanapu.de/MyJailbreak/downloads/SM1.10/dev/MyJB-dev-2a6fa76.zip

@azalty
Copy link

azalty commented Feb 1, 2021

linuxgsm seems lazy and didn't install sourcemod's extentions for some reason. Even the base plugins are failing.

Please download the latest stable release atm for linux: https://sm.alliedmods.net/smdrop/1.10/sourcemod-1.10.0-git6502-linux.tar.gz and add sourcemod/extentions/ with it's content on your server

Restart your server fully after that. If you miss any other folder, add them (make sure sourcemod/gamedata/ folder exists)

@DrissiReda
Copy link
Author

Wait, is plugin installation simply copying files to serverfiles/csgo??
I'm very new to all this, I just want to try running this in my kubernetes cluster, but can't seem to run it even natively....

@azalty
Copy link

azalty commented Feb 1, 2021

just merge folders together.
if you have addons/... it means you need to install in serverfiles/csgo
if you have plugins/.. scripting/.. it means you need to install in serverfiles/csgo/addons/sourcemod/

@DrissiReda
Copy link
Author

Ok so it's still simple folder merging, got it, thanks for the heads up.

@DrissiReda
Copy link
Author

DrissiReda commented Feb 1, 2021

Better output:

[SM] Listing 47 plugins:
  01 "Fun Commands" (1.10.0.6502) by AlliedModders LLC
  02 "Sound Commands" (1.10.0.6502) by AlliedModders LLC
  03 "Basic Info Triggers" (1.10.0.6502) by AlliedModders LLC
  04 "Anti-Flood" (1.10.0.6502) by AlliedModders LLC
  05 "Basic Commands" (1.10.0.6502) by AlliedModders LLC
  06 "Player Commands" (1.10.0.6502) by AlliedModders LLC
  07 "Admin File Reader" (1.10.0.6502) by AlliedModders LLC
  08 "Admin Help" (1.10.0.6502) by AlliedModders LLC
  09 "Nextmap" (1.10.0.6502) by AlliedModders LLC
  10 "Basic Ban Commands" (1.10.0.6502) by AlliedModders LLC
  11 "Reserved Slots" (1.10.0.6502) by AlliedModders LLC
  12 "Admin Menu" (1.10.0.6502) by AlliedModders LLC
  13 "Basic Votes" (1.10.0.6502) by AlliedModders LLC
  14 "Fun Votes" (1.10.0.6502) by AlliedModders LLC
  15 "Basic Comm Control" (1.10.0.6502) by AlliedModders LLC
  16 "Basic Chat" (1.10.0.6502) by AlliedModders LLC
  17 "MyJailbreak - Torch Relay" (Beta 14.1.dev-2a6fa76) by shanapu
  18 "MyJailbreak - HE Battle" (Beta 14.1.dev-2a6fa76) by shanapu
  19 "MyJailbreak - KnifeFight" (Beta 14.1.dev-2a6fa76) by shanapu
  20 "MyJailbreak - Last Guard Rule" (Beta 14.1.dev-2a6fa76) by shanapu
  21 "MyJailbreak - Ratio" (Beta 14.1.dev-2a6fa76) by shanapu, Addicted
  22 "MyJailbreak - Arms Race" (Beta 14.1.dev-2a6fa76) by shanapu
  23 <Failed> "MyJailbreak - Request" (Beta 14.1.dev-2a6fa76) by shanapu
  24 "MyJailbreak - Drunk" (Beta 14.1.dev-2a6fa76) by shanapu
  25 "MyJailbreak - Player HUD" (Beta 14.1.dev-2a6fa76) by shanapu
  26 "MyJailbreak - Icons" (Beta 14.1.dev-2a6fa76) by shanapu
  27 "MyJailbreak - Zeus" (Beta 14.1.dev-2a6fa76) by shanapu
  28 "MyJailbreak - PlayerTags" (Beta 14.1.dev-2a6fa76) by shanapu
  29 "MyJailbreak - Freeday" (Beta 14.1.dev-2a6fa76) by shanapu
  30 "MyJailbreak - Suicide Bomber" (Beta 14.1.dev-2a6fa76) by shanapu
  31 "MyJailbreak - NoScope" (Beta 14.1.dev-2a6fa76) by shanapu
  32 "MyJailbreak - Menus" (Beta 14.1.dev-2a6fa76) by shanapu
  33 "MyJailbreak - DealDamage" (Beta 14.1.dev-2a6fa76) by shanapu
  34 "MyJailbreak - War FFA" (Beta 14.1.dev-2a6fa76) by shanapu
  35 "MyJailbreak - OneInTheChamber" (Beta 14.1.dev-2a6fa76) by Hexah | shanapu
  36 "MyJailbreak - HideInTheDark" (Beta 14.1.dev-2a6fa76) by shanapu
  37 "MyJailbreak - Core" (Beta 14.1.dev-2a6fa76) by shanapu
  38 "MyJailbreak - CowBoy" (Beta 14.1.dev-2a6fa76) by shanapu
  39 "MyJailbreak - Weapons" (Beta 14.1.dev-2a6fa76) by shanapu
  40 "MyJailbreak - Ghosts War" (Beta 14.1.dev-2a6fa76) by shanapu
  41 "MyJailbreak - Warden" (Beta 14.1.dev-2a6fa76) by shanapu
  42 "MyJailbreak - Zombie" (Beta 14.1.dev-2a6fa76) by shanapu
  43 "MyJailbreak - Teleport War" (Beta 14.1.dev-2a6fa76) by shanapu
  44 "MyJailbreak - War" (Beta 14.1.dev-2a6fa76) by shanapu
  45 "MyJailbreak - DuckHunt" (Beta 14.1.dev-2a6fa76) by shanapu
  46 "MyJailbreak - Catch & Freeze" (Beta 14.1.dev-2a6fa76) by shanapu
  47 "Client Preferences" (1.10.0.6502) by AlliedModders LLC
Errors:
MyJailbreak/request.smx (MyJailbreak - Request): Could not find required plugin "lastrequest"


I still need lastrequest plugin, I can't find it anywhere.

It works now! Where can I find rules and how to use commands,
For example after entering "!guard" it asks me to accept or refuse the rules, and I don't know how I can accept/refuse

@azalty
Copy link

azalty commented Feb 1, 2021

https://forums.alliedmods.net/showthread.php?t=108810 - https://github.com/dataviruset/sm-hosties/releases it was in the required plugins

ent hosties (fork of sm hosties) works as well, fixes a lot of crash exploits that occured because of SM Hosties, but have some other bugs. I recommend switching anyways if you want to fix crashes https://github.com/Sples1/ENT_Hosties/releases

@azalty
Copy link

azalty commented Feb 1, 2021

For example after entering "!guard" it asks me to accept or refuse the rules, and I don't know how I can accept/refuse

It should open a menu asking you to press 1 or 2. Everything is configurable in csgo/cfg/MyJailbreak/ (and some other configs are in addons/sourcemod/configs/Myjailbreak)

@DrissiReda
Copy link
Author

DrissiReda commented Feb 1, 2021

Thank you very much for everything.

Also the text is too big on 3440x1440 resolution, how can I make it smaller? and can I make round timer more than 5 minutes?

@azalty
Copy link

azalty commented Feb 1, 2021

Thank you very much for everything.

No problem <3

Also the text is too big on 3440x1440 resolution, how can I make it smaller?

Check the config, else, you probably can't
EDIT: It seems this is a bug with CS:GO itself not scaling properly text, since we can't modify the size ourselves

and can I make round timer more than 5 minutes?

You should be able to do so by yourself in server.cfg with mp_roundtime 10 (where 10 is time in minutes) or mp_roundtime_defuse 10

@DrissiReda
Copy link
Author

Thanks for the tips, should I only look inside sourcemod files?

Also in-game (client side) I got this error infinitely:

GetSpriteAxes: Bad sprite type 1936482659

@DrissiReda
Copy link
Author

You should be able to do so by yourself in server.cfg with mp_roundtime 10 (where 10 is time in minutes) or mp_roundtime_defuse 10
I added to the csgoserver.cfg (the file that linux gsm uses) the line

mp_roundtime 10
mp_roundtime_defuse 10

And at boot I still get mp_roundtime 5 and mp_roundtime_defuse 0.

Is that normal? Can I add it in cmd line parameters of srcds_run?

@azalty
Copy link

azalty commented Feb 2, 2021

Thanks for the tips, should I only look inside sourcemod files?

Also in-game (client side) I got this error infinitely:

GetSpriteAxes: Bad sprite type 1936482659

I don't know that much about this problem, you probably don't have the sprites installed. Check your fastdl/server, connect & disconnect (apparently there's a bug with sprites) or try to use S-Downloader

@azalty
Copy link

azalty commented Feb 2, 2021

You should be able to do so by yourself in server.cfg with mp_roundtime 10 (where 10 is time in minutes) or mp_roundtime_defuse 10
I added to the csgoserver.cfg (the file that linux gsm uses) the line

mp_roundtime 10
mp_roundtime_defuse 10

And at boot I still get mp_roundtime 5 and mp_roundtime_defuse 0.

Is that normal? Can I add it in cmd line parameters of srcds_run?

Either your gamemode is overriding these parameters or the map is.

I don't know what is csgoserver.cfg, I only use the default files that work, aka server.cfg

Try putting that in server.cfg or create a new file in the same directory as server.cfg with the name gamemodes_server.txt and put that inside

edit: apparently, csgoserver.cfg is not a cvar config file and you shouldn't use it for modifying cvars. Always go in csgo/cfg/server.cfg (or the other file I told you, but server.cfg should be fine if you use custom gamemode)
edit 2: apparently, LinuxGSM does modify server.cfg to csgoserver.cfg for some reason. I can't help you further since idk if LinuxGSM handles gamemodes_server.txt correctly (or because I don't know a thing about Linux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants