[Bug 3546] New: cvars with the same names as commands cannot be read

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Feb 17 21:17:24 EST 2008


http://bugzilla.icculus.org/show_bug.cgi?id=3546

           Summary: cvars with the same names as commands cannot be read
           Product: Quake 3
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: thebenmachine at googlemail.com
         QAContact: quake3-bugzilla at icculus.org


It's possible to set a user-created cvar with the same name as a client
command. E.g.
]/set reset "echo Cancelled; bind HOME vstr fullscreen; bind END vstr windowed"
The content of the cvar, normally referenced through /cvarname in the console,
now cannot be read:
]/reset
usage: reset <variable>

Reserving some names is not an option for two reasons: one, it restricts the
user unnecessarily, and two, it does not account for possible server-added
commands, etc.
A much better solution would be to create a new command (or use /set with no
value argument) that printed the contents of the given cvar.


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list