Adding More Admin Ranks (FIXED)
Hey guys, how would I go about adding more admin ranks? I added more in Char_mod.cpp, but what else do I have to do? When ever I promote myself to the "Owner" access, and try to use a command, half of the time it says "Your mind prevents you from saying those words". I believe it is because I
never finished adding them/don't know how to d the rest. If you could help me out that would be great.
10 years, 7 weeks ago
|
Re: Adding More Admin Ranks?
What did you add in char_mod.cpp? If you're checking for another level, you'll want to add it to the src/fwd/character.hpp file in the AdminLevel enum.
Also make sure your character is actually set as an admin in the database. ---
class EOSERV {
Programmer | Oldbie
Open source EO Client: https://github.com/ethanmoffat/EndlessClient
};
10 years, 6 weeks ago
|
Re: Adding More Admin Ranks?
Where would I add it in there? I don't see "AdminLevel enum".
And for the Char_Mod.cpp I guess that is where I edit the announce messages, I added the "Attention!! <name> has been promoted to <level/rank>!"
EDIT: Found where to add more admin levels, thanks!
10 years, 6 weeks ago
| | |