Configuration with Sven Co-op - Instance console is on read-only mode and lack of startup parameter support

System Information

Field Value
Operating System Windows - Windows 11 Pro on x86_64
Product AMP ‘Decadeus’ v2.4.7.0 (Mainline)
Virtualization None
Application Sven Co-op
Module GenericModule
Running in Container No
Current State Ready

Problem Description

Issue

CS2 has both of these features and Sven-Coop not, both are SRCDS ran servers that supports console inputs and launch parameters. Any fixes for this or is are your sven coop instances just poorly implemented?

Reproduction Steps

  • For Sven-Coop go to instance console
  • Write e.g “changelevel hl_c02_a2” in it
  • Nothing happens at all
  • Now for CS2 (for comparison sake)
  • Goto Console
  • Write any gibberish and the console has no problems receiving it
  • Them goto CS2 Server Settings and it has a option to add extra launch parameters, Sven-Coop lacks that for some reason?
  • Reminder: Both games are SRCDS ran with startup parameters support and console input

Sven-Coop is not a source engine game, it’s based on the older GoldSource (HLDS) so not comparable to how AMP handle source engine games, they’re not similar at all. Sven-Coop is also a community configuration based on the Generic Module which has a different method for adjusting the startup flags.

Its configuration shows that it uses RCON for management. Does AMPs log show that it’s connected to the RCON okay? Also less of the passive agressive please :slight_smile:

Where exactly is here AMP Log for RCON located? All I could find is the Audit Logs and there nothing in there about RCON sadly. The console is “semi-working”, with the problem that it is literally on read-only mode I cannot input anything in it. In the opposite the CS2 Console it working perfectly fine.

Also I am sorry for my passive aggressiveness, I just find this to be very basic, at least on the parameters matter I do think that both can be objectively compared, since the way you create a startup script with all parameters behind it is literally the same or almost identical (Speaking from experience when I hosted a gmod and sven-coop server without any panel and always started both of them via the same .sh startup script with parameters method).

Go up a level and right click the instance and select View Logs.

Thanks you very much, here is the latest log with my attempt, at the very bottom you can see my futile attempts at changing the map level of the server and asking for the status of the server, but in the end everything is being ignored.

AMPLOG 2024-01-04 08-24-39
[08:24:39] [Program Info]         : Starting AMP version 2.4.7.0 (Decadeus), built 31/12/2023 22:56
[08:24:39] [Program Info]         : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[08:24:39] [Core Debug]           : Loading locale data for xx from xx.json...
[08:24:39] [Core Info]            : Purging old audit logs (this may take a moment)...
[08:24:39] [Core Warning]         : Current time zone is set to Mitteleuropäische Zeit - It is recommended you switch to UTC+0 to avoid time-zone related issues
[08:24:39] [Program Info]         : OS: Windows / x86_64
[08:24:39] [Program Info]         : CPU: AMD Ryzen 7 3700X 8-Core Processor (8C/16T)
[08:24:39] [Program Info]         : RAM: 65458MB
[08:24:39] [Program Info]         : AMP Instance ID: 56d0f54b-dc93-4039-b046-af0f81948fe2
[08:24:39] [Program Debug]        : Configuring licencing, crypto and webserver...
[08:24:39] [Licencing Debug]      : Primary network interface ID is {3F5CEB06-B3F7-4444-952B-2D420D7CE5BB} with physical address 74563CC8E3C5
[08:24:39] [Config Debug]         : Setting up secure value store with machine hash: ezNGNUNFQjA2LUIzRjctNDQ0NC05NTJCLTJENDIwRDdDRTVCQn03NDU2M0NDOEUzQzU=
[08:24:39] [Program Debug]        : Configuring shared components...
[08:24:39] [Core Debug]           : Using remote login server http://localhost:8080/
[08:24:39] [Program Debug]        : Configuring application module...
[08:24:39] [Generic Info]         : 4 Legacy ports migrated.
[08:24:39] [Loader Info]          : Loaded GenericModule version 1.0.0.0 by CubeCoders Limited
[08:24:39] [Program Debug]        : Configuring scheduler...
[08:24:39] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
[08:24:39] [Loader Info]          : Loaded FileManagerPlugin by CubeCoders Limited
[08:24:39] [Loader Info]          : Loaded EmailSenderPlugin by CubeCoders Limited
[08:24:39] [Loader Info]          : Loaded WebRequestPlugin by CubeCoders Limited
[08:24:40] [FileBackup Debug]     : Read manifests for 0 backups.
[08:24:40] [Loader Info]          : Loaded LocalFileBackupPlugin by CubeCoders Limited
[08:24:40] [Loader Info]          : Loaded CommonCorePlugin by CubeCoders Limited
[08:24:40] [Loader Info]          : GenericModule requests dependency steamcmdplugin...
[08:24:40] [Loader Info]          : Loaded steamcmdplugin by CubeCoders Limited
[08:24:40] [Loader Info]          : GenericModule requests dependency RCONPlugin...
[08:24:40] [RCON Info]            : Starting Source RCON Passthru server at 192.168.178.115:7777
[08:24:40] [Loader Info]          : Loaded RCONPlugin by CubeCoders Limited
[08:24:40] [Program Debug]        : Checking settings...
[08:24:40] [Core Info]            : Licence Present: AMP Standard Edition
[08:24:40] [FileManager Notice]   : Using keypair with fingerprint JYaSdbRJhvIv5rCbiaW6qzQA6GKA4+Dz5jplgYL6vJE=
[08:24:40] [FileManager Info]     : SFTP Server started on 0.0.0.0:2224
[08:24:40] [Webserver Debug]      : Using webroot: C:\AMPDatastore\Instances\SvenCo-op01\WebRoot
[08:24:40] [Webserver Info]       : Websockets are enabled.
[08:24:40] [API Debug]            : Building setting specification cache...
[08:24:40] [API Debug]            : Setting spec cache built, 225 items added.
[08:24:40] [Webserver Info]       : Webserver started on http://127.0.0.1:8081
[08:24:40] [Webserver Info]       : RouterTimer@10Hz with 2 jobs started
[08:24:40] [Scheduler Debug]      : Scheduler timer will start in 19031ms.
[08:24:40] [Core Info]            : Checking for AMP updates...
[08:24:40] [System Info]          : Startup mode is StartApplication.
[08:24:40] [Core Debug]           : Application state changed from Stopped to PreStart
[08:24:41] [Core Info]            : AMP is up to date.
[08:24:41] [Generic Info]         : Writing config file ./sven-co-op/276060/svencoop/server.cfg using Unicode (UTF-8) encoding.
[08:24:41] [Generic Debug]        : Running application pre-start tasks...
[08:24:41] [Generic Debug]        : Finished pre-start tasks.
[08:24:41] [Core Debug]           : Working Directory: C:\AMPDatastore\Instances\SvenCo-op01\sven-co-op\276060
[08:24:41] [Core Debug]           : Arguments: -console +ip 192.168.178.115 -port 27015 -sport 27016 +rcon_password ********** +hostname "deez nuts server 29" +maxplayers "20" +map "hl_c02_a2"
[08:24:42] [Core Debug]           : Application state changed from PreStart to Starting
[08:24:42] [Generic Debug]        : Setting up SourceRconClient RCON...
[08:24:42] [Program Debug]        : Startup Complete.
Console initialized.
Threaded networking started successfully.
Protocol version 48
Engine version 5.0.1.7 (svencoop)
Engine build: 11:20:57 Jun 12 2021 (8948)
STEAM Auth Server
Initializing IP networking
Local IP address: 192.168.178.115, SV port: 27015, CL port: -1
Steam P2P networking disabled.
Server logging data to file logs\2024-01-04.log
L 04/01/2024 - 09:24:44: Log file started (file "logs\2024-01-04.log") (game "svencoop") (version "48/5.0.1.7/8948")
L 04/01/2024 - 09:24:44: Server cvar "allow_spectators" = "1"
L 04/01/2024 - 09:24:44: Server cvar "sv_aim" = "0"
L 04/01/2024 - 09:24:44: Server cvar "sv_alltalk" = "1"
L 04/01/2024 - 09:24:44: Server cvar "sv_logblocks" = "1"
L 04/01/2024 - 09:24:44: Server cvar "sv_maxrate" = "100000"
L 04/01/2024 - 09:24:44: Server cvar "sv_maxspeed" = "270"
L 04/01/2024 - 09:24:44: Server cvar "sv_minrate" = "4000"
L 04/01/2024 - 09:24:44: Server cvar "sv_proxies" = "0"
L 04/01/2024 - 09:24:44: Server cvar "mp_consistency" = "1"
L 04/01/2024 - 09:24:44: Server cvar "mp_banana" = "1"
couldn't exec listip.cfg
WARNING:  Administrative contact is not set for this server. Please insert contact details (such as an email address, URL, or Discord) in the "sv_contact" CVAR for your server.
Executing map vote config file 'mapvote.cfg'.
40 map(s) loaded into the vote list.
Angelscript: Loading plugin lists
Angelscript: Loading plugin list 'default_plugins.txt'
Angelscript: Loading plugins from file 'default_plugins.txt'
Angelscript: Loading plugin list 'svencoop_event_xmas\extra_plugins.txt'
Angelscript: Loading plugins from file 'svencoop_event_xmas\extra_plugins.txt'
Angelscript: Plugin list 'default_plugins.txt' - 1 plugin(s) listed
Angelscript: Beginning plugin 'test' compilation
Angelscript: Starting compilation: 1 scripts
Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (7, 1) : Compiling void DrawEntityHealth()
Angelscript: Angelscript log opened
Angelscript: Server started logging Angelscript on map 'hl_c02_a2' at: 2024-01-04 09:24:44
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (10, 38) : No matching signatures to 'CPlayerFuncs::FindPlayerByIndex(CBasePlayer@&, const int)'
Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (10, 38) : Candidates are:
Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (10, 38) : CBasePlayer@ CPlayerFuncs::FindPlayerByIndex(int index)
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (27, 39) : No matching symbol 'GetScreenSize'
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (37, 29) : 'channel' is not a member of 'const float'
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (36, 29) : 'fxTime' is not a member of 'const float'
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (35, 29) : 'holdTime' is not a member of 'const float'
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (34, 29) : 'fadeoutTime' is not a member of 'const float'
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (33, 29) : 'fadeinTime' is not a member of 'const RGBA'
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (32, 29) : 'color1' is not a member of 'const int'
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (31, 29) : 'effect' is not a member of 'const int'
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (30, 29) : 'y' is not a member of 'const int'
ERROR: Angelscript: c:/ampdatastore/instances/svenco-op01/sven-co-op/276060/svencoop_addon/scripts/plugins/test.as (28, 59) : No matching symbol 'HudTextParams'
ERROR: Angelscript: Plugin script compilation failed
Angelscript: Plugin list 'svencoop_event_xmas\extra_plugins.txt' - 1 plugin(s) listed
Angelscript: Included script 'point_xmas_gift'
Angelscript: Beginning plugin 'Event_Xmas' compilation
Angelscript: Starting compilation: 2 scripts
Angelscript: Plugin script compilation succeeded
Angelscript: Registering hook: module 'Event_Xmas', hook 'Materialize', function '::PickupObjectMaterialize'
Angelscript: 2 plugin(s) total
Angelscript: 1 plugin(s) successfully compiled
Angelscript: 1 plugin(s) failed compilation
Parsing default_map_settings.cfg
Parsing maps/hl_c02_a2.cfg
Angelscript: Included script 'point_checkpoint'
Angelscript: Included script 'hlsp/trigger_suitcheck'
Angelscript: Included script 'HLSPClassicMode'
Angelscript: Map script 'HLSP' loaded
Parsing skill.cfg
Couldn't open maps/hl_c02_a2_skl.cfg, no config file parsed
Map cycle file "mapcycle.txt" will be re-loaded due to file pointer modification.
Map cycle file "mapcycle.txt" loaded successfully with 38 map(s).
Map cycle: Unexpectedly running map "hl_c02_a2" instead of "-sp_campaign_portal", holding cycle position.
Next map in cycle is: -sp_campaign_portal [1/38]
0 server administrator(s) and 0 owner(s) read.
L 04/01/2024 - 09:24:44: Server is empty, map will end in 10.00 minute(s) if nobody connects.
*Graph Loaded!
Angelscript: Beginning scan for m_iszScriptFile keyvalues
Angelscript: Finished scanning for m_iszScriptFile keyvalues
Angelscript: Starting compilation: 4 scripts
Angelscript: Adding console command 'debug_classicmodevote'
Angelscript: Map script compilation succeeded
Angelscript: Registering class "CPointXmasGift" as custom entity "point_xmas_gift"
Angelscript: Registering class "point_checkpoint" as custom entity "point_checkpoint"
Angelscript: Registering class "trigger_suitcheck" as custom entity "trigger_suitcheck"
Loading sentence list "sound/default_sentences.txt"...
Loading materials list "sound/materials.txt"...
L 04/01/2024 - 09:24:45: Started map "hl_c02_a2" (CRC "646418536")
L 04/01/2024 - 09:24:45: Log file closed
Server logging data to file logs\2024-01-04.log
L 04/01/2024 - 09:24:45: Log file started (file "logs\2024-01-04.log") (game "svencoop") (version "48/5.0.1.7/8948")
maxplayers cannot be changed while a server is running.
couldn't exec listip.cfg
[08:24:47] [Core Debug]           : Application state changed from Starting to Ready
Connection to Steam servers successful.
   VAC secure mode is activated.
[08:24:52] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:24:59] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:25:06] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:25:13] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:25:20] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:25:26] [Core Debug]           : Login request from 127.0.0.1 for admin
[08:25:26] [Core Activity]        : Authentication attempt for user admin from 127.0.0.1
[08:25:26] [Core Debug]           : Logging in via remote auth server http://localhost:8080/...
[08:25:27] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:25:30] [Core Activity]        : Authentication success
[08:25:30] [API Debug]            : Creating new session for admin at 127.0.0.1 (AMP_ADS_REDIR/10) API Login
[08:25:30] [API Debug]            : Login success from 127.0.0.1 assigned session ID ded47f9c-9bb0-439e-9662-099d0791e71b
[08:25:30] [Core Warning]         : Slow method invocation: Login took 3252ms to complete.
[08:25:30] [Core Warning]         : Slow response: Core.Login took 3258ms to complete.
[08:25:31] [Core:Anonymous Debug] : Login request from 127.0.0.1 for admin
[08:25:31] [Core:Anonymous Activity] : Authentication attempt for user admin from 127.0.0.1
[08:25:31] [Core:Anonymous Debug] : Logging in via remote auth server http://localhost:8080/...
[08:25:31] [Core:Anonymous Activity] : Authentication success
[08:25:31] [API:Anonymous Debug]  : Creating new session for admin at 127.0.0.1 (AMP_ADS_REDIR/10) API Login
[08:25:31] [API:Anonymous Debug]  : Login success from 127.0.0.1 assigned session ID b2c054be-70fd-489b-aac4-a76c0411032f
[08:25:34] [API:admin Activity]   : Sent to console: `hihi`
[08:25:34] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:25:37] [API:admin Activity]   : Sent to console: `hello`
[08:25:41] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:25:47] [API:admin Activity]   : Sent to console: `changelevel hl_c02_a2`
[08:25:48] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:25:55] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:26:02] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:26:03] [API:admin Activity]   : Sent to console: `nothing happens rip me`
[08:26:09] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:26:13] [API:admin Activity]   : Sent to console: `changelevel hl_c02_a1`
[08:26:17] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:26:24] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:26:24] [API:admin Activity]   : Sent to console: `status`
[08:26:26] [API:admin Activity]   : Sent to console: `HELLO`
[08:26:31] [RCON Debug]           : Source RCON connecting to 192.168.178.115:27020...
[08:26:32] [API:admin Activity]   : Stopping the application.
[08:26:32] [Core:admin Debug]     : Application state changed from Ready to Stopping
[08:26:32] [Core:admin Debug]     : Running command line: "taskkill.exe /F /IM /PID 8716" from ""
[08:26:34] [Core:admin Debug]     : Application state changed from Stopping to Stopped
[08:26:34] [Generic Debug]        : Cancelled RCON setup due to cancellation.
[08:26:39] [RunningTasksManager:admin Debug] : Task Stopping Sven Co-op... () ended: Finished

The RCON can’t connect. Do you have any configuration files that may be overriding the RCON password?

Negative the server.cfg states rcon_password “”, I also checked svencoop_addons for a server.cfg nothing there.

Remove that line from the server.cfg, that would wipe out the password.

Yeah that is not working. I made a entirely new instance, started it up and it is not working. I removed the rcon_password line again, not working, I let the API generate and autofill a rcon password and double checked if it is placed inside server.cfg and yes is it, still not working, it is either my windows installation that is flawed (cs2 works tho?) or on AMP side that the sven coop installation is simply “faulty”. I gonna make a new AMP installation later on my linux server and if it has same issue just gonna give up on AMP entirely. You can keep the change tho, back on my passive aggressiveness no pum intended.

@IceOfWraith any idea what would cause this? Does the template need updating for the hlds changes that have been made recently (cs 1.6 etc)

Those changes were to the console output and UDP Logger. It shouldn’t help with RCON. I’ll have to look it over. This was the first template I did a few years ago so no idea if it is good still.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.