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
  #1  
Old 07-10-2002, 11:10 AM
mByte
Hill Giant
 
Join Date: Feb 2002
Posts: 206
Default Woo Another Item Struc (?)

Ok so i desided to make an item lastnight using my webapp editor what happens it works

Until I got too the making my robe. (Chest item)

so i did some trouble shooting and here is my problem

I am pulling the values in and posting back just fine unless its chest, legs, feet, ammo, waist here is what I got and im kinda stumped on the conversion

$itemSlotsa = hexdec(bin2hex(substr($row[0],188,1)));
$itemSlotsb = hexdec(bin2hex(substr($row[0],189,2)));
$itemSlotsc = hexdec(bin2hex(substr($row[0],190,2)));
$itemSlots = $itemSlotsa + $itemSlotsb + $itemSlotsc;
$tmp_itemSlots = $itemSlotsa ." ". $itemSlotsb ." ". $itemSlotsc;

Here are the conversions from Kaiyodo's item editor which are the values I used as reference.

4 - Head
8 - Face
18 - Earring
32 - Neck
64 - Shoulders
128 - Arms
256 - Back
512 - unknown
1536 - Wrist
2048 - Range
4096 - Hands
8192 - Primary
16384 - Secondary
98304 - Finger
131072 - Chest
262144 - Pants
524288 - Feet
1048576 - Waist
2097152 - Ammo

All worked untill Finger then here is what i was returning i split them up so you can see the pattern
slotname - 188, 189, 190

Chest - 0, 2, 512
legs - 0, 4, 1024
feet - 0, 8, 2048
waist - 0, 16, 4096
ammo - 0, 32, 8192

Any ideas how to get the chest, lets, feet, waist, ammo to equal there correct dec value?

thanks
__________________
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 07:23 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