DK77 Posted May 11, 2021 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 61 Reputation: 0 Joined: 06/30/17 Last Seen: July 19, 2024 Share Posted May 11, 2021 (edited) hello and good morning , i have 1 pvp script , but i want the drop skull function only at 2000-2300 to avoid abuse . heres the example pvp script : askald,134,101,4 script PVP Arena 733,{ set .npcname$,"^0147FA[ PVP Arena Warper ]^000000"; mes .npcname$; mes "[Arena Lists & Player's Count]"; mes "[Solo] [ ^00FF33" + getmapusers("guild_vs3") + "^000000 / 100 ]"; mes "[Party] [ ^00FF33" + getmapusers("pvp_y_1-1") + "^000000 / 100 ]"; switch(select("Solo:Party")) { Case 1: if(getmapusers("guild_vs3") == 100) goto L_Full; getmapxy .@map$,.@x,.@y;; announce strcharinfo(0)+" has entered PVP Solo "+$@lista$,0; //sc_end SC_ASSUMPTIO ; warp "guild_vs3",0,0; end; Case 2: if(getmapusers("pvp_y_1-1") == 100) goto L_Full; getmapxy .@map$,.@x,.@y;; announce strcharinfo(0)+" has entered PVP Party "+$@lista$,0; warp "pvp_y_1-1",0,0; end; L_Full: mes .npcname$; mes "Sorry you cant go in now"; mes "The room is full now"; mes "Please try again later"; close; } OnPCDieEvent: getmapxy( .@map$, .@x, .@y); if (.@map$ == "guild_vs3") makeitem 7420, 1, .@map$, .@x, .@y; end; OnAgitStart: hideonnpc strnpcinfo(0); end; OnAgitEnd: hideoffnpc strnpcinfo(0); end; OnAgitStart2: hideonnpc strnpcinfo(0); end; OnAgitEnd2: hideoffnpc strnpcinfo(0); end; end; OnInit: waitingroom "PVP Warper",0; } //MAPFLAGS pvp_y_1-1 mapflag gvg off guild_vs3 mapflag gvg off pvp_y_1-1 mapflag pvp guild_vs3 mapflag pvp pvp_y_1-1 mapflag nosave SavePoint guild_vs3 mapflag nosave SavePoint pvp_y_1-1 mapflag noteleport guild_vs3 mapflag noteleport pvp_y_1-1 mapflag nowarp guild_vs3 mapflag nowarp pvp_y_1-1 mapflag nowarpto guild_vs3 mapflag nowarpto pvp_y_1-1 mapflag nomemo guild_vs3 mapflag nomemo pvp_y_1-1 mapflag nobranch guild_vs3 mapflag nobranch guild_vs3 mapflag pvp_noguild Edited May 11, 2021 by DK77 Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted May 11, 2021 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 7 hours ago Share Posted May 11, 2021 Quote OnPCDieEvent: getmapxy( .@map$, .@x, .@y); if (.@map$ == "guild_vs3") if (gettime(DT_HOUR)>=20 && gettime(DT_HOUR)<22){ makeitem 7420, 1, .@map$, .@x, .@y; } end; Quote Link to comment Share on other sites More sharing options...
1 xVaan Posted May 11, 2021 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 24 Reputation: 2 Joined: 06/21/20 Last Seen: September 1, 2024 Share Posted May 11, 2021 OnClock2000: setbattleflag("bone_drop",1); end; OnClock2300: setbattleflag("bone_drop",0); end; Quote Link to comment Share on other sites More sharing options...
0 DK77 Posted May 11, 2021 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 61 Reputation: 0 Joined: 06/30/17 Last Seen: July 19, 2024 Author Share Posted May 11, 2021 okay ill try first On 5/11/2021 at 12:28 PM, LearningRO said: @LearningRO Hello sir , i already test and it working fine , btw can i make it from 12pm - 2am ? Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted May 12, 2021 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 7 hours ago Share Posted May 12, 2021 10 hours ago, DK77 said: @LearningRO Hello sir , i already test and it working fine , btw can i make it from 12pm - 2am ? try to change 24 and 2 Quote Link to comment Share on other sites More sharing options...
Question
DK77
hello and good morning , i have 1 pvp script , but i want the drop skull function only at 2000-2300 to avoid abuse .
heres the example pvp script :
askald,134,101,4 script PVP Arena 733,{
set .npcname$,"^0147FA[ PVP Arena Warper ]^000000";
mes .npcname$;
mes "[Arena Lists & Player's Count]";
mes "[Solo] [ ^00FF33" + getmapusers("guild_vs3") + "^000000 / 100 ]";
mes "[Party] [ ^00FF33" + getmapusers("pvp_y_1-1") + "^000000 / 100 ]";
switch(select("Solo:Party")) {
Case 1:
if(getmapusers("guild_vs3") == 100) goto L_Full;
getmapxy .@map$,.@x,.@y;;
announce strcharinfo(0)+" has entered PVP Solo "+$@lista$,0;
//sc_end SC_ASSUMPTIO ;
warp "guild_vs3",0,0;
end;
Case 2:
if(getmapusers("pvp_y_1-1") == 100) goto L_Full;
getmapxy .@map$,.@x,.@y;;
announce strcharinfo(0)+" has entered PVP Party "+$@lista$,0;
warp "pvp_y_1-1",0,0;
end;
L_Full:
mes .npcname$;
mes "Sorry you cant go in now";
mes "The room is full now";
mes "Please try again later";
close;
}
OnPCDieEvent:
getmapxy( .@map$, .@x, .@y);
if (.@map$ == "guild_vs3")
makeitem 7420, 1, .@map$, .@x, .@y;
end;
OnAgitStart:
hideonnpc strnpcinfo(0);
end;
OnAgitEnd:
hideoffnpc strnpcinfo(0);
end;
OnAgitStart2:
hideonnpc strnpcinfo(0);
end;
OnAgitEnd2:
hideoffnpc strnpcinfo(0);
end;
end;
OnInit:
waitingroom "PVP Warper",0;
}
//MAPFLAGS
pvp_y_1-1 mapflag gvg off
guild_vs3 mapflag gvg off
pvp_y_1-1 mapflag pvp
guild_vs3 mapflag pvp
pvp_y_1-1 mapflag nosave SavePoint
guild_vs3 mapflag nosave SavePoint
pvp_y_1-1 mapflag noteleport
guild_vs3 mapflag noteleport
pvp_y_1-1 mapflag nowarp
guild_vs3 mapflag nowarp
pvp_y_1-1 mapflag nowarpto
guild_vs3 mapflag nowarpto
pvp_y_1-1 mapflag nomemo
guild_vs3 mapflag nomemo
pvp_y_1-1 mapflag nobranch
guild_vs3 mapflag nobranch
guild_vs3 mapflag pvp_noguild
Link to comment
Share on other sites
4 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.