PapaZola Posted January 17, 2013 Posted January 17, 2013 hello rA im just like to asking why all my custom item_db2.when i use the item all show this here my item_db2 im used(database eAthena) 30048,White_Traveler_Hat,White Traveler Hat,5,20,,200,,3,,1,0xFFFFFFFF,7,2,256,,1,1,1048,{ bonus bAspdRate,20; bonus bCastrate,-10; bonus bCritAtkRate,4; },{},{} 30050,Aura_BlackRed,Aura BlackRed,5,20,,200,,3,,1,0xFFFFFFFF,7,2,1,,0,0,1050,{ bonus bIntravision,0; },{},{} 30071,Deviling_Rucksack,Deviling Rucksack,5,20,,200,,3,,1,0xFFFFFFFF,7,2,512,,0,0,1071,{ bonus2 bResEff,Eff_Blind,5000; bonus2 bResEff,Eff_Silence,5000; bonus2 bResEff,Eff_Sleep,5000; bonus2 bResEff,Eff_Curse,5000; bonus2 bResEff,Eff_Stun,5000; bonus2 bResEff,Eff_Bleeding,1000; },{},{} [Warning]: pc_bonus3: unknown type 1010 0 5 16! [Warning]: pc_bonus3: unknown type 1010 1 5 16! [Warning]: pc_bonus3: unknown type 1010 2 5 16! Quote
1 Lighta Posted January 18, 2013 Posted January 18, 2013 that warning mean pc_bonus3 receive a not handled SP_X (bonus type) and therefore throw you an error. You can look what this type is in : map.h, here for 1010 = SP_SUBELE, this 1010 could also be set in const.txt to be used in script/item use. Now that you know wich type is wrong you can look at pc.c what wrong and/or rectify src/item/script. nb: From warning message and item you quote I doubt it's one of them causing those warnings since you only using bonus and bonus2 in those itemscript while src stating it's a bonus3 fault. Quote
Zeiyan Posted January 18, 2013 Posted January 18, 2013 (edited) i have the same problem but mine says [pc_bonus2: unknown type 0 7 15] i have not even put a bonus to my item yet. Edited January 18, 2013 by admireRO Quote
Mystery Posted January 18, 2013 Posted January 18, 2013 From recent topics I've came across.. some of these pc_bonus issues are caused by either you indicating the wrong bonuses (i.e. they don't exist in the server or spelt wrong, etc.) or you currently have to much set bonuses inside an item script. You can try increasing PC_BONUS' here: #define MAX_PC_BONUS 10 #define MAX_PC_SKILL_REQUIRE 5 #define MAX_PC_FEELHATE 3 Besides those... I'm not sure exactly what else could be the issue when it comes to pc_bonuses. Quote
PapaZola Posted January 18, 2013 Author Posted January 18, 2013 From recent topics I've came across.. some of these pc_bonus issues are caused by either you indicating the wrong bonuses (i.e. they don't exist in the server or spelt wrong, etc.) or you currently have to much set bonuses inside an item script. You can try increasing PC_BONUS' here: #define MAX_PC_BONUS 10 #define MAX_PC_SKILL_REQUIRE 5 #define MAX_PC_FEELHATE 3 Besides those... I'm not sure exactly what else could be the issue when it comes to pc_bonuses. im edy add #define MAX_PC_BONUS 10 #define MAX_PC_SKILL_REQUIRE 5 #define MAX_PC_FEELHATE 3 but still have warning Quote
clydelion Posted January 18, 2013 Posted January 18, 2013 Here's the debug technique I made. First diff my mod: http://upaste.me/raw/6e40508943049cf0 Then your map server will start throwing out more detailed warnings. Now you know what items to check. 2 Quote
Zeiyan Posted January 18, 2013 Posted January 18, 2013 Here's the debug technique I made. First diff my mod: http://upaste.me/raw/6e40508943049cf0 Then your map server will start throwing out more detailed warnings. Now you know what items to check. sir im also pretty new, the diff you mentioned, should i add it to my pc.c.txt or replace my pc.txt with that? thanks in advance Quote
Question
PapaZola
hello rA
im just like to asking why all my custom item_db2.when i use the item all show this
here my item_db2 im used(database eAthena)
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.