Jump to content
  • 0

how can i block the spawn of mobs after reload


ItsFree

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   7
  • Joined:  04/11/15
  • Last Seen:  

Hi... as the tittle said... i tried with some post i found here but nothing works

 

i tried with some post with "OnInit" killmonsterall but nothing works... how atm... my problem is... i summon some monsters customs and when i reload they spawn

 

this is the script i use... is there anyway to they dont summon if someone use @reloadscript? plz i need help with this ._.

prtg_cas04,272,162,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
prtg_cas04,272,160,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
prtg_cas04,270,162,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
prtg_cas04,270,160,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
prtg_cas04,270,160,5,1	monster	Treasure Chest	1360,1,28800000,600000,1
// permanent monster
poring_w02,0,0,0,0	monster	Baphomet	1039,1,7200000,600000,"monster_points::OnMobDead1"
poring_w02,0,0,0,0	monster	Tao Gunka	1583,1,18000000,600000,"monster_points::OnMobDead2"

gef_fild02,0,0,0,0	boss_monster	Orc Hero	1087,1,86400000,600000,"monster_points::OnMobDead3"
gef_fild14,0,0,0,0	boss_monster	Orc Hero	1087,1,3600000,600000,"monster_points::OnMobDead4"
gef_fild10,0,0,0,0	boss_monster	Orc Lord	1190,1,7200000,600000,"monster_points::OnMobDead5"
xmas_fild01,0,0,0,0	boss_monster	Garm	1252,1,7200000,600000,"monster_points::OnMobDead6"
mjolnir_04,0,0,0,0	boss_monster	Mistress	1059,1,7200000,600000,"monster_points::OnMobDead7"
moc_fild22,0,0,0,0	monster	Wounded Satan Morroc	1917,1,43200000,3600000,"monster_points::OnMobDead8"
moc_fild17,0,0,0,0	boss_monster	Phreeoni	1159,1,7200000,600000,"monster_points::OnMobDead9"
pay_fild11,0,0,0,0	boss_monster	Eddga	1115,1,7200000,600000,"monster_points::OnMobDead10"
ra_fild04,0,0,0,0	boss_monster	Atroce	1785,1,18000000,600000,"monster_points::OnMobDead11"
ra_fild03,0,0,0,0	boss_monster	Atroce	1785,1,10800000,600000,"monster_points::OnMobDead12"
ra_fild02,0,0,0,0	boss_monster	Atroce	1785,1,14400000,600000,"monster_points::OnMobDead13"
ve_fild02,120,55,50,50	boss_monster	Atroce	1785,1,21600000,600000,"monster_points::OnMobDead14"
ve_fild01,0,0,0,0	boss_monster	Atroce	1785,1,10800000,600000,"monster_points::OnMobDead15"
abbey03,0,0,0,0	boss_monster	Beelzebub	1873,1,43200000,600000,"monster_points::OnMobDead16"
abbey02,236,78,21,18	boss_monster	Fallen Bishop Hibram	1871,1,7200000,600000,"monster_points::OnMobDead17"
abyss_03,0,0,0,0	boss_monster	Detardeurus	1719,1,10800000,600000,"monster_points::OnMobDead18"
ama_dun03,0,0,0,0	boss_monster	Samurai Specter	1492,1,5460000,600000,"monster_points::OnMobDead19"
anthell02,0,0,0,0	boss_monster	Maya	1147,1,7200000,600000,"monster_points::OnMobDead20"
ayo_dun02,150,90,15,30	boss_monster	Lady Tanee	1688,1,25200000,600000,"monster_points::OnMobDead21"
beach_dun,0,0,0,0	boss_monster	Tao Gunka	1583,1,18000000,600000,"monster_points::OnMobDead22"
ein_dun02,0,0,0,0	boss_monster	RSX-0806	1623,1,7500000,600000,"monster_points::OnMobDead23"
gef_dun02,0,0,0,0	boss_monster	Doppelganger	1046,1,7200000,600000,"monster_points::OnMobDead24"
gef_dun01,0,0,0,0	boss_monster	Dracula	1389,1,3600000,600000,"monster_points::OnMobDead25"
gl_chyard,0,0,0,0	boss_monster	Dark Lord	1272,1,3600000,600000,"monster_points::OnMobDead26"
gld_dun04,0,0,0,0	boss_monster	Dark Lord	1272,1,28800000,600000,"monster_points::OnMobDead27"
gld_dun03,0,0,0,0	boss_monster	Maya	1147,1,28800000,600000,"monster_points::OnMobDead28"
gld_dun02,0,0,0,0	boss_monster	Doppelganger	1046,1,28800000,600000,"monster_points::OnMobDead29"
gld_dun01,0,0,0,0	boss_monster	Eddga	1115,1,28800000,600000,"monster_points::OnMobDead30"
gon_dun03,0,0,0,0	boss_monster	Evil Snake Lord	1418,1,5650000,600000,"monster_points::OnMobDead31"
in_sphinx5,0,0,0,0	boss_monster	Pharaoh	1157,1,3600000,600000,"monster_points::OnMobDead32"
jupe_core,0,0,0,0	boss_monster	Vesper	1685,1,7200000,600000,"monster_points::OnMobDead33"
kh_dun02,0,0,0,0	boss_monster	Kiel D-01	1734,1,7200000,3600000,"monster_points::OnMobDead34"
lhz_dun02,0,0,0,0	boss_monster	Egnigem Cenia	1658,1,7200000,600000,"monster_points::OnMobDead35"
lou_dun03,0,0,0,0	boss_monster	White Lady	1630,1,7000000,600000,"monster_points::OnMobDead36"
moc_pryd04,0,0,0,0	boss_monster	Osiris	1038,1,3600000,600000,"monster_points::OnMobDead37"
moc_pryd06,102,85,1,1	boss_monster	Amon Ra	1511,1,3600000,600000,"monster_points::OnMobDead38"
odin_tem03,0,0,0,0	boss_monster	Valkyrie Randgris	1751,1,28800000,600000,"monster_points::OnMobDead39"
pay_dun04,120,115,0,0	boss_monster	Moonlight Flower	1150,1,3600000,600000,"monster_points::OnMobDead40"
prt_maze03,0,0,0,0	boss_monster	Baphomet	1039,1,7200000,600000,"monster_points::OnMobDead41"
prt_sewb4,0,0,0,0	boss_monster	Golden Thief Bug	1086,1,3600000,600000,"monster_points::OnMobDead42"
ra_san05,0,0,0,0	boss_monster	Gloom Under Night	1768,1,18000000,600000,"monster_points::OnMobDead43"
thor_v03,0,0,0,0	boss_monster	Ifrit	1832,1,39600000,600000,"monster_points::OnMobDead44"
treasure02,101,151,8,8	boss_monster	Drake	1112,1,7200000,600000,"monster_points::OnMobDead45"
tur_dun04,99,93,20,20	boss_monster	Turtle General	1312,1,3600000,600000,"monster_points::OnMobDead46"
xmas_dun02,0,0,0,0	boss_monster	Stormy Knight	1251,1,3600000,600000,"monster_points::OnMobDead47"
// etc..

-	script	monster_points	-1,{
OnMobDead1:// bapho
	.@points = 1;
	#monster_points = #monster_points + .@points ;// give points to the killer
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";// display the points
	end;
OnMobDead2:// tao
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead3:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead4:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead5:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead6:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead7:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead8:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead9:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead10:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead11:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead12:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead13:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead14:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead15:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead16:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead17:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead18:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead19:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead20:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead21:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead22:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead23:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead24:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead25:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead26:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead27:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead28:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead29:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead30:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead31:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead32:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead33:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead34:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead35:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead36:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead37:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead38:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead39:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead40:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead41:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead42:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead43:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead44:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead45:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead46:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;
OnMobDead47:// 
	.@points = 1;
	#monster_points = #monster_points + .@points ;
	dispbottom "you got "+ .@points +" points. Total: "+ #monster_points +" points.";
	end;

}
// etc..

plz i use atm those scripts.... one for treasure chest on woe... the other one to get mob_points but when i @reloadscript they summon again :C

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


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

Use this structure for permanent spawn. Otherwise use monster script command in a NPC.

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L5543

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   7
  • Joined:  04/11/15
  • Last Seen:  

actually atm idont have anyproblem with the script i gues... my only problem is... i sometimes use @reloadscript and all mobs mvps.... spawn again how exactly can i do to solve that? i mean... adding any script or something that block the re-spawn of those monster that were killed already? ^^

Link to comment
Share on other sites


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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   7
  • Joined:  04/11/15
  • Last Seen:  

Actually i tried adding that script but doesnt work on me :C idk why D: first i try testing just like that post, then i try change to only "killmonster" i mean editing but also nothing happen after reload :c

 

well.... now im checking and i try without edit that of dynamic mobs let see if that works c:

 

wow thx works thx thx Capuche-Senpai <3

Edited by ItsFree
  • Upvote 1
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...