DrMeepso / WebFishingCove

A dedicated server for WebFishing!
2 stars 1 forks source link

Headless server option #2

Open ImKringle opened 2 hours ago

ImKringle commented 2 hours ago

Currently it doesnt look like the server can be ran in a container since it hard starts up the steam client / webfishing - could this not be changed to just use the webfishing.exe?

Otherwise I'd assume a solid chunk of that is just to have the ability to use that games specific steamworks auth system, which could be done via a auth ticket the person running the server provides

Not one whos very fluent in C#, so if not possible feel free to say so - just know this being able to run headless (with or without the base game files) would be awesome <3

011c:err:eventlog:ReportEventW L"Application: WFSermver.exe\n"
011c:err:eventlog:ReportEventW L"CoreCLR Version: 6.0.3524.45918\n"
011c:err:eventlog:ReportEventW L".NET Version: 6.0.35\n"
011c:err:eventlog:ReportEventW L"Description: The process was terminated due to an unhandled exception.\n"
011c:err:eventlog:ReportEventW L"Exception Info: System.Exception: SteamApi_Init returned false. Steam isn't running, couldn't find Steam, AppId is ureleased, Don't own AppId.\r\n"
011c:err:eventlog:ReportEventW L"   at Steamworks.SteamClient.Init(UInt32 appid, Boolean asyncCallbacks)\r\n"
011c:err:eventlog:ReportEventW L"   at Program.<Main>$(String[] args) in C:\\Users\\dylan\\OneDrive\\Desktop\\WebFishingCove-main\\Program.cs:line 121\n"

^ This was ran via Wine; as my machine for servers is Linux based; but it doesnt really change the request here

ImKringle commented 2 hours ago

Oh you literally just compiled it for linux okay I love you thanks xD Same thing for the steam stuff tho!

DrMeepso commented 2 hours ago

Because Cove is pretty much emulating webfishing it needs steam's apis and such (steam networking, matchmaking, etc) i don't know if it is possible to run without just having steam in the background. that being said the Steamworks library i am using has a section on hosting without steam running link

if you get it working please let me know!