Lulupard 0 Posted May 16, 2017 (edited) Hello! Is it possible to allow all merchant classes to use carts intended for mechanics and genetics? Lowering the levels in clif.c does nothing: #ifdef NEW_CARTS (type == 9 && sd->status.base_level > 130) || (type == 8 && sd->status.base_level > 120) || (type == 7 && sd->status.base_level > 110) || (type == 6 && sd->status.base_level > 100) || #endif (type == 5 && sd->status.base_level > 90) || (type == 4 && sd->status.base_level > 80) || (type == 3 && sd->status.base_level > 65) || (type == 2 && sd->status.base_level > 40) || (type == 1)) Is this hardcoded in the client? Thank you. Edited May 17, 2017 by Lulupard Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted May 17, 2017 New carts require client 20120201 or higher, it does not matter if you are running renewal or pre re, whereas for cart decoration feature, you need client >= 20150805 Quote Share this post Link to post Share on other sites
0 Lulupard 0 Posted May 17, 2017 (edited) New carts require client 20120201 or higher, it does not matter if you are running renewal or pre re, whereas for cart decoration feature, you need client >= 20150805 I have client 2015-09-16. To clarify, cart decoration is working. I was talking about carts intended for mechanics and genetics on levels 100+. My question should probably have been: How to lower level requirement for merchant carts? Edited May 17, 2017 by Lulupard Quote Share this post Link to post Share on other sites
0 Vy Low 11 Posted May 17, 2017 Hello! Is it possible to allow all merchant classes to use carts intended for mechanics and genetics? Lowering the levels in clif.c does nothing: #ifdef NEW_CARTS (type == 9 && sd->status.base_level > 130) || (type == 8 && sd->status.base_level > 120) || (type == 7 && sd->status.base_level > 110) || (type == 6 && sd->status.base_level > 100) || #endif (type == 5 && sd->status.base_level > 90) || (type == 4 && sd->status.base_level > 80) || (type == 3 && sd->status.base_level > 65) || (type == 2 && sd->status.base_level > 40) || (type == 1)) Is this hardcoded in the client? Thank you. I want to implement this also, but i cant seem to make it work also. Quote Share this post Link to post Share on other sites
0 Lulupard 0 Posted May 18, 2017 (edited) How often can you bump topics here? Also bump. Edited May 18, 2017 by Lulupard Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted May 18, 2017 Didn't lowering those value work? Tried lowering that? If it doesn't work, please explain what exactly is not working.. Quote Share this post Link to post Share on other sites
0 Heph 0 Posted May 18, 2017 Hello! Is it possible to allow all merchant classes to use carts intended for mechanics and genetics? Lowering the levels in clif.c does nothing: #ifdef NEW_CARTS (type == 9 && sd->status.base_level > 130) || (type == 8 && sd->status.base_level > 120) || (type == 7 && sd->status.base_level > 110) || (type == 6 && sd->status.base_level > 100) || #endif (type == 5 && sd->status.base_level > 90) || (type == 4 && sd->status.base_level > 80) || (type == 3 && sd->status.base_level > 65) || (type == 2 && sd->status.base_level > 40) || (type == 1)) Is this hardcoded in the client? Thank you. Try lowering that. Quote Share this post Link to post Share on other sites
0 Lulupard 0 Posted May 18, 2017 (edited) Didn't lowering those value work? Tried lowering that? If it doesn't work, please explain what exactly is not working.. Hello! Is it possible to allow all merchant classes to use carts intended for mechanics and genetics? Lowering the levels in clif.c does nothing: #ifdef NEW_CARTS (type == 9 && sd->status.base_level > 130) || (type == 8 && sd->status.base_level > 120) || (type == 7 && sd->status.base_level > 110) || (type == 6 && sd->status.base_level > 100) || #endif (type == 5 && sd->status.base_level > 90) || (type == 4 && sd->status.base_level > 80) || (type == 3 && sd->status.base_level > 65) || (type == 2 && sd->status.base_level > 40) || (type == 1)) Is this hardcoded in the client? Thank you. Try lowering that. I did lower them and recompiled. When using the Change cart skill, the carts in the window that appears were still tied to old level requirements. So, for example, after changing (type == 2 && sd->status.base_level > 40) to (type == 2 && sd->status.base_level > 20) and using the Change cart skill with a 30 level character, only 1 cart option appeared. I am not even sure this code has anything to do with the carts that show up in the client and I probably got everyone confused. Really sorry if that is the case. Edited May 18, 2017 by Lulupard Quote Share this post Link to post Share on other sites
0 Vy Low 11 Posted May 19, 2017 Didn't lowering those value work? Tried lowering that? If it doesn't work, please explain what exactly is not working.. > Hello! Is it possible to allow all merchant classes to use carts intended for mechanics and genetics? Lowering the levels in clif.c does nothing: #ifdef NEW_CARTS (type == 9 && sd->status.base_level > 130) || (type == 8 && sd->status.base_level > 120) || (type == 7 && sd->status.base_level > 110) || (type == 6 && sd->status.base_level > 100) || #endif (type == 5 && sd->status.base_level > 90) || (type == 4 && sd->status.base_level > 80) || (type == 3 && sd->status.base_level > 65) || (type == 2 && sd->status.base_level > 40) || (type == 1)) Is this hardcoded in the client? Thank you. Try lowering that. I did lower them and recompiled. When using the Change cart skill, the carts in the window that appears were still tied to old level requirements. So, for example, after changing (type == 2 && sd->status.base_level > 40) to (type == 2 && sd->status.base_level > 20) and using the Change cart skill with a 30 level character, only 1 cart option appeared. I am not even sure this code has anything to do with the carts that show up in the client and I probably got everyone confused. Really sorry if that is the case. same goes with me. But when I change the level of the merchant to 100 and above, new carts are shown? any idea how we can enable it on merchants below 100? Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted May 19, 2017 Extremely sorry, didn't see the function before, it seems the cart shown is restricted by client and we just validate it to make sure the packet wasn't modified. Workaround: You could use setcart scriptcommand Quote Share this post Link to post Share on other sites
0 Lulupard 0 Posted May 19, 2017 Extremely sorry, didn't see the function before, it seems the cart shown is restricted by client and we just validate it to make sure the packet wasn't modified. Workaround: You could use setcart scriptcommand Got it, thank you! Will try that. Quote Share this post Link to post Share on other sites
0 Hit` 3 Posted July 4, 2017 Does anyone have an answer to this? I've also tried lowering the values(130,120,110,100) to 98 but new carts do not show in the list. I am running a pre-renewal server btw and using 2014-10-22 as my client. Quote Share this post Link to post Share on other sites
0 ossi0110 200 Posted July 4, 2017 the LVL Caps of the cart are hardcoded into the exe you need to hex your exe and change the lvl Quote Share this post Link to post Share on other sites
0 Hit` 3 Posted July 6, 2017 On 7/5/2017 at 0:46 AM, ossi0110 said: the LVL Caps of the cart are hardcoded into the exe you need to hex your exe and change the lvl Hi. Do you mean manually? If so, how do I do it? I haven't really tried hexing a client manually, I only use NEMO. Quote Share this post Link to post Share on other sites
Hello!
Is it possible to allow all merchant classes to use carts intended for mechanics and genetics?
Lowering the levels in clif.c does nothing:
Is this hardcoded in the client?
Thank you.
Edited by LulupardShare this post
Link to post
Share on other sites