1st Problem:
That's the mistake which mentionied @AnnieRuru. Fix shortly.
2nd Problem:
What do you mean with the party side party?
I added the "feature" that every party member also recieves MvP Points, not only the who deals the last hit.
3rd Problem:
Well, you mentioned that you have your own Event Room like that for the MvP's, but I didn't bother asking if you have an Event for that already.
Also I trusted that you would be able to manage to "move" the "OnNPCKillEvent" part to your "OnMyMobDead" Event.
Well, I forgot to adjust it so you can move it without issue.
So that I don't misunderstand, what do you mean by "index". I basically know only the basic stuff as you can see about SQL.
You mean something like this?
CREATE TABLE `mvp_rank` (
`char_id` int(10) UNSIGNED NOT NULL,
`char_name` varchar(255) NOT NULL DEFAULT 'Unknown',
`mvp_points` int(10) UNSIGNED DEFAULT '0',
KEY `mvp_points` (`mvp_points`),
PRIMARY KEY ( `char_id` )
) ENGINE=MyISAM;
Line 56:
Not sure why I missed that "newbie" mistake, but happens sometimes xD.
Well, seems like I forgot to add "freeloop(1)" or an sleep in the loop.
Like mentioned above, fix coming soon.
Edit: Here is the fixed version: mvp_ranker.txt
Regards,
Chris