Styx15 Posted March 3 Share Posted March 3 i need to help set debuff sc_end SC_GEFFEN_MAGIC3; on npc warper..thank you Quote Link to comment Share on other sites More sharing options...
0 Fluxion Posted March 3 Share Posted March 3 (edited) replace if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet."; else warp lastwarp$,lastwarpx,lastwarpy; end; to if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet."; else { sc_end SC_GEFFEN_MAGIC3; warp lastwarp$,lastwarpx,lastwarpy; } end; and replace function Go { set lastwarp$, getarg(0); set lastwarpx, getarg(1,0); set lastwarpy, getarg(2,0); warp getarg(0),getarg(1,0),getarg(2,0); end; } to function Go { set lastwarp$, getarg(0); set lastwarpx, getarg(1,0); set lastwarpy, getarg(2,0); sc_end SC_GEFFEN_MAGIC3; warp getarg(0),getarg(1,0),getarg(2,0); end; } Another Note: I haven't tested with this status, I tested with sc_freeze and it worked, should work with this status too Another Note ++ : @mrfizi is too fast >_< Edited March 3 by Yuno edit after i have seen the answer of Mrfizi 1 Quote Link to comment Share on other sites More sharing options...
0 mrfizi Posted March 3 Share Posted March 3 (edited) Add your script sc_end SC_GEFFEN_MAGIC3; before this line: https://github.com/rathena/rathena/blob/df65d5ddfc5d10e1834875cc7a1c1f543e404c74/npc/custom/warper.txt#L38 and before this: https://github.com/rathena/rathena/blob/df65d5ddfc5d10e1834875cc7a1c1f543e404c74/npc/custom/warper.txt#L69 and before this: https://github.com/rathena/rathena/blob/df65d5ddfc5d10e1834875cc7a1c1f543e404c74/npc/custom/warper.txt#L110 Thank you @Fluxion. You make @Styx15 easy to understand my answered. Edited March 5 by mrfizi typo 1 Quote Link to comment Share on other sites More sharing options...
0 Styx15 Posted March 5 Author Share Posted March 5 On 3/4/2022 at 2:28 AM, Fluxion said: replace if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet."; else warp lastwarp$,lastwarpx,lastwarpy; end; to if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet."; else { sc_end SC_GEFFEN_MAGIC3; warp lastwarp$,lastwarpx,lastwarpy; } end; and replace function Go { set lastwarp$, getarg(0); set lastwarpx, getarg(1,0); set lastwarpy, getarg(2,0); warp getarg(0),getarg(1,0),getarg(2,0); end; } to function Go { set lastwarp$, getarg(0); set lastwarpx, getarg(1,0); set lastwarpy, getarg(2,0); sc_end SC_GEFFEN_MAGIC3; warp getarg(0),getarg(1,0),getarg(2,0); end; } Another Note: I haven't tested with this status, I tested with sc_freeze and it worked, should work with this status too Another Note ++ : @mrfizi is too fast >_< i try but now working.. Quote Link to comment Share on other sites More sharing options...
0 mrfizi Posted March 5 Share Posted March 5 1 hour ago, Styx15 said: i try but now working.. Now or Not? If not working, try to restart your server. Is there any error on your putty terminal/screen? Quote Link to comment Share on other sites More sharing options...
0 Styx15 Posted March 7 Author Share Posted March 7 On 3/5/2022 at 12:30 PM, mrfizi said: Now or Not? If not working, try to restart your server. Is there any error on your putty terminal/screen? oh need restart server... now working..thank you very much.... @mrfizi , @Fluxion... Quote Link to comment Share on other sites More sharing options...
i need to help set debuff sc_end SC_GEFFEN_MAGIC3; on npc warper..thank you
Link to comment
Share on other sites