AdmCronus 0 Posted May 12, 2014 (edited) How do I dismiss a player from the queue when he log out? in Anie Ruru's script. i use this system http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/ the player dead? go out! an he can registre again the player logout? go out to the queue Edited May 12, 2014 by AdmCronus Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 12, 2014 You can use bg_leave script command for both purposes. I'd need your script to know what you're doing since that is just a queuing system but can use more variables. If you're using Hercules queue system, you could easily queueremove that guy if needed. Quote Share this post Link to post Share on other sites
0 AdmCronus 0 Posted May 12, 2014 (edited) if player log out he go out queue or arena. and dead too. Edited May 15, 2014 by AdmCronus Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted May 12, 2014 (edited) createbgid <respawn map>, <respawn x>, <respawn y>, <On Quit event>, <On Death event>; set .green, createbgid( "izlude",136,117, strnpcinfo(0)+"::OngreenQuit", strnpcinfo(0)+"::OngreenDead" );set .black, createbgid( "izlude",136,117, strnpcinfo(0)+"::OnblackQuit", strnpcinfo(0)+"::OnblackDead" ); so... ??? ( I am not really sure ) OngreenDead:OngreenQuit:OnblackQuit:OnblackDead: if (getcharid(4)) bg_leave; warp "SavePoint",0,0; end; Edited May 12, 2014 by quesoph Quote Share this post Link to post Share on other sites
0 AdmCronus 0 Posted May 12, 2014 if i put warp "SavePoint",0,0; he dont play next event, he registred but not warp others! when he dead or logout he need to go out to the queue. Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted May 12, 2014 try to add if (getcharid(4)) bg_leave; Quote Share this post Link to post Share on other sites
0 AdmCronus 0 Posted May 12, 2014 (edited) OnPCDieEvent: getmapxy(@map$,$@x,$@y,0); if (@map$ == "guild_vs1-2") { sleep2 1; atcommand "@alive"; warp "izlude", 128,117;if (getcharid(4)) bg_leave; i put getcharid(3) and not ok too. Not OK, Edited May 12, 2014 by AdmCronus Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted May 12, 2014 This is my example. OngreenDead:OnblackDead:OngreenQuit:OnblackQuit: if (getcharid(4)) bg_leave; set .start, 0; warp "SavePoint",0,0; end; Quote Share this post Link to post Share on other sites
0 AdmCronus 0 Posted May 12, 2014 (edited) If i put your exemple npc will teleport peoples while another round is underway i need to make player dead go out event. Edited May 12, 2014 by AdmCronus Quote Share this post Link to post Share on other sites
How do I dismiss a player from the queue when he log out?
in Anie Ruru's script.
i use this system
http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/
the player dead? go out! an he can registre again
the player logout? go out to the queue
Edited by AdmCronusShare this post
Link to post
Share on other sites