Jump to content
  • 0

help Lilith Extended Vending System


uDe

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

Hello..

 

I've tried to remove the patch manually. But only this error appear. Anyone know how to fix this?

 

vending.c: In function 'vending_purchasereq':
vending.c:190:32: error: macro "msg_txt" passed 2 arguments, but takes just 1
vending.c:190:18: error: 'msg_txt' undeclared (first use in this function)
vending.c:190:18: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [obj_sql/vending.o] Error 1

 

My SVN : r17227

 

Source : http://rathena.org/board/topic/60817-extended-vending-system-18/

 

EDIT : Attached my vending.c vending.rar



Update : Problem solved.

 

Just found it out,

 

Change

 

sprintf(temp, msg_txt(sd,265), sd->status.name);

to

 

sprintf(temp, msg_txt(265), sd->status.name);

I don't know how this works. But, no more errors from map server.

Edited by uDe
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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...