Forum > Serverside Modding
[C++] Trinity Announce System
<< < (3/5) > >>
Laniax:
--- Quote from: "Everon Mightbane" ---It didn't work so far but I'm going to tinker with it, one thing though. As trinity only has the account permissions 0-4, 4 being the console, is there anyway to increase the number? Or change it to like az a p - As in alphabetical account permissions? --- End quote ---
You can add more account permission levels in Common.h atleast if you keep your SEC_CONSOLE as the last one. The security level required to do commands is held in the Command table in your database. so you will probably have to update all those records. (can be done with a few lines of SQL)
Everon Mightbane:
Thanks :D I'll work on that now. EDIT: Also, can I change them to alphabetic characters so for example:
SEC_ADMINISTRATOR = "az",
Would that work?
Laniax:
--- Quote from: "Everon Mightbane" ---Thanks :D I'll work on that now. EDIT: Also, can I change them to alphabetic characters so for example:
SEC_ADMINISTRATOR = "az",
Would that work? --- End quote ---
No that won't work, you cannot enumerate anything else then integers
Everon Mightbane:
Yeah, I worked that out after I attempted to compile it, Is there any way I can change that?
Laniax:
--- Quote from: "Everon Mightbane" ---Yeah, I worked that out after I attempted to compile it, Is there any way I can change that? --- End quote --- I'm afraid there isn't an easy way, no. :P
Navigation
[0] Message Index
[#] Next page
[*] Previous page
|