Issue Information
-
#006751
-
0 - None Assigned
-
Fixed
Issue Confirmations
-
Yes (0)No (0)
Nosiege rune: Refresh - Changed the rune stone to be usable while in Frozen, Stun, Deep Sleep, Sleep, Petrification and Crystallization status.
src:http://forums.irowik...hp/t-95629.html
Is expected to fix ?
The piece below is incomplete.
Open src/map/pc.c
Find:
if( sd->sc.count && ( sd->sc.data[SC_BERSERK] || sd->sc.data[SC__BLOODYLUST] || (sd->sc.data[SC_GRAVITATION] && sd->sc.data[SC_GRAVITATION]->val3 == BCT_SELF) || sd->sc.data[SC_TRICKDEAD] || sd->sc.data[SC_HIDING] || sd->sc.data[SC__SHADOWFORM] || sd->sc.data[SC__MANHOLE] || sd->sc.data[SC_KAGEHUMI] || (sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOITEM) )) return 0; // Store information for later use before it is lost (via pc_delitem) [Paradox924X] nameid = sd->inventory_data[n]->nameid;Replace with:
// Store information for later use before it is lost (via pc_delitem) [Paradox924X] nameid = sd->inventory_data[n]->nameid; if( sd->sc.count && ( sd->sc.data[SC_BERSERK] || sd->sc.data[SC__BLOODYLUST] || (sd->sc.data[SC_GRAVITATION] && sd->sc.data[SC_GRAVITATION]->val3 == BCT_SELF) || sd->sc.data[SC_TRICKDEAD] || sd->sc.data[SC_HIDING] || sd->sc.data[SC__SHADOWFORM] || sd->sc.data[SC__MANHOLE] || sd->sc.data[SC_KAGEHUMI] || sd->sc.data[SC_WHITEIMPRISON] || // Fix to the list (sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOITEM && nameid != 12725) //You can use Nosiege under some status )) return 0;
Edited by MarkZD, 24 November 2012 - 04:17 AM.
up.
still not to use when frozen, stun and deep sleep MarkZD.
You're right, my fix is incomplete.still not to use when frozen, stun and deep sleep MarkZD.
Edited by MarkZD, 24 November 2012 - 04:08 AM.
should be fixed in [rev=16959]
should be fixed in [rev=16959]
I tried a similar fix this morning, after I post the message above, and it didn't work as well as yours.
For some reason it doesn't reach clif_parse_useitem when the user is under Deep Sleep and Stone curse.
Edited by MarkZD, 24 November 2012 - 01:27 PM.
Did you removed the option check in clif_parse_UseItem ? and the status and option before asking to do the skill ? (need to remove directly option or it will be delayed to 20ms)
Maybe we can discuss more on irc or pm to not flood the issue
Also, in the way you changed it's possible to use the Rune under Berserk, manhole, hiding etc which possibly need more info, as the rune may not work in this way.
Did you removed the option check in clif_parse_UseItem ? and the status and option before asking to do the skill ? (need to remove directly option or it will be delayed to 20ms)Maybe we can discuss more on irc or pm to not flood the issue
Yep, I deleted both files I changed and updated with yours to test.
I'm on irc.
Edited by MarkZD, 24 November 2012 - 01:43 PM.
Still no fix lighta, if the Rune is in the range, and the rune kinght is frozen to use the Rune even crashing it is defrosted.
We(lighta and me) know, the item is taking out the effects even when it's under the cooldown, it'll be fixed soon.Still no fix lighta, if the Rune is in the range, and the rune kinght is frozen to use the Rune even crashing it is defrosted.
About using it under Deep Sleep, Sleep and Stone curse, apparently it's a client behavior. (At least it didn't work on some 2010.
I burlated the options so the client can use it under Deep Sleep while I tested it, but it doesn't seem it should be the way to go).
rAthena still doesn't work with 08/2012+ clients, which are the one that get this feature in sakray, so I don't have a very good way to test if it's supposed to work only in those clients.
This is what I found while I tested, maybe someone who has more knowledge of changeoption can argument about it, as it seems the setting that is blocking the client from using runes when under the status mentioned in this post.
Edited by MarkZD, 25 November 2012 - 06:18 PM.
Followup in [rev=16969]
Seems to work now lighta.
All runes should be usable while in those kind of status's according to a tester's results. I wonder if their usable while in Berserk as well.
1. any rune can be used while you are on silence status, cursed circle, root, oblivion curse, ETC.
2. any rune Skill can be use in middle of the aftercast dealy of other skills, but if you use a rune in middle of the cast time of other skill the rune could be consumed and do nothing.
Source: http://forums.irowik...29&postcount=73
It's this way now.1. any rune can be used while you are on silence status, cursed circle, root, oblivion curse, ETC.
http://trac.rathena....changeset/16969
I've sent another patch to lighta wich will fix status being removed when refresh is used, just need to wait his answer.
Currently it's just not used/consumed, if you try to use it while you're casting.but if you use a rune in middle of the cast time of other skill the rune could be consumed and do nothing.
Source: http://forums.irowik...29&postcount=73
Is it still this way?
So all item skill are this way or just runes?
We need confirmation on official.
Edited by MarkZD, 27 November 2012 - 06:36 PM.
i can't use refresh in stone or sleep.
i can't use refresh in stone or sleep.
Unfortunately, it's a client behavior which blocks you from using item when you're in these states.