Jump to content
  • 0

disabling angra manyu on woe and pvp


Question

8 answers to this question

Recommended Posts

Posted

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.

Posted

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

Posted

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

Posted

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.

Posted

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

Posted (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 by sandbox

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...