chromus28 Posted April 1, 2014 Posted April 1, 2014 hi guys? Can i request a an PVP warper that have 3 different map? and modification? First Menu: Free PVP Room ( all players can get in in this map free for all ) Second Menu: Party PVP ( They can only pvp here if they have a party ) Third Menu: 1 ON 1 PVP Room ( only 2 Players can get in in this map ) can you please help me with this? thanks Quote
sandbox Posted April 1, 2014 Posted April 1, 2014 prontera,100,200,4 script PvP Warper 46,{ mes .Npc_Name$; mes "Hello!"; switch(select("Free PvP:Party PvP: 1v1 PvP")) { next; mes .Npc_Name$; case 1: mes "Goodluck!"; warp .Map$[0],0,0; close; break; case 2: if(!strcharinfo(1)) { mes "You must have a party in order to enter!"; close; } mes "Goodluck!"; warp .Map$[1],0,0; close; break; case 3: if(getmapusers(.Map$[2]) > 1) { mes "There are people fighting in this map!"; close; } mes "Goodluck!"; warp .Map$[2],0,0; close; break; } end; OnInit: .Npc_Name$ = "[^0000FF "+strnpcinfo(1)+" ^000000]"; setarray .Map$[0],"your_map1","your_map2","your_map3"; end; } Quote
chromus28 Posted April 1, 2014 Author Posted April 1, 2014 prontera,100,200,4 script PvP Warper 46,{ mes .Npc_Name$; mes "Hello!"; switch(select("Free PvP:Party PvP: 1v1 PvP")) { next; mes .Npc_Name$; case 1: mes "Goodluck!"; warp .Map$[0],0,0; close; break; case 2: if(!strcharinfo(1)) { mes "You must have a party in order to enter!"; close; } mes "Goodluck!"; warp .Map$[1],0,0; close; break; case 3: if(getmapusers(.Map$[2]) > 1) { mes "There are people fighting in this map!"; close; } mes "Goodluck!"; warp .Map$[2],0,0; close; break; } end; OnInit: .Npc_Name$ = "[^0000FF "+strnpcinfo(1)+" ^000000]"; setarray .Map$[0],"your_map1","your_map2","your_map3"; end; } I will try it later thanks!!!! Quote
fallen0519 Posted April 19, 2014 Posted April 19, 2014 Hello Sand Box, I think there is some error with the script about the party pvp, when i click the party type, it stuck, following is my edit script. prontera,162,159,4 script 1v1 PK 843,{ mes .Npc_Name$; mes "Hello!"; switch(select("1vs1 PvP:Party PvP")) { next; mes .Npc_Name$; case 1: if(getmapusers(.Map$[0]) > 1) { mes "There are people fighting in this map!"; close; } mes "Goodluck!"; warp .Map$[0],0,0; announce strcharinfo(0)+" entered the 1 VS 1 PvP Room",0; close; break; case 2: if(!strcharinfo(1)) { mes "You must have a party in order to enter!"; close; } mes "Goodluck!"; warp .Map$[1],0,0; announce strcharinfo(0)+" entered the Party PvP Room",0; close; break; } end; OnInit: waitingroom "1v1 PvP",0; .Npc_Name$ = "[^0000FF "+strnpcinfo(1)+" ^000000]"; setarray .Map$[0],"pvp_y_4-4","pvp_y_8-5"; end; } Kindly wait for your help yea... 1 Quote
Capuche Posted April 19, 2014 Posted April 19, 2014 Line if(!strcharinfo(1)) { strcharinfo return a string. You can't use a logical not operator with string replace it by if( strcharinfo(1) == "" ) { Quote
fallen0519 Posted April 19, 2014 Posted April 19, 2014 Thanks Capuche, it works !! Do you mind looking at this Guild Pack script? No matter how it records player's IP in sql, player can still create another account to claimed them. http://rathena.org/board/topic/94294-guild-pack-npc-giver-help-please/ Sorry if it post in the wrong topic. Quote
krayzie1027 Posted August 6, 2014 Posted August 6, 2014 Is there a way to make the party vs party portion like the RPC/WRC style? that will require 7 party members w/o repeating class? Quote
Question
chromus28
hi guys?
Can i request a an PVP warper that have 3 different map? and modification?
First Menu: Free PVP Room ( all players can get in in this map free for all )
Second Menu: Party PVP ( They can only pvp here if they have a party )
Third Menu: 1 ON 1 PVP Room ( only 2 Players can get in in this map )
can you please help me with this? thanks
7 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.