Jump to content
  • 0

disabling angra manyu on woe and pvp


chromus28

Question


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  125
  • Reputation:   7
  • Joined:  11/19/11
  • Last Seen:  

place a script on it ,

 

 if WoE is On, no effect

if WoE is Off , effect is ON

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

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??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

have you tried combining it with mapflag/restricted.txt?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  03/02/13
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  263
  • Reputation:   1
  • Joined:  04/25/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

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 by sandbox
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...