Jump to content
  • 0

R> back option to enable/disable showing shield icons to players under devotion


Question

Posted (edited)

Hi, after this commit https://github.com/rathena/rathena/commit/9b4d922ef4ab11c76ce9e73dd18ac2c4aed9cb79

And this commit is good, you make emulator closer to official behavior.

But players what are playing on the old pre-re servers, and what "used to the old" want to back showing AUTOGUARD and REFLECT shield icon to them.

 

Can you please make a option in sources to enable/disable official behavior in sources?

Thank you very much:)

 

For example in

 

/conf/battle/skill.conf

// Show AUTOGUARD and REFLECT SHIELD skill icons for players under devotion.
devo_show_icons: no
Edited by Anacondaqq

11 answers to this question

Recommended Posts

  • 1
Posted

if you want ti faster, and don't mind to edit it later, u can edit it hardcoded

here src/map/status.c#L10257

if(!(flag&SCSTART_NOICON) && !(flag&SCSTART_LOADED && StatusDisplayType[type]))
change to

if(!(flag&SCSTART_LOADED && StatusDisplayType[type]))
currently SCSTART_NOICON flag is being used by those SC from Devotion effects, nothing else, so remove the check won't breaks other behaviors
  • Upvote 2
Posted

 

Hi, after this commit https://github.com/rathena/rathena/commit/9b4d922ef4ab11c76ce9e73dd18ac2c4aed9cb79

And this commit is good, you make emulator closer to official behavior.

But players what are playing on the old pre-re servers, and what "used to the old" want to back showing AUTOGUARD and REFLECT shield icon to them.

 

Can you please make a option in sources to enable/disable official behavior in sources?

Thank you very much:)

 

For example in

 

/conf/battle/skill.conf

// Show AUTOGUARD and REFLECT SHIELD skill icons for players under devotion.
devo_show_icons: no

bump for this

  • Upvote 1
Posted

i have no idea for add option in battle config,

but if you just want showing Devotion Icon for who receiving status devotion,

you just add this on status.c

StatusIconChangeTable[SC_DEVOTION] = SI_DEVOTION;
recompile, and you must add your image icon (example devotion.tga) to effect folder, and add name and description to your status icon lua (luafiles514/lua files/stateicon)
Posted

i have no idea for add option in battle config,

but if you just want showing Devotion Icon for who receiving status devotion,

you just add this on status.c

 

StatusIconChangeTable[SC_DEVOTION] = SI_DEVOTION;
recompile, and you must add your image icon (example devotion.tga) to effect folder, and add name and description to your status icon lua (luafiles514/lua files/stateicon)

 

devotion icon is showing. but the autoguard and reflect shield doesnt show

  • Upvote 1
Posted

 

not test

 

status.conf

 

 

// Show Icon Status Effective for Devotion

// defatut = no (offcial not show)
devotion_icon_effectskill: yes

 

sir your diff doesn't support my git version i'm using 12427 downloaded last september 26

here is my src to help you

src.zip

Posted

 

 

you must patch it manually --"

I added it manually

 

replace src/map

 

Thank you sir.

for future researchers

I'm using git version

12427

if you want ti faster, and don't mind to edit it later, u can edit it hardcoded

here src/map/status.c#L10257

if(!(flag&SCSTART_NOICON) && !(flag&SCSTART_LOADED && StatusDisplayType[type]))
change to

if(!(flag&SCSTART_LOADED && StatusDisplayType[type]))
currently SCSTART_NOICON flag is being used by those SC from Devotion effects, nothing else, so remove the check won't breaks other behaviors

 

Thank you for this one also. This will help the person who needs it and using the latest git

Posted (edited)

if you want ti faster, and don't mind to edit it later, u can edit it hardcoded

here src/map/status.c#L10257

if(!(flag&SCSTART_NOICON) && !(flag&SCSTART_LOADED && StatusDisplayType[type]))
change to

if(!(flag&SCSTART_LOADED && StatusDisplayType[type]))
currently SCSTART_NOICON flag is being used by those SC from Devotion effects, nothing else, so remove the check won't breaks other behaviors

 

 

 

 

you must patch it manually --"

I added it manually

 

replace src/map

 

Hi sir. when I tried to use the devotion skill to my party member. it says skill has failed. help please

my item type is set to 4. i also tried to use type 5 but still doesn't work

Edited by glemor123

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