Ok, it still crashed when there where fewer than 5 players to pick for the top5 lists. I have created two versions of a changed plugin.
skillranks_oldtables.sma
This is a version which use the same table names as the original skillsrank1.4.3.
skillranks_testtables.sma
This is a version which creates new tables only to use for testing.
testmaps = substitutes the original 'skillmaps' table
testrank = substitutes the original 'skillrank' table
Can you download and test these and see if it works now?
If you dont want to mess with your old tables use skillsrank_testtables.sma.
It works for me, I have tried creating new tables and used the old ones.
Confirm that it works for you to and I will update the plugin.
Quote:
Originally Posted by -hi-
I noticed you are using arrays with 32 slots for storing information about players. It's possible for a player to have an ID of 32, and 32 isn't a legal slot in the arrays. I would change all the id based arrays to have 33 slots.
|
I have changed where I thought I had to change.
If you have time -hi-, can you have a little look and tell me if I need to change anywhere else?
Ok, hope it works now
/Lt.
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.