PapaZola Posted January 17, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Share 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 Link to comment Share on other sites More sharing options...
1 Lighta Posted January 18, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Zeiyan Posted January 18, 2013 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 275 Reputation: 23 Joined: 01/06/13 Last Seen: September 1, 2024 Share 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 Link to comment Share on other sites More sharing options...
Mystery Posted January 18, 2013 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share 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 Link to comment Share on other sites More sharing options...
PapaZola Posted January 18, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
clydelion Posted January 18, 2013 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share 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 Link to comment Share on other sites More sharing options...
Zeiyan Posted January 18, 2013 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 275 Reputation: 23 Joined: 01/06/13 Last Seen: September 1, 2024 Share 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 Link to comment Share on other sites More sharing options...
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)
Link to comment
Share on other sites
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.