Jump to content
  • 0

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


anacondaq

Question


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   345
  • Joined:  02/26/12
  • Last Seen:  

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
Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 1

  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

 

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   4
  • Joined:  04/16/12
  • Last Seen:  

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)
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

not test

 

status.conf
 

 

// Show Icon Status Effective for Devotion

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

 

 

devotion_icon_effectskill.patch

Edited by Napster
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

 

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   4
  • Joined:  04/16/12
  • Last Seen:  

you must patch it manually --"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

you must patch it manually --"

I added it manually

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

 

you must patch it manually --"

I added it manually

 

replace src/map

map.rar

Edited by Napster
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

 

 

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

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