AinsLord Posted April 29, 2023 Group: Members Topic Count: 271 Topics Per Day: 0.08 Content Count: 791 Reputation: 20 Joined: 11/21/15 Last Seen: 7 hours ago Share Posted April 29, 2023 (edited) so ive been looking here quite a while then i found thi so i followed the steps it actually lead me here got this error wit this code if(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_SAGE && status_isimmune(bl) && !tsc->data[SC_HERMODE] && rnd()%100 < 70 || status_isimmune(bl) && !(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_SAGE) ){ if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; so i edit it with this code if(sc && tsc->data[SC_SPIRIT] && tsc->data[SC_SPIRIT]->val2 == SL_SAGE && status_isimmune(bl) && !tsc->data[SC_HERMODE] && rnd()%100 < 70 || status_isimmune(bl) && !(sc && tsc->data[SC_SPIRIT] && tsc->data[SC_SPIRIT]->val2 == SL_SAGE) ){ if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; and almost the same error so i edit it again with this if(sd && tsc && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_SAGE && status_isimmune(bl) && !tsc->data[SC_HERMODE] && rnd()%100 < 70 || status_isimmune(bl) && !(sd && tsc && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_SAGE) ){ if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; } got this kind of error probably progress then i try to modify it again with this if(sd && tsc && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_SAGE && status_isimmune(bl) && !tsc->getSCE(SC_HERMODE) && rnd()%100 < 70 || status_isimmune(bl) && !(sd && tsc && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_SAGE) ){ if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; so this code doesnt have any errors or warning i compiled perfectly i just wanna share this to those who are using latest git of rathena working as of 4/30/2023 git 84bf6b8 dont know where to post this so i post it here in src support thread so here is the complete details in skill.cpp find this struct status_change_entry *tsce; and insert this below just remove the "+" sign + struct status_change *sc = status_get_sc(src); then look for this case SA_DISPELL: Find this line if(status_isimmune(bl)) Change to this if(sd && tsc && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_SAGE && status_isimmune(bl) && !tsc->getSCE(SC_HERMODE) && rnd()%100 < 70 || status_isimmune(bl) && !(sd && tsc && sd->sc.getSCE(SC_SPIRIT) && sd->sc.getSCE(SC_SPIRIT)->val2 == SL_SAGE) ){ if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; then recompile i hope this can help PS: just move my post to the correct thread if i posted in the incorrect one thanks Ymir's Ragnarok Test 2023-04-30 01-19-47.mp4 dont for get to "upvote" if its helps thank you Edited April 30, 2023 by AinsLord 1 Quote Link to comment Share on other sites More sharing options...
Question
AinsLord
so ive been looking here quite a while then i found thi
so i followed the steps it actually lead me here
got this error
wit this code
so i edit it with this code
and almost the same error so i edit it again with this
got this kind of error probably progress
then i try to modify it again with this
so this code doesnt have any errors or warning i compiled perfectly
i just wanna share this to those who are using latest git of rathena
working as of 4/30/2023 git 84bf6b8
dont know where to post this so i post it here in src support thread
so here is the complete details
in skill.cpp find this
and insert this below just remove the "+" sign
then look for this
Find this line
Change to this
then recompile
i hope this can help
PS: just move my post to the correct thread if i posted in the incorrect one thanks
dont for get to "upvote" if its helps thank you
Edited by AinsLordLink to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.