Styx15 Posted March 3, 2022 Group: Members Topic Count: 25 Topics Per Day: 0.02 Content Count: 48 Reputation: 0 Joined: 09/28/20 Last Seen: 1 hour ago Share Posted March 3, 2022 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, 2022 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 83 Reputation: 7 Joined: 12/29/18 Last Seen: April 13 Share Posted March 3, 2022 (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, 2022 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, 2022 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 383 Reputation: 78 Joined: 10/30/12 Last Seen: March 17 Share Posted March 3, 2022 (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, 2022 by mrfizi typo 1 Quote Link to comment Share on other sites More sharing options...
0 Styx15 Posted March 5, 2022 Group: Members Topic Count: 25 Topics Per Day: 0.02 Content Count: 48 Reputation: 0 Joined: 09/28/20 Last Seen: 1 hour ago Author Share Posted March 5, 2022 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, 2022 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 383 Reputation: 78 Joined: 10/30/12 Last Seen: March 17 Share Posted March 5, 2022 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, 2022 Group: Members Topic Count: 25 Topics Per Day: 0.02 Content Count: 48 Reputation: 0 Joined: 09/28/20 Last Seen: 1 hour ago Author Share Posted March 7, 2022 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...
Question
Styx15
i need to help set debuff sc_end SC_GEFFEN_MAGIC3; on npc warper..thank you
Link to comment
Share on other sites
5 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.