Forum

PW protect DP server?

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

PW protect DP server?

Postby Cobalt » Sat Feb 14, 2015 7:29 pm

Do I remember right and QW has/had PW protection option for server?

Anyhow, how could we accomplish this in QC with DP ?

Im figuring we probably use KRIMZON_SV_PARSECLIENTCOMMAND and one way would be intercept the command for player name at connect to get a ' username ' field, then have the client input something in their config like - cl_pw blah and make cases for them in the parseclientcommand function we make.

I suppose we could maybe make a fancy custom one with csqc maybe?
User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: PW protect DP server?

Postby Spike » Sat Feb 14, 2015 7:54 pm

quakeworld has a 'password' cvar. client and server need to match. its kinda plain text though, so try to avoid connecting to the server from a public place.
Spike
 
Posts: 2874
Joined: Fri Nov 05, 2004 3:12 am
Location: UK


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest