• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Multiplayer User

Messages
14
Country
italy
Hi all, I'm thinking to developing a new SimConnect application.

I need to know if is possible to disconnect a user from a multiplayer session.

The scenario is this:
This new SimConnect application will run on computer who is hosting a FSX multiplayer session.

A remote user connect to this session, the application found him check *some external validation logic* and disconnect him if validation fails...

Do you think is possible to disconnect a user?
I've seen SimConnect_AIRemoveObject but it can remove only client created object or AI object, not object create by other client or simulator itself...

No way to refer to a multiplayer object?
 
Probably not using SimConnect.

Here's a post from Tim (beatle) on multiplayer a couple years back.

You are correct, multiplayer is the red-headed stepchild system wrt extensibility. There are several reasons for that:

We originally planned to use an internal MS technology for our Multiplayer/Matchmaking service, but the schedule for that got stretched (along with the Vista schedule I believe) and we were no longer sure that the infrastructure would be complete when we RTMd (and it wasn't), so we had to go with our backup plan, using the GameSpy SDK and infrastructure. This meant we couldn't document the wireline format, because we didn't own it (the GameSpy SDK generates this).

The above also meant the Multiplayer feature was done later than originally planned, meaning there wasn't as much time to hook up the extensibility points via SimConnect and other means.

Since we knew this Multiplayer system would be replaced in the next version (that will never come now), there was less desire to document/expose very much of it, since we didn't want to have to do backwards compat with it in the next version.

The original plan called for having SDK updates 2 to 4 times per year after RTM, but the resources used to generate the two service packs (which were admittedly needed), plus the complaints about version-itus caused by just those 2 updates, killed the plans for any SDK updates beyond SP2.

And that's how we got here :->
 
It is possible i believe. I have seen multiplayer servers which disconnect users if you dont follow rules. These are automated systems. One i know of is FSMP and the owner Geoff has done a great job with it. Problem is that Geoff is a genius programmer, so if you are not, then dont bother.
 
It is possible i believe. I have seen multiplayer servers which disconnect users if you dont follow rules. These are automated systems. One i know of is FSMP and the owner Geoff has done a great job with it. Problem is that Geoff is a genius programmer, so if you are not, then dont bother.

hmmm...I have to investigate further more...by the object model seems it's not possible.

There's no way to "destruct" a simobject created by a multiplayer session.

More and more: in simconnect documentation is explained that the ESP (or FSX) engine keep in memory object in an area of 200nm squared...I wonder how this is managed if two different players login in same session but in two distinct geographical areas (I mean which distance is greater than 200nm)

Keep going...:banghead:
 
It is possible i believe. I have seen multiplayer servers which disconnect users if you dont follow rules. These are automated systems. One i know of is FSMP and the owner Geoff has done a great job with it. Problem is that Geoff is a genius programmer, so if you are not, then dont bother.

PROBLEM ??? Thanks for the vote of confidence, but it really is NOT a "Problem" :D
 
Hi all, I'm thinking to developing a new SimConnect application.

I need to know if is possible to disconnect a user from a multiplayer session.

The scenario is this:
This new SimConnect application will run on computer who is hosting a FSX multiplayer session.

A remote user connect to this session, the application found him check *some external validation logic* and disconnect him if validation fails...

Do you think is possible to disconnect a user?
I've seen SimConnect_AIRemoveObject but it can remove only client created object or AI object, not object create by other client or simulator itself...

No way to refer to a multiplayer object?

SIMPLE Solution ( Thanks to Dave @ http://www.fsopen.co.uk/ )

He has a "Freeware" application that will allow you (or designated Admins) to remove players from your MP Session, PLUS a lot of other useful MP functions.
 
Back
Top