Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Tools

Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 08-19-2002, 10:34 AM
mByte
Hill Giant
 
Join Date: Feb 2002
Posts: 206
Default Here are all my offsets - Note they are php

Well see if you can use any of this information it's what I use for my web based item editor.

Note the code is php but is has most of the offsets.

*************************************************
//Common Information
$itemname = GetNulLTermString(substr($row[0],0,64));
$itemlore = GetNulLTermString(substr($row[0],64,80));
// * - lore item
// ~ - pending lore
// # - artifact
// & - summoned
$itemVisual = GetNulLTermString(substr($row[0],144,16));
$itemWeight = hexdec(bin2hex(substr($row[0],174,1)));
$itemNoRent = hexdec(bin2hex(substr($row[0],175,1)));
$itemNoDrop = hexdec(bin2hex(substr($row[0],176,1)));
$itemSize = hexdec(bin2hex(substr($row[0],177,1)));
$itemTypeFlag = hexdec(bin2hex(substr($row[0],178,1)));
// 0 - Generic
// 1 - Contaner
// 2 - Book
$itemNuma = bin2hex(substr($row[0],180,1));
$itemNumb = bin2hex(substr($row[0],181,1));
$itemNum = hexdec($itemNumb . $itemNuma);
$itemIcona = hexdec(bin2hex(substr($row[0],182,1)));
$itemIconb = hexdec(bin2hex(substr($row[0],183,2)));
$itemIcon = $itemIcona + $itemIconb;
$itemPSlot = hexdec(bin2hex(substr($row[0],184,1)));
$itemSlotsa = hexdec(bin2hex(substr($row[0],188,1)));
$itemSlotsb = hexdec(bin2hex(substr($row[0],189,2)));
$itemSlotsc = hexdec(bin2hex(substr($row[0],190,2))) * 256 - $itemSlotsb;
if($itemSlotsc <= -1){
$itemSlotsc = 0;
}
$itemSlots = $itemSlotsa + $itemSlotsb + $itemSlotsc;
$itemCost = hexdec(bin2hex(substr($row[0],192,1)));
$itemID = "0"; //hexdec(bin2hex(substr($row[0],212,1))); // somthing about the zone

//General Item Information
$itemSTR = hexdec(bin2hex(substr($row[0],228,1)));
$itemSTA = hexdec(bin2hex(substr($row[0],229,1)));
$itemCHA = hexdec(bin2hex(substr($row[0],230,1)));
$itemDEX = hexdec(bin2hex(substr($row[0],231,1)));
$itemINT = hexdec(bin2hex(substr($row[0],232,1)));
$itemAGI = hexdec(bin2hex(substr($row[0],233,1)));
$itemWIS = hexdec(bin2hex(substr($row[0],234,1)));
$itemMR = hexdec(bin2hex(substr($row[0],235,1)));
$itemFR = hexdec(bin2hex(substr($row[0],236,1)));
$itemCR = hexdec(bin2hex(substr($row[0],237,1)));
$itemPR = hexdec(bin2hex(substr($row[0],238,1)));
$itemDR = hexdec(bin2hex(substr($row[0],239,1)));
$itemHP = hexdec(bin2hex(substr($row[0],240,1)));
$itemMana = hexdec(bin2hex(substr($row[0],242,1)));
$itemAC = hexdec(bin2hex(substr($row[0],244,1)));
$itemMaxCharges = hexdec(bin2hex(substr($row[0],246,1)));
$itemGMFLAG = hexdec(bin2hex(substr($row[0],247,1)));
$itemLight = hexdec(bin2hex(substr($row[0],248,1)));
$itemDelay = hexdec(bin2hex(substr($row[0],249,1)));
$itemDMG = hexdec(bin2hex(substr($row[0],250,1)));
$itemEffect = hexdec(bin2hex(substr($row[0],251,1)));
$itemRange = hexdec(bin2hex(substr($row[0],252,1)));
$itemSkill = hexdec(bin2hex(substr($row[0],253,1)));
$itemMagicFlag = hexdec(bin2hex(substr($row[0],254,1)));
$itemCastLevel = hexdec(bin2hex(substr($row[0],255,1)));
$itemEquipType = hexdec(bin2hex(substr($row[0],256,1)));
$itemColor = hexdec(bin2hex(substr($row[0],260,1)));
$itemDiety = hexdec(bin2hex(substr($row[0],264,1)));
$itemSpell = hexdec(bin2hex(substr($row[0],266,1)));
$itemClass1 = hexdec(bin2hex(substr($row[0],268,1)));
$itemClass2 = hexdec(bin2hex(substr($row[0],269,2)));
$itemClass = $itemClass1 + $itemClass2;
$itemRaces1 = hexdec(bin2hex(substr($row[0],272,1)));
$itemRaces2 = hexdec(bin2hex(substr($row[0],273,2)));
$itemRaces = $itemRaces1 + $itemRaces2;
$itemSaleRate = hexdec(bin2hex(substr($row[0],288,1)));
$itemCastTime = hexdec(bin2hex(substr($row[0],292,1)));
$itemSkillModIndex = hexdec(bin2hex(substr($row[0],312,1)));
$itemSkillModValue = hexdec(bin2hex(substr($row[0],314,1)));
$itemBaneDMGrace = hexdec(bin2hex(substr($row[0],316,1)));
$itemBaneDMGbody = hexdec(bin2hex(substr($row[0],318,1)));
$itemBaneDMG = hexdec(bin2hex(substr($row[0],320,1)));
$itemReqLevel = hexdec(bin2hex(substr($row[0],324,1)));
$itemReqSkill = hexdec(bin2hex(substr($row[0],325,1)));
$itemElemDMGType = hexdec(bin2hex(substr($row[0],328,1)));
// 0 - None
// 1 - MR
// 2 - FR
// 3 - CR
// 4 - PR
// 5 - DR
$itemElemDMG = hexdec(bin2hex(substr($row[0],329,1)));
$itemDietyReq = hexdec(bin2hex(substr($row[0],348,1)));

//Faction Modification - No Idea on this yet
// itemFactionModI_1 = hexdec(bin2hex(substr($row[0],330,1)));
// itemFactionModI_2 = hexdec(bin2hex(substr($row[0],330,1)));
// itemFactionModI_3 = hexdec(bin2hex(substr($row[0],330,1)));
// itemFactionModI_4 = hexdec(bin2hex(substr($row[0],330,1)));
// itemFactionModV_1 = hexdec(bin2hex(substr($row[0],338,1)));
// itemFactionModV_2 = hexdec(bin2hex(substr($row[0],338,1)));
// itemFactionModV_3 = hexdec(bin2hex(substr($row[0],338,1)));
// itemFactionModV_4 = hexdec(bin2hex(substr($row[0],338,1)));
__________________
mByte
Reply With Quote
 


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 04:28 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