You wouldn't need the IP in the URL and thus wouldn't need custom URLs for each player. The server is already aware of the user's IP and can be access in php with a variable.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bl4nk Sent: Tuesday, October 28, 2008 11:05 AM To: Half-Life dedicated Win32 server mailing list Subject: Re: [hlds] TF2: Web Control used during MOTD On client auth, have their steamid and ip shoved into a sql table. Then have the motd redirect to another page with user browsing's ip in the url (blah.com/motd?ip=255.255.255.255). Then it's just a simple case of grabbing the row from the sql table using their IP to get their steamid and then their stats/whatever you want. Karl Weckstrom wrote: > Have a snippet of code as an example? Which connect event? Where can the web control grab it? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of P. Bhandal > Sent: Tuesday, October 28, 2008 11:05 AM > To: Half-Life dedicated Win32 server mailing list > Subject: Re: [hlds] TF2: Web Control used during MOTD > > You grab their SteamID from the connect event, and then you force another > window open in the place of the MOTD. On the client's end, it just looks > like another MOTD, but it's actually customized based on their SteamID. > > On Tue, Oct 28, 2008 at 11:02 AM, Karl Weckstrom <[EMAIL PROTECTED]> wrote: > > >> It may - but it's a whole chicken/egg scenario. If you've connected and are >> staring at the MOTD, where do you pull the user's Steam ID from? There would >> have to be some way to get it programmatically via js/vbs or what not... >> >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto: >> [EMAIL PROTECTED] On Behalf Of Olly >> Sent: Tuesday, October 28, 2008 10:58 AM >> To: Half-Life dedicated Win32 server mailing list >> Subject: Re: [hlds] TF2: Web Control used during MOTD >> >> Doesnt hlstatsx (or maybe psychostats) already do this? >> 2008/10/28 P. Bhandal <[EMAIL PROTECTED]> >> >> >>> You could use the player connect event to grab their SteamID, then use >>> their >>> SteamID as an argument to grab their stats. >>> >>> It would probably require that you force a browser window open on them as >>> soon as they get in game to override the default motd. >>> >>> On Tue, Oct 28, 2008 at 10:33 AM, Karl Weckstrom <[EMAIL PROTECTED]> >>> wrote: >>> >>> >>>> Here's an interesting question. >>>> >>>> Over at www.TrashedGamers.com, we have a custom MOTD. That in and of >>>> itself isn't interesting, but I was thinking - is there a way to "read" >>>> >>> the >>> >>>> current steam ID of the person who's connected and reading the MOTD? >>>> >>>> I could write up some dynamic html and/or vbscript that could look up >>>> >>> their >>> >>>> current ranking in hlstatsx and have the MOTD say something like "You >>>> >> are >> >>>> currently ranked XXX of XXXX players"... I'm already putting the top 10 >>>> there, but adding the player's current ranking sure would be a nice >>>> >>> touch. >>> >>>> Thanks in advance! >>>> -karl >>>> >>>> www.TrashedGamers.com >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> To unsubscribe, edit your list preferences, or view the list archives, >>>> please visit: >>>> http://list.valvesoftware.com/mailman/listinfo/hlds >>>> >>>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list archives, >>> please visit: >>> http://list.valvesoftware.com/mailman/listinfo/hlds >>> >>> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds >> >> > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds

