RateMyServer Ragnarok Community

Ragnarok Online => RO Graphic, Coding & Media => Topic started by: bomberman on Sep 27, 2017, 08:28 AM

Title: How to edit grf for showing Aura Blade active?
Post by: bomberman on Sep 27, 2017, 08:28 AM
Our server not showing when using aura blade. How to edit data.grf for showing when activate?

Thank you
Title: Re: How to edit grf for showing Aura Blade active?
Post by: Zereges on Sep 27, 2017, 10:53 AM
That is server side stuff.
Title: Re: How to edit grf for showing Aura Blade active?
Post by: bomberman on Sep 27, 2017, 02:48 PM
Thank you Zereges
Title: Re: How to edit grf for showing Aura Blade active?
Post by: misterj on Sep 29, 2017, 09:43 PM
dont thank him, he gave you bad/wrong/incomplete info.
first off SI_AURABLADE needs to be sent to the client. it is by default on rathena and herc and all, so that's fine. unless of course, youre using an aegis server (you aren't), so it'd be sent anyways.

if it's an old client you need to add code for it in CSession::GetStateFileName for the correct efst id (which is whatever SI_AURABLADE is). if you don't know how to do that, then its beyond you

if it's a newer client with lua files, you need to add an entry in luafiles/stateicon/stateiconinfo_f.lua/b under the HaveEfstImgTable for EFST_AURABLADE. then also it needs info added just like all the other states do
Title: Re: How to edit grf for showing Aura Blade active?
Post by: Zereges on Sep 30, 2017, 06:44 AM
Quote from: misterj on Sep 29, 2017, 09:43 PM
dont thank him, he gave you bad/wrong/incomplete info.
I thought, that SI_AURABLADE isn't being sent by default. Thanks for clarification.
Title: Re: How to edit grf for showing Aura Blade active?
Post by: misterj on Sep 30, 2017, 09:07 PM
it has to be sent or the client won't know to make the weapon sprite have that transparent/white effect