Jump to content

[SRC] MVP Tomb + rA Patch for added Features


malufett

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

If you use rA, it's implemented in latest SVN. Try to check your /conf/battle/monster.conf

// Whether or not to spawn the mvp tomb.
// See http://irowiki.org/wiki/MVP#Gravestone
mvp_tomb_enabled: yes

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Thanks Darristan I went all the way to the end of this file just to ask that question.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  309
  • Reputation:   6
  • Joined:  04/24/12
  • Last Seen:  

guys how to show the pub timer after killing the MVP? im using the latest SVN...thanks

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Can someone upload a patch for 3ceam for its latest revision? Thanks!

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  10/11/12
  • Last Seen:  

Ok i use V.4  for rathena with eathena It's work !! 

 

 

But i want to add Tomb delay when MVP die and respwn

 

Tomb will show when MVP die for 5 sec

Tomb will hidden when MVP respawn for 5 sec

 

It like in Offical Server.

Edited by akanejung
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   3
  • Joined:  04/12/13
  • Last Seen:  

who to add scripts on the tomb

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  07/25/13
  • Last Seen:  

Hmm i have that line., I followed the main topic first post.

here's what i got on my npc.c

/**
MVP Tomb System. [malufett]
**/
static int totalnpctomb = 0;
int npc_mvp_tomb(struct mob_data *md, struct map_session_data *sd){
	char w1[256], w2[256], w3[256];
	struct npc_data *nd = NULL;
	int count;
   nullpo_ret(md);
	if(sd){
	 struct mob_data *boss_md = map_getmob_boss(sd->bl.m); // Search for Boss on this Map and ignore summoned Boss
	   if(  boss_md != NULL &&
					   boss_md->bl.prev != NULL &&
						 md->bl.id == boss_md->bl.id)
	 {
		 int x = boss_md->bl.x, y = boss_md->bl.y;
		 sprintf(w2, "Tomb#%d", boss_md->class_);
		 sprintf(w1, "%s, %d, %d, 1", map[boss_md->bl.m].name, x , y);
		 sprintf(w3, "n%d::OnMyMobDead", totalnpctomb);
		 sprintf(w2, "%s::n%d", w2, count=totalnpctomb++);
		 safestrncpy(md->npc_event, w3, sizeof(md->npc_event));
		 npc_parse_duplicate(w1,"duplicate(tomb_stone)",w2,"565", "-", "-", "MVP_TOMB"+boss_md->class_);
		 if(md->spawn_timer != INVALID_TIMER){
		  const struct TimerData * timer_data = get_timer(md->spawn_timer);
		  pc_setreg(sd, add_str("@spawn_delay"), DIFF_TICK(timer_data->tick, gettick())  + 60);
		 }
		 npc_event(sd,md->npc_event,0);
		 safestrncpy(md->npc_event, "", sizeof(md->npc_event));
		 if(SCRIPT_MAX_ARRAYSIZE > totalnpctomb) totalnpctomb = 0;
	 }
	}else{
	 sprintf(w1, "n%d", md->target_id);
	 nd = npc_name2id(w1);
	 if (nd  != NULL){
		 npc_unload(nd);
		 md->target_id = 0;
		 totalnpctomb--;
	 }
	}
	return count;
}

will this working on eathena as well?

i`m useing 3ceam

 

i have try and not working! haha

 

headache

Edited by whitehawk_ro
Link to comment
Share on other sites

  • 10 months later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   11
  • Joined:  07/02/12
  • Last Seen:  

I'm using eAthena and my Map server crashes when the monster is respawned... can you help me about this?

 

Thanks in advance.

Link to comment
Share on other sites

  • 3 years later...

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

Hello, sorry to revive the topic... I'm using the latest eAthena rev, manually added without any problem...

The only problem is that tombs do not disappear!

598882b2d12b8_WhatsAppImage2017-08-07at10_03_32.jpeg.fa07ee47889a2db9b064c97e891acb74.jpeg

 

Thank you in advance!

 

@Edit:

debug show:

[07/Aug/2017 07:30][Warning]: npc_parsename: Duplicate unique name in file 'arse_mob: Unknown mob ID %d (file '%s', line '%d').
', line'1'. Renaming 'helpony@moc_pryd06' to '1_124_101_85'.
[07/Aug/2017 07:30][Debug]: this npc:
   display name 'Tomb#1511|4039238'
   unique name 'helpony@moc_pryd06'
   map=moc_pryd06, x=101, y=85
[07/Aug/2017 07:30][Debug]: other npc:
   display name 'Tomb#1511|3788501'
   unique name 'helpony@moc_pryd06'
   map=moc_pryd06, x=103, y=84

 

Edited by dragonivell
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
Reply to this topic...

×   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...