Jump to content
  • 0

item_db.txt needs to be change? [please read]


cassiel

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

okay here is the issue i've found on this thread http://rathena.org/board/topic/84495-all-weapon-sprite-showing-default/ and this http://rathena.org/board/topic/73980-all-weapon-sprites-default/

they all talking about the weapon sprites that change to default that occure when using:

1. kRO client 2013

2. rathena rev 14007 up to now.

3. data translation folder from this link https://subversion.assembla.com/svn/client-side-translation/

 

after i do some research about this problems, the problem occure in this 3 files:

 

1. item_db.txt (Location: Server\Trunk\db\re\)

2. weapontable.lub (Location: kRO client\data\luafiles514\lua files\datainfo\)

3. iteminfo.lua (Location: kRO client\system\)

 

the item_db.txt shows this:

// 2-Handed Staffs
1472,Staff_Of_Soul,Soul Staff,4,20,,1400,25:200,,1,0,0x00810204,7,2,34,3,73,1,10,{ bonus bInt,5; bonus bAgi,2; },{},{}
1473,Wizardy_Staff,Wizardry Staff,4,20,,2400,120:200,,1,0,0x00810204,7,2,34,4,90,1,10,{ bonus bInt,6; bonus bDex,2; },{},{} 

i take example of this 2-Handed Staffs, i marked the red one because it value is to show the sprite in game.

 

the problem is in the weapontable.lub those value isn't 10 anymore. the value 10 is for rod.

WEAPONTYPE_ROD = 10,

WEAPONTYPE_Staff_Of_Soul = 96,
WEAPONTYPE_Wizardy_Staff = 97 

the value for item id 1472 and 1473 are 96 and 97.

 

and the itemInfo.lua show that the ClassNum for item id 1472 and 1473 are 10

    [1472] = {
        unidentifiedDisplayName = "Rod",
        unidentifiedResourceName = "·Ôµå",
        unidentifiedDescriptionName = {
            "Unknown item",
            "requiring Appraisal.",
            "Can be identified by",
            "using a Magnifier.",
        },
        identifiedDisplayName = "Soul Staff",
        identifiedResourceName = "½ºÅÂÇÁ¿Àºê¼Ò¿ï",
        identifiedDescriptionName = {
            "A high quality,",
            "two-handed staff",
            "that amplifies",
            "psychic power.",
            "Int +5",
            "Agi +2",
            "MATK + 200",
            "Class: ^777777Two-Handed Staff^000000",
            "Attack: ^77777725^000000",
            "Weight: ^777777140^000000",
            "Weapon Level: ^7777773^000000",
            "Required Level: ^77777773^000000",
            "Jobs: ^777777Mage Class and Soul Linker^000000"
        },
        slotCount = 0,
        ClassNum = 10
    },

    [1473] = {
        unidentifiedDisplayName = "Rod",
        unidentifiedResourceName = "·Ôµå",
        unidentifiedDescriptionName = {
            "Unknown item",
            "requiring Appraisal.",
            "Can be identified by",
            "using a Magnifier.",
        },
        identifiedDisplayName = "Wizardry Staff",
        identifiedResourceName = "À§Àڵ帮½ºÅÂÇÁ",
        identifiedDescriptionName = {
            "Rumored to have",
            "been crafted by an",
            "ancient wizard, this",
            "staff contains awesome",
            "energies.",
            "Int +6",
            "Dex +2",
            "MATK + 200",
            "Class: ^777777Two-Handed Staff^000000",
            "Attack: ^777777120^000000",
            "Weight: ^777777240^000000",
            "Weapon Level: ^7777774^000000",
            "Required Level: ^77777790^000000",
            "Jobs: ^777777Mage Class and Soul Linker^000000"
        },
        slotCount = 0,
        ClassNum = 10 

here's what i do to solve the weapon sprite problem that change to default, i simply change the value 10 in item_db.txt and itemInfo.lua to 96 and 97.and it works like a charm.

 

what i want to ask here is that okay with that? because if this is the right way to solve this problem then we got to change the item_db.txt and itemInfo.lua and that's will be though. /panic

 

waiting for the answer... thx /gawi

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  112
  • Reputation:   4
  • Joined:  08/28/14
  • Last Seen:  

trouble with adding custom weapon.. my client date is... 2013-12-23cRagexe
already done this..


[40617] = {
        unidentifiedDisplayName = "One-Handed Spear",
        unidentifiedResourceName = "쟈벨린",
        unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." },
        identifiedDisplayName = "Lod_Spear",
        identifiedResourceName = "lod_spear",
        identifiedDescriptionName = {
            "Vit +25",
            "Class :^777777 Dagger^000000",
            "Attack :^777777 200^000000",
            "Weight :^777777 60^000000",
            "Weapon Level :^777777 4^000000",
            "Applicable Job :^777777 Swordsman Class^000000",
        },
        slotCount = 4,
        ClassNum = 103
    },

 

 

WEAPONTYPE_Lod_Spear = 103

[Weapon_IDs.WEAPONTYPE_Lod_Spear] = "_40617"

 [Weapon_IDs.WEAPONTYPE_Lod_Spear] = Weapon_IDs.WEAPONTYPE_SPEAR

 

Àΰ£Á·

½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ

½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.act

½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.spr

½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.act

½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.spr

½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.act

½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.spr

½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.act

½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.spr

¾ÆÀÌÅÛ

lod_spear.act

lod_spear.spr

¾Ç¼¼»ç¸®

¿©_lod_spear.act

¿©_lod_spear.spr

 

³²_lod_spear.act

³²_lod_spear.spr

HELP PLEASE!!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

Maybe a branch later on would be usefull, but alot of people still use 2011 clients and under, Since this would affect those, if such change were to occur.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

gravity is screwing around again eh. Those two 2H staffs are the odd one out in that id range (rest all come in a different range), but that doesn't mean it should become separate weapon classes. What is gravity thinking :|

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

anyone know where i can found classnum for every item?

 

edited: correct some words

Edited by cassiel
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   24
  • Joined:  09/02/12
  • Last Seen:  

anyone know where i can found classnum for every item?

 

edited: correct some words

what did you mean the latest one?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

anyone know where i can found classnum for every item?

 

edited: correct some words

what did you mean the latest one?

if it is posible, yes the lastest one.. i need to change all of my classnum x.x

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   24
  • Joined:  09/02/12
  • Last Seen:  

 

anyone know where i can found classnum for every item?

 

edited: correct some words

what did you mean the latest one?

if it is posible, yes the lastest one.. i need to change all of my classnum x.x

i think you already have it and there is no much difference about what i have extracted from the original. and by the way i just wanna share to you what i have research about it.

--[[
Format:
	[itemID] = {
		unidentifiedDisplayName = "read the table name",
		unidentifiedResourceName = "sprite/act/texture filename when unidentified",
		unidentifiedDescriptionName = {
			"read",
			"the",
			"table",
			"name",
		}
		identifiedDisplayName = "read the table name",
		identifiedResourceName = "sprite/act/texture filename when identified",
		identifiedDescriptionName = {
			"read",
			"the",
			"table",
			"name",
		}
		slotCount = 0~4,
		ClassNum = viewID if headgear/weapon/robes(garment) put 0 if not
				for headgear's viewID see accessoryid.lua
				for weapon's viewID see weapontable.lua
				for garment's viewID see spriterobeid.lua
	}
--]]

as you can see there are 3 different viewID that you may looked at.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   61
  • Joined:  09/01/12
  • Last Seen:  

@reigneil yes i already have it but its not decompile yet and i can't see anything in there, i try to decomplie it but failed :|

Well if you said it was the same then the problem might be different from my expectation, because i just thought to start change all of those classnum id but i don't know the right value for every weapon item.

i hope someone may find the best solution for it.

 

yap i already know about that structure thats why i change the classnum.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  


Weapon_IDs = {

WEAPONTYPE_NONE = 0,

WEAPONTYPE_SHORTSWORD = 1,

WEAPONTYPE_SWORD = 2,

WEAPONTYPE_TWOHANDSWORD = 3,

WEAPONTYPE_SPEAR = 4,

WEAPONTYPE_TWOHANDSPEAR = 5,

WEAPONTYPE_AXE = 6,

WEAPONTYPE_TWOHANDAXE = 7,

WEAPONTYPE_MACE = 8,

WEAPONTYPE_TWOHANDMACE = 9,

WEAPONTYPE_ROD = 10,

WEAPONTYPE_BOW = 11,

WEAPONTYPE_KNUKLE = 12,

WEAPONTYPE_INSTRUMENT = 13,

WEAPONTYPE_WHIP = 14,

WEAPONTYPE_BOOK = 15,

WEAPONTYPE_CATARRH = 16,

WPCLASS_GUN_HANDGUN = 17,

WPCLASS_GUN_RIFLE = 18,

WPCLASS_GUN_GATLING = 19,

WPCLASS_GUN_SHOTGUN = 20,

WPCLASS_GUN_GRANADE = 21,

WPCLASS_SYURIKEN = 22,

WPCLASS_TWOHANDROD = 23,

WPCLASS_LAST = 24,

WEAPONTYPE_SHORTSWORD_SHORTSWORD = 25,

WEAPONTYPE_SWORD_SWORD = 26,

WEAPONTYPE_AXE_AXE = 27,

WEAPONTYPE_SHORTSWORD_SWORD = 28,

WEAPONTYPE_SHORTSWORD_AXE = 29,

WEAPONTYPE_SWORD_AXE = 30,

WEAPONTYPE_Main_Gauche = 31,

WEAPONTYPE_Stiletto = 32,

WEAPONTYPE_Gladius = 33,

WEAPONTYPE_Zeny_Knife = 34,

WEAPONTYPE_Poison_Knife = 35,

WEAPONTYPE_Princess_Knife = 36,

WEAPONTYPE_Sasimi = 37,

WEAPONTYPE_Lacma = 38,

WEAPONTYPE_Tsurugi = 39,

WEAPONTYPE_Ring_Pommel_Saber = 40,

WEAPONTYPE_Haedonggum = 41,

WEAPONTYPE_Saber = 42,

WEAPONTYPE_Jewel_Sword = 43,

WEAPONTYPE_Gaia_Sword = 44,

WEAPONTYPE_Twin_Edge_B = 45,

WEAPONTYPE_Twin_Edge_R = 46,

WEAPONTYPE_Priest_Sword = 47,

WEAPONTYPE_Katana = 48,

WEAPONTYPE_Bastard_Sword = 49,

WEAPONTYPE_Broad_Sword = 50,

WEAPONTYPE_Violet_Fear = 51,

WEAPONTYPE_Lance = 52,

WEAPONTYPE_Partizan = 53,

WEAPONTYPE_Trident = 54,

WEAPONTYPE_Halberd = 55,

WEAPONTYPE_Crescent_Scythe = 56,

WEAPONTYPE_Zephyrus = 57,

WEAPONTYPE_Hammer = 58,

WEAPONTYPE_Buster = 59,

WEAPONTYPE_Brood_Axe = 60,

WEAPONTYPE_Right_Epsilon = 61,

WEAPONTYPE_Mace = 62,

WEAPONTYPE_Sword_Mace = 63,

WEAPONTYPE_Chain = 64,

WEAPONTYPE_Stunner = 65,

WEAPONTYPE_Golden_Mace = 66,

WEAPONTYPE_Iron_Driver = 67,

WEAPONTYPE_Spanner = 68,

WEAPONTYPE_Arc_Wand = 69,

WEAPONTYPE_Mighty_Staff = 70,

WEAPONTYPE_Blessed_Wand = 71,

WEAPONTYPE_Bone_Wand = 72,

WEAPONTYPE_CrossBow = 73,

WEAPONTYPE_Arbalest = 74,

WEAPONTYPE_Kakkung = 75,

WEAPONTYPE_Hunter_Bow = 76,

WEAPONTYPE_Bow_Of_Rudra = 77,

WEAPONTYPE_Waghnakh = 78,

WEAPONTYPE_Knuckle_Duster = 79,

WEAPONTYPE_Hora = 80,

WEAPONTYPE_Fist = 81,

WEAPONTYPE_Claw = 82,

WEAPONTYPE_Finger = 83,

WEAPONTYPE_Kaiser_Knuckle = 84,

WEAPONTYPE_Berserk = 85,

WEAPONTYPE_Rante = 86,

WEAPONTYPE_Tail = 87,

WEAPONTYPE_Whip = 88,

WEAPONTYPE_Bible = 89,

WEAPONTYPE_Book_Of_Billows = 90,

WEAPONTYPE_Book_Of_Mother_Earth = 91,

WEAPONTYPE_Book_Of_Blazing_Sun = 92,

WEAPONTYPE_Book_Of_Gust_Of_Wind = 93,

WEAPONTYPE_Book_Of_The_Apocalypse = 94,

WEAPONTYPE_Girls_Diary = 95,

WEAPONTYPE_Staff_Of_Soul = 96,

WEAPONTYPE_Wizardy_Staff = 97

}

WeaponNameTable = {

[Weapon_IDs.WEAPONTYPE_NONE] = "",

[Weapon_IDs.WEAPONTYPE_SHORTSWORD] = "_´Ü°Ë",

[Weapon_IDs.WEAPONTYPE_SWORD] = "_°Ë",

[Weapon_IDs.WEAPONTYPE_TWOHANDSWORD] = "_°Ë",

[Weapon_IDs.WEAPONTYPE_SPEAR] = "_â",

[Weapon_IDs.WEAPONTYPE_TWOHANDSPEAR] = "_â",

[Weapon_IDs.WEAPONTYPE_AXE] = "_µµ³¢",

[Weapon_IDs.WEAPONTYPE_TWOHANDAXE] = "_µµ³¢",

[Weapon_IDs.WEAPONTYPE_MACE] = "_Ŭ·´",

[Weapon_IDs.WEAPONTYPE_TWOHANDMACE] = "_Ŭ·´",

[Weapon_IDs.WEAPONTYPE_ROD] = "_·Ôµå",

[Weapon_IDs.WEAPONTYPE_BOW] = "_È°",

[Weapon_IDs.WEAPONTYPE_KNUKLE] = "_³ÊŬ",

[Weapon_IDs.WEAPONTYPE_INSTRUMENT] = "_¾Ç±â",

[Weapon_IDs.WEAPONTYPE_WHIP] = "_äÂï",

[Weapon_IDs.WEAPONTYPE_BOOK] = "_Ã¥",

[Weapon_IDs.WEAPONTYPE_CATARRH] = "_īŸ¸£_īŸ¸£",

[Weapon_IDs.WPCLASS_GUN_HANDGUN] = "_±ÇÃÑ",

[Weapon_IDs.WPCLASS_GUN_RIFLE] = "_¶óÀÌÇÃ",

[Weapon_IDs.WPCLASS_GUN_GATLING] = "_±â°üÃÑ",

[Weapon_IDs.WPCLASS_GUN_SHOTGUN] = "_¼¦°Ç",

[Weapon_IDs.WPCLASS_GUN_GRANADE] = "_¼¦°Ç",

[Weapon_IDs.WPCLASS_SYURIKEN] = "_¼ö¸®°Ë",

[Weapon_IDs.WPCLASS_TWOHANDROD] = "_·Ôµå",

[Weapon_IDs.WEAPONTYPE_SHORTSWORD_SHORTSWORD] = "_´Ü°Ë_´Ü°Ë",

[Weapon_IDs.WEAPONTYPE_SWORD_SWORD] = "_°Ë_°Ë",

[Weapon_IDs.WEAPONTYPE_AXE_AXE] = "_µµ³¢_µµ³¢",

[Weapon_IDs.WEAPONTYPE_SHORTSWORD_SWORD] = "_´Ü°Ë_°Ë",

[Weapon_IDs.WEAPONTYPE_SHORTSWORD_AXE] = "_´Ü°Ë_µµ³¢",

[Weapon_IDs.WEAPONTYPE_SWORD_AXE] = "_°Ë_µµ³¢",

[Weapon_IDs.WEAPONTYPE_Main_Gauche] = "_1207",

[Weapon_IDs.WEAPONTYPE_Stiletto] = "_1216",

[Weapon_IDs.WEAPONTYPE_Gladius] = "_1219",

[Weapon_IDs.WEAPONTYPE_Zeny_Knife] = "_1238",

[Weapon_IDs.WEAPONTYPE_Poison_Knife] = "_1239",

[Weapon_IDs.WEAPONTYPE_Princess_Knife] = "_1240",

[Weapon_IDs.WEAPONTYPE_Sasimi] = "_1144",

[Weapon_IDs.WEAPONTYPE_Lacma] = "_13049",

[Weapon_IDs.WEAPONTYPE_Tsurugi] = "_1119",

[Weapon_IDs.WEAPONTYPE_Ring_Pommel_Saber] = "_1122",

[Weapon_IDs.WEAPONTYPE_Haedonggum] = "_1123",

[Weapon_IDs.WEAPONTYPE_Saber] = "_1126",

[Weapon_IDs.WEAPONTYPE_Jewel_Sword] = "_1142",

[Weapon_IDs.WEAPONTYPE_Gaia_Sword] = "_1143",

[Weapon_IDs.WEAPONTYPE_Twin_Edge_B] = "_13412",

[Weapon_IDs.WEAPONTYPE_Twin_Edge_R] = "_13413",

[Weapon_IDs.WEAPONTYPE_Priest_Sword] = "_13428",

[Weapon_IDs.WEAPONTYPE_Katana] = "_1116",

[Weapon_IDs.WEAPONTYPE_Bastard_Sword] = "_1154",

[Weapon_IDs.WEAPONTYPE_Broad_Sword] = "_1160",

[Weapon_IDs.WEAPONTYPE_Violet_Fear] = "_1185",

[Weapon_IDs.WEAPONTYPE_Lance] = "_1410",

[Weapon_IDs.WEAPONTYPE_Partizan] = "_1457",

[Weapon_IDs.WEAPONTYPE_Trident] = "_1460",

[Weapon_IDs.WEAPONTYPE_Halberd] = "_1463",

[Weapon_IDs.WEAPONTYPE_Crescent_Scythe] = "_1466",

[Weapon_IDs.WEAPONTYPE_Zephyrus] = "_1468",

[Weapon_IDs.WEAPONTYPE_Hammer] = "_1354",

[Weapon_IDs.WEAPONTYPE_Buster] = "_1357",

[Weapon_IDs.WEAPONTYPE_Brood_Axe] = "_1363",

[Weapon_IDs.WEAPONTYPE_Right_Epsilon] = "_1366",

[Weapon_IDs.WEAPONTYPE_Mace] = "_1504",

[Weapon_IDs.WEAPONTYPE_Sword_Mace] = "_1516",

[Weapon_IDs.WEAPONTYPE_Chain] = "_1519",

[Weapon_IDs.WEAPONTYPE_Stunner] = "_1522",

[Weapon_IDs.WEAPONTYPE_Golden_Mace] = "_1524",

[Weapon_IDs.WEAPONTYPE_Iron_Driver] = "_1529",

[Weapon_IDs.WEAPONTYPE_Spanner] = "_1531",

[Weapon_IDs.WEAPONTYPE_Arc_Wand] = "_1610",

[Weapon_IDs.WEAPONTYPE_Mighty_Staff] = "_1613",

[Weapon_IDs.WEAPONTYPE_Blessed_Wand] = "_1614",

[Weapon_IDs.WEAPONTYPE_Bone_Wand] = "_1615",

[Weapon_IDs.WEAPONTYPE_CrossBow] = "_1710",

[Weapon_IDs.WEAPONTYPE_Arbalest] = "_1713",

[Weapon_IDs.WEAPONTYPE_Kakkung] = "_1714",

[Weapon_IDs.WEAPONTYPE_Hunter_Bow] = "_1718",

[Weapon_IDs.WEAPONTYPE_Bow_Of_Rudra] = "_1720",

[Weapon_IDs.WEAPONTYPE_Waghnakh] = "_1801",

[Weapon_IDs.WEAPONTYPE_Knuckle_Duster] = "_1803",

[Weapon_IDs.WEAPONTYPE_Hora] = "_1805",

[Weapon_IDs.WEAPONTYPE_Fist] = "_1807",

[Weapon_IDs.WEAPONTYPE_Claw] = "_1809",

[Weapon_IDs.WEAPONTYPE_Finger] = "_1811",

[Weapon_IDs.WEAPONTYPE_Kaiser_Knuckle] = "_1813",

[Weapon_IDs.WEAPONTYPE_Berserk] = "_1814",

[Weapon_IDs.WEAPONTYPE_Rante] = "_1956",

[Weapon_IDs.WEAPONTYPE_Tail] = "_1958",

[Weapon_IDs.WEAPONTYPE_Whip] = "_1960",

[Weapon_IDs.WEAPONTYPE_Bible] = "_1550",

[Weapon_IDs.WEAPONTYPE_Book_Of_Billows] = "_1553",

[Weapon_IDs.WEAPONTYPE_Book_Of_Mother_Earth] = "_1554",

[Weapon_IDs.WEAPONTYPE_Book_Of_Blazing_Sun] = "_1555",

[Weapon_IDs.WEAPONTYPE_Book_Of_Gust_Of_Wind] = "_1556",

[Weapon_IDs.WEAPONTYPE_Book_Of_The_Apocalypse] = "_1557",

[Weapon_IDs.WEAPONTYPE_Girls_Diary] = "_1558",

[Weapon_IDs.WEAPONTYPE_Staff_Of_Soul] = "_1472",

[Weapon_IDs.WEAPONTYPE_Wizardy_Staff] = "_1473"

}

Expansion_Weapon_IDs = {

[Weapon_IDs.WEAPONTYPE_Main_Gauche] = Weapon_IDs.WEAPONTYPE_SHORTSWORD,

[Weapon_IDs.WEAPONTYPE_Stiletto] = Weapon_IDs.WEAPONTYPE_SHORTSWORD,

[Weapon_IDs.WEAPONTYPE_Gladius] = Weapon_IDs.WEAPONTYPE_SHORTSWORD,

[Weapon_IDs.WEAPONTYPE_Zeny_Knife] = Weapon_IDs.WEAPONTYPE_SHORTSWORD,

[Weapon_IDs.WEAPONTYPE_Poison_Knife] = Weapon_IDs.WEAPONTYPE_SHORTSWORD,

[Weapon_IDs.WEAPONTYPE_Princess_Knife] = Weapon_IDs.WEAPONTYPE_SHORTSWORD,

[Weapon_IDs.WEAPONTYPE_Sasimi] = Weapon_IDs.WEAPONTYPE_SHORTSWORD,

[Weapon_IDs.WEAPONTYPE_Lacma] = Weapon_IDs.WEAPONTYPE_SHORTSWORD,

[Weapon_IDs.WEAPONTYPE_Tsurugi] = Weapon_IDs.WEAPONTYPE_SWORD,

[Weapon_IDs.WEAPONTYPE_Ring_Pommel_Saber] = Weapon_IDs.WEAPONTYPE_SWORD,

[Weapon_IDs.WEAPONTYPE_Haedonggum] = Weapon_IDs.WEAPONTYPE_SWORD,

[Weapon_IDs.WEAPONTYPE_Saber] = Weapon_IDs.WEAPONTYPE_SWORD,

[Weapon_IDs.WEAPONTYPE_Jewel_Sword] = Weapon_IDs.WEAPONTYPE_SWORD,

[Weapon_IDs.WEAPONTYPE_Gaia_Sword] = Weapon_IDs.WEAPONTYPE_SWORD,

[Weapon_IDs.WEAPONTYPE_Twin_Edge_B] = Weapon_IDs.WEAPONTYPE_SWORD,

[Weapon_IDs.WEAPONTYPE_Twin_Edge_R] = Weapon_IDs.WEAPONTYPE_SWORD,

[Weapon_IDs.WEAPONTYPE_Priest_Sword] = Weapon_IDs.WEAPONTYPE_SWORD,

[Weapon_IDs.WEAPONTYPE_Katana] = Weapon_IDs.WEAPONTYPE_TWOHANDSWORD,

[Weapon_IDs.WEAPONTYPE_Bastard_Sword] = Weapon_IDs.WEAPONTYPE_TWOHANDSWORD,

[Weapon_IDs.WEAPONTYPE_Broad_Sword] = Weapon_IDs.WEAPONTYPE_TWOHANDSWORD,

[Weapon_IDs.WEAPONTYPE_Violet_Fear] = Weapon_IDs.WEAPONTYPE_TWOHANDSWORD,

[Weapon_IDs.WEAPONTYPE_Lance] = Weapon_IDs.WEAPONTYPE_SPEAR,

[Weapon_IDs.WEAPONTYPE_Partizan] = Weapon_IDs.WEAPONTYPE_SPEAR,

[Weapon_IDs.WEAPONTYPE_Trident] = Weapon_IDs.WEAPONTYPE_SPEAR,

[Weapon_IDs.WEAPONTYPE_Halberd] = Weapon_IDs.WEAPONTYPE_SPEAR,

[Weapon_IDs.WEAPONTYPE_Crescent_Scythe] = Weapon_IDs.WEAPONTYPE_SPEAR,

[Weapon_IDs.WEAPONTYPE_Zephyrus] = Weapon_IDs.WEAPONTYPE_SPEAR,

[Weapon_IDs.WEAPONTYPE_Hammer] = Weapon_IDs.WEAPONTYPE_AXE,

[Weapon_IDs.WEAPONTYPE_Buster] = Weapon_IDs.WEAPONTYPE_AXE,

[Weapon_IDs.WEAPONTYPE_Brood_Axe] = Weapon_IDs.WEAPONTYPE_AXE,

[Weapon_IDs.WEAPONTYPE_Right_Epsilon] = Weapon_IDs.WEAPONTYPE_AXE,

[Weapon_IDs.WEAPONTYPE_Mace] = Weapon_IDs.WEAPONTYPE_MACE,

[Weapon_IDs.WEAPONTYPE_Sword_Mace] = Weapon_IDs.WEAPONTYPE_MACE,

[Weapon_IDs.WEAPONTYPE_Chain] = Weapon_IDs.WEAPONTYPE_MACE,

[Weapon_IDs.WEAPONTYPE_Stunner] = Weapon_IDs.WEAPONTYPE_MACE,

[Weapon_IDs.WEAPONTYPE_Golden_Mace] = Weapon_IDs.WEAPONTYPE_MACE,

[Weapon_IDs.WEAPONTYPE_Iron_Driver] = Weapon_IDs.WEAPONTYPE_MACE,

[Weapon_IDs.WEAPONTYPE_Spanner] = Weapon_IDs.WEAPONTYPE_MACE,

[Weapon_IDs.WEAPONTYPE_Arc_Wand] = Weapon_IDs.WEAPONTYPE_ROD,

[Weapon_IDs.WEAPONTYPE_Mighty_Staff] = Weapon_IDs.WEAPONTYPE_ROD,

[Weapon_IDs.WEAPONTYPE_Blessed_Wand] = Weapon_IDs.WEAPONTYPE_ROD,

[Weapon_IDs.WEAPONTYPE_Bone_Wand] = Weapon_IDs.WEAPONTYPE_ROD,

[Weapon_IDs.WEAPONTYPE_CrossBow] = Weapon_IDs.WEAPONTYPE_BOW,

[Weapon_IDs.WEAPONTYPE_Arbalest] = Weapon_IDs.WEAPONTYPE_BOW,

[Weapon_IDs.WEAPONTYPE_Kakkung] = Weapon_IDs.WEAPONTYPE_BOW,

[Weapon_IDs.WEAPONTYPE_Hunter_Bow] = Weapon_IDs.WEAPONTYPE_BOW,

[Weapon_IDs.WEAPONTYPE_Bow_Of_Rudra] = Weapon_IDs.WEAPONTYPE_BOW,

[Weapon_IDs.WEAPONTYPE_Waghnakh] = Weapon_IDs.WEAPONTYPE_KNUKLE,

[Weapon_IDs.WEAPONTYPE_Knuckle_Duster] = Weapon_IDs.WEAPONTYPE_KNUKLE,

[Weapon_IDs.WEAPONTYPE_Hora] = Weapon_IDs.WEAPONTYPE_KNUKLE,

[Weapon_IDs.WEAPONTYPE_Fist] = Weapon_IDs.WEAPONTYPE_KNUKLE,

[Weapon_IDs.WEAPONTYPE_Claw] = Weapon_IDs.WEAPONTYPE_KNUKLE,

[Weapon_IDs.WEAPONTYPE_Finger] = Weapon_IDs.WEAPONTYPE_KNUKLE,

[Weapon_IDs.WEAPONTYPE_Kaiser_Knuckle] = Weapon_IDs.WEAPONTYPE_KNUKLE,

[Weapon_IDs.WEAPONTYPE_Berserk] = Weapon_IDs.WEAPONTYPE_KNUKLE,

[Weapon_IDs.WEAPONTYPE_Rante] = Weapon_IDs.WEAPONTYPE_WHIP,

[Weapon_IDs.WEAPONTYPE_Tail] = Weapon_IDs.WEAPONTYPE_WHIP,

[Weapon_IDs.WEAPONTYPE_Whip] = Weapon_IDs.WEAPONTYPE_WHIP,

[Weapon_IDs.WEAPONTYPE_Bible] = Weapon_IDs.WEAPONTYPE_BOOK,

[Weapon_IDs.WEAPONTYPE_Book_Of_Billows] = Weapon_IDs.WEAPONTYPE_BOOK,

[Weapon_IDs.WEAPONTYPE_Book_Of_Mother_Earth] = Weapon_IDs.WEAPONTYPE_BOOK,

[Weapon_IDs.WEAPONTYPE_Book_Of_Blazing_Sun] = Weapon_IDs.WEAPONTYPE_BOOK,

[Weapon_IDs.WEAPONTYPE_Book_Of_Gust_Of_Wind] = Weapon_IDs.WEAPONTYPE_BOOK,

[Weapon_IDs.WEAPONTYPE_Book_Of_The_Apocalypse] = Weapon_IDs.WEAPONTYPE_BOOK,

[Weapon_IDs.WEAPONTYPE_Girls_Diary] = Weapon_IDs.WEAPONTYPE_BOOK,

[Weapon_IDs.WEAPONTYPE_Staff_Of_Soul] = Weapon_IDs.WPCLASS_TWOHANDROD,

[Weapon_IDs.WEAPONTYPE_Wizardy_Staff] = Weapon_IDs.WPCLASS_TWOHANDROD

}

WeaponHitWaveNameTable = {

[Weapon_IDs.WEAPONTYPE_NONE] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_SHORTSWORD] = "_hit_sword.wav",

[Weapon_IDs.WEAPONTYPE_SWORD] = "_hit_sword.wav",

[Weapon_IDs.WEAPONTYPE_TWOHANDSWORD] = "_hit_sword.wav",

[Weapon_IDs.WEAPONTYPE_SPEAR] = "_hit_spear.wav",

[Weapon_IDs.WEAPONTYPE_TWOHANDSPEAR] = "_hit_spear.wav",

[Weapon_IDs.WEAPONTYPE_AXE] = "_hit_axe.wav",

[Weapon_IDs.WEAPONTYPE_TWOHANDAXE] = "_hit_axe.wav",

[Weapon_IDs.WEAPONTYPE_MACE] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_TWOHANDMACE] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_ROD] = "_hit_rod.wav",

[Weapon_IDs.WEAPONTYPE_BOW] = "_hit_arrow.wav",

[Weapon_IDs.WEAPONTYPE_KNUKLE] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_INSTRUMENT] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_WHIP] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_BOOK] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_CATARRH] = "_hit_mace.wav",

[Weapon_IDs.WPCLASS_GUN_HANDGUN] = "_hit_±ÇÃÑ.wav",

[Weapon_IDs.WPCLASS_GUN_RIFLE] = "_hit_¶óÀÌÇÃ.wav",

[Weapon_IDs.WPCLASS_GUN_GATLING] = "_hit_mace.wav",

[Weapon_IDs.WPCLASS_GUN_SHOTGUN] = "_hit_mace.wav",

[Weapon_IDs.WPCLASS_GUN_GRANADE] = "_hit_mace.wav",

[Weapon_IDs.WPCLASS_SYURIKEN] = "_hit_mace.wav",

[Weapon_IDs.WPCLASS_TWOHANDROD] = "_hit_rod.wav",

[Weapon_IDs.WEAPONTYPE_SHORTSWORD_SHORTSWORD] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_SWORD_SWORD] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_AXE_AXE] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_SHORTSWORD_SWORD] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_SHORTSWORD_AXE] = "_hit_mace.wav",

[Weapon_IDs.WEAPONTYPE_SWORD_AXE] = "_hit_mace.wav"

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  08/12/12
  • Last Seen:  

i do the same i can see sprites in game but when i do attack the weapon is gone

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  04/26/12
  • Last Seen:  

- It's working nice and all, thanks for the info guys... just one thing, when a character equips one of my custom weapons that are listed in weapontable.lub, the ASPD becomes 0, oddly enough... Anyone know whats going on?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...