Weapon or Armor??

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
TruFlip1011
Moderators
Moderators
Posts: 39
Joined: 16 Sep 2010, 21:56
Noob?: No
Location: West Palm Beach Fl
Contact:

Weapon or Armor??

#1 Post by TruFlip1011 »

When I checked my inventory in kore, it would have the following:

-----------Inventory-----------
-- Equipment (Equipped) --
3 Knife [4] -- One-Handed Weapon (2)
5 Cotton Shirts -- Armor (16)
8 Shoes [1] -- Foot Wear (64)
9 Bongun Hat -- (769)
-- Equipment (Not Equipped) --
4 Silk Robe [1] (Weapon)
6 Fancy Flower (Weapon)
7 Knife [3] (Armor) -- Not Identified
-- Non-Usable --
1 Tooth of Bat x 1
-- Usable --
0 Butterfly Wing x 2
2 Red Herb x 1
-------------------------------

I thought this was kinda... off?
TruFlip
"Live life to the fullest. Regret none."

Image

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Weapon or Armor??

#2 Post by EternalHarvest »

Known issue.

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Weapon or Armor??

#3 Post by Technology »

should be fixed in r7493
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Weapon or Armor??

#4 Post by kLabMouse »

Technology wrote:should be fixed in r7493
No Good!

Code: Select all

typedef enum <unnamed-tag> {
  TYPE_HEAL =  0x0,
  TYPE_SCHANGE =  0x1,
  TYPE_SPECIAL =  0x2,
  TYPE_EVENT =  0x3,
  TYPE_ARMOR =  0x4,
  TYPE_WEAPON =  0x5,
  TYPE_CARD =  0x6,
  TYPE_QUEST =  0x7,
  TYPE_BOW =  0x8,
  TYPE_BOTHHAND =  0x9,
  TYPE_ARROW =  0xa,
  TYPE_ARMORTM =  0xb,
  TYPE_ARMORTB =  0xc,
  TYPE_ARMORMB =  0xd,
  TYPE_ARMORTMB =  0xe,
  TYPE_GUN =  0xf,
  TYPE_AMMO =  0x10,
  TYPE_THROWWEAPON =  0x11,
  TYPE_CASH_POINT_ITEM =  0x12,
  TYPE_CANNONBALL =  0x13,
  TYPE_COSTUME =  0x14,
  TYPE_LAST =  0x15,
} <unnamed-tag>;

Code: Select all

typedef enum <unnamed-tag> {
  LOCATION_NOTHING =  0x0,
  LOCATION_HEAD =  0x1,
  LOCATION_BODY =  0x10,
  LOCATION_LARM =  0x20,
  LOCATION_RARM =  0x2,
  LOCATION_ROBE =  0x4,
  LOCATION_SHOES =  0x40,
  LOCATION_ACCESSORY1 =  0x8,
  LOCATION_ACCESSORY2 =  0x80,
  LOCATION_HEAD2 =  0x100,
  LOCATION_HEAD3 =  0x200,
  LOCATION_ARROW =  0xffff8000,
  LOCATION_COSTUME_HEAD1 =  0x400,
  LOCATION_COSTUME_HEAD2 =  0x800,
  LOCATION_COSTUME_HEAD3 =  0x1000,
  LOCATION_COSTUME_FLOOR =  0x2000,
} <unnamed-tag>;

Code: Select all

typedef enum <unnamed-tag> {
  WEAPONTYPE_NONE =  0x0,
  WEAPONTYPE_SHORTSWORD =  0x1,
  WEAPONTYPE_SWORD =  0x2,
  WEAPONTYPE_TWOHANDSWORD =  0x3,
  WEAPONTYPE_SPEAR =  0x4,
  WEAPONTYPE_TWOHANDSPEAR =  0x5,
  WEAPONTYPE_AXE =  0x6,
  WEAPONTYPE_TWOHANDAXE =  0x7,
  WEAPONTYPE_MACE =  0x8,
  WEAPONTYPE_TWOHANDMACE =  0x9,
  WEAPONTYPE_ROD =  0xa,
  WEAPONTYPE_BOW =  0xb,
  WEAPONTYPE_KNUKLE =  0xc,
  WEAPONTYPE_INSTRUMENT =  0xd,
  WEAPONTYPE_WHIP =  0xe,
  WEAPONTYPE_BOOK =  0xf,
  WEAPONTYPE_CATARRH =  0x10,
  WPCLASS_GUN_HANDGUN =  0x11,
  WPCLASS_GUN_RIFLE =  0x12,
  WPCLASS_GUN_GATLING =  0x13,
  WPCLASS_GUN_SHOTGUN =  0x14,
  WPCLASS_GUN_GRANADE =  0x15,
  WPCLASS_SYURIKEN =  0x16,
  WPCLASS_TWOHANDROD =  0x17,
  WPCLASS_LAST =  0x18,
  WEAPONTYPE_SHORTSWORD_SHORTSWORD =  0x19,
  WEAPONTYPE_SWORD_SWORD =  0x1a,
  WEAPONTYPE_AXE_AXE =  0x1b,
  WEAPONTYPE_SHORTSWORD_SWORD =  0x1c,
  WEAPONTYPE_SHORTSWORD_AXE =  0x1d,
  WEAPONTYPE_SWORD_AXE =  0x1e,
  WEAPONTYPE_LAST =  0x1f,
} <unnamed-tag>;

Locked