Jordo Log Patch Version 0.12
Contents:
log.php
Language Pack
log_patch012.txt
Details:
1. v.010 Modified log.php to include filters for planet
scans, ship scans, sofa attacks, and starvation log
messages. Players can now filter out unwanted
messages to reduce log clutter and admins can fix the
sofa logging without worrying about overloading the
player's log. Language files are includes, but all
languages other than English need translation. The
language files also include the planet finder bug fix from
Andtag.
2. v.011 Added the footer to log.php.
3. v.012 Added filters for login/out and sector defense
degrade.
I did remove the DHTML from the log.php. I did this, not
because I didn't like it, but because I "no habla" DHTML.
Installation:
Overwrite the existing files with the ones provided. No
reset needed.
The below is not necessary, but if you wish to correct
the sofa logging, do the below.
In combat.php in the planetbombing function, find:
$res = $db->Execute("LOCK TABLES $dbtables[ships]
WRITE, $dbtables[planets] WRITE");
echo "$l_bombsaway<br><br>\n";
Replace it with:
$res = $db->Execute("LOCK TABLES $dbtables[ships]
WRITE, $dbtables[planets] WRITE, $dbtables[logs]
WRITE");
echo "$l_bombsaway<br><br>\n";
Jordo