Jump to content

Recommended Posts

Posted

vending.c:234: error: too few arguments to function 'pc_payzeny'
vending.c:237: error: too few arguments to function 'pc_getzeny'
vending.c:256: error: too few arguments to function 'pc_payzeny'
vending.c:259: error: too few arguments to function 'pc_getzeny'

 

It's just missing the LOG entry in the parameter

Posted (edited)

vending.c:234: error: too few arguments to function 'pc_payzeny'

vending.c:237: error: too few arguments to function 'pc_getzeny'

vending.c:256: error: too few arguments to function 'pc_payzeny'

vending.c:259: error: too few arguments to function 'pc_getzeny'

 

It's just missing the LOG entry in the parameter

 

Uhmm also i forgot to add this in vending.c

char output[1024]; // Extended Vending system [Lilith]

 

But how about this ?

clif.c: In function 'clif_parse_OpenVending':
clif.c:11922: error: 'struct map_session_data' has no member named 'vend_loot'
clif.c:11929: error: 'struct map_session_data' has no member named 'vend_loot'
clif.c:11956: error: 'struct map_session_data' has no member named 'vend_loot'
Edited by Lelouch vi Britannia
Posted

Here patch for version 17061, and not show any error, inclusive my dialog error . i am using 2012-04-10aRagexeRE.

@TeamSpeakUser

Sorry, i mistyped.

fixed.

 

can i use on 17132 ?

Is that from post #135 ? I tryed that also but there are still errors here...

 

c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(69): error C2039: 'extended_vending' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(137): error C2039: 'extended_vending' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(138): error C2039: 'item_zeny' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(150): error C2039: 'item_cash' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(229): error C2039: 'extended_vending' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(230): error C2039: 'item_zeny' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(240): error C2039: 'item_cash' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(271): error C2039: 'ex_vending_info' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(287): error C2039: 'ex_vending_info' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(296): error C2039: 'ex_vending_info' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
Posted

 

Here patch for version 17061, and not show any error, inclusive my dialog error . i am using 2012-04-10aRagexeRE.

@TeamSpeakUser

Sorry, i mistyped.

fixed.

 

can i use on 17132 ?

Is that from post #135 ? I tryed that also but there are still errors here...

 

 

c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(69): error C2039: 'extended_vending' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(137): error C2039: 'extended_vending' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(138): error C2039: 'item_zeny' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(150): error C2039: 'item_cash' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(229): error C2039: 'extended_vending' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(230): error C2039: 'item_zeny' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(240): error C2039: 'item_cash' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(271): error C2039: 'ex_vending_info' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(287): error C2039: 'ex_vending_info' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'
c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\vending.c(296): error C2039: 'ex_vending_info' : is not a member of 'Battle_Config'
          c:\xxxxxxx\xxxxxxx\xxxxxxxx\rathena - revision 17132\src\map\battle.h(107) : see declaration of 'Battle_Config'

 

yup. so sad.. get many error. hmm

Posted (edited)

I have patched rev 17133  manually with [patch 17061] and dont give me any error...

if you are  patch it  manually, check your code one more time, maybe you missed some line or part of the code.

 

I hope this helps.

 

ok thx bro. work fine. :) thx alot. +1 for u. eheheehe  :)

Edited by mrlongshen
Posted (edited)

I have patched rev 17133  manually with [patch 17061] and dont give me any error...

if you are  patch it  manually, check your code one more time, maybe you missed some line or part of the code.

 

I hope this helps.

Thanks for this the only problem is that when you buy there is an "No MSG" thingy maybe its on client side. Uhmmm msgstringtable.txt ? i can't tell if its in it. But anyways thanks for this 2 thumbs up /no1 /no1

 

I think its in msgstringtable.txt in line 2367 to 2369

~2326#
~2327#
~2328#

 

I wish someone can make a dialogue for this it would be a great help /heh

Edited by Lelouch vi Britannia
Posted

I have patched rev 17133  manually with [patch 17061] and dont give me any error...

if you are  patch it  manually, check your code one more time, maybe you missed some line or part of the code.

 

I hope this helps.

Thanks for this the only problem is that when you buy there is an "No MSG" thingy maybe its on client side. Uhmmm msgstringtable.txt ? i can't tell if its in it. But anyways thanks for this 2 thumbs up /no1 /no1

 

I think its in msgstringtable.txt in line 2367 to 2369

 

~2326#
~2327#
~2328#

 

I wish someone can make a dialogue for this it would be a great help /heh

 

bro search for it. i think have at rathena. i found and i forgot where. hahahaa

Posted (edited)

I think its in msgstringtable.txt in line 2367 to 2369

 

~2326#
~2327#
~2328#

 

 Yup, its msgstringtable.txt but this not translated. i have the same issue:

 

Is working in rathena 17053, but when i buy something give me a dialog message with some numbers and "NO MSG".

i am using 2012-05-25aRagexeRE the packet are of the version.

can someone help me to fix that message please?

Regards

3535xsg.jpg

[media=]

[/media]

 

Edited by Angel
Posted

I have patched rev 17133  manually with [patch 17061] and dont give me any error...

if you are  patch it  manually, check your code one more time, maybe you missed some line or part of the code.

 

I hope this helps.

 

I use rev 17148...but i got this when I compile

 

vending.c: In function 'vending_purchasereq':
vending.c:267: warning: 'item_name' may be used uninitialized in this function

Posted

I have patched rev 17133  manually with [patch 17061] and dont give me any error...

if you are  patch it  manually, check your code one more time, maybe you missed some line or part of the code.

 

I hope this helps.

 

I use rev 17148...but i got this when I compile

 

vending.c: In function 'vending_purchasereq':
vending.c:267: warning: 'item_name' may be used uninitialized in this function

 

its nothing bro, i have it too. but i can use the vending :)

Posted (edited)

vending.c:234: error: too few arguments to function 'pc_payzeny'

vending.c:237: error: too few arguments to function 'pc_getzeny'

vending.c:256: error: too few arguments to function 'pc_payzeny'

vending.c:259: error: too few arguments to function 'pc_getzeny'

 

It's just missing the LOG entry in the parameter

How did you fix this ?

Problem solved : http://rathena.org/board/topic/74085-compiling-error-on-vendingc/

Edited by paolokupal
Posted

I got disconnected from the server whenever I choose Zeny or Cash, then I remembered I used mySQL for my item db.

 

 

So, those of you who use mysql as well, just run this script. Hope it helps someone...

 

(Change "item_db2" to whatever your custom item table name is. Not really necessary, but still..

 

 

REPLACE INTO `item_db2` VALUES (30000,'Zeny','Zeny','3',NULL,'10','10',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','');
REPLACE INTO `item_db2` VALUES (30001,'Cash','Cash','3',NULL,'10','10',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','');
Posted

I have patched rev 17133  manually with [patch 17061] and dont give me any error...

if you are  patch it  manually, check your code one more time, maybe you missed some line or part of the code.

 

I hope this helps.

 

I use rev 17148...but i got this when I compile

 

vending.c: In function 'vending_purchasereq':
vending.c:267: warning: 'item_name' may be used uninitialized in this function

Me too, using centos :)

Posted

 

I have patched rev 17133  manually with [patch 17061] and dont give me any error...

if you are  patch it  manually, check your code one more time, maybe you missed some line or part of the code.

 

I hope this helps.

 

I use rev 17148...but i got this when I compile

 

vending.c: In function 'vending_purchasereq':
vending.c:267: warning: 'item_name' may be used uninitialized in this function

 

its nothing bro, i have it too. but i can use the vending :)

 

Haha....ok2...btw...dont call me bro.I'm a girl /oops

Posted

 

 

I have patched rev 17133  manually with [patch 17061] and dont give me any error...

if you are  patch it  manually, check your code one more time, maybe you missed some line or part of the code.

 

I hope this helps.

 

I use rev 17148...but i got this when I compile

 

vending.c: In function 'vending_purchasereq':
vending.c:267: warning: 'item_name' may be used uninitialized in this function

 

its nothing bro, i have it too. but i can use the vending :)

 

Haha....ok2...btw...dont call me bro.I'm a girl /oops

 

off topic. can i have you phone number?

/meh

  • 2 weeks later...
Posted

Sorry if this question is out of place in this topic and forum.

 

I'm currently using eAthena Version SVN r720M, a 3ceam platform.
I was curious would this Extended Vending System designed for rAthena will work for me?

Posted

Sorry if this question is out of place in this topic and forum.

 

I'm currently using eAthena Version SVN r720M, a 3ceam platform.

I was curious would this Extended Vending System designed for rAthena will work for me?

Halo bro. U will not able to use this source on eathena. I think u may try request for porting it. Ok

Posted (edited)

Kindly please update this to work

in latest rAthena revision 17197..

Here is the error..

i49.tinypic.com/73jouo.jpg

Edited by Rebel
Posted

Kindly please update this to work

in latest rAthena revision 17197..

Here is the error..

i49.tinypic.com/73jouo.jpg

 

owner is quite bz with life bro . wait ok :)

Posted

Kindly please update this to work

in latest rAthena revision 17197..

Here is the error..

i49.tinypic.com/73jouo.jpg

try to change this

vending_openvending(sd, message, flag, data, len/8);

to

vending_openvending(sd, message, data, len/8);

 

latest rathena removed the flag.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...