Project Zomboid

Project Zomboid

Ashen MP Ranking
109 Comments
ZACMYB!$HUP 20 Jul @ 12:31pm 
There seems to be some steam workshop issue for various mods, i tried the fix of deleting the .acf file - but I still got the same error last night when I tried. Thanks for the response :)
Ashen  [author] 15 Jul @ 10:11am 
Hello fellow ZACMYB!$HUP.

I just tried and it seems ok on my end.
Maybe there was a temporary problem on steam workshop, let me know!
ZACMYB!$HUP 14 Jul @ 6:14pm 
mod download is failing since yesterday fyi
iDestin 13 Jul @ 11:03am 
@Ashen I bypassed it for the moment but mod update will affect a few people.
iDestin 13 Jul @ 10:49am 
@Ashen thanks for the update I will try it, watching server reset right now, I think im running into that global "steam mod download issue" will update you shortly.
Ashen  [author] 13 Jul @ 10:42am 
Keep in mind that /resetranking | /arreset will reset data for all players.
Ashen  [author] 13 Jul @ 10:40am 
Hey there @iDestin !!

following you request, I just pushed on the workshop a small update.
Now you are able to handle usernames with more than one work with admin commands like
/addranking or /removeranking, by using double quotes
/removeranking "Ashen One"

More, I added a new command to perform a total reset of the leaderboards data
/resetranking | /arreset
iDestin 12 Jul @ 10:32am 
Actually, how do you remove names with spaces in them thats the only issue.
iDestin 12 Jul @ 10:23am 
@Ashen, I did a server reset and the Highscores didn't clear. Maybe I am doing something wrong. Let me know if you know a quick tip to clear it during a live game without removing and then adding mod.
iDestin 20 May @ 9:30am 
@Ashen ah I figured I just didn’t want to mess anything up. Thanks for the fast response have a blessed one.
Ashen  [author] 20 May @ 1:24am 
Hello @iDestin! You should be able to change the number of ranks from client option (ModOption mod has be installed!).
By feeling, the path should be Option -> "mods" -> Ashen MP Ranking section.
Anyway I will look right now and upload a screenshot!

UPDATE: The config name is "Length of ladder in file", because it also affects the number of ranks written in the file when you check the "Receive data" option (mainly usefull for Streamers).
iDestin 19 May @ 11:29pm 
Yo @Ashen great mod, wanted to know could you add a way to increase " top ranking # " in sandbox settings? I can't remember how I changed the settings from showing top 5 to top 10. Thanks!
Ashen  [author] 12 Mar @ 1:02pm 
Hello guys, thanks for using the mod and come back here for some feedbacks!

@CyberPope
I was already thinking on a rework for the Kills/Day since, as you say, usually fresh character use to get on top of the leaderboard. That should be fixed by putting a constraint on the character life, like considering only character with more than 1/2 days of ingame life.
Days/Death might be a good point on reworking the "less deaths"!

@Steen
- a ladder on crafting quantity is quite off the scope of this project
- MONEY - short answer: no. long answer: the mod has a "bank balance" leaderboard that was a customization for a server in which I used to play. Anyway in order to work, a private mod was used to enable the bank balancing (withdraws/deposit). There several other mods that do the same banking stuff, but they are not currently supported.
Steen 11 Mar @ 9:32am 
hi! is it possible to add the following:

-Most amount of crafted specific item
-most amount of base.money?
CyberPope 10 Mar @ 9:20am 
Love the mod., amazing work!.
Couple of thoughts/additions that would be cool.
Total Alive category for total time alive on the server
Have Kills/Day be the max of actual kills or the kill/day ratio. the top spots usually taken by a player or two that have only a few kills early on life an don't continue to play.
Days/Death have a stat is average days per death. (total alive / total deaths) the Less Deaths category is usually sitting with a freshie at the top.
MalikChildish 4 Dec, 2024 @ 6:38pm 
Exactly what I was looking for, insane!
Ashen  [author] 11 Nov, 2024 @ 11:32pm 
Hey @Kim! Right now there's no neat way to reset the leaderboard, but if the number of account is rather short you can use this command to remove them:
/removeranking username1 username2 .....
Kym 11 Nov, 2024 @ 2:39pm 
how can i reset the leaderboard??
Ashen  [author] 8 Jun, 2024 @ 12:31pm 
Hey @KingZezar! Thank you for reporting. Was the mod already running on your server? Meanwhile, I will have a look a the error!
KingZezar 3 Jun, 2024 @ 1:14pm 
i have a full log list, with many of the same on, it is in line :
onPlayerData -- file: Server.lua line # 855 | MOD: Ashen MP Ranking
clientCommandDispatcher -- file: Server.lua line # 993 | MOD: Ashen MP Ranking
Exception thrown java.lang.RuntimeException: __add not defined for operands in onPlayerData at KahluaUtil.fail line:82.
KingZezar 3 Jun, 2024 @ 1:13pm 
hello getting alot of error lately like this:
function: onPlayerData -- file: Server.lua line # 855 | MOD: Ashen MP Ranking
function: clientCommandDispatcher -- file: Server.lua line # 993 | MOD: Ashen MP Ranking
ERROR: General , 1717442365307> 25,906,522,778> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __add not defined for operands in onPlayerData at KahluaUtil.fail line:82.
ERROR: General , 1717442365307> 25,906,522,778> DebugLogStream.printException> tack
Fabi 21 Mar, 2024 @ 4:15pm 
Thank you very much! @Ashen Let's start using it on our server <3
Ashen  [author] 21 Mar, 2024 @ 1:51pm 
@Fabi your translation has been added to the mod, thanks for your work :)
Keep slaying zombie and make Knox County a safer place!
Ashen  [author] 18 Mar, 2024 @ 2:04am 
Hello Fabi!

Thank you for the translation, I will integrate it in the mod in the next days.
Fabi 17 Mar, 2024 @ 11:39pm 
Hello, I sent the Brazilian Portuguese translation of your mod, if you can add it. I would really appreciate it!
Ashen  [author] 16 Jan, 2024 @ 9:21am 
Hello Lu5ck, sorry for the (very) late reply!
I think that computing on client is going to be worse, but I will consider to add it as a feature :)
Lu5ck 9 Nov, 2023 @ 9:01am 
Can do sorting on client side? Doing it on server side is increase the computing demands, not great for mods heavy server.
Ashen  [author] 16 Sep, 2023 @ 11:07am 
Hello @toofwess!

I personally tested this only with "Driving skill" mod. You should fill the list with the comma separated list of the custom mod perks, e.g. Driving in my case.


otherPerks = true,
otherPerksList = "Driving",

Let me know if you have any trouble with a specific custom skill mod and asap I will have a look on that!
bioinformer 11 Sep, 2023 @ 3:18pm 
How does the "otherPerksList " option work? I can't get any other skills to show up in the UI.
EasyPeasyViking 8 May, 2023 @ 11:48am 
And the `ladder.csv` for some reason is empty . Maybe something wrong during the save
EasyPeasyViking 8 May, 2023 @ 11:41am 
Hello!

As per today we are experiencing this issue, hope it can help to troubleshot and fix the issue:

function: SaveToFile -- file: Server.lua line # 243 | MOD: Ashen MP Ranking
function: onPlayerData -- file: Server.lua line # 473 | MOD: Ashen MP Ranking
function: clientCommandDispatcher -- file: Server.lua line # 520 | MOD: Ashen MP Ranking.
[08-05-23 18:26:11.710] ERROR: General , 1683570371710> 10,423,658,161> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands: ; and null at KahluaUtil.fail line:82..
[08-05-23 18:26:11.711] ERROR: General , 1683570371711> 10,423,658,161> DebugLogStream.printException> Stack trace:.
[08-05-23 18:26:11.711] LOG : General , 1683570371711> 10,423,658,162> -----------------------------------------
STACK TRACE
Ashen  [author] 14 Apr, 2023 @ 6:21am 
Thank you Lu5ck, I think that it might the same issue reported by EasyPeasyViking.

I will check it asap, meanwhile I will put a remark in the mod description!
Lu5ck 10 Apr, 2023 @ 6:07am 
The UI not initialized when freshly added, showing "Waiting for a server update", restarting server fix it. You might want to look into it.
Ashen  [author] 29 Mar, 2023 @ 9:47am 
Ciao/Hello @EasyPeasyViking!

Thank you for you feedbacks, nice to know you eventually manage to get the mod running on your server.
Regarding the "survivor kills", that's an optional feature, so you can void installing "Fix Survivor Kills MP" if you don't mind about pvp kills!
EasyPeasyViking 29 Mar, 2023 @ 1:07am 
It is working now! I had to restart the server again. :steamhappy:
EasyPeasyViking 28 Mar, 2023 @ 11:27pm 
I am here with another update. Even with a few players connected the ladders are not getting updated. The ranking window still shows "Waiting for a server update".
EasyPeasyViking 28 Mar, 2023 @ 11:01pm 
Ops, sorry, I think the issue is because I need to wait for the first player to connect. I only have tested it with my admin user. Sorry! I'll keep you updated :steamthumbsup:
EasyPeasyViking 28 Mar, 2023 @ 10:57pm 
Hello @Ashen! Thanks for your mod. I have finally decided to install and active this great mod for my server. But, once enabled can't see the ladders. I can see the ranking window but it only says: "Waiting for a server update" and it doesn't change.

I haven't installed the mod Fix Survivor Kills MP because I don't want to show the "survivors kills". Is that correct, or do I need to have the mod even though the ranking for survivor kills is not enabled?

Thanks again! :steamthumbsup:
Ashen  [author] 17 Mar, 2023 @ 7:57am 
Hey there!
This should not be due this mod, the mod does not edit anything on the player object, just saving stats on memory (and then on file) to handle the leaderboards.
Moreover, the mod is currently running on (at least) one community server and such problem was never faced till now.

I might say nothing about the "Fix Survivor Kills MP", if you installed it you might try to disable it and check.
You may also disable my mod and check if that solves the problem: you can enable it again at anytime without issues!
justanother*****client 12 Mar, 2023 @ 8:30am 
Is it possible that this mod is corrupting players who lead the leaderboard? 2 people, on my server were tops and both people eventually got to a point that their char was not saving anymore. Myself included. This is a very weird problem, I played PZ for many years. Have you heard of this before? The problem is resolved when the player kills themselves. But the problem is bad because that player, loses everything. He can't even put anything down without it deleted on next player creation.
Stomno 28 Jan, 2023 @ 11:19am 
@Ashen Hi! Thank you for the response. Looking forward to see the chages. Great mod
Ashen  [author] 25 Jan, 2023 @ 7:25am 
@Stomno: Thank you for using the mod and posting your feedback.

The UI might need some improvements, I would like to remove the bonding to Simple UI and enhance a bit the UI. Anyway, I will try to fix the reported issue as soon as i can!

Relating to the "total kills", the mod is dropping any data related to priviledged accounts (admins, etc,), so if you set your account privilege to admin it should drop your data from the leaderboards.
Based on my experience, Admins who use to play on their own server login with another different account to behave as a standard player. Howerver, a server option might be added to "allow privileged account" which will be false by default, but can be set to true in case of need!
Stomno 17 Jan, 2023 @ 8:55am 
Thank you, amazing mod. The best of ranking mods.
It would be great to have the option to make bigger the rankings because in zombie kills x1 or x2 in font the kills can't enter all

https://i.imgur.com/1JaWqCK.png
There's a big space between kills, the position number and player.
Also, before I died (1 month player) I had 15K kills and those are not added to total player kills, but the mod added extra kills from... another person perhaps? Perhaps the mod was ignoring me because I was admin sometimes
justanother*****client 29 Nov, 2022 @ 3:31pm 
got it working, nm
justanother*****client 28 Nov, 2022 @ 3:19pm 
Anything special on server side have to be done. A 2nd restart after adding mod? Or does it eventually update itself?
Finkel J Money 24 Nov, 2022 @ 1:01pm 
Thanks for the fast reply & swift updates! I will let you know if It still happens
Ashen  [author] 24 Nov, 2022 @ 8:25am 
@wheres my juul ... that error looks quite strange!
I will investigate
Finkel J Money 23 Nov, 2022 @ 3:16pm 
OG : General , 1669245379561> 54,338,088> Server is too busy. Server will drop updates of vehicle's physics. Server is closed for new connections.
ERROR: General , 1669245380499> 54,339,027> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __concat not defined for operands: ; and null at KahluaUtil.fail line:82.
Finkel J Money 23 Nov, 2022 @ 3:15pm 
getting spammed with this error
Finkel J Money 23 Nov, 2022 @ 3:15pm 
ction: SaveToFile -- file: Server.lua line # 241 | MOD: Ashen MP Ranking
function: onPlayerData -- file: Server.lua line # 457 | MOD: Ashen MP Ranking
function: clientCommandDispatcher -- file: Server.lua line # 504 | MOD: Ashen MP Ranking