just set ClassNum for weapons to values as in item_db.txt
e.g.
1254,Jamadhar,Jamadhar,4,37200,,1500,165,,1,0,0x00001000,7,2,34,3,33,1,16,{},{},{}
[1254] = {
unidentifiedDisplayName = "Katar",
unidentifiedResourceName = "Д«ЕёёЈ",
unidentifiedDescriptionName = {
"Unknown Item. Can be identified by using a Magnifier.",
"Weight :^777777 150^000000",
},
identifiedDisplayName = "Jamadhar",
identifiedResourceName = "АЪё¶ґЩёЈ",
identifiedDescriptionName = {
"...skip....",
},
slotCount = 0,
ClassNum = 16, -- <<<<<<<<<<<<<<<<<<<<
},
PS: 7-16 have some problems with timers (new packet) & logoff problem
PS2: from version 2012-07-16aRagexeRE.exe client supports weaponid > 30 up to 97
so if you decompile latest itemInfo.lub it contains for example
[1207] = {
unidentifiedDisplayName = "Dagger",
unidentifiedResourceName = "іЄАМЗБ",
unidentifiedDescriptionName = {
"Unknown Item. Can be identified by using a Magnifier.",
"Weight :^777777 60^000000",
},
identifiedDisplayName = "Main Gauche",
identifiedResourceName = "ёБ°нЅґ",
identifiedDescriptionName = {
"...skip...",
},
slotCount = 3,
ClassNum = 31, -- <<<<<<<<<<<<<<<<
},
you should change it to 1 as in item_db.txt, elseware it will cause to crash in 2012-06-18aRagexeRE.exe
in 2012-07-16aRagexeRE.exe it looks like