EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Error: No Target (https://www.eqemulator.org/forums/showthread.php?t=29273)

ChaosSlayerZ 02-24-2010 07:08 PM

if(Admin() < 80) ?
you sure its not
if(Admin() > 80) ? =)

i assume 80 is Gm status value

trevius 02-24-2010 09:53 PM

Either or :P It all depends on how and where it is added. Could be put either way.

trevius 02-25-2010 12:26 AM

Hmm, after looking at the target code there, it makes me wonder if other things could be tweaked for targetting. Anyway, I think the change that should allow GMs to use /target no matter what distance should be to change this:
Code:

        // For /target, send reject or success packet
        if (app->GetOpcode() == OP_TargetCommand) {
                if (GetTarget() && !GetTarget()->CastToMob()->IsInvisible(this) && DistNoRoot(*GetTarget()) <= TARGETING_RANGE*TARGETING_RANGE) {

To this:
Code:

        // For /target, send reject or success packet
        if (app->GetOpcode() == OP_TargetCommand) {
                if (GetTarget() && !GetTarget()->CastToMob()->IsInvisible(this) && (DistNoRoot(*GetTarget()) <= TARGETING_RANGE*TARGETING_RANGE || GetGM())) {

I will test it out later, but that should work.

ChaosSlayerZ 08-11-2010 10:43 AM

BUMP!

Trev, was there any progress on getting zone wide /target back to GM power?


All times are GMT -4. The time now is 11:12 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.