Jump to content
  • 0
MikZ

Failed assertion Achievement

Question

Good day!

I found this error in my map server.

What does this mean?

achievement.c:727: 'amount ! =0! in function 'achievement_validate_zeny
./map-server() [0x62c013]
./map-server() [0x408f03]
./map-server() [0x51f569]
./map-server() [0x50b1c1]
plugins/HPhooking_map.so(HP_npc_sellist+0x97) [0x7f8d12f9757]
./map-server() [0x46a51a]
./map-server() [0x4abddf]
./map-server() [0x637fde]
./map-server(main+0x2ca) [0x40844a]
/lib64/libc.so.6(==libc=start=main+0xf5) [0x7f8df3a31445]

 

please help me fix this. thanks!

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 1

 'amount ! =0! in function 'achievement_validate_zeny

this is pretty explicit, it means you put a zeny achievement in the achievement db with Goal: 0, which is invalid, because players cannot spend -0 or gain +0 zeny

Share this post


Link to post
Share on other sites
  • 0
6 minutes ago, meko said:

 'amount ! =0! in function 'achievement_validate_zeny

this is pretty explicit, it means you put a zeny achievement in the achievement db with Goal: 0, which is invalid, because players cannot spend -0 or gain +0 zeny

Hi, I just updated my git. Where to find this achievement thing?

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, meko said:

db/(pre-)re/achiemement_db.conf

@meko I cannot find any goal: 0, and i didn't touch this part.

EDIT by meko:
https://0bin.net/paste/CvdHKAJrVAvguh9T#qM5mdxGE3dTyBzf+TwsoGQMZADrr2VGohwO8eDKc3A5

(please use a pastebin service when you have a lot of lines to paste)

 

Share this post


Link to post
Share on other sites
  • 0

@MikZ yes, nevermind, it seems this function is actually called from pc.c when a player spends or obtains zeny.
I'll submit a patch shortly

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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