chromus28 Posted February 8, 2014 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 263 Reputation: 1 Joined: 04/25/13 Last Seen: December 20, 2014 Share Posted February 8, 2014 i tried to put it on noequip.txt the item, when i entered pvp room or woe, it just taking it off but after that i can equip it again.. how can i make this properly? Quote Link to comment Share on other sites More sharing options...
BuLaLaKaW Posted February 9, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 125 Reputation: 7 Joined: 11/19/11 Last Seen: August 20, 2021 Share Posted February 9, 2014 place a script on it , if WoE is On, no effect if WoE is Off , effect is ON Quote Link to comment Share on other sites More sharing options...
Euphy Posted February 9, 2014 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted February 9, 2014 eAthena has different (and incorrect) behavior regarding restricted items. On rAthena and official servers, adding an item_noequip entry disables the script of an item, not equipping the item itself. On eAthena, you'll have to write in the restrictions, as @BuLaLaKaW posted. Quote Link to comment Share on other sites More sharing options...
chromus28 Posted February 10, 2014 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 263 Reputation: 1 Joined: 04/25/13 Last Seen: December 20, 2014 Author Share Posted February 10, 2014 place a script on it , if WoE is On, no effect if WoE is Off , effect is ON what kind of script ?? T_T eAthena has different (and incorrect) behavior regarding restricted items. On rAthena and official servers, adding an item_noequip entry disables the script of an item, not equipping the item itself. On eAthena, you'll have to write in the restrictions, as @BuLaLaKaW posted. What kind of script sir?? Quote Link to comment Share on other sites More sharing options...
sandbox Posted February 10, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted February 10, 2014 have you tried combining it with mapflag/restricted.txt? Quote Link to comment Share on other sites More sharing options...
chromus28 Posted February 10, 2014 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 263 Reputation: 1 Joined: 04/25/13 Last Seen: December 20, 2014 Author Share Posted February 10, 2014 yes and i foll have you tried combining it with mapflag/restricted.txt? Yes i followed their guide. YGG and other healing items are fine and its now working on pvp and woe but when to an equipment..it is just taking off when you enter in that map then you can equip it again with the effects Quote Link to comment Share on other sites More sharing options...
GM Mortal Posted February 10, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 19 Reputation: 0 Joined: 03/02/13 Last Seen: March 23, 2014 Share Posted February 10, 2014 A script a bit like this: getmapxy(.@mapa$,.@x,.@y,0);if (.@mapa$ == "pvp_n_1-5) //your map { // unequip <equipment slot>; } You would have to place this in a pvp script with a loop. It might not be the best way, but it should work. Quote Link to comment Share on other sites More sharing options...
chromus28 Posted February 10, 2014 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 263 Reputation: 1 Joined: 04/25/13 Last Seen: December 20, 2014 Author Share Posted February 10, 2014 A script a bit like this: getmapxy(.@mapa$,.@x,.@y,0); if (.@mapa$ == "pvp_n_1-5) //your map { // unequip <equipment slot>; } You would have to place this in a pvp script with a loop. It might not be the best way, but it should work. what if my script is like this?? //===== eAthena Script ======================================= //= PvP //===== By: ================================================== //= Destinee~ //===== Description: ========================================= //= A basic PVP script. //===== Additional Comments: ================================= //= Dont copyright this and claiming that you've made this. Use it only for your own server. //============================================================ prontera,158,200,4 script PVP Warper::pvpw 2000,{ mes "[ ^0065DFPVP Warper^000000 ]"; mes "Would you like to go to the PVP Arena ?..."; if (select("Yes!","No thanks.") == 2) close; close2; warp "pvpmap",0,0; announce strcharinfo(0)+" entered the PvP Room",0; end; OnInit: while(1) { if ( .@users != getmapusers("prontera") ) { delwaitingroom; waitingroom ""+ getmapusers("pvpmap")+" Players in PVP room", 0; set .@users, getmapusers("pvpmap"); } sleep 500; } } // == Mapflags pvpmap mapflag nowarp pvpmap mapflag noteleport pvpmap mapflag nomemo pvpmap mapflag noreturn pvpmap mapflag nodrop pvpmap mapflag nosave pvpmap mapflag nobranch pvp_y_2-2 mapflag nowarp pvp_y_2-2 mapflag noteleport pvp_y_2-2 mapflag nomemo pvp_y_2-2 mapflag nogo pvp_y_2-2 mapflag nodrop pvp_y_2-2 mapflag nosave pvp_y_2-2 mapflag nobranch Quote Link to comment Share on other sites More sharing options...
sandbox Posted February 11, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted February 11, 2014 (edited) Might wanna check for newer revisions of your SVN, I am really sure that you don't need to have a script because the function was already built in.. I had an old rAthena version which was like 13xxxx something but the behavior of item_noequip for me is that you can still equip the items but it wont have any effect, which is fine but different from the eAthena version. Edited February 11, 2014 by sandbox Quote Link to comment Share on other sites More sharing options...
Question
chromus28
i tried to put it on noequip.txt the item, when i entered pvp room or woe, it just taking it off but after that i can equip it again.. how can i make this properly?
Link to comment
Share on other sites
8 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.