Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2004, 06:24 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default Server is removing #gm flag from players who should have it

Found this out while trying to set one of our guides with #gm on. He zones, and whoops, his #gm flag's gone...

After a little investigation I found this in line 5127* of client_packet.cpp:

Code:
        if (m_pp.gm && admin < 80)
                m_pp.gm = 0;
(Line 5127 in the version PEQTGC has, which may be different from the most current CVS version)

The setting to require minimum 80 status is incorrect. All levels of guide, down to apprentice guide (status 40), have #gm flag on EQLive.

I guess it could be argued whether the security-check the above code should exist at all -- I'm not a big fan of protecting serverops from their own stupidity :P But that's a different topic altogether, if the check is there, it's not properly emulating eqlive to have the minimum status requirement set at 80.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #2  
Old 12-15-2004, 08:36 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

It's saying, if you have an access level of below 80, you will have it removed when you zone. You can change it, but personally I like it. Although I think this little setting -should- be read from addon.ini or the variables table, personally.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #3  
Old 12-15-2004, 10:22 AM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

I know what it does. (Edit: tho you might be clarifying that for others who don't look at the code.)

I'm not against there being an on-zone removal for insufficient status, but if there is, it doesn't make sense for it to be 80+. It should at least be down to a level where guides (40-50) will be able to retain the #gm flag, given that apprentice guides and up have the flag on Sony EQ.

Anyways, I think Fathernitwit has found a few of the places where it wants to do this (there's other spots in the code -- all GM slash commands, unlocking doors, negating environmental damage) and is trying to consolidate them in one spot. If they can't be defined in addon.ini, at least they can be in a single .h file that the server op can easily change.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:30 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3