I like what you did, but why cant you just make it show 1 name that they recently used, instead of searching the player it shows all of there names in the database.
mmh.. if i save only the recently used name instead of all, when i search a player maybe i don't find it because you have inserted an alias of the original player.
Example: i enter for the first time on a server and my current name is "alessio"; in this case, "alessio" is my master name related with my Qkey.
next time, i login with my real nick ("slux"), and the sistem save this alias...
Now we have people that know me as "alessio", and others know me as "slux"! so, if a player search "alessio" or "slux" he find the same player!:D
You also mind telling me what I do with this patch? Where do I place it.
it's very simple:
0) get
tremstats.slux.patch1) get
tremstats-0.62) Extrat: tar xfvz Tremstats-0.6.0.tar.gz
3) cd Tremstats-NightlyBuild-Rev-58/
4) cat /where/you/have/tremstats.slux.patch | patch -p1
and the output must like this:
slux@skynet[~/temp]
~> cd Tremstats-NightlyBuild-Rev-58/
slux@skynet[~/temp/Tremstats-NightlyBuild-Rev-58]
~> cat ../tremstats.slux.patch | patch -p1
patching file ChangeLog
patching file parser/config.py
patching file parser/internals/log_parse.py
patching file parser/tremstats.py
patching file sql/structure.sql
patching file web/player_details.php
patching file web/search_player.php
patching file web/skins/default/default/skin.css
patching file web/templates/default/__footer__.tpl.php
patching file web/templates/default/player_details.tpl.php
patching file web/templates/default/search_player.tpl.php
:wink: