• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[Tutorial] Enable 100+ on the who list

ExonatioN

Noble Member
Ok so, i needed to do this for a server, but i couldn't find any tutorial on where to do it, so i thought i would look around the core and i figured it out after some time.
I thought it would be useful for the people who have a 255 server or so.
-It's very simple, but making a small tutorial because there's no guides on how to do this.

Open Mischandler.cpp

Search for uint8 lvl = target->getLevel();

Now you see:
if (lvl < level_min || lvl > level_max)
continue;

We don't want that, so make it a comment:

/*if (lvl < level_min || lvl > level_max)
continue; */


I don't know if this is the proper way to do it, but it works and it's an ok solution for now.


This is how it shouldn't look:
// check if target's level is in level range
uint8 lvl = target->getLevel();
if (lvl < level_min || lvl > level_max)
continue;

This is how it's supposed to look:
// check if target's level is in level range
uint8 lvl = target->getLevel();
/*if (lvl < level_min || lvl > level_max)
continue; */

There you go.
 
Last edited:

Tommy

Founder
Told you it would work. :/

You should use code tags for the code, either way thanks for sharing!
 

ExonatioN

Noble Member
Thanks guys, i will add some code tags for it - i just had to keep uint8 lvl = target->getLevel(); and only delete the rest of it, didn't know untill now.
 

ExonatioN

Noble Member
Editing your post and removing the content for releases/other is against the rules, unless you have a good reason to do so. So, why did you edit the thread?

I honestly can't remember why I edited it, maybe it had some issues, anyhow I made it again and added it to the thread.
 
Top