Jump to content

KayJay

Members
  • Posts

    5
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by KayJay

  1. ok, he next question is if the command table in SQL overrides the code in the program. If it does, then I'm all set. If not...
  2. http://www22.verizon.com/Residential/FiOSInternet/Plans/Plans.htm The 20/20 if you were wondering. /drool As for the code, I have the SQL stuff figured out. The conf will be easy as soon as I find it all. Getting back on topic, thx to crashuncle for the help. After looking @ all the code, it seems as if the only place that I would have to change it is common.h, chanigning the following lines: enum AccountTypes { SEC_PLAYER = 0, SEC_MODERATOR = 1, SEC_GAMEMASTER = 2, SEC_ADMINISTRATOR = 3, SEC_CONSOLE = 4 // must be always last in list, accounts must have less security level always also }; to.... enum AccountTypes { SEC_PLAYER = 0, SEC_MODERATOR = 1, SEC_GAMEMASTER = 2, SEC_ADMINISTRATOR = 3, SEC_SERVERADMIN = 4 SEC_CONSOLE = 5 // must be always last in list, accounts must have less security level always also }; And edit chat.cpp so that all the commands that currently say SEC_CONSOLE to say SEC_SERVERADMIN If I'm wrong, or if I'm I'm missing something, feel free to chime in. (not that I'm not going to make a backup or anything).
  3. Na, seems like it's in there multiple times.
  4. Sure, you can change the data in the database, but, as I said, when you try chaning the GM level via the console, it doesn't allow you to. in other words, if one of the admins decides that they want to learn mysql and how to do more, I would be able to share the load. As for editing the database to change them to a level 4, I would prefer to not have to be on site to edit the database, as the box will be about 50 miles away. If the level 4 account is Mangos, and a non-user account, it is possible to change mangos's gm level to a higher level, say level 5? Let me give an example of what I'm trying to set up for commands: -- Level 0: see motd, show honor ranking, save your character. -- Level 1: Announce, tele, mute & unmute, goname -- Level 2: Kick, bank, stop combat, .die, waterwalk, go xy, revive -- Level 3: Account create, account set addon, Additem, Ban account and character, cast spells (to troubleshoot), go xyz, edit guilds (create, delete, etc.) Learn, levelup, lookup, namego, reload, respawn -- Level 4: NPC commands, account delete, account set gmlevel, account set password, reset commands, plimit, ban ip, unbanip, the WP commands. -- Level 5: disabled commands.
  5. Background story: There are about 15 of us that are working on starting up a server. We've got the code part up and running and mangos is running well with scriptdev2 with no problems. Just need UDB to get a 3.0.8 database up and going, and we'll be all set. We'll be putting a box together soon and with the fiber connection comming soon, it should be be online pretty quickly. We were planning to have an admin hierchy of this: 1x owner (the guy who got it to work, me) 2x Administrators (the other two that gave actual input as to what should go into it and did the research but don't quite undersand that some things they shouldn't touch) 5x Game Masters (those that show good leadership skills and are willing to actively help keep the server under control) 10x Moderators (those that are mostly there to play but are willing to do keep an eye out for roudy players) And the rest are players The current situation: I was going through the command list to set up what commands should be available to each person. 0 for players, 1 for moderators, 2 for game masters. 3 for admins, and 4 for the owner. When I tried to change my GM level to 4, it said incorrect value. I figured that because a 4 in the conf files means that the feature is turned off, the max gm level is 3. The question: Is it feasable to add a new security level? I don't mind researching the code, Figuring out the sql statements to implement it, and making a new conf. I just want to know if it's possible and what's invoved. I took a C++ class once in college a while back, so I'm not completely new to the coding thing. I have a pdf of the way I set the commands in case someone is interested.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use