invalid command name "hgetvars"
while executing
"hgetvars"
(in namespace eval "::request" script line 24)
invoked from within
"namespace eval request {
puts -nonewline "
OUTPUT BUFFER:
namespace eval request {
puts -nonewline "
Q3 UrT maps repository of q3.utca.hu - http://q3.utca.hu/maps/
Please make sure to check the mapcycle of the server to find out which map(s) you actually have to download. Thanks! :)
"
hgetvars
set sort "date"
set enanswer ""
if {[info exists ENVS(QUERY_STRING)]} {
set envq $ENVS(QUERY_STRING)
foreach block [split $envq &] {
set "[lindex [split $block =] 0]" "[lindex [split $block =] 1]"
}
if {([info exists email]) && ($email!="")} {
regsub -- "%40" $email "@" email
if {![info exists submit]} {
if {[file exists emailnot.dir/$email]} {
set enanswer "= The address: $email is on the list. ="
} {
set enanswer "= The address: $email is not on the list. ="
}
} {
switch -exact -- $submit {
"Add" {
if {![file exists emailnot.dir/$email]} {
file mkdir emailnot.dir/$email
set enanswer "= Address $email has been added. ="
} {
set enanswer "= Address $email has already been added. ="
}
}
"Remove" {
if {[file exists emailnot.dir/$email]} {
file delete -force emailnot.dir/$email
set enanswer "= Address $email has been removed. ="
} {
set enanswer "= Address $email is not on the list yet. ="
}
}
"Check" {
if {![file exists emailnot.dir/$email]} {
set enanswer "= The address: $email is not on the list. ="
} {
set enanswer "= The address: $email is on the list. ="
}
}
}
}
} {
if {[info exists submit]} {
set enanswer "= Please specify an email address. Thanks. ="
}
set email ""
}
}
puts ""
#(Sorry, the notification engine is still under development.
#NOTE: GOOD NEWS! I have squashed the bug. BIG-BUG HURRAY! :) AND I was able to recover ALL the email addresses from the log files!)
puts "
"
puts "$enanswer"
proc rputs {text} {
puts $::tablefd "$text"
puts "$text"
}
if {![info exists tablegen]} {
include mapstable.html
} {
puts "NEW TABLE GENERATION "
if {$tablegen!=""} {
set mapstablefilename mapstable.html
puts "NEW TABLE WILL BE ACTIVATED"
} {
set mapstablefilename mapstabletemp.html
}
set ::tablefd [open $mapstablefilename w]
set totalsize 0
set pk3l [glob -nocomplain *.pk3]
set filters ""
set pk3lt ""
set timenow [clock seconds]
foreach pk3 $pk3l {
if {[lsearch -exact $filters $pk3]==-1} {
lappend pk3lt "[file mtime $pk3] $pk3"
}
}
if {[string compare $sort "abc"]==0} {
set pk3lt [lsort -increasing -dictionary -index 1 $pk3lt]
} {
set pk3lt [lsort -decreasing -dictionary $pk3lt]
}
file delete -force current_pk3list.txt
set ml_fd [open current_pk3list.txt w]
puts $ml_fd "[join [lsort -dictionary $pk3l] \n]"
close $ml_fd
if {[catch {exec zipinfo -m \*.pk3 "*.bsp" 2>/dev/null | grep -vx "" | cut -c 63- | sort -n | uniq} uniqmaps]} {
set uniqmaps [lrange $uniqmaps 0 end-4]
}
if {[catch {exec zipinfo -m \*.pk3 "*.bsp" 2>/dev/null | grep -vx "" | cut -c 63-} totalmaps]} {
set totalmaps [llength [lrange $totalmaps 0 end-4]]
}
set bl_fd [open current_bsplist.txt w]
puts $bl_fd "[join [lsort -dictionary $uniqmaps] \n]"
close $bl_fd
rputs "
"
rputs " >padmaps were moved to the other folder.
This repository is now 2.6a maps-only. For 3.0 maps, see q3.utca.hu/maps
We're over 2 million downloads! - Thank you all, gj! "
# puts "
You can call vote for the map you want to play during the game on this server (ts.utca.hu:27960) (but please don't flood)
Use the name mentioned in the \"Map name\" column in the table above for that.
You do *not* have to download all of the other maps in order to be able to join the server playing a certain map.
Instead, please make sure you have all the maps in the mapcycle, and
set cl_allowdownload to 0 in the console (or set 'AutoDownload' to 'Off' in the Options menu)
Please make sure to check the mapcycle of the server to decide which map(s) you actually have to download. Thanks! :)