Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-03-2019, 07:00 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

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.
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 05-03-2019 at 07:07 PM..
Reply With Quote
  #2  
Old 05-03-2019, 10:37 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Quote:
Originally Posted by Uleat View Post

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.
Uleat, I put my toon in the scenario you referred to, as well as replicating the instance that he is using. (instance list, qglobal, no expire). I set my status to 80 with #gm on and I was not able to loot the corpse. I turned #gm off (while I was still in the instance) and I was able to loot the corpse. Most of the time, when I am testing something, I use a non-gm account, so that's why I was not able to see what he was getting.
Reply With Quote
  #3  
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
Reply

Thread Tools
Display Modes

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 05:44 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3