lexaeus Posted April 24, 2017 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
0 Quesooo Posted April 24, 2017 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
0 Cyro Posted April 24, 2017 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
0 lexaeus Posted April 24, 2017 Author 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
0 lexaeus Posted April 24, 2017 Author 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
0 Cyro Posted April 24, 2017 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
0 lexaeus Posted April 25, 2017 Author 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
0 lexaeus Posted May 2, 2017 Author 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
0 Cyro Posted May 2, 2017 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
0 lexaeus Posted May 3, 2017 Author 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
0 Cyro Posted May 3, 2017 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
0 Imbecile Posted October 7, 2017 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
0 Cyro Posted October 7, 2017 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
0 Aureon Posted October 7, 2017 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
0 Imbecile Posted October 7, 2017 Posted October 7, 2017 ah so if i type @maprecall prontera, every players in the prontera will be warped at me right? Quote
0 Aureon Posted October 7, 2017 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
0 Imbecile Posted October 7, 2017 Posted October 7, 2017 ah i see. thank you so much @Aureon for the explanation! Quote
0 llchrisll Posted October 7, 2017 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
0 sader1992 Posted October 7, 2017 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
0 llchrisll Posted October 7, 2017 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
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.
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.