Jump to content
  • 0
Sign in to follow this  
Almond Snicker

Party member on another map also gets the kill [Annieruru Mission Board r2.6]

Question

Hi guys!

Does this happen to your partymembers as well?
Release/mission_board_r2.6.txt at master · AnnieRuru/Release · GitHub

Issue:
Party member with the same mission gets the monster kill count of another member even if the player is on different maps.

Player 1 - kills a monster on a field.
Player 2 - gets the kill count as well even if he is on a Town.

Both players took the same mission at the same time.

Is this a bug or there's a setting to turn this off?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
5 hours ago, Almond Snicker said:

Hi guys!

Does this happen to your partymembers as well?
Release/mission_board_r2.6.txt at master · AnnieRuru/Release · GitHub

Issue:
Party member with the same mission gets the monster kill count of another member even if the player is on different maps.

Player 1 - kills a monster on a field.
Player 2 - gets the kill count as well even if he is on a Town.

Both players took the same mission at the same time.

Is this a bug or there's a setting to turn this off?

looks like bug

if ( @ms_b_loading == 0 && [email protected]$ == [email protected]$ && distance([email protected],[email protected],[email protected],[email protected]) <= 30 && Hp ) {

Req same map

Share this post


Link to post
Share on other sites
  • 0
8 hours ago, botka4aet said:

looks like bug

if ( @ms_b_loading == 0 && [email protected]$ == [email protected]$ && distance([email protected],[email protected],[email protected],[email protected]) <= 30 && Hp ) {

Req same map

Is there a fix to this or just remove it?

if we remove what would happen, party members with the same mission wont get the kills at all even on same map?

Share this post


Link to post
Share on other sites
  • 0

Well, you must remove full block

	getmapxy [email protected]$, [email protected], [email protected], 0;
	getpartymember getcharid(1), 1;
	getpartymember getcharid(1), 2;
	set [email protected], 0;
	while ( [email protected] < [email protected] ) {
		if ( isloggedin( [email protected][[email protected]], [email protected][[email protected]] ) ) {
			attachrid [email protected][[email protected]];
			getmapxy [email protected]$, [email protected], [email protected], 0;
			if ( @ms_b_loading == 0 && [email protected]$ == [email protected]$ && distance([email protected],[email protected],[email protected],[email protected]) <= 30 && Hp ) {
				set [email protected], 1;
				while ( [email protected] <= 4 ) {
					if ( getd("@ms_b_m_"+ [email protected] +"[0]") ) {
						if ( getd("$ms_b_m_"+ getd("@ms_b_m_"+ [email protected] +"[0]") +"$[0]") == "" ) {
							dispbottom "Mission Board: Your Mission#"+ [email protected] +" has deleted because it is no longer available";
							deletearray getd("@ms_b_m_"+ [email protected]);
							setd "ms_b_m_"+ [email protected] +"$", "";
							deltimer "ms_b_::OnQuest"+ [email protected] +"TimeUp";
						}
						else {
							set [email protected], 0;
							set [email protected], getarraysize( getvariableofnpc( getd(".ms_b_t_"+ getd("@ms_b_m_"+ [email protected] +"[0]") ), "ms_b_" ) );
							while ( [email protected] < [email protected] ) {
								if ( [email protected] == getvariableofnpc( getd(".ms_b_t_"+ getd("@ms_b_m_"+ [email protected] +"[0]") +"["+ [email protected] +"]"), "ms_b_" ) && getd("@ms_b_m_"+ [email protected] +"["+( [email protected]/2 +2 )+"]") < getvariableofnpc( getd(".ms_b_t_"+ getd("@ms_b_m_"+ [email protected] +"[0]") +"["+( [email protected] +1 )+"]"), "ms_b_" ) ) {
									setd "@ms_b_m_"+ [email protected] +"["+( [email protected]/2 +2 )+"]", getd("@ms_b_m_"+ [email protected] +"["+( [email protected]/2 +2 )+"]") +1;
									dispbottom "Mission #"+ [email protected] +". You have killed "+ getmonsterinfo( getvariableofnpc( getd(".ms_b_t_"+ getd("@ms_b_m_"+ [email protected] +"[0]") +"["+ [email protected] +"]"), "ms_b_" ), 0 ) +" ["+ getd("@ms_b_m_"+ [email protected] +"["+( [email protected]/2 +2 )+"]") +"/"+ getvariableofnpc( getd(".ms_b_t_"+ getd("@ms_b_m_"+ [email protected] +"[0]") +"["+( [email protected] +1 )+"]"), "ms_b_" ) +"]";
									setd "ms_b_m_"+ [email protected] +"$", getd("@ms_b_m_"+ [email protected] +"[0]") +"#"+( ( getd("@ms_b_m_"+ [email protected] +"[1]") )?getd("@ms_b_m_"+ [email protected] +"[1]"):"" )+"#"+( ( getd("@ms_b_m_"+ [email protected] +"[2]") )?getd("@ms_b_m_"+ [email protected] +"[2]"):"" )+"#"+( ( getd("@ms_b_m_"+ [email protected] +"[3]") )?getd("@ms_b_m_"+ [email protected] +"[3]"):"" )+"#"+( ( getd("@ms_b_m_"+ [email protected] +"[4]") )?getd("@ms_b_m_"+ [email protected] +"[4]"):"" )+"#"+( ( getd("@ms_b_m_"+ [email protected] +"[5]") )?getd("@ms_b_m_"+ [email protected] +"[5]"):"" )+"#"+( ( getd("@ms_b_m_"+ [email protected] +"[6]") )?getd("@ms_b_m_"+ [email protected] +"[6]"):"" )+"#"+( ( getd("@ms_b_m_"+ [email protected] +"[7]") )?getd("@ms_b_m_"+ [email protected] +"[7]"):"" )+"#"+( ( getd("@ms_b_m_"+ [email protected] +"[8]") )?getd("@ms_b_m_"+ [email protected] +"[8]"):"" )+"#"+( ( getd("@ms_b_m_"+ [email protected] +"[9]") )?getd("@ms_b_m_"+ [email protected] +"[9]"):"" );
								}
								set [email protected], [email protected] +2 ;
							}
						}
					}
					set [email protected], [email protected] +1 ;
				}
			}
		}
		set [email protected], [email protected] +1 ;
	}

Yes, party members willn't get mission mobs.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.