Jump to content
  • 0

Adding Custom Palletes


Question

Posted

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

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted

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/

 

  • 0
Posted
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.

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...