EOSERV Forum > Programming > Adding More Admin Ranks (FIXED)
Topic is locked.
Page: << 1 >>
Adding More Admin Ranks (FIXED)
Author Message
Post #196181 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.

9 years, 23 weeks ago
Post #196183 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
};
9 years, 23 weeks ago
Post #196184 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!

9 years, 23 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > Programming > Adding More Admin Ranks (FIXED)