simplexjay2 Posted July 8, 2014 Posted July 8, 2014 (edited) Just want to know if there's new working patch for Revision 17704 Already Have Working Copy but when i change item_vending.txt still not see the item on window Edited July 8, 2014 by simplexjay2 Quote
Yoona Posted July 22, 2014 Posted July 22, 2014 I applied this on the new revision, manually and it should work guys. Quote
PapaZola Posted July 22, 2014 Posted July 22, 2014 Support rAthena 11892. can i know which revision? Quote
Pillows Posted September 16, 2014 Posted September 16, 2014 (edited) Got this working on older eA Revisions. Replace "USESKILL_FAIL_LEVEL" with "0" without the quotations, and replace "LOG_TYPE_VENDING" with ""V"" including the quotations. Look at your output build in Visual Studio to know where to replace them, it should tell you the line number where the errors are. Since you have to put the patch in manually, I'd suggest downloading a .diff reader. I use GVIM. All the manual additions are straightforward, don't change any of it, except the changes above, even if it looks like it doesn't fit with the rest of the parameters. Be careful of the itemdb.c addition, make sure the code is above: /*====================================== * Applies gender restrictions according to settings. [Skotlex] *======================================*/ If all is done correctly, the only warning that comes up is "warning C4020: 'pc_delitem' : too many actual parameters", but you can ignore this. Or you can just remove the ",6", since you're using the eA_patch, to get rid of the warning. Edited September 20, 2014 by Pillows Quote
Archetype Saber Posted September 20, 2014 Posted September 20, 2014 Got it work on latest Revision, Today (9/20/2014)Got no Problem at all, I just follow the instructions then voila ! Quote
nazgul001 Posted October 14, 2014 Posted October 14, 2014 Hi i have a little problem, i cant patch this with my server. I download the server from https://github.com/rathena/rathena and i download the patch version 1.8.1. How can i patch this great feature to my server? Quote
qabakrall Posted November 14, 2014 Posted November 14, 2014 I have rAthena... With Patch I have 10 errors and 13 Warning... After use Virtual studio... Quote
GodriK Posted November 18, 2014 Posted November 18, 2014 I have rAthena... With Patch I have 10 errors and 13 Warning... After use Virtual studio... add the code by hand Quote
Radian Posted November 18, 2014 Posted November 18, 2014 if you guys are having issue with this. please see this Napster update this source code to latest. http://rathena.org/board/topic/97889-extended-vending-system-19-cleanup-fix/ Quote
Radian Posted January 22, 2015 Posted January 22, 2015 how to put the patch ExtendedVendingSystem_1.8.1.patch you mean It's either you apply it manually or like this https://rathena.org/board/topic/84289-how-to-apply-patch-by-use-diff-on-linux/ Quote
M4karov Posted February 19, 2015 Posted February 19, 2015 Does anyone know how to solve this problem ? PrintScreen Quote
Radian Posted February 19, 2015 Posted February 19, 2015 Does anyone know how to solve this problem ? PrintScreen You might need to follow some fixes and update it on this thread https://rathena.org/board/topic/97889-extended-vending-system-19-cleanup-fix/ Quote
M4karov Posted February 19, 2015 Posted February 19, 2015 Does anyone know how to solve this problem ? PrintScreen You might need to follow some fixes and update it on this thread https://rathena.org/board/topic/97889-extended-vending-system-19-cleanup-fix/ Thank you, had downloaded the current version of the system, without being using the latest update of the emulator . Quote
uDe Posted February 21, 2015 Posted February 21, 2015 (edited) Nice! Edited February 21, 2015 by uDe Quote
jumpjung Posted April 26, 2015 Posted April 26, 2015 Last rathena github patch fail please fix or add how to manual patch Quote
Kariton Revolution Posted March 10, 2016 Posted March 10, 2016 help is this working on latest rathena svn right now ? Quote
Kariton Revolution Posted March 12, 2016 Posted March 12, 2016 (edited) HI im having error on Tax Deduction .I change TCG to Poring Coin then i Enable the tax in conf/battle/items.conf i set Tax to: 2000means 1000 poring Coin = to 800 Poring CoinExample 1 Orange Potion = 1,000 Poring Coin after it sell it will tax 200 poring coin the vendor will recieve 800 Poring Coin like what i highlight in the image below " REVENUE 800" but the vendor still get the 1000 Poring COIN ?? how to fix this i follow this Rewrite in Vending.c And Here's my Vending.c /** * Extended Vending system [Lilith] **/ if(battle_config.extended_vending){ if(vsd->vend_loot == ITEMID_ZENY || !vsd->vend_loot) { //Logs (V)ending Zeny [Lupus] log_zeny(vsd, LOG_TYPE_VENDING, sd, (int)z); pc_payzeny(sd, (int)z, LOG_TYPE_VENDING, vsd); if( battle_config.vending_tax ) z -= z * (battle_config.vending_tax/10000.); pc_getzeny(vsd, (int)z, LOG_TYPE_VENDING, sd); } else if(vsd->vend_loot == ITEMID_CASH) { pc_paycash(sd,(int)z,0, LOG_TYPE_VENDING); pc_getcash(vsd,(int)z,0, LOG_TYPE_VENDING); } else { for( i = 0; i < MAX_INVENTORY; i++) if(sd->status.inventory.nameid == vsd->vend_loot) { struct item *item; item = &sd->status.inventory; pc_additem(vsd,item,(int)z, LOG_TYPE_VENDING); } pc_delitem(sd,pc_search_inventory(sd, vsd->vend_loot),(int)z,0,6, LOG_TYPE_VENDING); } }else{ pc_payzeny(sd, (int)z, LOG_TYPE_VENDING, vsd); if( battle_config.vending_tax ) z -= z * (battle_config.vending_tax/10000.); pc_getzeny(vsd, (int)z, LOG_TYPE_VENDING, sd); } @suyothegreat Another Scene, Char 1 Sells Banana for 1 cash Char 2 buy the banana on the side of Char 1 on the Chatbox says; Revenue from "Char2" is: 0 but the item is sold and cash is reduce from char 2 what would be the possible problem for this ? Tax Kadze already fix that. in vending.c rewrite pc_payzeny(sd, (int)z, LOG_TYPE_VENDING, vsd); if( battle_config.vending_tax ) z -= z * (battle_config.vending_tax/10000.); pc_getzeny(vsd, (int)z, LOG_TYPE_VENDING, sd); to else { pc_payzeny(sd, (int)z, LOG_TYPE_VENDING, vsd); if( battle_config.vending_tax ) z -= z * (battle_config.vending_tax/10000.); pc_getzeny(vsd, (int)z, LOG_TYPE_VENDING, sd); } Fix for 1.8.3 -Added new rev 17288 -Fix Tax Credit to @kadze [Note] Always have a backup and use first on test server. ExtendedVendingSystem_1.8.3.patch Thanks You ROCK ! Solid2005 this i can't fix Char 1 Sells: Apple for 1 CashAnd Char 2 Buy 1 Apple for 1 Cash.In order to buy the apple it needs 1zeny and 1 cash.If zeny is 0 I can't buy the item using cash. unless seperate the variable for zeny and for the custom, variable z is the zeny count. @suyothegreat Another Scene, Char 1 Sells Banana for 1 cash Char 2 buy the banana on the side of Char 1 on the Chatbox says; Revenue from "Char2" is: 0 but the item is sold and cash is reduce from char 2 what would be the possible problem for this ? Tax Kadze already fix that. in vending.c rewrite pc_payzeny(sd, (int)z, LOG_TYPE_VENDING, vsd); if( battle_config.vending_tax ) z -= z * (battle_config.vending_tax/10000.); pc_getzeny(vsd, (int)z, LOG_TYPE_VENDING, sd); to else { pc_payzeny(sd, (int)z, LOG_TYPE_VENDING, vsd); if( battle_config.vending_tax ) z -= z * (battle_config.vending_tax/10000.); pc_getzeny(vsd, (int)z, LOG_TYPE_VENDING, sd); } Fix for 1.8.3 -Added new rev 17288 -Fix Tax Credit to @kadze [Note] Always have a backup and use first on test server. ExtendedVendingSystem_1.8.3.patch Edited March 12, 2016 by Kariton Revolution Quote
AinsLord Posted June 3, 2016 Posted June 3, 2016 ahmm should i put this to battle/features.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 bump is this working on rAmod??? Quote
Archetype Saber Posted October 5, 2016 Posted October 5, 2016 it's really hard to manually put in your src, but you have to read carefully it's still working on newer revisions. Quote
mhielo12 Posted September 6, 2017 Posted September 6, 2017 Hi I manage to make it work.. but the problem is when i try to purchase an item in vend it says " you do not have enough items" even tho i have all the requirements what could be the problem? Quote
tathy121 Posted December 31, 2017 Posted December 31, 2017 Can someone help me add this system to my amulator? I've tried manually adding more the emulator is with the slightly different codes nowadays. Made several errors when compiling the emulator. If anyone with more advanced knowledge in c ++ could help me I would be very grateful, as this is only missing for me to review and for the online server. If someone decides to call me on Skype: [email protected] 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.