Jump to content
  • 0

(HELP) Extended Vending System 1.9.1 Support 17704


Diss

Question


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   1
  • Joined:  05/01/13
  • Last Seen:  

Hello rA im adding the Extended Vending System 1.9.1 Support 17704 but im using rev 17709 i got this error on vending.c

 

error

 

make[1]: Warning: File `vending.c' has modification time 5.8e+04 s in the future
        CC      vending.c
vending.c:842:2: warning: no newline at end of file
vending.c: In function ‘vending_purchasereq’:
vending.c:842: error: expected declaration or statement at end of input
vending.c:842: error: expected declaration or statement at end of input
vending.c: In function ‘vending_vendinglistreq’:
vending.c:842: error: expected declaration or statement at end of input
make[1]: *** [obj/vending.o] Error 1
make[1]: Leaving directory `/root/trunk/src/map'

 

 

 

 

Source

 

/**

 * Initialise the vending module
 * called in map::do_init
 */
void do_final_vending(void)
{
db_destroy(vending_db);
do_final_vending_autotrade(); //Make sure everything is cleared [Cydh]
}
 
/**
 * Destory the vending module
 * called in map::do_final
 */
void do_init_vending(void)
{
vending_db = idb_alloc(DB_OPT_BASE);
vending_nextid = 0;
}                                                                                <<<<<<<<<<<<<< line 842

 

anyone can help me to fix it or anyone have the extended vending system for rev17709

 

thanks in advance rA

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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