Jump to content
  • 0

MVP announcement request


Quesooo

Question


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.07
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

image.png.889bc79e6b304b050aa250d456afc08e.png

 

i want to request a mvp announcement like this if player killed a mvp the announcements look like this yellow announcement and if possible if also player get a mvp card the announcement also like this

 

thank you

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

-	script	MonsterKill	-1,{
OnNPCKillEvent:
	if( getmonsterinfo(killedrid, MOB_MVPEXP) ){
		announce +"Citizen of midgard, The Brave Adventurer"+ strcharinfo(0)+" has killed the MVP Monster "+getmonsterinfo(killedrid,0)+" at "+strcharinfo(3),0,0xFFFF00;
	}
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.07
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

15 hours ago, crazyarashi said:

-	script	MonsterKill	-1,{
OnNPCKillEvent:
	if( getmonsterinfo(killedrid, MOB_MVPEXP) ){
		announce +"Citizen of midgard, The Brave Adventurer"+ strcharinfo(0)+" has killed the MVP Monster "+getmonsterinfo(killedrid,0)+" at "+strcharinfo(3),0,0xFFFF00;
	}
}

 

not working

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

-	script	MonsterKill	-1,{
OnNPCKillEvent:
	if( getmonsterinfo(killedrid, MOB_MVPEXP) ) {
		announce "Citizen of midgard, The Brave Adventurer "+ strcharinfo(0)+" has killed the MVP Monster "+getmonsterinfo(killedrid,0)+" at "+strcharinfo(3),0,0xFFFF00;
	}
end;
}

I think typo : announce +"

also an end was missing, which isn't important in this case but still to be sure.

Also about the Drop Announce, I think that has to be done via conf/battle/drops.conf:

Quote

// Make broadcast ** Player1 won Pupa's Pupa Card (chance 0.01%) ***
// This can be set to any value between 0~10000.
// Note: It also announces STEAL skill usage with rare items
// 0 = don't show announces at all
// 1 = show announces for 0.01% drop chance items
// 333 = show announces for 3.33% or lower drop chance items
// 10000 = show announces for all items
rare_drop_announce: 0

Not sure if there is any other way to do it.

Regards,

Chris

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

8 minutes ago, Quesooo said:

not working

-	script	MonsterKill	-1,{
OnNPCKillEvent:
	if( getmonsterinfo(killedrid, MOB_MVPEXP) ){
		announce "Citizen of midgard, The Brave Adventurer "+ strcharinfo(0)+" has killed the MVP Monster "+getmonsterinfo(killedrid,0)+" at "+strcharinfo(3),0,0xFFFF00;
	}
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.07
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

15 hours ago, crazyarashi said:

-	script	MonsterKill	-1,{
OnNPCKillEvent:
	if( getmonsterinfo(killedrid, MOB_MVPEXP) ){
		announce "Citizen of midgard, The Brave Adventurer "+ strcharinfo(0)+" has killed the MVP Monster "+getmonsterinfo(killedrid,0)+" at "+strcharinfo(3),0,0xFFFF00;
	}
}

 

ohw yeah its working

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.07
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

15 hours ago, llchrisll said:

-	script	MonsterKill	-1,{
OnNPCKillEvent:
	if( getmonsterinfo(killedrid, MOB_MVPEXP) ) {
		announce "Citizen of midgard, The Brave Adventurer "+ strcharinfo(0)+" has killed the MVP Monster "+getmonsterinfo(killedrid,0)+" at "+strcharinfo(3),0,0xFFFF00;
	}
end;
}

I think typo : announce +"

also an end was missing, which isn't important in this case but still to be sure.

Also about the Drop Announce, I think that has to be done via conf/battle/drops.conf:

Not sure if there is any other way to do it.

Regards,

Chris

yeah i see that also but i want is only for mvp card drop not for any rare cards

Link to comment
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.

×
×
  • Create New...