NilDigit Posted February 18, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 9 Joined: 02/04/16 Last Seen: December 10, 2023 Share Posted February 18, 2016 (edited) original by Napster ( https://rathena.org/board/topic/97889- ) equivalent ExtendedVendingSystem_1.9.4_r15149.diff very recommend use clean server for this patch. back up your server first before patch and use as your own risk. Step 1: download patch.diff and place to rAthena working directory. Step 2: in Git Bash, browse to rathena directory (cd command) and execute this command. patch -p1 -l < patch.diff or git apply patch.diff result should be. Step 3: migrate database by command. mysql --user=dbuser -p dbname < sql-files/upgrade_extended_vending_item.sql Step 4: re-compile.Step 5: start the server. test result with rAthena server commit "f8a8c9fe798c315a3a340eb5a484d275c5c543b2" (24 August 2016) Edit: Updated 10 August 2016 patch.diff Edited August 24, 2016 by NilDigit 9 Quote Link to comment Share on other sites More sharing options...
Jezu Posted February 18, 2016 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Share Posted February 18, 2016 (edited) +999 REP!! Edited February 18, 2016 by Jezu Quote Link to comment Share on other sites More sharing options...
Fratini Posted February 20, 2016 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 153 Reputation: 8 Joined: 07/01/14 Last Seen: May 3, 2018 Share Posted February 20, 2016 Nice man !! Thank you!! Quote Link to comment Share on other sites More sharing options...
Residue Posted March 5, 2016 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 06/08/15 Last Seen: February 6, 2018 Share Posted March 5, 2016 Very nice!! Quote Link to comment Share on other sites More sharing options...
Kariton Revolution Posted March 13, 2016 Group: Members Topic Count: 161 Topics Per Day: 0.03 Content Count: 429 Reputation: 5 Joined: 11/21/11 Last Seen: January 14, 2017 Share Posted March 13, 2016 (edited) sir can you help me about this? 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 only 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 @suyothegreatAnother Scene,Char 1 Sells Banana for 1 cashChar 2 buy the bananaon the side of Char 1on the Chatbox says; Revenue from "Char2" is: 0 but the item is sold and cash is reduce from char 2what would be the possible problem for this ?Tax Kadze already fix that. in vending.c rewritepc_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. @suyothegreatAnother Scene,Char 1 Sells Banana for 1 cashChar 2 buy the bananaon the side of Char 1on the Chatbox says; Revenue from "Char2" is: 0 but the item is sold and cash is reduce from char 2what would be the possible problem for this ?Tax Kadze already fix that. in vending.c rewritepc_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 13, 2016 by Kariton Revolution Quote Link to comment Share on other sites More sharing options...
TesLA Posted March 30, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 04/30/13 Last Seen: 37 minutes ago Share Posted March 30, 2016 HO!!I need it. Thanks you NilDigit!! Quote Link to comment Share on other sites More sharing options...
Yonko Posted April 2, 2016 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted April 2, 2016 (edited) hi i've successfully applied this manually but it has warning on compiles and errors on mapserver my clientinfo's lang type is 0 any of you got this errors too?EDIT: FIX now my problem is[Warning]: itemdb_search: Item ID 0 does not exists in the item_db. Using dummy data. //this stuff Edited April 6, 2016 by Yonko Quote Link to comment Share on other sites More sharing options...
Lelouch vi Britannia Posted April 29, 2016 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 715 Reputation: 84 Joined: 01/05/12 Last Seen: April 10, 2023 Share Posted April 29, 2016 Does any have an issue when the server restart all players that uses the extended vending system will turn all currency back into zeny? Quote Link to comment Share on other sites More sharing options...
NilDigit Posted June 7, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 9 Joined: 02/04/16 Last Seen: December 10, 2023 Author Share Posted June 7, 2016 Updated 8 June 2016, rAthena Commit 98fdf31fb33746261d19d701ea2dcbee7ee73730https://github.com/rathena/rathena/commit/98fdf31fb33746261d19d701ea2dcbee7ee73730 Quote Link to comment Share on other sites More sharing options...
Lelouch vi Britannia Posted June 30, 2016 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 715 Reputation: 84 Joined: 01/05/12 Last Seen: April 10, 2023 Share Posted June 30, 2016 Maybe for your next update remove the map_msg.conf.orig also please change this... vendings_db, sd->vender_id, sd->status.account_id, sd->status.char_id, sd->status.sex == 0 ? 'F' : 'M', map[sd->bl.m].name, sd->bl.x, sd->bl.y, message_sql, sd->state.autotrade, at ? at->dir : sd->ud.dir, at ? at->head_dir : sd->head_dir, at ? at->sit : pc_issit(sd)) != SQL_SUCCESS) { it should be this vendings_db, sd->vender_id, sd->status.account_id, sd->status.char_id, sd->status.sex == 0 ? 'F' : 'M', map[sd->bl.m].name, sd->bl.x, sd->bl.y, message_sql, sd->state.autotrade, at ? at->dir : sd->ud.dir, at ? at->head_dir : sd->head_dir, at ? at->sit : pc_issit(sd), sd->vend_loot ) != SQL_SUCCESS ) { 1 Quote Link to comment Share on other sites More sharing options...
REKT Posted July 1, 2016 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 206 Reputation: 11 Joined: 12/06/11 Last Seen: September 13, 2024 Share Posted July 1, 2016 Is the updated working? Quote Link to comment Share on other sites More sharing options...
M4karov Posted July 7, 2016 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted July 7, 2016 original by Napster ( https://rathena.org/board/topic/97889- ) equivalent ExtendedVendingSystem_1.9.4_r15149.diff very recommend use clean server for this patch. back up your server first before patch and use as your own risk. Step 1: download patch.diff and place to rAthena directory. Step 2: in Git Bash, browse to rathena directory (cd command) and execute this command. patch -p1 -l < patch.diff or git apply patch.diff result should be. Step 3: migrate database by command. mysql --user=dbuser -p dbname < sql-files/upgrade_extended_vending_item.sql Step 4: start the server. test result with rAthena server commit "98fdf31fb33746261d19d701ea2dcbee7ee73730" (June 8, 2016) Edit: Updated 8 June 2016 I found this warning at compile time: Use rAthena review of the day 07/07/2016. 1>c:\users\douglas\desktop\rathena-master\src\map\skill.c(7310): warning C4013: 'clif_vend' undefined; assuming extern returning int 2> login-server.vcxproj -> C:\Users\Douglas\Desktop\rathena-master\vcproj-10\..\login-server.exe Quote Link to comment Share on other sites More sharing options...
REKT Posted July 7, 2016 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 206 Reputation: 11 Joined: 12/06/11 Last Seen: September 13, 2024 Share Posted July 7, 2016 U need to define the 'clif_vend' maybe in the map.h or skill.h. Quote Link to comment Share on other sites More sharing options...
M4karov Posted July 11, 2016 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 Share Posted July 11, 2016 U need to define the 'clif_vend' maybe in the map.h or skill.h. How to do this? Quote Link to comment Share on other sites More sharing options...
NilDigit Posted August 10, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 9 Joined: 02/04/16 Last Seen: December 10, 2023 Author Share Posted August 10, 2016 Updated 10 August 2016, rAthena Commit 5fcb3bff058cf2268328aee8b74874acb896216bhttps://github.com/rathena/rathena/commit/5fcb3bff058cf2268328aee8b74874acb896216b Quote Link to comment Share on other sites More sharing options...
Azeroth Posted August 10, 2016 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Share Posted August 10, 2016 Thank you Quote Link to comment Share on other sites More sharing options...
Deleted User Posted August 10, 2016 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted August 10, 2016 original by Napster ( https://rathena.org/board/topic/97889- ) equivalent ExtendedVendingSystem_1.9.4_r15149.diff very recommend use clean server for this patch. back up your server first before patch and use as your own risk. Step 1: download patch.diff and place to rAthena working directory. Step 2: in Git Bash, browse to rathena directory (cd command) and execute this command. patch -p1 -l < patch.diff or git apply patch.diff result should be. Step 3: migrate database by command. mysql --user=dbuser -p dbname < sql-files/upgrade_extended_vending_item.sql Step 4: re-compile. Step 5: start the server. test result with rAthena server commit "5fcb3bff058cf2268328aee8b74874acb896216b" (10 August 2016) Edit: Updated 10 August 2016 Thank you for this updating this patch. We appreciate it. Quote Link to comment Share on other sites More sharing options...
Yonko Posted August 11, 2016 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted August 11, 2016 (edited) Updated 10 August 2016, rAthena Commit 5fcb3bff058cf2268328aee8b74874acb896216b https://github.com/rathena/rathena/commit/5fcb3bff058cf2268328aee8b74874acb896216b Thanks but is this warning on compiler bring an issue? 1>c:\users\admin\desktop\rathena\serverupdate\rathena\src\map\skill.c(7316): warning C4013: 'clif_vend' undefined; assuming extern returning int U need to define the 'clif_vend' maybe in the map.h or skill.h. How to do this? i try this the warnings has been removed but i didnt test coz i'm on my work right now. so i didnt know how it looks on the game go to clif.h find void clif_SelectCart(struct map_session_data *sd); under it just copy and paste this then recompile /** * Extended Vending system [Lilith] **/ int clif_vend(struct map_session_data *sd, int skill_lv); Edited August 11, 2016 by Yonko 1 Quote Link to comment Share on other sites More sharing options...
NilDigit Posted August 24, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 9 Joined: 02/04/16 Last Seen: December 10, 2023 Author Share Posted August 24, 2016 Updated 24 August 2016, rAthena Commit f8a8c9fe798c315a3a340eb5a484d275c5c543b2 https://github.com/rathena/rathena/commit/f8a8c9fe798c315a3a340eb5a484d275c5c543b2 Thank Yonko for fix warning. Quote Link to comment Share on other sites More sharing options...
REKT Posted August 24, 2016 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 206 Reputation: 11 Joined: 12/06/11 Last Seen: September 13, 2024 Share Posted August 24, 2016 Updated 24 August 2016, rAthena Commit f8a8c9fe798c315a3a340eb5a484d275c5c543b2 https://github.com/rathena/rathena/commit/f8a8c9fe798c315a3a340eb5a484d275c5c543b2 Thank Yonko for fix warning. Thank you Quote Link to comment Share on other sites More sharing options...
pongpong Posted November 24, 2016 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 7 Reputation: 1 Joined: 11/02/14 Last Seen: February 11 Share Posted November 24, 2016 On 6/30/2016 at 8:43 AM, Lelouch vi Britannia said: Maybe for your next update remove the map_msg.conf.orig also please change this... vendings_db, sd->vender_id, sd->status.account_id, sd->status.char_id, sd->status.sex == 0 ? 'F' : 'M', map[sd->bl.m].name, sd->bl.x, sd->bl.y, message_sql, sd->state.autotrade, at ? at->dir : sd->ud.dir, at ? at->head_dir : sd->head_dir, at ? at->sit : pc_issit(sd)) != SQL_SUCCESS) { it should be this vendings_db, sd->vender_id, sd->status.account_id, sd->status.char_id, sd->status.sex == 0 ? 'F' : 'M', map[sd->bl.m].name, sd->bl.x, sd->bl.y, message_sql, sd->state.autotrade, at ? at->dir : sd->ud.dir, at ? at->head_dir : sd->head_dir, at ? at->sit : pc_issit(sd), sd->vend_loot ) != SQL_SUCCESS ) { Thank you so much mate! My issue about restart was fixed! Quote Link to comment Share on other sites More sharing options...
Technoken Posted November 24, 2016 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Sunday at 02:20 PM Share Posted November 24, 2016 3 hours ago, pongpong said: Thank you so much mate! My issue about restart was fixed! What hash are you using? I'm currently having problems with extended vending system. I've posted it here LINK Quote Link to comment Share on other sites More sharing options...
Darknessfmy Posted December 25, 2016 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 78 Reputation: 12 Joined: 05/08/16 Last Seen: February 10, 2020 Share Posted December 25, 2016 (edited) HI! I try install in the last rev of rA and dont work HI! I try install in the last rev of rA and dont work 3>..\src\map\vending.c(197): error C2039: 'inventory': is not a member of 'mmo_charstatus' 3> c:\users\hi\see_->\folder\src\map\../common/mmo.h(426): note: see declaration of 'mmo_charstatus' Edited December 25, 2016 by Darknessfmy Quote Link to comment Share on other sites More sharing options...
Lelouch vi Britannia Posted January 13, 2017 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 715 Reputation: 84 Joined: 01/05/12 Last Seen: April 10, 2023 Share Posted January 13, 2017 On 12/26/2016 at 2:39 AM, Darknessfmy said: HI! I try install in the last rev of rA and dont work HI! I try install in the last rev of rA and dont work 3>..\src\map\vending.c(197): error C2039: 'inventory': is not a member of 'mmo_charstatus' 3> c:\users\hi\see_->\folder\src\map\../common/mmo.h(426): note: see declaration of 'mmo_charstatus' Try changing this status.inventory to this inventory.u.items_inventory and this status.cart to this cart.u.items_cart This was changed when they added the Optimized Inventory, Cart Inventory, and Storage usage 1 Quote Link to comment Share on other sites More sharing options...
Darknessfmy Posted January 13, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 78 Reputation: 12 Joined: 05/08/16 Last Seen: February 10, 2020 Share Posted January 13, 2017 Hey @Lelouch vi Britannia thank you very much Quote Link to comment Share on other sites More sharing options...
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.