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

VFE Deserter error: "failed to provide valid commands to the server" #45

Open
codeborgar opened this issue Nov 13, 2023 · 3 comments
Open

Comments

@codeborgar
Copy link

fails to 'post valid commands' to server with VFE Deserter on. Not my game, but a friend's

failvalidcommands

@codeborgar codeborgar changed the title VFE Deserter: "failed to provide valid commands to the server" VFE Deserter error: "failed to provide valid commands to the server" Nov 13, 2023
@Kuuchuu
Copy link
Contributor

Kuuchuu commented Apr 12, 2024

Extended error report from my fork with an extra debug line:

Failed to provide valid commands to server. Command Details: {"isError":false,"success":false,"message":"child \"validCommands\" fails because [\"validCommands\" at position 820 fails because [child \"description\" fails because [\"description\" must be a string]]]"}
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimConnection.RimConnectAPI:PostValidCommands (RimConnection.ValidCommandPayloadGenerator)
RimConnection.ServerInitialise:Init ()
RimConnection.ServerInitialise:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Entry:Update ()

@Kuuchuu
Copy link
Contributor

Kuuchuu commented Apr 12, 2024

Just submitted a pull request which should resolve the issue, but as I don't stream I can't do a full test.
With pull request #53 RimConnect successfully provides commands to server and successfully connects to the server.

@Kuuchuu
Copy link
Contributor

Kuuchuu commented Apr 12, 2024

Specific problematic command is VFE Deserter's "missile rain".
The Game Condition def "VFED_MissileRain" in VFE Deserter's 1.4/Defs/Misc/GameConditions.xml/1.5/Defs/Misc/GameConditions.xml does not have a description tag, which RimConnect requires.
I've also gone ahead and submitted a bug report to VFE Deserter to see if I can get a description added for that game condition.

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

No branches or pull requests

2 participants