What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Question: Any plugin or way to export the item information for all items in the bag?

timwang

Member
Joined
Nov 22, 2012
Messages
136
Reaction score
1
Hi friends,

Is there any easy way or plugin can export all the item information.
I saw there is a log from trinity like:

2014/3/13 7:16:27:
====================
Armor - Chest 'Iron Heart'. Score = 23089 {legendary item}
Vitality=223. Pickup Radius=2. +All Resist=83. Armor=274. Globe Bonus=4664

But some information are missed and also it is record when you stash an item.

The dump function provided by Trinity cannot provide all the information also

Cheers
 
Hmm..
there is ACDItem.Stats
which dumps all the stats when using ToString()

But all the other properties would have to be manually dumped.. and there's quite a few properties for ACDItem.

Here is some code I had written up.. it dumps all items in backpack.

Code:
					ZetaDia.Actors.Update();

					foreach (var o in ZetaDia.Me.Inventory.Backpack)
					{
						try
						{
							string s = String.Format("InvItem - Name: {1} Row: {32} Column: {33} ActorSNO: {0} ACDGuid: {30} DynamicID: {31}  ItemType: {2} ItemBaseType: {3}\r\n" +
													"Position: {29}" +
													"IsArmor: {4} IsCrafted: {5} IsCraftingPage: {6} IsCraftingReagent: {7}\r\n" +
													"IsElite: {8} IsEquipped: {9} IsGem: {10} IsMiscItem: {11} \r\n" +
													"IsOneHand: {12} IsPotion: {13} IsRare: {14} IsTwoHand: {15} \r\n" +
													"IsTwoSquareItem: {16} IsUnidentified: {17} IsUnique: {18} IsVendorBought: {19} \r\n" +
													"Level: {20} RequiredLevel: {21} ItemLevelRequirementReduction: {22} \r\n" +
													"ItemQuality: {23} GemQuality: {24} \r\n" +
													"MaxStackCount: {25} MaxDurability: {26} NumSockets: {27} \r\n" +
													"Stats: {28}\n",
													o.ActorSNO, o.Name,
													o.ItemType, o.ItemBaseType,
													o.IsArmor, o.IsCrafted, o.IsCraftingPage, o.IsCraftingReagent,
													o.IsElite, o.IsEquipped, o.IsGem, o.IsMiscItem,
													o.IsOneHand, o.IsPotion, o.IsRare, o.IsTwoHand,
													o.IsTwoSquareItem, o.IsUnidentified, o.IsUnique, o.IsVendorBought,
													o.Level, o.RequiredLevel, o.ItemLevelRequirementReduction,
													o.ItemQualityLevel, o.GemQuality,
													o.MaxStackCount, o.MaxDurability, o.NumSockets,
													o.Stats,
													o.Position, o.ACDGuid, o.DynamicId,
													o.InventoryRow, o.InventoryColumn);

						}
						catch (Exception)
						{

						}
 
Back
Top