solid2005 Posted October 24, 2013 Posted October 24, 2013 (edited) try to pc_paycash(sd,(int)z,0); pc_getcash(vsd,(int)z,0); Edited October 24, 2013 by solid2005 Quote
iraciz Posted October 25, 2013 Posted October 25, 2013 Solved! thank you so much for your support, this is perfect everything is woring properly now! Quote
bits Posted October 26, 2013 Posted October 26, 2013 (edited) For the life of me i have no idea how to patch this in my own git branch with svn's patch so i manually edited my source and here's the patch for git based if anyone interested. Current Head: 667f890c35f8fb04d73ac4b7f607269059ba4a16 (27 October 2013) Revision: r17690? Patch Version: 1.8.10 The patch: 0003-Added-Extended-Vending-System-by-Lilith.patch Edited October 26, 2013 by bits Quote
Blue Jem Posted November 7, 2013 Posted November 7, 2013 any one ??? this SCR files has not working Quote
Expectra Posted November 10, 2013 Posted November 10, 2013 Original topic and code here: link Idea: link When you use the skill vending there would be a menu that will pop up and you will choose what type of vending system do you like. • Zeny - You will purchase items using zeny.. • Cashpoints - purchase items using cashpoints • Item(your desired item) - purchase item using your desired items..(Example: TCG-7227) You can enable or disable the cash / item in file db/item_vending.txt5.PNG Vending title can be looks like: "[ITEM_ID] name" 2.PNG Version 1.8 preview: 3.PNG Changelog Version 1.4: Added support file 'item_vending.txt' for vending currency items ( Suggest by V e r T i g O ) Some fixes @reloaditemdb command will uprate item_vending.txt Max item in item_vending.txt is 98 ( default MAX_INVENTORY-2 ) 1 for zeny, 2 for cash, 98 for your items. Version 1.5:Now you can enable or disable Zeny/Cash in item_vending.txt. Just add/remove ID 30000 for Zeny or ID 30001 fo Cash Points Removed battle_config.enable_cash_vending Max items returned to MAX_INVENTORY Version 1.6:Now you can turn on or turn off Extended Vending System ( see conf/battle/items.conf ) Now, if your file item_vending.txt contains only 1 item the Select Window will be skipped Version 1.7:If file item_vending.txt is empty currency will be Zeny by default Added two configs to file conf/battle/items.conf Version 1.8:Added option for more info about buying ( see version 1.8 preview) Added option for add/remove ITEM_ID name from vending board ( Suggest by Pneuma ) All settings moved from conf/battle/items.conf to conf/battle/feature.conf conf/battle/feature.conf >// Extended Vending System [Lilith] // Enable or disable extended vending system? (Note 1) extended_vending: yes // Show currency's name in vending board? (Note 1) show_item_vending: yes // Show more info about buying? (Note 1) ex_vending_info: yes // Item ID for Zeny. Set to 0 if you don't want use Zeny. item_zeny: 30000 // Item ID for Cash. Set to 0 if you don't want use Cash. item_cash: 30001 db/item_vending.txt // Specific items for Vending System // Format: ItemID // Max items is equal MAX_INVENTORY ( 100 by default ) // TCG Card 7227 // Mithril Coin 674 // Silver Coin 675 // Bronze Coin 673 Modify your client data files: idnum2itemdisplaynametable.txt 30000#Zeny# 30001#Cash# idnum2itemresnametable.txt 30000#±ÝÈ# 30001#¹Ì½º¸±È# Enjoy. New: rAthena only: ExtendedVendingSystem_1.8.1.patch ExtendedVendingSystem_1.8.patch Old: ExtendedVendingSystem_1.7.1.patch ExtendedVendingSystem_1.7.2.patch ExtendedVendingSystem_1.7_3CeAM.patch ExtendedVendingSystem_1.7_eA.patch Tengo Un Error con Clif.c \src\map\clif.c(15985): error C2143: error de sintaxis : falta ';' delante de 'tipo' ..\src\map\clif.c(15987): error C2143: error de sintaxis : falta ';' delante de 'tipo' ..\src\map\clif.c(15988): error C2143: error de sintaxis : falta ';' delante de 'tipo' ..\src\map\clif.c(15990): error C2065: 'sd' : identificador no declarado ..\src\map\clif.c(15992): error C2065: 'sd' : identificador no declarado ..\src\map\clif.c(15992): error C2223: el operando izquierdo de '->fd' debe señalar a struct/union ..\src\map\clif.c(15996): error C2065: 'd' : identificador no declarado ..\src\map\clif.c(15997): error C2065: 'd' : identificador no declarado ..\src\map\clif.c(16000): error C2065: 'd' : identificador no declarado ..\src\map\clif.c(16001): error C2065: 'd' : identificador no declarado ..\src\map\clif.c(16003): error C2065: 'c' : identificador no declarado ..\src\map\clif.c(16003): error C2065: 'd' : identificador no declarado ..\src\map\clif.c(16003): error C2065: 'i' : identificador no declarado ..\src\map\clif.c(16003): error C2065: 'i' : identificador no declarado ..\src\map\clif.c(16003): error C2065: 'i' : identificador no declarado ..\src\map\clif.c(16004): error C2065: 'item' : identificador no declarado ..\src\map\clif.c(16004): error C2065: 'i' : identificador no declarado ..\src\map\clif.c(16004): warning C4047: '=' : 'int' es distinto en los niveles de direccionamiento indirecto de 'item_data *' ..\src\map\clif.c(16004): warning C4047: '!=' : 'int' es distinto en los niveles de direccionamiento indirecto de 'void *' ..\src\map\clif.c(16005): error C2065: 'item' : identificador no declarado ..\src\map\clif.c(16005): error C2223: el operando izquierdo de '->nameid' debe señalar a struct/union ..\src\map\clif.c(16005): error C2065: 'item' : identificador no declarado ..\src\map\clif.c(16005): error C2223: el operando izquierdo de '->nameid' debe señalar a struct/union ..\src\map\clif.c(16006): error C2065: 'c' : identificador no declarado ..\src\map\clif.c(16006): error C2065: 'item' : identificador no declarado ..\src\map\clif.c(16006): error C2223: el operando izquierdo de '->nameid' debe señalar a struct/union ..\src\map\clif.c(16007): error C2065: 'c' : identificador no declarado ..\src\map\clif.c(16010): error C2065: 'c' : identificador no declarado ..\src\map\clif.c(16011): error C2065: 'sd' : identificador no declarado ..\src\map\clif.c(16011): error C2223: el operando izquierdo de '->menuskill_id' debe señalar a struct/union ..\src\map\clif.c(16012): error C2065: 'sd' : identificador no declarado ..\src\map\clif.c(16012): error C2223: el operando izquierdo de '->menuskill_val' debe señalar a struct/union ..\src\map\clif.c(16012): error C2065: 'skill_lv' : identificador no declarado ..\src\map\clif.c(16013): error C2065: 'c' : identificador no declarado ..\src\map\clif.c(16016): error C2065: 'sd' : identificador no declarado ..\src\map\clif.c(16016): warning C4047: 'función' : 'map_session_data *' es distinto en los niveles de direccionamiento indirecto de 'int' ..\src\map\clif.c(16016): warning C4024: 'clif_skill_fail' : tipos distintos para el parámetro formal y el parámetro real 1 ..\src\map\clif.c(16017): warning C4098: 'clif_msgtable_num' : función 'void' que devuelve un valor ..\src\map\clif.c(16020): warning C4098: 'clif_msgtable_num' : función 'void' que devuelve un valor Ayuda por favor como resolverlo??? Quote
solid2005 Posted November 11, 2013 Posted November 11, 2013 (edited) This patch working on tortoise svn. Fix error centos. Add version compatible 11682. ExtendedVendingSystem_11682.patch Edited November 11, 2013 by solid2005 1 Quote
Blue Jem Posted November 11, 2013 Posted November 11, 2013 you have working files 100% i use latest This patch working on tortoise svn. Fix error centos. Add version compatible 11682. Quote
Expectra Posted November 11, 2013 Posted November 11, 2013 Tengo Un Pequeño Error ahora con la rAthena V. 17690 "0003-Added-Extended-Vending-System-by-Lilith" ..\src\map\skill.c(6370): warning C4013: 'clif_vend' sin definir; se supone que extern devuelve como resultado int ..\src\map\skill.c(6377): warning C4013: 'clif_displaymessagecolor' sin definir; se supone que extern devuelve como resultado int ..\src\map\skill.c(6377): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\skill.c(16150): error C2065: 'VEND_COLOR' : identificador no declarado ...\src\map\vending.c(74): warning C4013: 'clif_displaymessagecolor' sin definir; se supone que extern devuelve como resultado int ..\src\map\vending.c(74): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\vending.c(153): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\vending.c(164): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\vending.c(169): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\vending.c(175): error C2065: 'VEND_COLOR' : identificador no declarado NO se que poner ay o como resolverlo que debo de hacer?? Quote
solid2005 Posted November 12, 2013 Posted November 12, 2013 (edited) rAthena 17690 on svn already drop out. the latest revision on git is 11688. ExtendedVendingSystem_11688.patch.patch Edited November 12, 2013 by solid2005 Quote
iraciz Posted November 17, 2013 Posted November 17, 2013 Tengo Un Pequeño Error ahora con la rAthena V. 17690 "0003-Added-Extended-Vending-System-by-Lilith" ..\src\map\skill.c(6370): warning C4013: 'clif_vend' sin definir; se supone que extern devuelve como resultado int ..\src\map\skill.c(6377): warning C4013: 'clif_displaymessagecolor' sin definir; se supone que extern devuelve como resultado int ..\src\map\skill.c(6377): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\skill.c(16150): error C2065: 'VEND_COLOR' : identificador no declarado ...\src\map\vending.c(74): warning C4013: 'clif_displaymessagecolor' sin definir; se supone que extern devuelve como resultado int ..\src\map\vending.c(74): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\vending.c(153): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\vending.c(164): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\vending.c(169): error C2065: 'VEND_COLOR' : identificador no declarado ..\src\map\vending.c(175): error C2065: 'VEND_COLOR' : identificador no declarado NO se que poner ay o como resolverlo que debo de hacer?? Estas usando un parche para una version muy nueva o muy vieja de emulador, tienes que chequear primero la version de tu emulador, con la version del parche del vending extended, este vending es par emulador rathena obvio, version 17690, que parche de vending estas metiendole? Quote
Hardcode Posted November 24, 2013 Posted November 24, 2013 Can i Request Extended Vending System For rAthena Latest 17694? Quote
solid2005 Posted November 25, 2013 Posted November 25, 2013 i only update git version svn is out to date version. Quote
Hardcode Posted November 25, 2013 Posted November 25, 2013 Yeah i mean git version i think all latest rathena is git versioncan i have updated exteded vending sytem? Quote
Budots Posted December 9, 2013 Posted December 9, 2013 Is this working in latest rAthena ? rAthena17689 ? Quote
Yoona Posted December 9, 2013 Posted December 9, 2013 I got this error Im using the latest Revision now 1>..\src\map\vending.c(240): warning C4020: 'pc_paycash' : too many actual parameters 1>..\src\map\vending.c(241): warning C4020: 'pc_getcash' : too many actual parameters Quote
Lord Ganja Posted December 9, 2013 Posted December 9, 2013 I am using the latest rev of SVN. And I am currently using this one without error. http://rathena.org/board/topic/60817-extended-vending-system-18/?p=199710 Quote
Yoona Posted December 10, 2013 Posted December 10, 2013 I am using the latest rev of SVN. And I am currently using this one without error. http://rathena.org/board/topic/60817-extended-vending-system-18/?p=199710 Thanks! it works! Quote
solid2005 Posted December 10, 2013 Posted December 10, 2013 (edited) Fix compile error. 11764 rev svn patch. ExtendedVendingSystem_11764.patch Edited December 10, 2013 by solid2005 1 Quote
Mau Posted December 10, 2013 Posted December 10, 2013 (edited) It Works.. got no error Edited December 10, 2013 by Mau Quote
rmon008 Posted December 12, 2013 Posted December 12, 2013 Guys, when i'm trying to use the Zeny and Cash for vending the vend says " Sales carrie out : Zeny when i try to buy it says "you don't have enough items" *i guess its detecting that zeny and cash i an item* but i have zeny in my char i'm using item_db2 on sql '30000', 'Zeny', 'Zeny', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL'30001', 'Cash', 'Cash', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL Quote
Lord Ganja Posted December 13, 2013 Posted December 13, 2013 Guys, when i'm trying to use the Zeny and Cash for vending the vend says " Sales carrie out : Zeny when i try to buy it says "you don't have enough items" *i guess its detecting that zeny and cash i an item* but i have zeny in my char i'm using item_db2 on sql '30000', 'Zeny', 'Zeny', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL '30001', 'Cash', 'Cash', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL did you put this in your item_db2.txt? // Vending system 30000,Zeny,Zeny,3,,10,10,,,,,,,,,,,,,{},{},{} 30001,Cash,Cash,3,,10,10,,,,,,,,,,,,,{},{},{} Quote
rmon008 Posted December 14, 2013 Posted December 14, 2013 (edited) Guys, when i'm trying to use the Zeny and Cash for vending the vend says " Sales carrie out : Zeny when i try to buy it says "you don't have enough items" *i guess its detecting that zeny and cash i an item* but i have zeny in my char i'm using item_db2 on sql '30000', 'Zeny', 'Zeny', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL '30001', 'Cash', 'Cash', '3', '0', '10', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', NULL, NULL, NULL did you put this in your item_db2.txt? // Vending system 30000,Zeny,Zeny,3,,10,10,,,,,,,,,,,,,{},{},{} 30001,Cash,Cash,3,,10,10,,,,,,,,,,,,,{},{},{} no , because i'm using sql for item_db2 it even says " Conflicting item/script var 'Zeny', prioritising the script var " Edited December 14, 2013 by rmon008 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.