Average Level?
Total exp / total players
Put that in your level array or whatever.
:)
suggestions
2010-12-19 13:54:58
[13 years, 343 days ago] |
|
Administrator 2010-12-19 14:34:59
[13 years, 343 days ago] |
I can't compute this very easily, believe it or not. Your level isn't actually stored in the database, only the amount of experience you have. |
2010-12-19 16:55:37
[13 years, 343 days ago] |
Don't you have a function getting peoples levels? |
2010-12-19 16:57:56
[13 years, 343 days ago] |
What about... |
2010-12-19 17:09:33
[13 years, 343 days ago] |
This won't work, and this is why: |
2010-12-19 17:21:39
[13 years, 343 days ago] |
SELECT AVG("SELECT get_level(exp) as `lvl` FROM `user`") as `finallvl` FROM `users`"); |
Administrator 2010-12-19 17:50:39
[13 years, 343 days ago] |
I suppose I could implement get_level() as a MySQL UDF, but this would be pretty low priority. I'm mostly focusing on bug fixes and major features at the moment. |
2010-12-19 18:08:30
[13 years, 343 days ago] |
I'm not expecting it today or nothing endy poo. :) |
2010-12-19 23:33:19
[13 years, 343 days ago] |
How about something like "Most online"? |
2010-12-19 23:43:39
[13 years, 343 days ago] |
To much work says Ender. |