i try this script but whn i killed on gold room map ranking not updatedthat's because the monster with event labels doesn't trigger OnNPCKillEvent
this has been discuss for years andthere are no perfect solution to solve this issue
EDIT: it seems there is, Kenpachi suggest we add another flag to monster spawn with or without event labels
anyway this is developer talk ...
to fix your problem just need to remove the OnNPCKillEvent label and incorporate it into OnKill label
by the way I have no idea why your screenshot shows so many kills, the `gold_rank` field has been default to 0 in the SQL syntax...
try create another table to solve those incorrect value kills then
I don't think its a good idea to run query_sql inside OnNPCKillEvent label, since this script is made for high rate server and players can kill peco fast
so I made minor changes
https://gist.github.com/AnnieRuru/6f41d54b03417a768167820ee6f1f037
Last edited by a moderator: