#"Server is not active" message appearing when connected into a normal server and trying commands.

17 messages · Page 1 of 1 (latest)

winged epoch
#

So, in our game we were able to connect to servers. Now we've connected it's working...kinda. We've done local testing with multiple clients and it's all functional and works, but for some reason, on an actual server, anytime we are trying to reload our guns, we get a Server is not active message. Even though we can move around, pick up weapons. But stuff like firing our guns and reloading says "Server is not active"

All the local tests shows no problems, as a client and as the server/client. But the moment we are in a server. Everything is jittery, Actions aren't working.

strong trench
#

Have you tested a local server and separate client?

winged epoch
#

Seperate meaning another build? So having 3/4 builds open @strong trench

#

If so, yes, we've tested with the same PC, with 4 builds running. One host, 3 clients connecting

strong trench
#

The host being only server, yeah?

winged epoch
#

How do you make it work like that?

#

Using Tugboat? Is there a way to make that wokr

strong trench
#

As in, it is only a server and not client too

winged epoch
#

How do you set that up locally?

strong trench
#

For testing usually by only pressing the "Server" button

winged epoch
#

@strong trench We've always done it like this
InstanceFinder.ClientManager.StartConnection();

strong trench
#

Gotcha, but a dedicated server shouldn't need a client started too

#

That would only be needed if a player is playing on that same computer/game instance

winged epoch
#

We'll give that a go, never considered we had to do that, always built Steam games that are connecting with you as the host and client at the same time

#

Is there anything that you'd suggest, not that you'd have much of a clue about the programming involved in my project 😂

You got any tips when handling it from a server side bit.

Since we've been testing we've had snippets like IsOwner || IsServer, but I guess if we're matchmaking and connecting in. That would never happen now since we'd be connecting into a server.

strong trench
#

How is your game played, is it player hosted matches, or do you have dedicated servers for the matches?