Problem With 2.71 Admin?
I was fiddling around making items and logged into to try them out.
Keep getting that your class, race and or diety cannot use this item messege funnything is I checked all the class's and races when that did not work I check all dieties too. No Go. |
Grrr this is getting frustrating. There must be some field in the item structure that's still unknown that's affecting it. If we knew the location of the field that sets the player's deity it would be a big help too. Is there anyone else (dev or otherwise) who might be able to help track down these unknown fields? When I test the tool I usually put up a label and fill it with hex dumps of everything still marked as unknown, but so far I haven't been able to make heads or tails of anything else.
WC |
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))); |
link ?
btw: its the 3.5 item DB i've been told from several people in irc... drop the 3.5 db's items and put in the 3.4 items.. two mysql commands.. i don't know them but search button can help.. i gotta rush so I can't.. but should be useful to try that. |
Quote:
Same Error I also dropped the 3.5 items and created new items nothing BUT I created a 1hs, Normal Item, HUM, WAR, RALLOS ZEK and it worked so its not the table if i can get the same error on both databases. only thing that i had a problem with from the 3.5 items table was i couldnt summon items in game. that was sloved by dropping 3.5 items and adding 3.4 items |
Windcatcher, here is a item structure deffinition I have edited as best as I can. It is based on EQEmu/hackersquest/ShowEQ, with a few entries from you :)
Code:
#define ITEM_STRUCT_SIZE 356 |
OK, I'm adding the new fields in...but is this for 0.34 or 0.35 items? Or are they the same?
|
They are the same
|
All times are GMT -4. The time now is 05:23 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.