Jump to content
  • 0

Permanent Monster Spawning (MvP)


Orgasmator

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   0
  • Joined:  06/17/12
  • Last Seen:  

Hi again, 

 

Sorry to bother but I need help again. This time, I'm trying to make a bloody branch room which is located in pvp_n_1-1. I want my script to summon mvp monsters randomly in the room around the amount of 25 or so. In addition to that, I'll put a shop which will sell bloody branches. That's the easy part actually.

 

pvp_n_1-1	mapflag	noexp
pvp_n_1-1	mapflag	novending
pvp_n_1-1	mapflag	nowarpto
pvp_n_1-1	mapflag	noreturn
pvp_n_1-1	mapflag	nopvp
pvp_n_1-1	mapflag	nosave
pvp_n_1-1	mapflag	nomemo

prontera,139,172,5	script	MvP Room	108,{
mes "[MvP Room]";
mes "Hi There, Would you like to go to the MvP Room? You need 10,000,000z to go inside.";
next;
switch(select("Yes. Ahoy!:No")) {
case 1:
if (Zeny > 9999999) {
mes "[MvP Room]";
mes "Alright I will now send you to the MvP Room, Take Care!.";
next;
set Zeny,Zeny-10000000;
warp "pvp_n_1-1",0,0;
emotion 21;
close;
}
else {
mes "[MvP Room]";
mes "Sorry, But you don't have enough zeny.";
close;
}
case 2:
mes "[MvP Room]";
mes "Alright, No problem.";
close;


}
}

 

pvp_n_1-1,0,0,0,0 monster --ja-- -3,35,0,0,0
-1	script	Summonizer	-1,{
OnInit:
monster "pvp_n_1-1",0,0,"--ja--",-3,25;
end;
OnMobKill:
monster "pvp_n_1-1",0,0,"--ja--",-3,25;
end;

}
 

 

 

My warper is working pretty well. But my problem is, there're no monsters in the room. Also, mapflags are not working because it's still pvp on.

 

I've tried both



-1	script	Summonizer	-1,{
OnInit:
monster "pvp_n_1-1",0,0,"--ja--",-3,25;
end;
OnMobKill:
monster "pvp_n_1-1",0,0,"--ja--",-3,25;
end;

}

 

 

and

 


pvp_n_1-1,0,0,0,0 monster --ja-- -3,35,0,0,0

 

 

together and seperate just too see if any of them works but conclusion is a fail.

 

I'm using "map,0,0,0,0 monster name ID,amount,etc" for my gold room and its working pretty well. Mapflags are working there also. But they dont work in this map.

Anyone wanna enlighten me?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   616
  • Joined:  07/05/12
  • Last Seen:  

-	script	Summonizer	-1,{
OnInit:
	monster "pvp_n_1-1",0,0,"--ja--",-3,25,strnpcinfo(0) +"::OnMobKill";
	end;
OnMobKill:
	monster "pvp_n_1-1",0,0,"--ja--",-3,1,strnpcinfo(0) +"::OnMobKill";
	end;
}
pvp_n_1-1	mapflag	pvp	off

mapflag nopvp doesn't exist

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   0
  • Joined:  06/17/12
  • Last Seen:  

-	script	Summonizer	-1,{
OnInit:
	monster "pvp_n_1-1",0,0,"--ja--",-3,25,strnpcinfo(0) +"::OnMobKill";
	end;
OnMobKill:
	monster "pvp_n_1-1",0,0,"--ja--",-3,1,strnpcinfo(0) +"::OnMobKill";
	end;
}
pvp_n_1-1	mapflag	pvp	off

mapflag nopvp doesn't exist

 

That solved my problem. Thank you! I just realized I was using wrong mapflag with my goldroom script also. 

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