View Single Post
  #14  
Old 05-04-2019, 11:59 AM
t0neg0d
Sarnak
 
Join Date: Oct 2014
Posts: 31
Default

Quote:
Originally Posted by Uleat View Post
By chance...

Did the account that you were using have less than 100 status and you had your GM flag on?


Code:
void Corpse::MakeLootRequestPackets(Client* client, const EQApplicationPacket* app) {
...
	// all loot session disqualifiers should occur before this point as not to interfere with any current looter
	loot_request_type = LootRequestType::Forbidden;

	// loot_request_type is scoped to class Corpse and reset on a per-loot session basis
	if (client->GetGM()) {
		if (client->Admin() >= 100)
			loot_request_type = LootRequestType::GMAllowed;
		else
			loot_request_type = LootRequestType::GMPeek;
	}
	else {
		if (IsPlayerCorpse()) {
			if (char_id == client->CharacterID()) {
				loot_request_type = LootRequestType::Self;
			}
...
and

Code:
void Corpse::LootItem(Client *client, const EQApplicationPacket *app) {
...
	if (loot_request_type < LootRequestType::GMAllowed) { // LootRequestType::Forbidden and LootRequestType::GMPeek
		client->QueuePacket(app);
		SendEndLootErrorPacket(client);
		// unlock corpse for others
		if (IsBeingLootedBy(client))
			ResetLooter();
		return;
	}
...
If you have your GM flag on, that takes precedence over an actual player-level loot action.

And, if you're status isn't high enough, then you can only 'open' the corpse and not actually remove (loot) anything.

This is so that guides can see..but, not touch a corpse's contents.
GM flag was on, but status = 255
Reply With Quote