PW protect DP server?

Discuss programming in the QuakeC language.
Post Reply
Cobalt
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA
Contact:

PW protect DP server?

Post by Cobalt »

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?
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: PW protect DP server?

Post by Spike »

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.
Post Reply