rhay18 Posted February 25, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 10/18/12 Last Seen: May 22, 2014 Share Posted February 25, 2014 can i ask about party.... when 1 member leave in party or log out is possible other party member can back to town??? Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted February 26, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted February 26, 2014 use partylock mapflag to prevent players from leaving the party this is more practical Quote Link to comment Share on other sites More sharing options...
Skorm Posted February 26, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted February 26, 2014 use partylock mapflag to prevent players from leaving the party this is more practical O_O That exists? Damn! Well my GVG/PVP scripts just got a ton better. ty Annie. I was using loops to check the existence of the party... So unoptimized... Quote Link to comment Share on other sites More sharing options...
rhay18 Posted February 26, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 10/18/12 Last Seen: May 22, 2014 Author Share Posted February 26, 2014 hmmm.... so how if the 1 member leave or logout in party?? the other member will going back to town all of them... Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted February 26, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted February 26, 2014 (edited) partylock already prevent the players from leaving the party but for logout, well, just very simple script - script kjdhfkjshfs -1,{ OnPCLogoutEvent: if ( strcharinfo(3) != "guild_vs2" ) end; if ( !getcharid(1) ) end; // some gm will bypass nowarpto mapflag ... getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == "guild_vs2" ) warp "Save", 0,0; } } // warpparty "SavePoint", 0,0, getcharid(1), "guild_vs2"; // EDIT: forgot warpparty doesn't work on noreturn mapflag end; } guild_vs2 mapflag partylock Edited February 26, 2014 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
Question
rhay18
can i ask about party.... when 1 member leave in party or log out is possible other party member can back to town???
Link to comment
Share on other sites
4 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.