After stoping by Nokie's site and viewing his ton-o-stats on his game play I thought it might be cool to keep a list of all the mobs I have killed. I can easily put things in a list. The trick I cant get by is totalling the list.
Just going to collect the mob name on death and stick it in a list.
Example- the list looks like:
a one-legged man
a one-legged man
a one-legged man
a groaning zombie
a wildass dragon named tiamat
and what I want out of it is:
3 a one-legged man
a groaning zombie
a wildass dragon named tiamat
anyone throw me a clue?
Kill counter
Re: Kill counter
I just have a second session running that telnets to localhost and runs mysql and a few aliases to make inter session communication easier.
query insert (${charName}, ${mobName}, 0) into kills
and
query update kills set count=count+1 where mob_name="${mobName}" and char_name="${charName}"
course I'm in linux and tintin, so your mileage may vary.
query insert (${charName}, ${mobName}, 0) into kills
and
query update kills set count=count+1 where mob_name="${mobName}" and char_name="${charName}"
course I'm in linux and tintin, so your mileage may vary.
Gura ASSOC:: 'man im such a prick'
Gura ASSOC:: 'but im so good at it'
Gura ASSOC:: 'especially when im right'
Shar responds to your petition with 'do what we do. just stop listning to gura :P'
Gura ASSOC:: 'but im so good at it'
Gura ASSOC:: 'especially when im right'
Shar responds to your petition with 'do what we do. just stop listning to gura :P'
Who is online
Users browsing this forum: No registered users and 16 guests