Jump to content
  • 0

Permanent Monster Spawning


ToiletMaster

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

Hi guys this time i'm having small issues with permanent monster spawning.

 

I have no problems spawning, but the area that i'd like them to spawn seems to be an issue for me.

 

following the wiki from http://rathena.org/wiki/Permanent_Monster_Spawn

 

It should be mapname, X1, Y1, X2, Y2<Tab>Monster<Tab>Other stuffs.

 

 

This is how i wanted it to be. a rectangle shape actually

Adding+Rectangle+Shape+to+Slide-001.png?

 

so i believe it should look like this right? 

 

1    
2     Y1              Y2
3
4
5
6     X1               X2
7
8
9
    1 2 3 4 5 6 7 8 9

 

yet i cant seem to let them spawn inside that area.

Edited by ToiletMaster
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Or simply use this script:

-	script	AreaMonster	-1,{

OnInit:

areamonster "prontera",1,2,3,4,"Drops",1113,100,strnpcinfo(0)+"::OnMobKill";

end;

OnMobKill:

areamonster "prontera",1,2,3,4,"Drops",1113,1,strnpcinfo(0)+"::OnMobKill";

end;

}

Edited by nanakiwurtz
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

x1, y1, x2, y2 are 2 coordinate points.

In your images (that has 9 dots, on it), your X1+Y1 is the "Upper Left" point, and your X2+Y2 is your "Lower Right" point.

So it goes like this: 1,1,9,9

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

x1, y1, x2, y2 are 2 coordinate points.

In your images (that has 9 dots, on it), your X1+Y1 is the "Upper Left" point, and your X2+Y2 is your "Lower Right" point.

So it goes like this: 1,1,9,9

 

i did try that, but it seems that all the porings did not spawn there. it flew around the map mostly ._.

 

if let's say i take your example there,

 

that means on the upper left where i stood should be

 

X1 = 1

Y1 = 1

 

then

 

X2 = 9

Y2 = 9

 

am i right? if yes then it doesnt work T_T i tried on a small rectangle yet it doesn't spawn there

Edited by ToiletMaster
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

That works! Thanks alot  !

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