Mirakol- Posted September 8, 2018 Posted September 8, 2018 can someone share a simple pvp warper? - maps are default one (prontera,izlude,etc.) - announces player's name when getting inside the pvp room - show how many players each room thank you in advance Quote
0 Emistry Posted September 8, 2018 Posted September 8, 2018 prontera,155,181,5 script PVP Warper 4_F_KAFRA1,{ for (.@i = 0; .@i < .map_size; .@i++) .@menu$ = .@menu$ + .map$[.@i] + "("+getmapusers(.map$[.@i])+" user(s))" + ":"; .@i = select(.@menu$) - 1; mapannounce .map$[.@i], strcharinfo(0)+ " has entered this PVP room.", bc_map; warp .map$[.@i], 0, 0; end; OnInit: setarray .map$, "prontera", "payon", "izlude"; .map_size = getarraysize(.map$); end; } Quote
0 Mirakol- Posted September 8, 2018 Author Posted September 8, 2018 @Emistry whoa thanks for the script it works perfectly. but there is one problem when I set map for example pvp_y_8-1, the name on the menu is also "pvp_y_8-1" I want it to be a custom name not the map name itself. can you help me with this thanks! Quote
0 Emistry Posted September 8, 2018 Posted September 8, 2018 prontera,155,181,5 script PVP Warper 4_F_KAFRA1,{ for (.@i = 0; .@i < .map_size; .@i++) .@menu$ = .@menu$ + .map_name$[.@i] + "("+getmapusers(.map$[.@i])+" user(s))" + ":"; .@i = select(.@menu$) - 1; mapannounce .map$[.@i], strcharinfo(0)+ " has entered this PVP room.", bc_map; warp .map$[.@i], 0, 0; end; OnInit: setarray .map_name$, "name - prontera", "name - payon", "name - izlude"; setarray .map$, "prontera", "payon", "izlude"; .map_size = getarraysize(.map_name$); end; } Quote
0 Mirakol- Posted September 8, 2018 Author Posted September 8, 2018 @Emistry why map announce not working? Quote
0 Emistry Posted September 9, 2018 Posted September 9, 2018 18 hours ago, Mirakol- said: @Emistry why map announce not working? Quote
0 Mirakol- Posted September 9, 2018 Author Posted September 9, 2018 6 minutes ago, Emistry said: so announce will just show on other player screen? not yours? Quote
0 Emistry Posted September 9, 2018 Posted September 9, 2018 when your character get teleported, it refresh the screen, you wont see the announcement, beside what's the point of seeing the message when you already know you entered the pvp room yourself lol. Quote
0 Mirakol- Posted September 9, 2018 Author Posted September 9, 2018 26 minutes ago, Emistry said: when your character get teleported, it refresh the screen, you wont see the announcement, beside what's the point of seeing the message when you already know you entered the pvp room yourself lol. ok ok now I get it. thanks @Emistry! Quote
Question
Mirakol-
can someone share a simple pvp warper?
- maps are default one (prontera,izlude,etc.)
- announces player's name when getting inside the pvp room
- show how many players each room
thank you in advance
8 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.