lexaeus Posted April 24, 2017 Group: Members Topic Count: 17 Topics Per Day: 0.01 Content Count: 65 Reputation: 0 Joined: 03/03/17 Last Seen: September 15, 2020 Share Posted April 24, 2017 Hi, May I request for a working @maprecall wherein I can recall all characters within the map into one place. Thank you in advance. Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted April 24, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Share Posted April 24, 2017 16 hours ago, lexaeus said: Hi, May I request for a working @maprecall wherein I can recall all characters within the map into one place. Thank you in advance. as a GM you can use @recallall for that Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted April 24, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted April 24, 2017 1 hour ago, lexaeus said: Hi, May I request for a working @maprecall wherein I can recall all characters within the map into one place. Thank you in advance. - 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; } 1 Quote Link to comment Share on other sites More sharing options...
0 lexaeus Posted April 24, 2017 Group: Members Topic Count: 17 Topics Per Day: 0.01 Content Count: 65 Reputation: 0 Joined: 03/03/17 Last Seen: September 15, 2020 Author Share Posted April 24, 2017 57 minutes ago, Questune09 said: as a GM you can use @recallall for that @recallall - Warps every character online to you. I'm looking for a custom command wherein I can recall all players within the area. Quote Link to comment Share on other sites More sharing options...
0 lexaeus Posted April 24, 2017 Group: Members Topic Count: 17 Topics Per Day: 0.01 Content Count: 65 Reputation: 0 Joined: 03/03/17 Last Seen: September 15, 2020 Author Share Posted April 24, 2017 54 minutes ago, Cyro said: - 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; } Hi Cyro, in this script I can recall all players within the map? moving forward, where should I put this script and is there any script should I add to make @maprecall work? Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted April 24, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted April 24, 2017 3 minutes ago, lexaeus said: Hi Cyro, in this script I can recall all players within the map? moving forward, where should I put this script and is there any script should I add to make @maprecall work? Just add this script as npc script, And reloadscript or reloadnpc/restart server to make it work, and thats it And when command used all players within the map comes the command casting character, and level zero group cant use command 1 Quote Link to comment Share on other sites More sharing options...
0 lexaeus Posted April 25, 2017 Group: Members Topic Count: 17 Topics Per Day: 0.01 Content Count: 65 Reputation: 0 Joined: 03/03/17 Last Seen: September 15, 2020 Author Share Posted April 25, 2017 12 hours ago, Cyro said: Just add this script as npc script, And reloadscript or reloadnpc/restart server to make it work, and thats it And when command used all players within the map comes the command casting character, and level zero group cant use command Thank you very much @Cyro is it safe to say the on a plain notepad I simply add this script. No need to add atcommand. Thanks a lot cheers! Quote Link to comment Share on other sites More sharing options...
0 lexaeus Posted May 2, 2017 Group: Members Topic Count: 17 Topics Per Day: 0.01 Content Count: 65 Reputation: 0 Joined: 03/03/17 Last Seen: September 15, 2020 Author Share Posted May 2, 2017 On 4/25/2017 at 9:54 AM, lexaeus said: Thank you very much @Cyro is it safe to say the on a plain notepad I simply add this script. No need to add atcommand. Thanks a lot cheers! Hi Guys, @maprecall is still not working? help anyone TIA Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted May 2, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted May 2, 2017 7 hours ago, lexaeus said: Hi Guys, @maprecall is still not working? help anyone TIA any console errors? a bit more information would be helpful Quote Link to comment Share on other sites More sharing options...
0 lexaeus Posted May 3, 2017 Group: Members Topic Count: 17 Topics Per Day: 0.01 Content Count: 65 Reputation: 0 Joined: 03/03/17 Last Seen: September 15, 2020 Author Share Posted May 3, 2017 11 hours ago, Cyro said: any console errors? a bit more information would be helpful Hi @Cyro I'm not getting any errors. I just followed your guide. Correct me if I'm wrong I just simply copied the script and save in notepad. restarted the server and execute the command @maprecall but nothing happens. Also is it possible to make another script for @quest or @mall there will be a pop up window wherein you can buy. TIA Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted May 3, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted May 3, 2017 G Follow this guide and add your script in proper way https://github.com/rathena/rathena/wiki/Adding-a-Script And regarding your other question there is @minimart script in script release section with callshop function Quote Link to comment Share on other sites More sharing options...
0 Imbecile Posted October 7, 2017 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 52 Reputation: 1 Joined: 04/14/17 Last Seen: February 9 Share Posted October 7, 2017 On 4/24/2017 at 7:03 PM, Cyro said: - 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; } dear @Cyro hello sir. can i ask something? how this work? i already inputing the script and yes the commands actually doing something. but it's only doing a black screen for a moment and not warping player or me to other map. what is the proper command to use this script? thank you for your cool script btw Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted October 7, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted October 7, 2017 this script wont recall players from other map, it will warp the players to the to the gm(the one who used the command) location, it will also warp gm to same location so it will show as black screen Quote Link to comment Share on other sites More sharing options...
0 Aureon Posted October 7, 2017 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 281 Reputation: 14 Joined: 10/14/13 Last Seen: October 9, 2017 Share Posted October 7, 2017 (edited) On 4/24/2017 at 6:49 PM, lexaeus said: wherein I can recall all characters within the map into one place. @lexaeus @padangyoesa I believe this part: if(getgmlevel()==0) end; should be: if(getgmlevel() > 0) end; with the changes above, all characters will be warped to your current location except GMs. I hope this would solve your problem please do add 'end;' after 'mapwarp' and it should look like this: mapwarp .@map$,.@map$,.@x,.@y,0; end; Edited October 7, 2017 by Aureon no end; at the last part of the script Quote Link to comment Share on other sites More sharing options...
0 Imbecile Posted October 7, 2017 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 52 Reputation: 1 Joined: 04/14/17 Last Seen: February 9 Share Posted October 7, 2017 ah so if i type @maprecall prontera, every players in the prontera will be warped at me right? Quote Link to comment Share on other sites More sharing options...
0 Aureon Posted October 7, 2017 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 281 Reputation: 14 Joined: 10/14/13 Last Seen: October 9, 2017 Share Posted October 7, 2017 (edited) @padangyoesa You don't have to add the name of the map, just use @maprecall and it would automatically warp all players on the map to your current location. Edited October 7, 2017 by Aureon haven't noticed he mentioned the mapname Quote Link to comment Share on other sites More sharing options...
0 Imbecile Posted October 7, 2017 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 52 Reputation: 1 Joined: 04/14/17 Last Seen: February 9 Share Posted October 7, 2017 ah i see. thank you so much @Aureon for the explanation! Quote Link to comment Share on other sites More sharing options...
0 llchrisll Posted October 7, 2017 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted October 7, 2017 (edited) 3 hours ago, Aureon said: @lexaeus @padangyoesa I believe this part: if(getgmlevel()==0) end; should be: if(getgmlevel() > 0) end; with the changes above, all characters will be warped to your current location except GMs. I hope this would solve your problem Not quite, that check is for preventing the usage of the command for players. If your check it for everything above 0 than even an gm can't use it, since it will end it immediately. Regards, Chris Edited October 7, 2017 by llchrisll Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted October 7, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 14 hours ago Share Posted October 7, 2017 1 hour ago, llchrisll said: that check is for preventing the usage of the command for players bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70; the first 70 is the command level so no one under the group 70 can use the command Quote Link to comment Share on other sites More sharing options...
0 llchrisll Posted October 7, 2017 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted October 7, 2017 Just now, sader1992 said: bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70; the first 70 is the command level so no one under the group 70 can use the command I know that, but I meant the getgmlevel, if you check for anything above 0 it, no gm would be able to use this. Would have removed that check anyway, when he uses the parameters anyway. I hope I made it more understandable, what I wanted to say. Regards, Chris Quote Link to comment Share on other sites More sharing options...
Question
lexaeus
Hi,
May I request for a working @maprecall wherein I can recall all characters within the map into one place.
Thank you in advance.
Link to comment
Share on other sites
19 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.