Jump to content

Question

Posted (edited)

1- i want remove zeny from my pvp rooms , it takes zeny on entering

2 - when some one die annoinmnent [ player has been powned by ------ ]

 

Thanks For Helping me /lv

if u know only 1 pls share it to me /kis2

but i hope the both .

 

// Made by iTouch
// ----------------------------------------------------------------------------
// Ultimate PvP Warper ver. 1
// Features:
// Baby PvP Room
// PvP Square(Every 2 days Random PvP Room)
// PvP Nightmare
// PvP Lowlvl( Supports 1 - 150 Lvl)
// PvP No Potion (Berrys , Ygg seed , Any potions , etc. are restricted)
// PvP Non Donator (Got Items are restricted here)
// -----------------------------------------------------------------------------
// ver. 2 update idea:
// Adding a PvP Room that removes the buffs of the player when entering the room
// Adding a PvP Room for GM's Only so GM's will have fun
// -----------------------------------------------------------------------------
// Special thanks to:
// icescope of eAthena for helping me configuring the error at PvP Square
// -----------------------------------------------------------------------------

prontera.gat,157,186,3	script	PvP Warper	966,{
	if (.pvp_square$=="") donpcevent "Ultimate PVP warper::OnClock0000";
 
	mes "[ملك الحلبة]";
	mes "أي غرفة تريد الدخول ؟";
	switch(select("PVP Square ["+getmapusers("guild_vs5")+"/20]:PVP Nightmare ["+getmapusers("guild_vs1")+"/20]:PVP Compass ["+getmapusers("pvp_n_5-5")+"/20]")) {
	case 1:	// PVP Square
		if (getmapusers("guild_vs5") > 99) callsub S_full;
		callsub S_payment;
		warp "guild_vs5",0,0;
		end;
 
	case 2:	// PVP Nightmare
		if (getmapusers("guild_vs1") > 99) callsub S_full;
		callsub S_payment;
		warp "guild_vs1",0,0;
		end;
 
	case 3:	// Compass
		if (getmapusers("pvp_n_5-5") > 99) callsub S_full;
		if (BaseLevel > 99) { // Edit 150 to any maximum Lvl of a player can enter this room
			mes "فقط ما بين لفل 1 و 99 يمكنهم الدخول";
			close;
		}
		callsub S_payment;
		warp "pvp_n_5-5",0,0;
		end;
 
	case 4:	// PVP NoPotion
		if (getmapusers("pvp_n_5-5") > 99) callsub S_full;
		for( set .@i,0; .@i<getarraysize(.NoPotion_ids); set .@i,.@i+1 ) {
			if (countitem(.NoPotion_ids[.@i])) {
				mes "You can not bring potions in this pvp.";
				close;
			}
		}
		callsub S_payment;
		warp "pvp_y_8-2",0,0;
		end;
 
	case 5:	// Non Donator PVP
		if (getmapusers("1@orcs") > 99) callsub S_full;
		for( set .@i,0; .@i<getarraysize(.NoDonator_ids); set .@i,.@i+1 ) {
			if (countitem(.NoDonator_ids[.@i])) {
				mes "لا يمكنك استعمال ادوات خرافية في هذه الغرفة";
				close;
			}
		}
		callsub S_payment;
		warp "1@orcs",0,0;
		end;
	Case 6: // Baby PvP Room
		if (getmapusers("pvp_y_1-2") > 99) callsub S_full;
		if (class < 4023 || class > 4045) goto L_NotBaby;
		callsub S_payment;
		warp "pvp_y_1-2",0,0;
		end;
L_NotBaby:
		mes "فقط الاطفال يمكنهم الدخول";
		close;	
 
	}
 
S_full:
	mes "انا اسفة هذه الغرفة ممتلئة ";
	mes "تعال لاحقا";
	close;
S_payment:
	if (Zeny < (98*BaseLevel + 0)) {
		mes "ليس معك زيني كافي لأدعك تدخل";
		mes "انها تكلفك "+(98*BaseLevel + 0)+" للدخول";
		close;
	}
	set Zeny, Zeny - (98*BaseLevel + 0);
	return;
 
//OnInit:
//	   waitingroom "  »  P v P  «",0;
    end;
OnClock0000:
	// set the "PVP Square" map, based on day of the weeek
	switch(gettime(4)) {
	case 0:	// Sunday
	case 1:	// Monday
		set .pvp_square$, "guild_vs5";
		break;
	case 2:	// Tuesday
	case 3:	// Wednesday
		set .pvp_square$, "pvp_n_5-5";
		break;
	case 4:	// Thursday
	case 5:	// Friday
		set .pvp_square$, "guild_vs5";
		break;
	case 6:	// Saturday
		set .pvp_square$, "guild_vs5";
		break;
	}
 
	// items not allowed in PVP NoPotion
	setarray .NoPotion_ids[0], 607, 608;
 
	// items not allowed in Non Donator PVP
	setarray .NoDonator_ids[0], 2410, 1530;
	end;
}
 
moscovia.gat,226,198,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#1	966
askydun.gat,96,113,3	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#2	966 // Kliwa
alberta.gat,110,140,3	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#3	966 // Kliwa
aldebaran.gat,147,115,1	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#4	965 // Kliwa
amatsu.gat,207,86,3	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#5	966 // Kliwa
ayothaya.gat,155,117,2	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#6	966 // Kliwa
comodo.gat,206,80,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#7	966 // Kliwa
einbech.gat,198,83,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#8	966 // Taas Kaliwa
einbroch.gat,174,172,5	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#9	966 // Taas Kaliwa
geffen.gat,125,71,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#10	966
gonryun.gat,162,120,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#11	966
hugel.gat,89,151,5	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#12	966
izlude.gat,134,120,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#13	966
lighthalzen.gat,166,101,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#14	966
louyang.gat,214,120,5	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#15	966
xmas.gat,154,136,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#16	966
morocc.gat,160,97,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#17	966
payon.gat,148,226,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#18	966
rachel.gat,135,115,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#19 	966
veins.gat,219,127,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#20	966
yuno.gat,163,170,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#21	966
umbala.gat,106,159,3	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#22	966
poring_c02,139,81,4	duplicate(Ultimate PvP Warper)	Ultimate PvP Warper#23	966
 
// Mapflags
guild_vs5	mapflag	pvp
 
guild_vs1	mapflag	pvp
Edited by SpongeBOB

1 answer to this question

Recommended Posts

Posted


// Made by iTouch

// ----------------------------------------------------------------------------

// Ultimate PvP Warper ver. 1

// Features:

// Baby PvP Room

// PvP Square(Every 2 days Random PvP Room)

// PvP Nightmare

// PvP Lowlvl( Supports 1 - 150 Lvl)

// PvP No Potion (Berrys , Ygg seed , Any potions , etc. are restricted)

// PvP Non Donator (Got Items are restricted here)

// -----------------------------------------------------------------------------

// ver. 2 update idea:

// Adding a PvP Room that removes the buffs of the player when entering the room

// Adding a PvP Room for GM's Only so GM's will have fun

// -----------------------------------------------------------------------------

// Special thanks to:

// icescope of eAthena for helping me configuring the error at PvP Square

// -----------------------------------------------------------------------------

prontera.gat,157,186,3 script PvP Warper 966,{

if (.pvp_square$=="") donpcevent "Ultimate PVP warper::OnClock0000";

mes "[ملك الحلبة]";

mes "أي غرفة تريد الدخول ؟";

switch(select("PVP Square ["+getmapusers("guild_vs5")+"/20]:PVP Nightmare ["+getmapusers("guild_vs1")+"/20]:PVP Compass ["+getmapusers("pvp_n_5-5")+"/20]")) {

case 1: // PVP Square

if (getmapusers("guild_vs5") > 99) callsub S_full;

warp "guild_vs5",0,0;

end;

case 2: // PVP Nightmare

if (getmapusers("guild_vs1") > 99) callsub S_full;

warp "guild_vs1",0,0;

end;

case 3: // Compass

if (getmapusers("pvp_n_5-5") > 99) callsub S_full;

if (BaseLevel > 99) { // Edit 150 to any maximum Lvl of a player can enter this room

mes "فقط ما بين لفل 1 و 99 يمكنهم الدخول";

close;

}

warp "pvp_n_5-5",0,0;

end;

case 4: // PVP NoPotion

if (getmapusers("pvp_n_5-5") > 99) callsub S_full;

for( set .@i,0; .@i<getarraysize(.NoPotion_ids); set .@i,.@i+1 ) {

if (countitem(.NoPotion_ids[.@i])) {

mes "You can not bring potions in this pvp.";

close;

}

}

warp "pvp_y_8-2",0,0;

end;

case 5: // Non Donator PVP

if (getmapusers("1@orcs") > 99) callsub S_full;

for( set .@i,0; .@i<getarraysize(.NoDonator_ids); set .@i,.@i+1 ) {

if (countitem(.NoDonator_ids[.@i])) {

mes "لا يمكنك استعمال ادوات خرافية في هذه الغرفة";

close;

}

}

warp "1@orcs",0,0;

end;

Case 6: // Baby PvP Room

if (getmapusers("pvp_y_1-2") > 99) callsub S_full;

if (class < 4023 || class > 4045) goto L_NotBaby;

warp "pvp_y_1-2",0,0;

end;

L_NotBaby:

mes "فقط الاطفال يمكنهم الدخول";

close;

}

S_full:

mes "انا اسفة هذه الغرفة ممتلئة ";

mes "تعال لاحقا";

close;

//OnInit:

// waitingroom " » P v P «",0;

end;

OnClock0000:

// set the "PVP Square" map, based on day of the weeek

switch(gettime(4)) {

case 0: // Sunday

case 1: // Monday

set .pvp_square$, "guild_vs5";

break;

case 2: // Tuesday

case 3: // Wednesday

set .pvp_square$, "pvp_n_5-5";

break;

case 4: // Thursday

case 5: // Friday

set .pvp_square$, "guild_vs5";

break;

case 6: // Saturday

set .pvp_square$, "guild_vs5";

break;

}

// items not allowed in PVP NoPotion

setarray .NoPotion_ids[0], 607, 608;

// items not allowed in Non Donator PVP

setarray .NoDonator_ids[0], 2410, 1530;

end;

}

- script PvPAnnounce -1,{

OnPCKillEvent:

set .@killer$, rid2name(killedrid); // Gets name of who was killed

getmapxy(.@mapname$,.@mapx,.@mapy,0);

if (strcharinfo(0)==@killer$) {

announce strcharinfo(0)+" has suicided.",bc_map,0x72D0D3; }

else {

announce strcharinfo(0)+" has killed "+.@killer$+"!",bc_map,0x72D0D3; }

}

moscovia.gat,226,198,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#1 966

askydun.gat,96,113,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#2 966 // Kliwa

alberta.gat,110,140,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#3 966 // Kliwa

aldebaran.gat,147,115,1 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#4 965 // Kliwa

amatsu.gat,207,86,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#5 966 // Kliwa

ayothaya.gat,155,117,2 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#6 966 // Kliwa

comodo.gat,206,80,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#7 966 // Kliwa

einbech.gat,198,83,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#8 966 // Taas Kaliwa

einbroch.gat,174,172,5 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#9 966 // Taas Kaliwa

geffen.gat,125,71,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#10 966

gonryun.gat,162,120,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#11 966

hugel.gat,89,151,5 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#12 966

izlude.gat,134,120,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#13 966

lighthalzen.gat,166,101,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#14 966

louyang.gat,214,120,5 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#15 966

xmas.gat,154,136,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#16 966

morocc.gat,160,97,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#17 966

payon.gat,148,226,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#18 966

rachel.gat,135,115,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#19 966

veins.gat,219,127,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#20 966

yuno.gat,163,170,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#21 966

umbala.gat,106,159,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#22 966

poring_c02,139,81,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#23 966

// Mapflags

guild_vs5 mapflag pvp

guild_vs1 mapflag pvp

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