Jump to content
  • 0
Sign in to follow this  
Lelouch

failed assertion

Question

Has anyone experienced this...

[Warning]: pc_bonus: unknown type 0 0 !
[Error]: --- failed assertion --------------------------------------------
[Error]: pc.c:2997: '0' in function `pc_bonus'
[Error]: ./map-server(assert_report+0x80) [0x64b680]
[Error]: ./map-server(pc_bonus+0x2f4) [0x5459e4]
[Error]: ./map-server(buildin_bonus+0x1e5) [0x5774e5]
[Error]: ./map-server(run_func+0x13d) [0x59a7dd]
[Error]: ./map-server(run_script_main+0x350) [0x5afde0]
[Error]: ./map-server(script_run_use_script+0x35) [0x596225]
[Error]: plugins/HPMHooking_map.so(HP_script_run_use_script+0xa6) [0x7f840b24d066]
[Error]: ./map-server(status_calc_pc_+0xad4) [0x62fbd4]
[Error]: ./map-server(status_calc_bl_+0x18c) [0x62e9cc]
[Error]: ./map-server(pc_equipitem+0x3d1) [0x5558d1]
[Error]: --- end failed assertion ----------------------------------------
[Warning]: pc_bonus: unknown type 0 0 !
[Error]: --- failed assertion --------------------------------------------
[Error]: pc.c:2997: '0' in function `pc_bonus'
[Error]: ./map-server(assert_report+0x80) [0x64b680]
[Error]: ./map-server(pc_bonus+0x2f4) [0x5459e4]
[Error]: ./map-server(buildin_bonus+0x1e5) [0x5774e5]
[Error]: ./map-server(run_func+0x13d) [0x59a7dd]
[Error]: ./map-server(run_script_main+0x350) [0x5afde0]
[Error]: ./map-server(script_run_use_script+0x35) [0x596225]
[Error]: plugins/HPMHooking_map.so(HP_script_run_use_script+0xa6) [0x7f840b24d066]
[Error]: ./map-server(status_calc_pc_+0xad4) [0x62fbd4]
[Error]: ./map-server(status_calc_bl_+0x18c) [0x62e9cc]
[Error]: ./map-server(clif_parse_LoadEndAck+0xf4c) [0x4d3f5c]
[Error]: --- end failed assertion ----------------------------------------


I already checked my item_db2.conf but i didnt find any bonus script with this problem and also i didnt add any src changes but i have some plugins (afk costumeitem ExtendedVending fcp_bypass itemmap security) from this.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

This assert mean used wrong bonus with id 0. Most time this mean somewhere for bonus type was used contant, but this constant not exists and because this it used as 0.

Also error show what this is usescript.

 

It can be in item_db or item_db2.

 

Is this assert happened if you use any item?

Share this post


Link to post
Share on other sites
  • 0

This assert mean used wrong bonus with id 0. Most time this mean somewhere for bonus type was used contant, but this constant not exists and because this it used as 0.

Also error show what this is usescript.

 

It can be in item_db or item_db2.

 

Is this assert happened if you use any item?

 

Thanks for the info. Well after reading what you said i tryed to check the bonus scripts again and after a few search i found this -_- 

 

bonus bDefRatioAtkClass,Class_All;

But it should be

bonus bDefRatioAtkRace, RC_All;

Maybe i should double check the bonus script from rA to Herc first before adding it to Herc. Anyways this is solved thanks.

Share this post


Link to post
Share on other sites
  • 0

if you using clean item_db, issue in your constants.conf

It show what you have in item scripts command

bonus CONST, 5

Here CONST any constant name what you removed by some reason from constants.conf

Other case mean you using custom missing constant in CONST field

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.