echochan Posted July 7, 2020 Share Posted July 7, 2020 Hi. I added 2 items to my server, but when @ii fails to find them. The items are already in inteminfo, and they are shown in Server Database Editor. In item_db.txt: 470033,Elemental_Boots,Elemental Boots,4,0,0,600,0,10,0,1,0xFFFFFFFE,63,2,64,0,99,1,0, { [email protected] = getrefine(); [email protected] = 15; @.bonus2 = 0; if (@r>=7) bonus bMatk,20; if([email protected]>=9) autobonus "{ bonus bInt,70; bonus bMatkRate,10; }",20,5000,BF_WEAPON,"{ specialeffect2 EF_STEAL; }"; if (.r>=11) bonus2 bMagicAtkEle,Ele_All,10;bonus2 bSkillAtk,"MG_FIREBOLT",[email protected] + (2 * [email protected]); bonus2 bSkillAtk,"MG_COLDBOLT",[email protected] + (2 * [email protected]); bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",[email protected] + (2 * [email protected]); },{},{} 28394,Spirit_Kings_Ring,Spirit King's Ring,4,0,0,100,,0,0,0,0xFFFFFFFE,63,2,136,0,99,0,0,accessorycheck(); bonus bVit,5; bonus bDelayrate,-5; bonus2 bSkillCooldown,"SO_EARTHGRAVE",-2000; bonus2 bSkillCooldown,"SO_DIAMONDDUST",-2000; bonus2 bSkillVariableCast,"SO_VARETYR_SPEAR",-1500; bonus2 bSkillCooldown,"SO_VARETYR_SPEAR",-500; bonus2 bVariableCastrate,"SO_WARMER",-50; bonus2 bFixedCastrate,"SO_WARMER",-50; bonus2 bSkillCooldown,"SO_WARMER",-15000; bonus2 bSkillAtk,"SO_DIAMONDDUST",BaseLevel/8; bonus2 bSkillAtk,"SO_EARTHGRAVE",BaseLevel/8; what else i have to do to get those items? Client Version Hexed 20140305 Quote Link to comment Share on other sites More sharing options...
0 rongmauhong Posted July 7, 2020 Share Posted July 7, 2020 Any error on mapserv console? 1 Quote Link to comment Share on other sites More sharing options...
0 echochan Posted July 7, 2020 Author Share Posted July 7, 2020 (edited) 59 minutes ago, rongmauhong said: Any error on mapserv console? I saw the errors, and fixed them, but now I'm getting: [Warning]: itemdb_parse_dbrow: Invalid id 470033 in line 13685 of "db/re/item_db.txt", skipping. How do I fix this? One of items I added now can't equip to nothing, but the script is right! In Server Database Editor, the configs are right too... Is there any program, site, idk, to help scripting? or validanting script? Also do I need to recompile everytime I change the item_db.txt? Edited July 7, 2020 by echochan Quote Link to comment Share on other sites More sharing options...
0 rongmauhong Posted July 8, 2020 Share Posted July 8, 2020 Currently rAthena has not updated item id to more than 65k, they are developing it, you can apply it but maybe it's not stable yet. Please check: https://github.com/rathena/rathena/pull/5141 Quote Link to comment Share on other sites More sharing options...
Hi. I added 2 items to my server, but when @ii fails to find them.
The items are already in inteminfo, and they are shown in Server Database Editor.
In item_db.txt:
470033,Elemental_Boots,Elemental Boots,4,0,0,600,0,10,0,1,0xFFFFFFFE,63,2,64,0,99,1,0, { [email protected] = getrefine(); [email protected] = 15; @.bonus2 = 0; if (@r>=7) bonus bMatk,20; if([email protected]>=9) autobonus "{ bonus bInt,70; bonus bMatkRate,10; }",20,5000,BF_WEAPON,"{ specialeffect2 EF_STEAL; }"; if (.r>=11) bonus2 bMagicAtkEle,Ele_All,10;bonus2 bSkillAtk,"MG_FIREBOLT",[email protected] + (2 * [email protected]); bonus2 bSkillAtk,"MG_COLDBOLT",[email protected] + (2 * [email protected]); bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",[email protected] + (2 * [email protected]); },{},{} 28394,Spirit_Kings_Ring,Spirit King's Ring,4,0,0,100,,0,0,0,0xFFFFFFFE,63,2,136,0,99,0,0,accessorycheck(); bonus bVit,5; bonus bDelayrate,-5; bonus2 bSkillCooldown,"SO_EARTHGRAVE",-2000; bonus2 bSkillCooldown,"SO_DIAMONDDUST",-2000; bonus2 bSkillVariableCast,"SO_VARETYR_SPEAR",-1500; bonus2 bSkillCooldown,"SO_VARETYR_SPEAR",-500; bonus2 bVariableCastrate,"SO_WARMER",-50; bonus2 bFixedCastrate,"SO_WARMER",-50; bonus2 bSkillCooldown,"SO_WARMER",-15000; bonus2 bSkillAtk,"SO_DIAMONDDUST",BaseLevel/8; bonus2 bSkillAtk,"SO_EARTHGRAVE",BaseLevel/8;what else i have to do to get those items?
Client Version Hexed 20140305
Link to comment
Share on other sites