It's much simpler to have a number that can be used as an array index.
Splitting the harvesting skills simply means there is a case statement
for each one instead of a single case statement. That's the only change
required.
On 2021-01-04 13:23, Nicolas Weeger wrote:
Hello.
Couldn't you track skills by name instead of subtype?
I'm definitely against splitting harvesting skills...
Best regards
Nicolas
Le dimanche 3 janvier 2021, 15:36:14 CET Preston Crow a écrit :
Here's the patch.
It should be compatible with existing servers, creating a new hiscores
directory and storing the information there, initializing the overall
scores from the old table. The hiscore command is updated to add a '-s'
option to show the scores for individual skills.
I had to tweak the mining arch to have a different subtype as that's
what the new scores key off of. I don't think there are any mining
pickaxes in the game yet, so this shouldn't impact anyone.
On 2021-01-02 12:53, Kevin Zheng wrote:
On 1/2/21 11:40 AM, Preston Crow wrote:
I have a change to track per-skill high scores that I was meaning to
put in. Should I do it now, or wait until after the release? (I've
been running it on my server for a while.)
Would you mind attaching the patch here? If it's not so big, it would
be a fun addition to 1.75.0.
Thanks,
Kevin
_______________________________________________
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire