PDA

View Full Version : AFK Is Turning Characters Into Shadowed Men


Shodai82
06-20-2018, 08:41 PM
Hello,

I looked all through the rules within the DB for a flag that might cause this, but I cannot find anything. Does anyone have any idea why this might be happening?

Thanks for any help!

Uleat
06-20-2018, 11:18 PM
That's a pretty broad statement...

Literal shadowed men? Or just invis to players?

Shodai82
06-20-2018, 11:48 PM
That's a pretty broad statement...

Literal shadowed men? Or just invis to players?

If a character sits idle enough (Guild Lobby), they go AFK and then literally turn into a Shadowed Man. Shows up when I do a /who and all I see are whatever items they are holding..just like a Shadowed Man. This is on the latest version of eqemu.

Hah...

zerjz3
06-21-2018, 03:20 PM
Sounds like it would be a script doing this. Are you just using the standard PEQ stuff?

Shodai82
06-21-2018, 03:59 PM
I sure am. I thought that as well, but didn't find anything. I will watch the behavior today and let you know if I come up with anything else.

Uleat
06-21-2018, 04:58 PM
Personally, I have not heard of this behavior before .. are we sure that the client itself is not doing this? Do they return to normal upon any movement?


EDIT: Try this link:

https://forums.daybreakgames.com/eq/index.php?threads/hide-afk-players-feature-is-awesome-sooo.211469/

Sturm
06-21-2018, 06:04 PM
So in your player.pl file in the guildlobby folder you will see this code:


sub EVENT_ENTERZONE {
quest::settimer("afk_check", 1200); #20 minutes
}

sub EVENT_TIMER {
elsif($timer eq "afk_check") {
#I have been idle, go auto-afk and don't draw model
$client->Message(4, "You are idle, Auto-AFK");
if ($client->GetPetID()) {
$Pet_ENT = $entity_list->GetMobByID($client->GetPetID());
$Pet_ENT->SetRace(127);
}
$client->SetRace(127);
$client->SetGender(0);
quest::stoptimer("afk_check");
}
}


This is just a snippet of what is causing this. Hash/Comment out the timer in EVENT_ZONE and that will no longer happen.

Cheers!

Uleat
06-21-2018, 07:47 PM
Wow..did not know that was in there :P

Shodai82
06-21-2018, 09:41 PM
So in your player.pl file in the guildlobby folder you will see this code:


sub EVENT_ENTERZONE {
quest::settimer("afk_check", 1200); #20 minutes
}

sub EVENT_TIMER {
elsif($timer eq "afk_check") {
#I have been idle, go auto-afk and don't draw model
$client->Message(4, "You are idle, Auto-AFK");
if ($client->GetPetID()) {
$Pet_ENT = $entity_list->GetMobByID($client->GetPetID());
$Pet_ENT->SetRace(127);
}
$client->SetRace(127);
$client->SetGender(0);
quest::stoptimer("afk_check");
}
}


This is just a snippet of what is causing this. Hash/Comment out the timer in EVENT_ZONE and that will no longer happen.

Cheers!

Fixed! Thanks a bunch.

GRUMPY
06-22-2018, 05:58 PM
Wow..did not know that was in there :P

Haha. I had the "same feeling" when I first saw the OP, but nah,
I had more fun sitting back and watching the thread go by. ;)