So, I have seen this one quite a few muds.
Code:
Immortals
[103] Fubar the Implementor [Hackers]
Mortals
[099] Bacon the Pilferer [Hackers]
--------------------------------------------------------------------------------------------
There is 1 superuser and there is 1 user. Total of 2 users online.
Max Users this boot: 2 users.
---------------------------------------------------------------------------------------------------------------
In act.informative.c after the the static voids add:
Then in do_who (same file) add near the top after the int's:
Code:
int temp_count = 0;
Then add before num_can_see stuff:
Code:
for (i = 0; *rank[i].disp != '\n'; i++) {
if (rank[i].count) {
temp_count += rank[i].count;
}
}
if (temp_count > boot_high) {
boot_high = temp_count;
}
Now just add the output:
Code:
send_to_char(ch, "\r\nMax Users this boot: %d user%s.\r\n", boot_high, (boot_high == 1 ? "" : "s"));
I also added some pics. Might not be the most efficient but it works for me. Enjoy MUDderers