View Full Version : InSim Req: User type in ISP_NCN
Krammeh
31st May 2008, 05:12
It would be nice to know if the user is DEMO/S1/S2 licenced, on connection!
Simple as that :D
Krammeh
6th April 2009, 02:52
Sorry to bump a thread here, but this is something that I am gonna be needing in the very near future if possible!
The reason being, is that I am currently in the progress of creating a racing league system - and I would like to be able to allow S1 and S2 users into the servers. There is also going to be track rotating during the races, but for this to happen I would like to know if there are any S1 users within the server. The reason being for this is if I were to change to a track that requires S2, then they are going to be kicked without notification.
bunder9999
6th April 2009, 05:11
Sorry to bump a thread here, but this is something that I am gonna be needing in the very near future if possible!
The reason being, is that I am currently in the progress of creating a racing league system - and I would like to be able to allow S1 and S2 users into the servers. There is also going to be track rotating during the races, but for this to happen I would like to know if there are any S1 users within the server. The reason being for this is if I were to change to a track that requires S2, then they are going to be kicked without notification.
are there that many S1-only users anymore to warrant such an addition? :shrug:
Heiko1
6th April 2009, 06:25
You can allready read PlayerType out:)
but only in Player Leaves Pits
like
if (PLP.PType.Equals(6))
{
InSim.Spec.CurPlayer;
}
hazaky
6th April 2009, 07:34
"Just PN me" in your signature. Does it mean "Private Nagging" :D
Krammeh
6th April 2009, 15:29
Just had a quick look through the documentation, and there is nothing at all that packet to show Demo/S1/S2...
BurnOut69
6th April 2009, 15:52
AFAIK lfsworld does not save stats for demo users...you can check by username and if no data is returned, it must be a demo user.
Shadowww
6th April 2009, 16:16
AFAIK lfsworld does not save stats for demo users...
It does.
BurnOut69
6th April 2009, 16:21
Then query for S2 specific content
morpha
6th April 2009, 16:25
Or keep it simple and announce that the next track is an S2 one before you change track :shrug:
Krammeh
6th April 2009, 21:57
Or keep it simple and announce that the next track is an S2 one before you change track :shrug:
I wouldn't want to kick them if the next track was meant to be a S2 only track. If that was the case, then the system would only pick a S1 track..
Heiko1
7th April 2009, 15:22
it would be cool if the lower licenced guys only can Spectate the game:)
:thumb:
that would be a great suggestion :thumbsup:
I mean with reading out PlayerType the type of Human Male/Female racer and Ai racers
Krammeh
8th April 2009, 03:33
it would be cool if the lower licenced guys only can Spectate the game:)
:thumb:
that would be a great suggestion :thumbsup:
I mean with reading out PlayerType the type of Human Male/Female racer and Ai racers
I'm aware that you can already do that.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.