What is your favorite race?

Speak about everything in regards to Crossfire.

Moderator: Board moderators

What is your favorite race?

Dwarf
1
6%
Elf
0
No votes
Fire Hatchling / Dragon
7
41%
Fireborn
4
24%
Gnome
1
6%
Half orc
0
No votes
Halfling
0
No votes
Human
1
6%
Northman
0
No votes
Quetzalcoatl
0
No votes
Serpentman
0
No votes
Troll
0
No votes
Wraith
3
18%
 
Total votes: 17

karl

Post by karl »

Those above hiscore lists were collected to a file by this script :

Syntax : /path/to/cf_get_hiscore.sh <NAME>

Difficulties : Most clients should print

Code: Select all

watch drawinfo 0 76 22788402738 Zebulon 
but some older GTK-Clients v2 like gtk-1v2 and gtk2 print

Code: Select all

watch drawextinfo 0 8 5 [Fixed] 76 22788402738[Print] Zebulon 
and / or both of draw*info above.

Therefore, if there is nothing found in /tmp/cf_hiscore_list_"$PARM".lst ,
you may need to change the line

Code: Select all

echo watch drawinfo
to

Code: Select all

echo watch drawextinfo

Code: Select all

#!/bin/bash

# 2018-03-07
# cf_get_hiscore.sh :
# script to get hiscores from server
# and save to a file in /tmp

VERSION=0.0 # Initial version


test "$*" && PARM="$*" || PARM=$$

rm -f /tmp/cf_hiscore_list_"$PARM".lst

  echo watch drawinfo

  echo issue 1 1 hiscore "$@"

    while :; do
    unset REPLY
 
    read -t ${TMOUT:-1}
    echo "$REPLY" >> /tmp/cf_hiscore_list_"$PARM".lst

    test "$REPLY" || break

    sleep 0.001
   done

  echo unwatch
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

The hiscore list on the Metalforge server is for all character files created since the server went live until now - which is 15 years or more.

Players who are not active for 1year or more are archived as a way for me to determine active guilds, player shops, etc.

The hiscore command does not update for current & active player files. But this newly created static page is: http://www.metalforge.net/scores/
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
karl

Post by karl »

Leaf wrote:The hiscore list on the Metalforge server is for all character files created since the server went live until now - which is 15 years or more.

Players who are not active for 1year or more are archived as a way for me to determine active guilds, player shops, etc.

The hiscore command does not update for current & active player files. But this newly created static page is: http://www.metalforge.net/scores/
Nice page ! Well done !
Could probably have some logic to add the main directory in the location column to short basenames of files;
"ground" and "city" does not tell much about their "whereabouts" .. :lol:

LOCATIONX=$LOCATION
if test ${#LOCATION} -le 32 ; then ...
LOCATION="${LOCATIONX%%/*} _ ${LOCATION}"
fi

And it would probably need a link to it from the main home page,
then a possible typing error could be fixed as "not all features of the client are supported with this server." :?:
Post Reply