RateMyServer Ragnarok Community

Ragnarok Online => RO Graphic, Coding & Media => Topic started by: bomberman on Aug 05, 2017, 04:35 PM

Title: I want to change Chain of Devotion color.
Post by: bomberman on Aug 05, 2017, 04:35 PM
Default is white color with devotion line (Crusader), we need change color to red or something. Can you suggest me for how to change color.

Thank you.
Title: Re: I want to change Chain of Devotion color.
Post by: Zereges on Aug 05, 2017, 05:16 PM
data/texture/effect/color11.tga
But note, that this also covers some other stuff.
Title: Re: I want to change Chain of Devotion color.
Post by: misterj on Aug 05, 2017, 07:30 PM
cloud11.tga ^^^

the colors itself are just 3d graphic effects, if you want to mod that, you need to be able to hex your client, which on most servers, gets you in trouble

-anything beyond this line and you might need to be a competent computer scientist to follow along

you have to find some combination of and immediate push 255, push 0, push 0 (blue, green, red, and something that's not alpha). either 68 xx xx xx xx or 6a xx, in all possible combinations , and then hope yours is the right one!
in high priest exe, it's 68 FF 00 00 00 6A 00 6A 00 https://i.imgur.com/qO5dJib.png, the one for RenderLineLink is the right one

or

you'll have to find CEffectPrim::RenderLineLink(CEffectPrim *this, matrix *wtm). PP_LINELINK is 38, so it's easy to find it from there. the default case in this function before the call to CEffectPrim::RenderTeiRect is for devotion (the others based on some vector index are for soul change and marionette control), you can tell it's for the right value because it pushes blue 255 and then 0 for red and green,  (no not alpha, thats the third index!)

in the june 16 2017 exe (the one i'm currently working on), it looks to be around 00884866. but, id have to try it myself to know!
Title: Re: I want to change Chain of Devotion color.
Post by: bomberman on Aug 05, 2017, 11:31 PM
Quote from: misterj on Aug 05, 2017, 07:30 PM
cloud11.tga ^^^

the colors itself are just 3d graphic effects, if you want to mod that, you need to be able to hex your client, which on most servers, gets you in trouble

-anything beyond this line and you might need to be a competent computer scientist to follow along

you have to find some combination of and immediate push 255, push 0, push 0 (blue, green, red, and something that's not alpha). either 68 xx xx xx xx or 6a xx, in all possible combinations , and then hope yours is the right one!
in high priest exe, it's 68 FF 00 00 00 6A 00 6A 00 https://i.imgur.com/qO5dJib.png, the one for RenderLineLink is the right one

or

you'll have to find CEffectPrim::RenderLineLink(CEffectPrim *this, matrix *wtm). PP_LINELINK is 38, so it's easy to find it from there. the default case in this function before the call to CEffectPrim::RenderTeiRect is for devotion (the others based on some vector index are for soul change and marionette control), you can tell it's for the right value because it pushes blue 255 and then 0 for red and green,  (no not alpha, thats the third index!)

in the june 16 2017 exe (the one i'm currently working on), it looks to be around 00884866. but, id have to try it myself to know!

I can't find xxcolorxx.tga. and other choice what application using to hex it. may be not hex editor right? On hex editor screen is not same you screenshot.