Forum

Banning stuffcmd

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

Ban the use of stuffcmd

Yes
4
33%
No
8
67%
 
Total votes : 12

Postby c0burn » Tue Jan 19, 2010 2:20 pm

Urre wrote:CSQC.


Good luck with that.
c0burn
 
Posts: 208
Joined: Fri Nov 05, 2004 12:48 pm
Location: Liverpool, England

Postby Urre » Tue Jan 19, 2010 2:52 pm

Works great for me
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Postby avirox » Tue Jan 19, 2010 5:32 pm

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.
avirox
 
Posts: 137
Joined: Wed Aug 16, 2006 3:25 pm

Postby Baker » Tue Jan 19, 2010 8:19 pm

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.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby ceriux » Tue Jan 19, 2010 8:31 pm

csqc is a little harder to code with. not everyone gets it and there's still hardly any documentation.
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby Teiman » Wed Jan 20, 2010 1:37 pm

maybe a "CSQC barebones" is needed. modders don't start from scrach, but "mod" existing things.
Teiman
 
Posts: 309
Joined: Sun Jun 03, 2007 9:39 am

Postby avirox » Wed Jan 20, 2010 6:05 pm

Teiman wrote:maybe a "CSQC barebones" is needed. modders don't start from scrach, but "mod" existing things.


viewtopic.php?t=1560
avirox
 
Posts: 137
Joined: Wed Aug 16, 2006 3:25 pm

Postby ceriux » Wed Jan 20, 2010 7:47 pm

what might be better with that is the hud being redrawn with csqc + your menu code. plus many more random coding tutorials....
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest