Jump to content

Extended Vending System [1.8]


Lilith

Recommended Posts


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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 ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

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'
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

 

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  85
  • Reputation:   17
  • Joined:  12/25/11
  • Last Seen:  

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.

Extended_Vending_System_1.8.1 r17133.patch

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  85
  • Reputation:   17
  • Joined:  12/25/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  313
  • Reputation:   23
  • Joined:  12/27/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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 :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   4
  • Joined:  02/04/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  02/06/13
  • Last Seen:  

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,'','','');
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   12
  • Joined:  03/08/12
  • Last Seen:  

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 :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  313
  • Reputation:   23
  • Joined:  12/27/11
  • Last Seen:  

 

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

 

 

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

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/27/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  85
  • Reputation:   17
  • Joined:  12/25/11
  • Last Seen:  

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?

In first post are:

ExtendedVendingSystem_1.7_3CeAM.patch

 

ExtendedVendingSystem_1.7_eA.patch

 

Try this patches first in a local or test server.

Patch this manually

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  313
  • Reputation:   23
  • Joined:  12/27/11
  • Last Seen:  

hmm...my friend able use this.He use eathena. refer Luna Ragnarok Online

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

Kindly please update this to work

in latest rAthena revision 17197..

Here is the error..

i49.tinypic.com/73jouo.jpg

Edited by Rebel
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

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 :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

which patch is compatible for my revision?

Rathena version 16928

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

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.

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

×
×
  • Create New...