Skip to content

L2j random spawn table

Featured Replies

Hi guys,

 

I want one epic monster respawn every about an hour between three different locations.

I work on HeidiSQL on tables random_spawn and random_spawn_loc

 

 

 

                     I've entered in random_spawn_loc  lines:

 GroupID   < 1>     LocX <coordinates>   LocY <coordinates>   LocZ  <coordinates>   Heading  < -1>

 

 GroupID   < 1>     LocX <coordinates>   LocY <coordinates>   LocZ  <coordinates>   Heading  < -1>

 

 GroupID   < 1>     LocX <coordinates>   LocY <coordinates>   LocZ  <coordinates>   Heading  < -1>

 

                             And in random_spawn line:

 GroupID <1>   npcID  <ID of monster>    Count   <1>    Initial Spawn   <-1>      Respawn   <10 (10 seconds only for testing)>   Despawn  <0>   Broadcast Spawn  <false>     Random Spawn  <true>

 

 

 

Upon server start monster spawn in one of entered location randomly but after being killed he doesn't respawn at all..

Does anybody know what's wrong here? Is there some other options in server files I'm missing?

I'm not using eclipe, only server files and HeidiSQL to manage server.

 

Much appreciated for your help!

Edited by rtcxool

You have to generate a script with onKill event similar to GrandBosses, or a Manager which will basically be a RaidBossManager clone, because what you request is simply not existing - until I miss something and IL+ chronicles edited the system, it's normally only used for random teleport and alike NPCs, such as Master Toma, Mammons, etc.

 

Also, using RaidBossManager by itself wouldn't be enough aswell, since it doesn't handle random locations.

 

So all in one, you have to code it.

  • Author

Made sense, thank you for your detailed explanation. 

I was wondering why these tables is in database if it's not even work no matter what details I put in. 

I'll try to learn how to right a proper script to make it work n my situation.

 

Have a wonderful New Year!

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.