Jump to content
  • 0

[Warning pc_bonus3: unknown type 1010 0 5 16!


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

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!

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

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.

6s9ht5.jpg

Now you know what items to check.

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

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.

6s9ht5.jpg

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

Link to comment
Share on other sites

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.

×
×
  • Create New...