View previous topic :: View next topic |
Ban the use of stuffcmd |
Yes |
|
33% |
[ 4 ] |
No |
|
66% |
[ 8 ] |
|
Total Votes : 12 |
|
Author |
Message |
c0burn
Joined: 05 Nov 2004 Posts: 158 Location: Liverpool, England
|
Posted: Tue Jan 19, 2010 2:20 pm Post subject: |
|
|
Good luck with that. |
|
Back to top |
|
 |
Urre

Joined: 05 Nov 2004 Posts: 1073 Location: Sweden
|
Posted: Tue Jan 19, 2010 2:52 pm Post subject: |
|
|
Works great for me _________________ Look out for Twigboy |
|
Back to top |
|
 |
avirox
Joined: 16 Aug 2006 Posts: 109
|
Posted: Tue Jan 19, 2010 5:32 pm Post subject: |
|
|
Spike wrote: | strictly speaking, csqc is not a replacement for stuffcmd.
It provides a client-side reparser for it. Generally that just equates to a localcmd (the local equivelent of stuffcmd...). So yes, csqc can do everything stuffcmd can, but its in no way more secure.
Consider: stuffcmd(self, "cmd rcp $rcon_password\n"); as a method for obtaining the rcon password for other servers. |
Then banning localcmd in csqc is the next step :p
Honestly though, a lot of the things that stuffcmd's are used for in ssqc can be done in CSQC without use of localcmd's, such as..
"bf" - In CSQC just make a "flash" image or something
"gl_flashbend" - same
"fov" - CSQC can draw the FOV without changing any cvars
and the conc effect, etc.
There are only a few cases where I can see stuffcmd coming in handy where full CSQC support is present. |
|
Back to top |
|
 |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Tue Jan 19, 2010 8:19 pm Post subject: |
|
|
FitzQuake 0.85 made BF into an svc_ (might have been listed an svc in FitzQuake 0.80 or prior).
Client FOV settings are part of Quake for better or for worse. FuhQuake and ezQuake have the "default_fov" cvar that will interpret an "FOV 90" command from the server as a request to restore the FOV to normal. ProQuake has this a well because I hate it when a server toys with FOV. _________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ... |
|
Back to top |
|
 |
ceriux

Joined: 06 Sep 2008 Posts: 968 Location: Florida, USA
|
Posted: Tue Jan 19, 2010 8:31 pm Post subject: |
|
|
csqc is a little harder to code with. not everyone gets it and there's still hardly any documentation. _________________ QuakeDB - Quake ModDB Group |
|
Back to top |
|
 |
Teiman
Joined: 03 Jun 2007 Posts: 309
|
Posted: Wed Jan 20, 2010 1:37 pm Post subject: |
|
|
maybe a "CSQC barebones" is needed. modders don't start from scrach, but "mod" existing things. |
|
Back to top |
|
 |
avirox
Joined: 16 Aug 2006 Posts: 109
|
|
Back to top |
|
 |
ceriux

Joined: 06 Sep 2008 Posts: 968 Location: Florida, USA
|
Posted: Wed Jan 20, 2010 7:47 pm Post subject: |
|
|
what might be better with that is the hud being redrawn with csqc + your menu code. plus many more random coding tutorials.... _________________ QuakeDB - Quake ModDB Group |
|
Back to top |
|
 |
|