Zirius 1 Posted October 14, 2014 Hello! I found this on rathena: http://rathena.org/board/topic/73701-recallmap-command/ Plus, don't recall autotrade state players. I need this badly because of events. Thanks! Quote Share this post Link to post Share on other sites
1 Angelmelody 221 Posted October 18, 2014 This can be done via script i forgot where i get it.... or who made it but credits to them. - script MapRecall -1,{ OnInit: bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70; end; OnMapRecall: if(getgmlevel()==0) end; getmapxy .@map$,.@x,.@y,0; mapwarp .@map$,.@map$,.@x,.@y,0;} Hello! how can I avoid @autotrade players to be @maprecalled? we dont need that command becoz we have getmemberaid usage: @maprecall "mapname" - script MapRecall -1,{end;OnInit: bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70;end;OnMapRecall: .@smap$ =,.@atcmd_parameters$[1]; if(getmapusers(.@smap$) == -1) { mes "invalid map name.."; close; } getmapxy(.@tmap$,.@tx,.@ty,0); getmemberaid ALL_SAMEMAP, .@smap; for ( .@i = 0; .@i < $@onlinecount; .@i++ ) { if(!attachrid($@onlineaid[.@i])) continue; if(!checkvending()) warp(.@tmap$, .@tx, .@ty); } end; } 1 Zirius reacted to this Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted October 14, 2014 http://herc.ws/board/topic/653-maprecall/?hl=recall#entry4656 Quote Share this post Link to post Share on other sites
0 Zirius 1 Posted October 15, 2014 http://herc.ws/board/topic/653-maprecall/?hl=recall#entry4656 Thanks but it has no arg for mapname, sometimes there's "lobby" map for event, then after that, they will all be warped to another place. It would be great help for events. Quote Share this post Link to post Share on other sites
0 vBrenth 39 Posted October 17, 2014 This can be done via script i forgot where i get it.... or who made it but credits to them. - script MapRecall -1,{ OnInit: bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70; end; OnMapRecall: if(getgmlevel()==0) end; getmapxy .@map$,.@x,.@y,0; mapwarp .@map$,.@map$,.@x,.@y,0;} Quote Share this post Link to post Share on other sites
0 Zirius 1 Posted October 17, 2014 This can be done via script i forgot where i get it.... or who made it but credits to them. - script MapRecall -1,{ OnInit: bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70; end; OnMapRecall: if(getgmlevel()==0) end; getmapxy .@map$,.@x,.@y,0; mapwarp .@map$,.@map$,.@x,.@y,0;} Hello! how can I avoid @autotrade players to be @maprecalled? Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted October 17, 2014 the easy way is to not allow vending in the "lobby" map xD Quote Share this post Link to post Share on other sites
0 Zirius 1 Posted October 18, 2014 First time I saw checkvending() function. Thanks! Quote Share this post Link to post Share on other sites
Hello! I found this on rathena: http://rathena.org/board/topic/73701-recallmap-command/
Plus, don't recall autotrade state players.
I need this badly because of events.
Thanks!
Share this post
Link to post
Share on other sites