so, how I calculate the number to allow some object just to be used by a job? or how I decompose the number to know which jobs are in the number?
EX. 263168 -> Alchemist + Blacksmith
btw: thanks for the fast response
0x00000400 + 0x00040000 = 0x00040400
As for sql entries I have no clue. I usually combine the values and paste it in and it autoconverts
501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(45,65),0; },{},{}
The class column is the 0xFFFFFFF
^item_db.txt
As for mysql
# id,name_english,name_japanese,type,price_buy,price_sell,weight,atk:matk,defence,range,slots,equip_jobs,equip_upper,equip_genders,equip_locations,weapon_level,equip_level,refineable,view,script,equip_script,unequip_script
501,Red_Potion,Red Potion,0,50,,70,,,,,4294967295,63,2,,,,,,itemheal rand(45,65),0;,,
equip_jobs is the same thing as the class column