This is a help file for editing your own conread.ini files using DM.ini as an example
Sample INI file
# Quake qconsole.log Filter # By Richard Maxwell # December 12th 1997 # ---------------------- # email: # Richard <maxwells@ihug.co.nz> # ---------------------- # .ini file # this file contains all the strings the filter uses to # filter the qconsole.log file. # if you get stupid names/results its most probably # an error in the INI file. # ---------------flags-------------- # bit 1 (1) - skip repeated transmit messages # bit 2 (2) - print out a leftover file # bit 3 (4) - print out any talking going on # bit 4 (8) - print out the weapon kill tables # bit 5 (16) - print out the total kill table. # bit 6 (32) - print out/use special filters. # bit 7 (64) - print out Awards. # bit 8 (128) - Print out ranking tables (must also have bit 5(16) enabled). # bit 9 (256) - Update Player Database. # bit 10(512) - Use showline filters flags=89 # -----------weapons---------- ****weapons # that line tells the filter to begin reading the weapon names # and don't forget to include the telefrag as the last weapon. # also weapons and all **** titles must be in LOWER case. -----Axe -----Grappling Hook -----Shotgun -----Super Shotgun -----Nailgun -----Super nail gun -----Grenade launcher -----Rocket launcher -----Lightning gun -----Telefrag -----Squish -----Teammate kill ***** # ^^-we need that line to tell the filter to stop reading entries. # there are 5 stars there. # ---------- suicides ---------- # each suicide is seperated into the weapon class that caused it # with general suicides classed after all the weapons # e.g. if there are 9 weapons (8 normal + telefrag 'weapon') # then general suicides are classed under weapon 10. ****sucs # (I can't spell. I spelt sucides as suicides. hence sucs not suics :) # axe ----- # CTF Grappling hook ----- # shotgun ----- # ssgun ----- # nail gun ----- # snail gun ----- # grenade launcher tries to put the pin back in ----- # Rocket launcher becomes bored with life ----- # lightning gun discharges into the water. electrocutes himself. discharges into the slime discharges into the lava ----- # telefrag ----- # squish! ----- # teammate kill mows down a teammate checks his glasses gets a frag for the other team loses another friend ----- # general suicides sleeps with the fishes sucks it down gulped a load of slime can't exist on slime alone burst into flames turned into hot slag visits the Volcano God blew up was squished fell to his death was spiked was zapped ate a lavaball tried to leave suicides died ***** # ---------deaths---------- # # weapons have 2 strings per filter # the first string is the string that appears between the names # the second filter is the one that appears after the last name # for example # jim kills joe # jim chewed on joe's boomstick # the 2 strings would be: # " chewed on " # "'s boomstick" # if there is no end string then just put "" instead. # remember to quote everything that appears after the players name # INCLUDING spaces. ****deaths # axe " was ax-murdered by " "" ----- # grappling hook " was hooked by " "" " was disembowled by " "" ----- # shotgun " chewed on " "'s boomstick" ----- # ssgun " ate 2 loads of " "'s buckshot" " ate a box of " "'s buckshot" ----- # nailgun " was nailed by " "" ----- # snailgun " was punctured by " "" ----- # grenade launcher " eats " "'s pineapple" " was gibbed by " "'s grenade" ----- # rocket launcher " rides " "'s rocket" " was gibbed by " "'s rocket" " was destroyed by " "'s Quad rocket" " was brutalized by " "'s quad rocket " was smeared by "; "'s quad rocket "REVERSE rips " " a new one" ----- # lightning gun " accepts " "'s discharge" " accepts " "'s shaft" " was touched by " "'s Quad lightning" ----- # good ol' telefrag " was telefragged by " "" " was telefragged by " "'s Satan's power" ----- # the squish! " squishes " "" ----- ***** # ------------Special Filters------------- # These events are going to be read in order of importance. # i.e. what is read first is filtered first and is displayed first. # p.s. don't forget to enable special filters in the flag option above ****special -----Quad losses " lost a quad with " -----Octa losses " lost an OctaPower with " -----Invis losses " lost a ring with " ***** # ------------Showline filters------------ # any text containing these strings will be show in the html # assuming you have bit 10 set (512) and that the text has not already been filtered ****showline " left the game with " *****
# -----------HTML body tag--------------- # For html know-alls only, this is what conread uses as its body tag # For each page. Edit if you want. ****bodytag "<BODY TEXT=#C0C0C0 BGCOLOR=#000000 LINK=#8080FF VLINK=#0000FF ALINK=#FF0000>" *****
where weapons defines the weapon names, sucs defines the suicide filters, deaths for death filters, special for special filters, showline for showline filters and bodytag for the bodytag definition.
Anything that changes someones fragcount by 1 frag should be classed
as a weapon. This included team-mate kills, squishing or telefrags.
lets say we have BOB playing. he kills himself with the dopefish inflator
somehow and gets the message:
"Bob gets a bit too high"
the corresponding suicide filter would be
.
.
-----
# Dopefish inflator
gets a bit too high
-----
.
.
notice how it is proceeded by a space. The filter assumes that
the space is there. If it is not then it will not recognize player names
properly. resulting is silly stats and strange names.
Each suicide is separated into the weapon class that caused it with
general suicides classed after all the weapons e.g. if there are 9 weapons
(8 normal + telefrag 'weapon') then general suicides are classed under
weapon 10.
Note: unfortunately text such as
"to be a sod <killee> was killed by <killer> painfully"
cannot be filtered correctly due to limits in the conread program. (it cannot handle text proceeding the killee's name)
for example lets say the two death messages for the dopefish inflator
are
"<killee> was inflated by <killer>" and
"<killee> got high on <killer>'s inflator"
the filters would be
.
.
-----
# dopefish inflator
" was inflated by "
""
" got high on "
"'s inflator"
-----
.
.
notice how the second filter knows that the ending text starts with
's and hasn't got any proceeding spaces.
SPECIAL CASE:
suppose there was another line
"<killer> gives <killee> a good blow!"
notice how the killers name appears first. to accommodate this you
include the text "REVERSE" in capitals as the first part of the middle
text filter.
E.G..
.
.
-----
# dopefish inflator
" was inflated by "
""
" got high on "
"'s inflator"
"REVERSE gives "
" a good blow!"
-----
.
.
You place 5 -s then the category listing you then place the filter strings (just like the suicide filter strings, but with quotes) after that line not forgetting to include the entire string (read above stuff)
e.g. for CTF
"bill captured the red flag"
you would filter it like:
.
.
-----Red flag captures
" captured the red flag"
These events are going to be read in order of importance.
i.e. what is read first is filtered first and is displayed first.
p.s. don't forget to enable special filters in the flag option
above
for example, in CTF you would like to know the ending scores for the
level, for example:
"red team won the level with 618 points!"
"blue team lost with 532 points."
then you would use the showline filters:
" team won the level with "
" team lost with "
don't forget to set the showline filter enable bit in the flag option
(bit 10)