Jump to content
  • 0

Mensege Console


Scofield

Question


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.03
  • Content Count:  265
  • Reputation:   11
  • Joined:  01/11/13
  • Last Seen:  

this message keeps appearing on my console wanted to know why

 

 

 

[Alerta]: pc_bonus: unknown type 0 50 !
 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

https://github.com/rathena/rathena/blob/master/src/map/pc.c#L2729

it means you have an item bonus that is not define at the constant

https://github.com/rathena/rathena/blob/master/db/const.txt#L479

all these are constant

for example: you can actually do

bonus 13, 10;

instead of

bonus bstr, 10;

both of them works the same

for your error message

you must have used a wrong constant name, which are not defined in the const.txt

example like

bonus batkkrange, 5; <-- batkkrange is not a defined constant, its a typo, thus it is read as 0

so try to look for an item that has something like

bonus <something>, 50;

  • Upvote 1
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...