• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - retrieving Icon IDs (1 Viewer)

I don't think we can do that in game yet. Good idea I will pass this along to the MQ2 devs.
 
what do you mean icon ids? because you could mean multiple things. i think what you are referencing are the icons within the window itself. if that is the case, it is all currently unknown in the .h file. someone needs to figure out which field it is.

here is what is in the code and known/unknown atm:

Rich (BB code):
typedef struct _LOOTDETAILS {
	/*0x00*/ DWORD	CorpseID;//spawnId of the corpse that has this lootitem
	/*0x04*/ WORD	StackCount;
	/*0x06*/ WORD	UnknownWord;
	/*0x08*/ DWORD	UnknownDWord;
	/*0x0c*/ BYTE	Unknown0x0c;
	/*0x0d*/ CHAR	Name[0x40];
	/*0x4d*/ //more data here? -eqmule
} LOOTDETAILS,*PLOOTDETAILS;
//.text:0041FC2B                 imul    eax, 84h in Mar 31 2015
typedef struct _LOOTITEM
{
	/*0x00*/ DWORD	ItemID;
	/*0x04*/ CHAR	Name[0x40];
	/*0x44*/ BYTE	Unknown0x44[0x28];
	/*0x6c*/ struct _LOOTDETAILS	*LootDetails;
	/*0x70*/ BYTE	Unknown0x70[0xc];
	/*0x7c*/ BYTE	AutoRoll;
	/*0x7d*/ BYTE	Unknown0x7d;
	/*0x7e*/ BYTE	Need;
	/*0x7f*/ BYTE	Greed;
	/*0x80*/ BYTE	No;
	/*0x81*/ BYTE	AlwaysNeed;
	/*0x82*/ BYTE	AlwaysGreed;
	/*0x83*/ BYTE	Never;
	/*0x84*/
} LOOTITEM,*PLOOTITEM;
typedef struct _LOOTLIST {
	/*0x000*/ BYTE	Unknown0x004[0x4];
	/*0x004*/ struct _LOOTITEM *pLootItem;
	/*0x008*/ DWORD	ListSize;
} LOOTLIST,*PLOOTLIST;
//size 0x2C4 see 4B7659 in Mar 31 2015 -eqmule
//size 0x2D4 see 4B7BA9 in Apr 20 2015 -eqmule
typedef struct _EQADVLOOTWND {
	/*0x000*/ struct _CSIDLWND     Wnd;
	/*0x21c*/ BYTE	Unknown0x021c[0x90];
	/*0x2ac*/ struct _LOOTLIST *pCLootList;//below ref to aAdlw_applyfilt
	/*0x2b0*/ struct _LOOTLIST *pPLootList;//below ref to aAdlw_cllwnd
	/*0x2b4*/ BYTE		Unknown0x2b4[0x20];
	/*0x2d4*/
} EQADVLOOTWND,*PEQADVLOOTWND;

BYTES are 0/1 yes no, so typically youd expect the an id to be a long or DWORD. based on that guess, id imagine the most likely out of those options would be that this is the reference to the item icon id:
/*0x08*/ DWORD UnknownDWord;

So you could try adding this under the mq2advloottype (and add the typemember/member in the .h) in the core code and see if it works:
Rich (BB code):
case IconID:
		Dest.DWord = pItem->UnknownDWord;
		Dest.Type = pIntType;
		return true;
 
Lucy has the icon id in their database, but it is like a 3 step process to retrieve it, lol. I downloaded there iten list and imported it to an excel spreadsheet. I added a column for icin id, but it will take forever by hand, lol.
 
theres like 3 ways in mq2 to get icon ids, that is why I was asking which method you were referencing.
 
Sorry about not specifying what I was trying to do. I'm trying to convert my Loot.ini to the advloot system and it is a pain in the arse, lol.
 
Sorry about not specifying what I was trying to do. I'm trying to convert my Loot.ini to the advloot system and it is a pain in the arse, lol.
Ah, ya there are now regular eq inis that list all that info out. I asked someone to make a TLO to CDBstr it to just sort out the ID, but it might be a job for eqmule instead. Then you can just access the normal eq inis directly that you have set up for need/greed/etc and you could use a custom loot.ini to determine what category they go in if unknown.
 
Last edited by a moderator:
They are under Your_Everquest_Directory\userdata\
LF_Nvr_Toon_Server.ini
LF_AN_Toon_Server.ini
LF_AG_Toon_Server.ini.
LF_Rnd_Toon_Server.ini

And they look like this:


Rich (BB code):
#ITEM_ID^ICON_ID^ITEM_NAME
13403^817^Wolf Meat
13099^782^Spiderling Silk
13755^553^High Quality Wolf Skin
13754^553^Medium Quality Wolf Skin
13753^553^Low Quality Wolf Skin
34211^782^Coarse Silk
13779^556^Shadow Wolf Pelt
34212^782^Rough Silk
34213^782^Tacky Silk
13757^555^Puma Skin
12085^555^Medium Quality Cat Pelt
13073^804^Bone Chips
13405^817^Lion Meat
12084^555^Low Quality Cat Pelt


You can manually add things to them out of game to speed things up.
 
If MQ2 could find the item icon ID via FindItem I could easy write a macro to convert the loot.ini file
 
Last edited:
No, you need the Icon ID, it is the second set of numbers in the line.

13099^782^Spiderling Silk

#ITEM_ID^ICON_ID^ITEM_NAME
 
I was thinking of outside mq2, from the list I downloaded from Lucy, and retrieve the Icon ID from there raw data pages.
 
That is correct Maskoi, I had read the thread armastevs had posted. My loot.ini contains over 400 items, it's going to take forever, lol.
 
Rejoice. This week I am going to add an option for ninjadvloot to use the advloot system as well.
 
Rejoice. This week I am going to add an option for ninjadvloot to use the advloot system as well.

zoidberg_hooray.jpg
 
Question - retrieving Icon IDs

Users who are viewing this thread

Back
Top
Cart