Jump to content
  • 0

[Warning pc_bonus3: unknown type 1010 0 5 16!


Question

Posted

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!

6 answers to this question

Recommended Posts

  • 1
Posted

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.

Posted (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 by admireRO
Posted

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.

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...