Judas Posted February 14, 2013 Posted February 14, 2013 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 Quote
Lelouch vi Britannia Posted February 14, 2013 Posted February 14, 2013 (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 February 14, 2013 by Lelouch vi Britannia Quote
mrlongshen Posted February 16, 2013 Posted February 16, 2013 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 ? Quote
Lelouch vi Britannia Posted February 17, 2013 Posted February 17, 2013 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' Quote
mrlongshen Posted February 17, 2013 Posted February 17, 2013 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 Quote
Angel Posted February 17, 2013 Posted February 17, 2013 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 2 Quote
mrlongshen Posted February 17, 2013 Posted February 17, 2013 (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 February 17, 2013 by mrlongshen Quote
Lelouch vi Britannia Posted February 17, 2013 Posted February 17, 2013 (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 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 Edited February 17, 2013 by Lelouch vi Britannia Quote
mrlongshen Posted February 17, 2013 Posted February 17, 2013 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 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 bro search for it. i think have at rathena. i found and i forgot where. hahahaa Quote
Angel Posted February 17, 2013 Posted February 17, 2013 (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 [media=] [/media] Edited February 17, 2013 by Angel Quote
EriN_KillerSoul Posted February 21, 2013 Posted February 21, 2013 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 Quote
mrlongshen Posted February 22, 2013 Posted February 22, 2013 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 Quote
paolokupal Posted February 23, 2013 Posted February 23, 2013 (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 February 23, 2013 by paolokupal Quote
xtiand Posted February 24, 2013 Posted February 24, 2013 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,'','',''); Quote
kyeme Posted February 24, 2013 Posted February 24, 2013 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 Quote
EriN_KillerSoul Posted February 27, 2013 Posted February 27, 2013 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 Quote
mrlongshen Posted February 27, 2013 Posted February 27, 2013 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 off topic. can i have you phone number? Quote
noheaven Posted March 8, 2013 Posted March 8, 2013 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? Quote
mrlongshen Posted March 8, 2013 Posted March 8, 2013 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 Quote
Angel Posted March 8, 2013 Posted March 8, 2013 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 Quote
EriN_KillerSoul Posted March 8, 2013 Posted March 8, 2013 hmm...my friend able use this.He use eathena. refer Luna Ragnarok Online Quote
Rebel Posted March 14, 2013 Posted March 14, 2013 (edited) Kindly please update this to work in latest rAthena revision 17197.. Here is the error.. i49.tinypic.com/73jouo.jpg Edited March 14, 2013 by Rebel Quote
mrlongshen Posted March 14, 2013 Posted March 14, 2013 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 Quote
Erba Posted March 16, 2013 Posted March 16, 2013 which patch is compatible for my revision? Rathena version 16928 Quote
solid2005 Posted March 18, 2013 Posted March 18, 2013 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. Quote
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.