AinsLord Posted April 14, 2019 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Share Posted April 14, 2019 (edited) On 4/11/2019 at 11:24 AM, BugsLIFE said: update pls.... i also experience this i think restarting the server won't fix it try to re-compile your server since it was a src configuration its actually working fine my only problem is everytime i reset my server items can be bought using zeny coz mainly @at command leaves the character online even reset of the server Edited April 14, 2019 by AinsLord Quote Link to comment Share on other sites More sharing options...
nomade Posted May 9, 2019 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 15 Reputation: 3 Joined: 01/22/12 Last Seen: May 28, 2023 Share Posted May 9, 2019 I need help!!!! I added the system correctly with no errors at the time of compiling the emulator. It works everything normal in the game. My problem is when I buy the item from a store, the map-server restarts. When I'm entered the game again, the sale was not made. Quote Link to comment Share on other sites More sharing options...
Bringer Posted June 11, 2019 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: Wednesday at 03:29 PM Share Posted June 11, 2019 sprintf(message + strlen(message), "Total profit: %s x %d", "Zeny", (mailprofit -= mailprofit * (battle_config.vending_tax / 10000.))); rathena\src\map\vending.cpp(395): warning C4244: '-=': conversion from 'double' to 'int', possible loss of data Quote Link to comment Share on other sites More sharing options...
CyberDevil Posted June 11, 2019 Group: Members Topic Count: 40 Topics Per Day: 0.02 Content Count: 242 Reputation: 37 Joined: 02/25/18 Last Seen: December 2, 2024 Share Posted June 11, 2019 (edited) Installed yesterday on the last rAthena version (a548f20) and all work...혻there is only a small error in the message that appears to the merchant after selling an item and closing the store remaining online (without @autotrade), which displays the gain minus the taxes even if the tax feature has not been activated... I have however solved by modifying the text of the message with a simple "With active tax, the gain was of XYZ", but in any case immediately after this text appears in the line below the real total gain without taxes... a minimum problem! @Easycore혻I had an "unhealthy" idea... in the future could we implement this exchange method also for the Buying Store System (https://irowiki.org/wiki/Buying_Store)?혻 It would be interesting to be able to have items searched for and exchange them for other currencies than Zeny Edited June 11, 2019 by CyberDevil Quote Link to comment Share on other sites More sharing options...
Dissidia Posted June 17, 2019 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted June 17, 2019 Help the item I buy is not bounded but it shows like this. Quote Link to comment Share on other sites More sharing options...
Loke Posted June 26, 2019 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 174 Reputation: 6 Joined: 12/20/11 Last Seen: July 20, 2024 Share Posted June 26, 2019 On 6/17/2019 at 5:47 PM, Dissidia said: Help the item I buy is not bounded but it shows like this. I got this error also did you fix it? Quote Link to comment Share on other sites More sharing options...
Dissidia Posted June 27, 2019 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted June 27, 2019 8 hours ago, Loke said: I got this error also did you fix it? //if (sd->inventory.u.items_inventory[k].bound) { // clif_displaymessage(sd->fd, "Cannot buy with Bound Items."); // return; //} Quote Link to comment Share on other sites More sharing options...
Loke Posted June 27, 2019 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 174 Reputation: 6 Joined: 12/20/11 Last Seen: July 20, 2024 Share Posted June 27, 2019 1 hour ago, Dissidia said: //if (sd->inventory.u.items_inventory[k].bound) { // clif_displaymessage(sd->fd, "Cannot buy with Bound Items."); // return; //} Thank you! I'll try this later. Quote Link to comment Share on other sites More sharing options...
Dissidia Posted June 27, 2019 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted June 27, 2019 11 minutes ago, Loke said: Thank you! I'll try this later. It will work. Don't know why they add that. In the previous version there is no code like that. Quote Link to comment Share on other sites More sharing options...
il3ol2ed Posted July 18, 2019 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 4 Reputation: 0 Joined: 07/18/19 Last Seen: June 5, 2023 Share Posted July 18, 2019 Thank Quote Link to comment Share on other sites More sharing options...
3TAJIOH Posted July 18, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 73 Reputation: 1 Joined: 11/27/18 Last Seen: August 4, 2024 Share Posted July 18, 2019 Bug. After server restart, auotrade shops will be for zeny. Quote Link to comment Share on other sites More sharing options...
Feilor Posted July 22, 2019 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 135 Reputation: 17 Joined: 12/31/11 Last Seen: January 11 Share Posted July 22, 2019 On 7/18/2019 at 9:04 AM, 3TAJIOH said: Bug. After server restart, auotrade shops will be for zeny. Functor or sbk sent a fix for it in one page of this thread, search and you can find it. 1 Quote Link to comment Share on other sites More sharing options...
PsyOps Posted July 26, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 150 Reputation: 12 Joined: 12/03/18 Last Seen: Saturday at 08:56 PM Share Posted July 26, 2019 (edited) On 6/11/2019 at 11:33 AM, Bringer said: sprintf(message + strlen(message), "Total profit: %s x %d", "Zeny", (mailprofit -= mailprofit * (battle_config.vending_tax / 10000.))); rathena\src\map\vending.cpp(395): warning C4244: '-=': conversion from 'double' to 'int', possible loss of data The extended vending does work for me but i still get this error on my VS. Anyone know how to fix this? Tried: sprintf(message + strlen(message), "Total profit: %s x %d", "Zeny" ,(mailprofit -= mailprofit * (int)(battle_config.vending_tax / 10000.))); Edited July 26, 2019 by Dev G Inc Quote Link to comment Share on other sites More sharing options...
SkyDragon Posted August 4, 2019 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 28 Reputation: 1 Joined: 12/01/11 Last Seen: December 28, 2021 Share Posted August 4, 2019 Does it work for old rA versions? (2016, 2017). Quote Link to comment Share on other sites More sharing options...
PsyOps Posted August 7, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 150 Reputation: 12 Joined: 12/03/18 Last Seen: Saturday at 08:56 PM Share Posted August 7, 2019 On 8/4/2019 at 9:04 AM, SkyDragon said: Does it work for old rA versions? (2016, 2017). It should work with 2017 version. there are older versions of this diff as well. Quote Link to comment Share on other sites More sharing options...
dantoki Posted August 19, 2019 Group: Members Topic Count: 67 Topics Per Day: 0.01 Content Count: 235 Reputation: 42 Joined: 10/21/12 Last Seen: April 5 Share Posted August 19, 2019 Having bunch of errors on the latest git. Quote Link to comment Share on other sites More sharing options...
CyberDevil Posted August 28, 2019 Group: Members Topic Count: 40 Topics Per Day: 0.02 Content Count: 242 Reputation: 37 Joined: 02/25/18 Last Seen: December 2, 2024 Share Posted August 28, 2019 On 11/22/2018 at 9:49 AM, SBK_ said: You need to make a fix on the system so that the @autotrade system after rebooting the server returns with the item that was selected for trading, quite simple. In the do_init_vending_autotrade function, find: at-> sd-> state.monster_ignore = (battle_config.autotrade_monsterignore); add after: // Extended Vending System Fix Bug [CreativeSD] at-> sd-> vend_loot = at-> vend_loot; I have the same problem after server restart, precisely after the restart the items that can be purchased by merchants in autotrades with different zeny currencies, can also be purchased with zeny and no longer with the currency also shown in the merchant's autotrade trade window. But despite several attempts and tests I was unable to solve the problem... my code is also different and shows these lines in the file /src/map/vending.cpp // initialize player CREATE(at->sd, struct map_session_data, 1); pc_setnewpc(at->sd, at->account_id, at->char_id, 0, gettick(), at->sex, 0); at->sd->state.autotrade = 1|2; if (battle_config.autotrade_monsterignore) at->sd->state.block_action |= PCBLOCK_IMMUNE; else at->sd->state.block_action &= ~PCBLOCK_IMMUNE; chrif_authreq(at->sd, true); uidb_put(vending_autotrader_db, at->char_id, at); } Sql_FreeResult(mmysql_handle); Anyone can help me to fix it? vending.cpp Quote Link to comment Share on other sites More sharing options...
SBK_ Posted August 28, 2019 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 72 Reputation: 22 Joined: 07/10/12 Last Seen: Tuesday at 07:59 PM Share Posted August 28, 2019 9 hours ago, CyberDevil said: I have the same problem after server restart, precisely after the restart the items that can be purchased by merchants in autotrades with different zeny currencies, can also be purchased with zeny and no longer with the currency also shown in the merchant's autotrade trade window. But despite several attempts and tests I was unable to solve the problem... my code is also different and shows these lines in the file /src/map/vending.cpp // initialize player CREATE(at->sd, struct map_session_data, 1); pc_setnewpc(at->sd, at->account_id, at->char_id, 0, gettick(), at->sex, 0); at->sd->state.autotrade = 1|2; if (battle_config.autotrade_monsterignore) at->sd->state.block_action |= PCBLOCK_IMMUNE; else at->sd->state.block_action &= ~PCBLOCK_IMMUNE; chrif_authreq(at->sd, true); uidb_put(vending_autotrader_db, at->char_id, at); } Sql_FreeResult(mmysql_handle); Anyone can help me to fix it? vending.cpp 29.31 kB · 0 downloads Add after: at->sd->state.block_action &= ~PCBLOCK_IMMUNE; 1 Quote Link to comment Share on other sites More sharing options...
CyberDevil Posted September 3, 2019 Group: Members Topic Count: 40 Topics Per Day: 0.02 Content Count: 242 Reputation: 37 Joined: 02/25/18 Last Seen: December 2, 2024 Share Posted September 3, 2019 thank you a lot @SBK_ it's work! +1 Quote Link to comment Share on other sites More sharing options...
KillerBEEs1984 Posted September 19, 2019 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 2 Joined: 06/24/19 Last Seen: November 7, 2019 Share Posted September 19, 2019 on latest rA git, the src - patch works manually without error after compiling and while using 2015-11-04 client after pressing vend skill it freeze? anyone can help me regarding this matter Quote Link to comment Share on other sites More sharing options...
Easycore Posted October 3, 2019 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 220 Reputation: 258 Joined: 04/08/13 Last Seen: August 24, 2023 Author Share Posted October 3, 2019 On 6/27/2019 at 5:24 AM, Dissidia said: It will work. Don't know why they add that. In the previous version there is no code like that. I decided to limit extended vending only to unbound items. You can see why I did this: Quote Link to comment Share on other sites More sharing options...
Easycore Posted October 3, 2019 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 220 Reputation: 258 Joined: 04/08/13 Last Seen: August 24, 2023 Author Share Posted October 3, 2019 New update for Extended Vending 2.0 (still pending approval): - Updated to GitHash: df6385 - Fixed character stuck at cancel skill. - Fixed wrong skill failure. - Currency is saved properly when server is restarted. - Fixed compiling warning. 2 Quote Link to comment Share on other sites More sharing options...
dantoki Posted October 5, 2019 Group: Members Topic Count: 67 Topics Per Day: 0.01 Content Count: 235 Reputation: 42 Joined: 10/21/12 Last Seen: April 5 Share Posted October 5, 2019 On latest Git. Quote Link to comment Share on other sites More sharing options...
Easycore Posted October 5, 2019 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 220 Reputation: 258 Joined: 04/08/13 Last Seen: August 24, 2023 Author Share Posted October 5, 2019 4 hours ago, mharkeke said: On latest Git. Apply again the patch, you are missing lines in battle.hpp. Quote Link to comment Share on other sites More sharing options...
dantoki Posted October 5, 2019 Group: Members Topic Count: 67 Topics Per Day: 0.01 Content Count: 235 Reputation: 42 Joined: 10/21/12 Last Seen: April 5 Share Posted October 5, 2019 i got this error when i apply the patch BGeAmod before Vending 2.0. 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.