Aeromesi 180 Posted November 22, 2014 So anyone have a solution to this problem? I've added everything in accessoryid.lub, accname.lub, and accname_eng.lubAlso in itemInfo.lub I've added my item. But everytime I run my exe I get the following error(s), client loads properly afterwards.And when I add the item to item_db2.conf, nothing gets loaded in the map-server but 0 entries Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted November 22, 2014 So anyone have a solution to this problem? I've added everything in accessoryid.lub, accname.lub, and accname_eng.lub Also in itemInfo.lub I've added my item. But everytime I run my exe I get the following error(s), client loads properly afterwards. And when I add the item to item_db2.conf, nothing gets loaded in the map-server but 0 entries Make sure that you add your custom item ouside the /* */ sign.. this is a common mistakes when using item_db2.conf. or please share your item_db2.conf? Quote Share this post Link to post Share on other sites
0 Aeromesi 180 Posted November 22, 2014 (edited) I got rid of all of them in my item_db2.conf. But what about the client related issues? I'll post everything I've done right now. accessoryid.lub ACCESSORY_runesofpower = 1400 accname.lub [ACCESSORY_IDs.ACCESSORY_runesofpower] = "_runesofpower" accname_eng.lub [ACCESSORY_IDs.ACCESSORY_runesofpower] = "_runesofpower" itemInfo.lub [40000] = { unidentifiedDisplayName = "", unidentifiedResourceName = "", unidentifiedDescriptionName = { "Unknown Item, can be identified by [Magnifier].", }, identifiedDisplayName = "Runes of Power", identifiedResourceName = "Runes of Power", identifiedDescriptionName = { "item description.", "vit + whatever", "Class :^777777 Costumes Equipment^000000", "Defense : ^7777770^000000", "Equipped on :^777777 Mid,Lower^000000", "Weight :^777777 0^000000", "Required Level :^777777 1^000000", "Applicable Job :^777777 Every Job^000000", }, slotCount = 0, ClassNum = 1400 }, And here's my item_db2.conf, again, i removed every single /* */ item_db: (// Items Additional Database/*{ // =================== Mandatory fields =============================== Id: ID (int) AegisName: "Aegis_Name" (string, optional if Inherit: true) Name: "Item Name" (string, optional if Inherit: true) // =================== Optional fields ================================ Type: Item Type (int, defaults to 3 = etc item) Buy: Buy Price (int, defaults to Sell * 2) Buy: Buy Price (int, defaults to Sell * 2) Sell: Sell Price (int, defaults to Buy / 2) Weight: Item Weight (int, defaults to 0) Atk: Attack (int, defaults to 0) Matk: Magical Attack (int, defaults to 0, ignored in pre-re) Def: Defense (int, defaults to 0) Range: Attack Range (int, defaults to 0) Slots: Slots (int, defaults to 0) Job: Job mask (int, defaults to all jobs = 0xFFFFFFFF) Upper: Upper mask (int, defaults to any = 0x3f) Gender: Gender (int, defaults to both = 2) Loc: Equip location (int, required value for equipment) WeaponLv: Weapon Level (int, defaults to 0) EquipLv: Equip required level (int, defaults to 0) EquipLv: [min, max] (alternative syntax with min / max level) Refine: Refineable (boolean, defaults to true) View: View ID (int, defaults to 0) BindOnEquip: true/false (boolean, defaults to false) Script: <" Script (it can be multi-line) "> OnEquipScript: <" OnEquip Script (can also be multi-line) "> OnUnequipScript: <" OnUnequip Script (can also be multi-line) "> // =================== Optional fields (item_db2 only) ================ Inherit: true/false (boolean, if true, inherit the values that weren't specified, from item_db.conf, else override it and use default values)},*/// THQ Quest Items// ============================================================={ Id: 7950 AegisName: "THG_Membership" Name: "THG Membership" Type: 3 Sell: 10 Weight: 10},{ Id: 7951 AegisName: "Token_Bag" Name: "Token Bag" Type: 3 Sell: 10 Weight: 10}, { Id: 1998 AegisName: "Jeramiah's_Jur" Name: "Jeramiah's Jur" Type: 3 Sell: 10 Weight: 10}, { Id: 1999 AegisName: "Zed's_Staff" Name: "Zed's Staff" Type: 3 Sell: 10 Weight: 10}, // Official Event Items that had their Effects removed after the event was completed { Id: 585 AegisName: "Wurst" Name: "Brusti" Type: 11 Buy: 2 Weight: 40 Script: <" itemheal rand(15,20),0; itemskill PR_MAGNIFICAT,3; ">}, { Id: 679 AegisName: "Gold_Pill" Name: "Pilule" Type: 0 Buy: 5000 Weight: 300 Script: <" percentheal 50,50; ">}, { Id: 2681 AegisName: "Republic_Ring" Name: "Republic Anniversary Ring" Type: 5 Buy: 20 Weight: 100 Loc: 136 Refine: false Script: <" bonus bAllStats,3; ">}, { Id: 5134 AegisName: "Pumpkin_Hat" Name: "Pumpkin-Head" Type: 5 Buy: 20 Weight: 200 Def: 2 Loc: 256 View: 206 Script: <" bonus2 bSubRace,RC_Demon,5; ">}, { Id: 5136 AegisName: "Santa's_Hat_" Name: "Louise's Santa Hat" Type: 5 Buy: 20 Weight: 100 Def: 3 Loc: 256 View: 20 Script: <" bonus bMdef,1; bonus bLuk,1; bonus3 bAutoSpellWhenHit,AL_HEAL,3,50; bonus3 bAutoSpellWhenHit,AL_BLESSING,10,50; ">}, { Id: 5145 AegisName: "Carnival_Joker_Jester" Name: "Carnival Jester" Type: 5 Buy: 10 Weight: 100 Loc: 256 View: 89 Script: <" bonus bAllStats,3; ">}, { Id: 5147 AegisName: "Baseball_Cap" Name: "Baseball Cap" Type: 5 Buy: 0 Weight: 200 Def: 3 Loc: 256 View: 216 Script: <" bonus2 bExpAddRace,RC_Boss,50; bonus2 bExpAddRace,RC_NonBoss,50; ">}, { Id: 5201 AegisName: "Party_Hat_B" Name: "2nd Anniversary Party Hat" Type: 5 Buy: 20 Weight: 300 Def: 3 Loc: 256 View: 144 Script: <" bonus bAllStats,3; ">}, { Id: 5202 AegisName: "Pumpkin_Hat_" Name: "Pumpkin Hat" Type: 5 Buy: 20 Weight: 200 Def: 2 Loc: 256 View: 206 Script: <" bonus bAllStats,2; bonus2 bSubRace,RC_Demon,5; bonus3 bAddMonsterDropItem,529,RC_DemiHuman,1500; ">}, { Id: 5204 AegisName: "Event_Pierrot_Nose" Name: "Rudolf's Red Nose" Type: 5 Buy: 20 Weight: 100 Loc: 1 Refine: false View: 49 Script: <" bonus2 bResEff,Eff_Blind,3000; bonus2 bAddMonsterDropItem,12130,30; ">}, { Id: 5264 AegisName: "Aussie_Flag_Hat" Name: "Australian Flag Hat" Type: 5 Buy: 20 Weight: 500 Def: 4 Loc: 256 View: 304 Script: <" bonus bAllStats,2; ">}, { Id: 5356 AegisName: "Pumpkin_Hat_H" Name: "Pumpkin Hat" Type: 5 Buy: 20 Weight: 200 Def: 2 Loc: 256 View: 206 Script: <" bonus bAllStats,2; bonus2 bSubRace,RC_Demon,5; bonus2 bMagicAddRace,RC_Demon,5; ">}, { Id: 5811 AegisName: "Santa_Beard" Name: "Santa Beard" Type: 5 Buy: 20 Weight: 100 Def: 5 Loc: 1 Refine: false View: 25 Script: <" bonus2 bSubRace,RC_Brute,5; ">}, { Id: 11702 AegisName: "Moon_Cookie" Name: "Moon Cookie" Type: 11 Buy: 0 Weight: 10 Script: <" sc_end SC_POISON; sc_end SC_SILENCE; sc_end SC_BLIND; sc_end SC_CONFUSION; sc_end SC_CURSE; sc_end SC_ILLUSION; itemskill AL_BLESSING,7; ">}, { Id: 12131 AegisName: "Lucky_Potion" Name: "Lucky Potion" Type: 0 Buy: 2 Weight: 100 Script: <" sc_start SC_FOOD_LUK,180000,15; ">}, { Id: 12143 AegisName: "Red_Can" Name: "Red Can" Type: 2 Buy: 50000 Weight: 300 Script: <" percentheal 25,25; ">}, // Event effect: Summon monster? Probably Rice_Cake. x_x { Id: 12199 AegisName: "Rice_Scroll" Name: "Rice Scroll" Type: 2 Buy: 0}, { Id: 12200 AegisName: "Event_Cake" Name: "Event Cake" Type: 2 Buy: 20 Weight: 50 Script: <" itemskill PR_MAGNIFICAT,3; ">}, { Id: 12238 AegisName: "New_Year_Rice_Cake_1" Name: "New Year Rice Cake" Type: 0 Buy: 20 Weight: 100 Script: <" percentheal 20,15; sc_start SC_FOOD_STR,1200000,3; sc_start SC_FOOD_INT,1200000,3; sc_start SC_FOOD_LUK,1200000,3; sc_start SC_MOVHASTE_INFINITY,5000,0; ">}, { Id: 12239 AegisName: "New_Year_Rice_Cake_2" Name: "New Year Rice Cake" Type: 0 Buy: 20 Weight: 100 Script: <" percentheal 20,15; sc_start SC_FOOD_DEX,1200000,3; sc_start SC_FOOD_AGI,1200000,3; sc_start SC_FOOD_VIT,1200000,3; sc_start SC_MOVHASTE_INFINITY,5000,0; ">}, // iRO St. Patrick's Day Event 2008// ============================================================= { Id: 12715 AegisName: "Black_Treasure_Chest" Name: "Black Treasure Chest" Type: 2 Buy: 0 Weight: 200 Script: <" callfunc "F_08stpattyseventbox"; ">}, // iRO Valentine's Day Event 2009// ============================================================= { Id: 12742 AegisName: "Valentine_Gift_Box_M" Name: "Valentine Gift Box" Type: 2 Buy: 10 Script: <" getitem 7946,1; ">}, { Id: 12743 AegisName: "Valentine_Gift_Box_F" Name: "Valentine Gift Box" Type: 2 Buy: 10 Script: <" getitem 7947,1; ">}, { Id: 12744 AegisName: "Chocolate_Box" Name: "Chocolate Box" Type: 2 Buy: 10 Script: <" getitem 558,1; ">}, { Id: 14466 AegisName: "Valentine's_Emblem_Box" Name: "Valentine's Emblem Box" Type: 2 Buy: 10 Script: <" getitem 5817,1; ">}, { Id: 7946 AegisName: "Gold_Ring_Of_Valentine" Name: "Gold Ring Of Valentine" Type: 3 Buy: 10}, { Id: 7947 AegisName: "Silver_Ring_Of_Valentine" Name: "Silver Ring Of Valentine" Type: 3 Buy: 10}, { Id: 7948 AegisName: "Box" Name: "Box" Type: 3 Buy: 10 Weight: 10}, { Id: 5817 AegisName: "Valentine's_Emblem" Name: "Valentine's Emblem" Type: 5 Buy: 10 Def: 3 Loc: 136 Refine: false Script: <" bonus bAtkRate,3; bonus bMatkRate,3; bonus bAllStats,2; bonus bFlee,10; bonus bAspd,1; bonus bMdef,3; bonus2 bSkillAtk,"AL_HEAL",10; bonus2 bSkillHeal,AL_HEAL,10; bonus2 bSkillHeal,AM_POTIONPITCHER,10; bonus2 bAddItemHealRate,IG_Potion,10; ">}, // iRO Halloween Event 2009// ============================================================= { Id: 5668 AegisName: "Weird_Pumpkin_Hat" Name: "Weird Pumpkin Hat" Type: 5 Buy: 20 Def: 5 Loc: 256 View: 206 Script: <" bonus bMdef,5; bonus2 bAddMonsterDropItem,12192,2500; ">}, { Id: 6298 AegisName: "Crushed_Pumpkin" Name: "Crushed Pumpkin" Type: 3 Buy: 0}, { Id: 6299 AegisName: "Worn_Fabric" Name: "Worn Fabric" Type: 3 Buy: 0}, // Old Tuxedo and Wedding Dress, will display the outfit when worn.// ================================================================== { Id: 2338 AegisName: "Wedding_Dress" Name: "Wedding Dress" Type: 5 Buy: 43000 Weight: 500 Job: 0xFFFFFFFE Loc: 16 OnEquipScript: <" sc_start SC_WEDDING,-1,0; "> OnUnequipScript: <" sc_end SC_WEDDING; ">}, { Id: 7170 AegisName: "Tuxedo" Name: "Tuxedo" Type: 5 Buy: 43000 Weight: 10 Job: 0xFFFFFFFE Gender: 1 Loc: 16 OnEquipScript: <" sc_start SC_WEDDING,-1,0; "> OnUnequipScript: <" sc_end SC_WEDDING; ">}, //Tales of Ragnarok{ Id: 40000 AegisName: "_runeofpower" Name: "Rune of Power" Type: 5 View: 1400}) Edited November 22, 2014 by Aeromesi Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted November 22, 2014 Its because of your itemID.. [40000] = if I'm not mistaken the range should be < 32767 Quote Share this post Link to post Share on other sites
0 GmOcean 92 Posted November 22, 2014 I also agree, you can't use items above 32767 yet in Herc without making a few src modifications first. Quote Share this post Link to post Share on other sites
0 Aeromesi 180 Posted November 22, 2014 Has anyone made these src modifications available in the forums? Quote Share this post Link to post Share on other sites
0 GmOcean 92 Posted November 22, 2014 Yes and No. They are in the forums, but have not been sanctioned by the dev's, nor have they been officially released through src_release, download or plugin system. You'd have to manually make all the changes yourself, and hope it doesn't break your server. I'm not sure if it still works on the newer revisions though. Quote Share this post Link to post Share on other sites
So anyone have a solution to this problem? I've added everything in accessoryid.lub, accname.lub, and accname_eng.lub
Also in itemInfo.lub I've added my item. But everytime I run my exe I get the following error(s), client loads properly afterwards.
And when I add the item to item_db2.conf, nothing gets loaded in the map-server but 0 entries
Share this post
Link to post
Share on other sites