Amiroslo
Excellent OT User
- Joined
- Jul 28, 2009
- Messages
- 6,767
- Solutions
- 5
- Reaction score
- 769
Hi,
Currently the highscore page it’s sorting players from highest reborn, to lowest reborn. (After I edited it for that)
I need to do the following:
Sort according to vocation, then reborn.
Vocation sorting, highest vocation ID then highest reborn:
Voc ID 14
Voc ID 13
Voc ID 12
Voc ID 11
Voc ID 1-4 - those shouldn’t be sorted by vocation ID, but just reborns, since those are basic vocations that you can choose from when you start, while the other are promotional vocations.
Using latest ZnoteAAC, TFS 0.4
My highscore page code: <?php require_once 'engine/init.php'; include 'layout/overall/header.php';if - Pastebin.com (https://pastebin.com/HDka0t4x)
thank you
Currently the highscore page it’s sorting players from highest reborn, to lowest reborn. (After I edited it for that)
I need to do the following:
Sort according to vocation, then reborn.
Vocation sorting, highest vocation ID then highest reborn:
Voc ID 14
Voc ID 13
Voc ID 12
Voc ID 11
Voc ID 1-4 - those shouldn’t be sorted by vocation ID, but just reborns, since those are basic vocations that you can choose from when you start, while the other are promotional vocations.
Using latest ZnoteAAC, TFS 0.4
My highscore page code: <?php require_once 'engine/init.php'; include 'layout/overall/header.php';if - Pastebin.com (https://pastebin.com/HDka0t4x)
thank you