Jump to content
  • 0

Doubt about add costumes jobs


Rudra

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   2
  • Joined:  04/18/12
  • Last Seen:  

I'm having a problem, I'm trying to implement new class visuals and I'm not getting it

data\luafiles514\lua files\dressroom\jobdresslist.lub

_DressList_f = {
    [4009] = {
        { "(0) Original", 0 },
        { "(1) 2-1/2-2", 1 },
        { "(2) 3rd kRO", 2 },
        { "(3) 3rd jRO", 3 },
        { "(4) 4th", 4 }
    },

I added the referring sprites for each folder

data\sprite\Àΰ£Á·\¸öÅë\¿©\costume_1 == ÇÏÀÌÇÁ¸®_¿©_1
data\sprite\Àΰ£Á·\¸öÅë\¿©\costume_2 == ÇÏÀÌÇÁ¸®_¿©_2
data\sprite\Àΰ£Á·\¸öÅë\¿©\costume_3 == ÇÏÀÌÇÁ¸®_¿©_3
data\sprite\Àΰ£Á·\¸öÅë\¿©\costume_4 == ÇÏÀÌÇÁ¸®_¿©_4

/rAthena/conf/battle/client.conf

min_body_style: 0
max_body_style: 4

and only the first option is working is not switching to the other sprites.

do you know what's wrong?

lol2.png.dd86e115b34c7f4bf354bbf25cdfc437.png

thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  8
  • Reputation:   1
  • Joined:  02/10/22
  • Last Seen:  

In src/map/battle.cpp find for:
{ "max_body_style", &battle_config.max_body_style, 1, 0, SHRT_MAX, },

Change to:

{ "max_body_style", &battle_config.max_body_style, 4, 0, SHRT_MAX, },

 

Recompile and try again, please

And, what script command are you using to open this dress room?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   2
  • Joined:  04/18/12
  • Last Seen:  

5 hours ago, mechannical said:

In src/map/battle.cpp find for:
{ "max_body_style", &battle_config.max_body_style, 1, 0, SHRT_MAX, },

Change to:

{ "max_body_style", &battle_config.max_body_style, 4, 0, SHRT_MAX, },

 

Recompile and try again, please

And, what script command are you using to open this dress room?

this:

opendressroom(1);

thanks i will try

 

  • Love 1
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...