Brynner Posted June 6, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 37 minutes ago Share Posted June 6, 2013 i modified the warper npc of rathena.and i just add getmapusers on every map you choose. is there any easy way to get map? i insert the getmapusers on menu. "Prontera["+getmapusers("prontera")+"]",T1, so this script is very long since every warp has different map. is there any easy way to use getmapusers without using the specific map? Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 6, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 05:32 PM Share Posted June 6, 2013 they use +getmapusers(.@Maps$[.@i])+ to get the map. because the .@maps$[.@i] has been defined here.. setarray .@Maps$[0],"pvp_n_8-1","pvp_n_8-2","pvp_n_8-3","pvp_n_8-4","pvp_n_8-5"; setarray .@Maps$[0],"pvp_y_8-1","pvp_y_8-2","pvp_y_8-3","pvp_y_8-4","pvp_y_8-5"; you can use toastofdoom's warper too ... or annieruru's favourite warper ..or any other from the forum ...else just add the getmapusers yourself.. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 6, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 6, 2013 I think no. You have to put it on every map I guess. Just like this one; warper.txt Quote Link to comment Share on other sites More sharing options...
Brynner Posted June 6, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 37 minutes ago Author Share Posted June 6, 2013 hmmm i checked the pvp script of rathena. //Fight square Reception Staff (Locations below) - script FSRS::fsr -1,{ if(strnpcinfo(4) == "pvp_y_room") { setarray .@Maps$[0],"pvp_y_8-1","pvp_y_8-2","pvp_y_8-3","pvp_y_8-4","pvp_y_8-5"; setarray .@Name$[0],"Prontera","Izlude","Payon","Alberta","Morroc"; setarray .@Limit[0],128,128,128,128,128; } else { setarray .@Maps$[0],"pvp_n_8-1","pvp_n_8-2","pvp_n_8-3","pvp_n_8-4","pvp_n_8-5"; setarray .@Name$[0],"Sandwich","Lock on","Four Room","Under cross","Compass Room"; setarray .@Limit[0],64,32,32,32,32; } for(set .@i,0; .@i<5; set .@i,.@i+1) set .@menu$, .@menu$+.@Name$[.@i]+" ["+getmapusers(.@Maps$[.@i])+" / "+.@Limit[.@i]+"]:"; set .@menu$, .@menu$+"Cancel."; set .@i, select(.@menu$)-1; if (.@i == 5) close; if (getmapusers(.@Maps$[.@i]) >= .@Limit[.@i]) { mes "[PVP Fight Square Reception Staff]"; mes "This map is currently full."; } else warp .@Maps$[.@i],0,0; close; they use +getmapusers(.@Maps$[.@i])+ to get the map. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 6, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 6, 2013 Are you using Euphy's Warper 1.3? Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 6, 2013 Yeah, you can't do this easily with my script. I decided not to store the main menu. Quote Link to comment Share on other sites More sharing options...
Brynner Posted June 6, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 37 minutes ago Author Share Posted June 6, 2013 Yeah, you can't do this easily with my script. I decided not to store the main menu. oh i see.i think i'm gonna use Toasty's Warper. but it seems outdated. Quote Link to comment Share on other sites More sharing options...
Question
Brynner
i modified the warper npc of rathena.and i just add getmapusers on every map you choose.
is there any easy way to get map?
i insert the getmapusers on menu.
"Prontera["+getmapusers("prontera")+"]",T1,
so this script is very long since every warp has different map. is there any easy way to use getmapusers without using the specific map?
Link to comment
Share on other sites
6 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.