Jump to content
  • 0

Adding Custom Palletes


kalabasa

Question


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

Hi Everyone, im a newbie so im trying to add some custom palletes so i download this one right here

and im using 2015-11-04a version

 

i already edit the mininum and the maximum dyes through the client.conf,change the data.ini but i got this error when i logged in what did i miss here?

 

palleteerror.PNG

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.02
  • Content Count:  83
  • Reputation:   3
  • Joined:  10/22/17
  • Last Seen:  

Hi

Did you change the values in source? /trunk/src/map/battle.cpp line 8209, 8211, 8213? (remember to recompile if you're doing this)

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

No i Havent and i only see  battle.c in here on my ragnarok folder

and i forgot to ask should i put also those files on my rAthena.grf?

Edited by kalabasa
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.02
  • Content Count:  83
  • Reputation:   3
  • Joined:  10/22/17
  • Last Seen:  

server side configs

info: for functional purposes, battle.c is the same as battle.cpp but in windows platform, c means the language which is c++ or cpp in linux 

open battle.c with your text editor, use 'search in this file' button and put 'hair' or 'clothes'. you'll see this:

(sometimes the number of lines between .c and .cpp files vary)

	{ "min_hair_style",                     &battle_config.min_hair_style,                  0,      0,      INT_MAX,        },
	{ "max_hair_style",                     &battle_config.max_hair_style,                  23,     0,      INT_MAX,        },
	{ "min_hair_color",                     &battle_config.min_hair_color,                  0,      0,      INT_MAX,        },
	{ "max_hair_color",                     &battle_config.max_hair_color,                  9,      0,      INT_MAX,        },
	{ "min_cloth_color",                    &battle_config.min_cloth_color,                 0,      0,      INT_MAX,        },
	{ "max_cloth_color",                    &battle_config.max_cloth_color,                 4,      0,      INT_MAX,        },

pretty obvious what you need to change, then recompile

client side configs

Assuming rAthena.grf is your main grf file. Correct me?

And if you're asking if you need to add these palettes to your .grf..

then you need to read more topics :) 

maybe these topics will help you

https://github.com/rathena/rathena/wiki/Palettes

https://rathena.org/board/topic/106202-doram-class-palettes/

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  8
  • Reputation:   4
  • Joined:  12/04/17
  • Last Seen:  

22 minutes ago, kalabasa said:

No i Havent and i only see  battle.c in here on my ragnarok folder

and i forgot to ask should i put also those files on my rAthena.grf?

battle.c is battle.cpp, C means core/source c++ you can find on rAthena folder not ragnarok folder like @rolf said, you can just put on your "ragnarokclient"/Data, marge grf to rAthena.grf (using GRF Editor), or just rename that .grf to example pallete.grf and make sure your DATA.INI read that .grf file

before marge make sure to check "Display Encoding" at Tools > Setting > General on GRF Editor to avoid miss overwrite folder name.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

i see so this one needs recompiling and i dont have the latest visual studio yet, i have only VS 2010 express edition -.-

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