Cydh Posted June 7, 2018 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted June 7, 2018 View File Cart Config [Client 2015-08-26 or newer] INFORMATION: The main target for usage only for server that use kRO client Client 2015-08-26 or newer or some functions (especially the cart selection) will be fail This mod in few words,You can set Genetic's cart sprite for level 1 Merchant, change its max weight and max item numbers rAthena Requirement: Git Hash: 2e15fae7 (2018-05-05) You can config cart related values for Weight limit Max item numbers Level requirement Job requirement But, because the client is not customizable (I meant I can't edit the client), there are things that cannot be changed related with client/PACKETVER. So, because I modified the MC_CHANGECART to MC_CARTDECORATE (sending ZC_SELECTCART) PACKETVER MAX_CARTS ZC_SELECTCART Weight Limit Max Items Level Req Job Req 20150826 + 12 YES YES YES YES YES 20120201 + 9 not supported YES YES useless useless Older 5 not supported YES YES useless useless Don't forget to add MC_CARTDECORATE as quest skill to preferred player. Forgot to took SS, so just watch the Video Ok, that's all. Any bug & suggestion please tell me. If you find a way or know how to make patch (hex the client) to add more carts, please tell the community Spoiler And you can give me some $ to my Paypal [email protected] Submitter Cydh Submitted 06/07/2018 Category Source Modifications Video https://www.youtube.com/watch?v=jeUUAQoGMGA Content Author Cydh 1 2 Quote Link to comment Share on other sites More sharing options...
TKPorreta Posted March 7, 2019 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 4 Reputation: 0 Joined: 12/11/12 Last Seen: Monday at 12:47 PM Share Posted March 7, 2019 Hi, how are you? I would like to know one thing about Cart system is that it can check if the person has a cart before opening the window to change, because in my it opens the window to select the cart without having the cart in the character. tks Quote Link to comment Share on other sites More sharing options...
Motoharo Posted June 5, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 14 Reputation: 1 Joined: 05/18/19 Last Seen: 23 hours ago Share Posted June 5, 2019 Hello, When I turn on the server I got the error: "[Error]: map_cart_read_config: Cannot read 'conf/carts.yml'." How I can fix ? Quote Link to comment Share on other sites More sharing options...
Quesooo Posted June 5, 2019 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Share Posted June 5, 2019 1 hour ago, Motoharo said: Hello, When I turn on the server I got the error: "[Error]: map_cart_read_config: Cannot read 'conf/carts.yml'." How I can fix ? don't forget to recompile server after modification. Quote Link to comment Share on other sites More sharing options...
Motoharo Posted June 5, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 14 Reputation: 1 Joined: 05/18/19 Last Seen: 23 hours ago Share Posted June 5, 2019 1 hour ago, Quesooo said: don't forget to recompile server after modification. I recompiled. I'm using the latest version of rathena. Quote Link to comment Share on other sites More sharing options...
Quesooo Posted June 6, 2019 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Share Posted June 6, 2019 3 hours ago, Motoharo said: I recompiled. I'm using the latest version of rathena. hmmm maybe double check the file name? Quote 'conf/carts.yml'." it should be carts.yml not carts.yml. ( a dot at the end ) Quote Link to comment Share on other sites More sharing options...
M a p l e Posted January 19, 2020 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 271 Reputation: 63 Joined: 02/04/19 Last Seen: October 27, 2023 Share Posted January 19, 2020 Is giving this error after this new rA update: https://github.com/rathena/rathena/commit/e72c7360cf9108b9aa5b5ad7891f8a8dcf16af49 /rAthena/src/map/map.cpp: In function 'void map_cart_read_config()': /rAthena/src/map/map.cpp:4771:68: error: cannot convert 'int*' to 'int64* {aka long int*}' for argument '2' to 'bool script_get_constant(const char*, int64*)' if (script_get_constant(it->as<std::string>().c_str(), &jobid)) Quote Link to comment Share on other sites More sharing options...
darbladerxx Posted May 2, 2021 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 08/12/13 Last Seen: May 3, 2023 Share Posted May 2, 2021 On 1/19/2020 at 4:37 AM, M a p l e said: Is giving this error after this new rA update: https://github.com/rathena/rathena/commit/e72c7360cf9108b9aa5b5ad7891f8a8dcf16af49 /rAthena/src/map/map.cpp: In function 'void map_cart_read_config()': /rAthena/src/map/map.cpp:4771:68: error: cannot convert 'int*' to 'int64* {aka long int*}' for argument '2' to 'bool script_get_constant(const char*, int64*)' if (script_get_constant(it->as<std::string>().c_str(), &jobid)) just add 64 bit support, in the issue that you share the script_get_constant function, pass from an int value to int64 search int jobid = 0; remplace to int64 jobid = 0; and enjoy.! 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.