Jump to content
  • 0

[sytem] Lucky Roulette change items


Tassadar

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

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. .

roleta1.jpg.494c83f8fb4e009c35e14db5ccea9951.jpg

roleta2.jpg.af9dbb52a8b86b65fedf6a499004f31f.jpg



Is there any other place I have to set up?

Thank you very much in advance.

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

Hi,

Is this implement in latest rathena git ? 

Will it work on 2015 client ? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

yes and yes.

the roullete is funcional. I just can not change the items.

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Check if that system doesn't have a client-side counterpart.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  216
  • Reputation:   9
  • Joined:  07/12/12
  • Last Seen:  

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??

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   26
  • Joined:  11/20/11
  • Last Seen:  

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);
            }
        }

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...