Tassadar Posted November 8, 2017 Posted November 8, 2017 guys I modified the id of the item, put it repeated to test, in the Table: db_roulette and in the game the item did not change. . Is there any other place I have to set up? Thank you very much in advance. Quote
0 rmon Posted November 8, 2017 Posted November 8, 2017 Hi, Is this implement in latest rathena git ? Will it work on 2015 client ? Quote
0 Tassadar Posted November 8, 2017 Author Posted November 8, 2017 yes and yes. the roullete is funcional. I just can not change the items. Quote
0 Haziel Posted November 8, 2017 Posted November 8, 2017 Check if that system doesn't have a client-side counterpart. Quote
0 dikapramantya Posted August 4, 2018 Posted August 4, 2018 On 11/9/2017 at 12:07 AM, Haziel said: Check if that system doesn't have a client-side counterpart. hi Haziel , do you know how to change item requirement to play lucky roulette feature. Example : Official = need 1 bronze coin Custom = Need 10 bronze coin, where file to change it?? 1 Quote
0 Ice Bear Posted November 25, 2018 Posted November 25, 2018 On 8/4/2018 at 5:47 PM, dikapramantya said: hi Haziel , do you know how to change item requirement to play lucky roulette feature. Example : Official = need 1 bronze coin Custom = Need 10 bronze coin, where file to change it?? i hope this will be answered and ive try to edit this in clif.cpp but something it off i modify the requirement to spin into 1 gold or 1 silver or 1 bronze to play but seems the lucky roulette doesnt follow the src code? i already recompiled my server im using latest rathena rev + 20170614 client if( !sd->roulette.stage && sd->roulette_point.bronze <= 0 && sd->roulette_point.silver <= 0 && sd->roulette_point.gold <= 0 ){ result = GENERATE_ROULETTE_NO_ENOUGH_POINT; }else{ if (!sd->roulette.stage) { if (sd->roulette_point.bronze > 0) { sd->roulette_point.bronze -= 1; pc_setreg2(sd, ROULETTE_BRONZE_VAR, sd->roulette_point.bronze); } else if (sd->roulette_point.silver > 0) { sd->roulette_point.silver -= 1; sd->roulette.stage = 2; pc_setreg2(sd, ROULETTE_SILVER_VAR, sd->roulette_point.silver); } else if (sd->roulette_point.gold > 0) { sd->roulette_point.gold -= 1; sd->roulette.stage = 4; pc_setreg2(sd, ROULETTE_GOLD_VAR, sd->roulette_point.gold); } } Quote
Question
Tassadar
guys
I modified the id of the item, put it repeated to test, in the Table: db_roulette and in the game the item did not change. .


Is there any other place I have to set up?
Thank you very much in advance.
5 answers to this question
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.