Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Kie99 on April 24, 2005, 04:12:13 pm

Title: Multi Player problem
Post by: Kie99 on April 24, 2005, 04:12:13 pm
On FS multi whenever I click a game it says "You cannot join because the game is not in an appropriate state" (Or something like that).  When I tried doing a direct IP game, I couldn't see the other person's game, yet they could see any of mine that I created, but they got the "Not in an appropriate state" error.


We checked and double checked our  IPs, and we tried using corresponding builds but nothing worked.  We have all Media VPs installed except I don't have MV_cell.  I was trying to do multi with Karajorma so chances are that its nothing obvious.
Title: Multi Player problem
Post by: Cobra on April 24, 2005, 04:46:15 pm
use the OEB.
Title: Multi Player problem
Post by: karajorma on April 24, 2005, 05:11:52 pm
Shouldn't have to for an IP game Cobra.
Title: Multi Player problem
Post by: Cobra on April 24, 2005, 08:39:15 pm
bah.
Title: Multi Player problem
Post by: StratComm on April 24, 2005, 08:59:19 pm
Cobra, that's spam.  Don't spam the SCP or any of its subforums, or FS Modding.
Title: Multi Player problem
Post by: karajorma on April 25, 2005, 04:23:18 am
Actually don't spam period. And if you have to spam don't spam a thread started by someone with moderator access to the forum :p

Anyway getting back to the point is anyone else having trouble with online? Especially with IP games?
Title: Multi Player problem
Post by: WMCoolmon on April 25, 2005, 04:25:08 am
Quote
Originally posted by karajorma
Actually don't spam period. And if you have to spam don't spam a thread started by someone with moderator access to the forum :p

Anyway gettin


oh the irony. :p

I would like to hear about how multiplayer is faring, too...
Title: Multi Player problem
Post by: Kie99 on April 25, 2005, 09:21:22 am
Quote
Originally posted by karajorma
Actually don't spam period. And if you have to spam don't spam a thread started by someone with moderator access to the forum :p


I'm a moderator? Cool. :p

Could someone willing to try the multi PM me and tell me to start a new game?
Title: Multi Player problem
Post by: Kie99 on April 25, 2005, 04:08:42 pm
Still not working.
Title: Multi Player problem
Post by: Inquisitor on April 26, 2005, 09:40:33 am
New to me, have you ever been able to play?

Sounds like at least one of you has a firewall in the way.

Can you play with Retail?
Title: Multi Player problem
Post by: Cobra on April 26, 2005, 11:05:53 am
i've got a firewall, but i've never had a problem. and i'm NEVER turning it off, i've been hit with too many viruses already.
Title: Multi Player problem
Post by: Inquisitor on April 26, 2005, 11:34:19 am
I am the last person to suggest "turning it off" but he may need to open some ports.
Title: Multi Player problem
Post by: Cobra on April 26, 2005, 11:46:38 am
if you're talking to lardwick, i don't care what you said. if you're talking to me, i have no idea how the hell to do that.
Title: Multi Player problem
Post by: Kie99 on April 26, 2005, 11:53:49 am
FS Multi (the same builds) has always worked before yesterday, and I haven't installed any other firewalls.  Can anyone else play?

EDIT:
Quote
Originally posted by Cobra
if you're talking to lardwick


Who the hell's Lardwick?
Title: Multi Player problem
Post by: WMCoolmon on April 26, 2005, 12:07:11 pm
This may have something to do with my disabling of ingame joining stuff except with the command line parameter, I had trouble with that section of code once before, the logic flow statements are somewhat confusing. ;)

Try to find the build when I disabled it (search for the command line parameter), and see if it started with that one. I'll try to take a look at all the multi code I changed later today, when I've got time, and see if there's any obvious problems.
Title: Multi Player problem
Post by: AnnihilaterD on April 26, 2005, 01:19:49 pm
I was at a lan party back in march and I had this same problem. Me and my mate were both using same builds. We tried a few different ones, but we had no luck. This was with firewalls disabled.
Title: Multi Player problem
Post by: Cobra on April 26, 2005, 01:39:39 pm
Quote
Originally posted by kietotheworld
FS Multi (the same builds) has always worked before yesterday, and I haven't installed any other firewalls.  Can anyone else play?

EDIT:


Who the hell's Lardwick?


oh **** and shinola... wrong thread. :nervous:
Title: Multi Player problem
Post by: karajorma on April 26, 2005, 01:43:46 pm
I tried turning my firewall off for a minute just to check but nope. That's not the problem.

I'll suggest trying retail (or finding a third person to try) next time I'm online at the same time as Kie.
Title: Multi Player problem
Post by: Inquisitor on April 26, 2005, 02:55:05 pm
WM: that sounds logical :)
Title: Multi Player problem
Post by: Kie99 on April 26, 2005, 04:23:30 pm
We tried turning ingame joining on, then joining when it was playing, but it didn't work.
Title: Multi Player problem
Post by: BlackDove on April 26, 2005, 05:10:14 pm
That's because it doesn't work, and you should never try it, because you lag the game for everyone else, and everyone else can see your name ingame.

They usually use the "f" word in conjunction with your name when they see you trying to join a running game too.
Title: Multi Player problem
Post by: Cobra on April 26, 2005, 05:19:57 pm
this is why FS2NetD's servers need a major upgrade... inquisitor even told me that...
Title: Multi Player problem
Post by: Inquisitor on April 26, 2005, 05:24:17 pm
This has nothing to do with the hardware needing upgraded ;)

Sounds like WM might have busted something ;)
Title: Multi Player problem
Post by: Taristin on April 26, 2005, 05:52:43 pm
's why I only use 20040103 for multi.
Title: Multi Player problem
Post by: BlackDove on April 26, 2005, 06:20:15 pm
Quote
Originally posted by Cobra
this is why FS2NetD's servers need a major upgrade... inquisitor even told me that...


The only thing that needs an upgrade are morons that are trying to join my game while it's doing anything but "forming".
Title: Multi Player problem
Post by: WMCoolmon on April 26, 2005, 08:27:34 pm
:lol:

They shouldn't be able to. The change to allow/disallow ingame joining is a simple change of which packet the server sends to the client.

Here's the line that I changed, looks ok to me:
Code: [Select]
// check to make sure we are otherwise in a state to accept
if((Netgame.game_state != NETGAME_STATE_FORMING && !Cmdline_ingamejoin)
|| (Netgame.game_state != NETGAME_STATE_IN_MISSION || Netgame.game_state != NETGAME_STATE_FORMING)){
return JOIN_DENY_JR_STATE;
}


Maybe the build you're using isn't new enough and doesn't have the ingame join flag? (If it has the flag, it's disabled by default; otherwise, it's enabled)
Title: Multi Player problem
Post by: Taristin on April 26, 2005, 08:37:51 pm
They seem to be joining as an observer.
Title: Multi Player problem
Post by: Kie99 on April 27, 2005, 01:25:23 am
Let me clarify.

We tried turning ingame joining on (as a last resort) for a few minutes after trying IP Games which failed to work.

We didn't try joining as observers.
Title: Multi Player problem
Post by: tom on April 27, 2005, 05:08:19 am
"You cannot join because the game is not in an appropriate state"

Regarding the OEB this message appears when trying to join a game which is not in "forming" state. In that case the game host uses the OEB and it doesn't matter which build the client uses.
Thus it is no OEB bug, but a regular mechanism.

Joining in "forming" state works without any problems, because there are no code changes in months.
Just to clarify it, "forming" is the only valid joining state for OEB hosts.

Don't know if this helps anyway...
Title: Multi Player problem
Post by: WMCoolmon on April 27, 2005, 05:25:18 pm
Quote
Originally posted by tom
"You cannot join because the game is not in an appropriate state"

Regarding the OEB this message appears when trying to join a game which is not in "forming" state. In that case the game host uses the OEB and it doesn't matter which build the client uses.
Thus it is no OEB bug, but a regular mechanism.

Joining in "forming" state works without any problems, because there are no code changes in months.
Just to clarify it, "forming" is the only valid joining state for OEB hosts.

Don't know if this helps anyway...


The decision as to whether or not a game is in the appropriate states to join rests solely in the server, AFAIK. "Forming" should be the only valid state, the ingame code simply doesn't work right for the most part. When Kazan and I were fooling around with it, people would generally get sync errors (IIRC) randomly.
Title: Multi Player problem
Post by: Kie99 on April 30, 2005, 09:14:12 am
It works in retail and Tom's Old Build.
Title: Multi Player problem
Post by: Cobra on April 30, 2005, 02:42:48 pm
...how the hell can normal retail work for FS2NetD? I thought the OEB and SCP could use it. :wtf:
Title: Multi Player problem
Post by: WMCoolmon on April 30, 2005, 05:12:40 pm
:rolleyes:

IP games.
Title: Multi Player problem
Post by: Cobra on May 01, 2005, 01:01:39 am
bah. (as usual :D)

*tries to sound intelligent and fails*
Title: Multi Player problem
Post by: karajorma on May 01, 2005, 02:48:44 am
Quote
Originally posted by kietotheworld
It works in retail and Tom's Old Build.


Although we did have a problem getting my computer to see your game for some reason didn't we.

On top of that there was another bug where I'd join the game but remain in the lobby while Kie could see my pilot on his list.

No idea what was causing that one.

We'll try OEB as a FS2NetD game later.