View Single Post
  #4  
Old 09-10-2012, 12:02 AM
MaxDarkhart
Fire Beetle
 
Join Date: Jun 2010
Posts: 4
Post

Quote:
Originally Posted by c0ncrete View Post
i've never really messed with instances, but i assume that you should be able to use the zone's player.pl or an invisible "controller" npc script and select a random spawn location by using one of the quest spawning methods. if the zone used in the instance is also a regularly accessible zone, i don't know off the top of my head how you'd go about making sure the boss didn't spawn anywhere but an instanced zone.

EDIT: i'm guessing the instance version and corresponding version of the script you used would allow you to make sure the boss didn't spawn elsewhere.
First let me say, I greatly appreciate your response.

I have been racking my brain trying to figure out why this can't be handled with database entries using chance and spawn limits.

I currently have 3 different spawn2 entries with each of the pre-determined locations from the zone the instance is based on that I would like as the spawn points, they are all version 1 same as the instance.

I have one spawnentry associated with the spawngroup below, the npcid of the boss and a 33% chance set to it.

I have one spawngroup with a spawnlimit of 1. This is also the spawngroup that is associated with each of the 3 locations in the spawn2 table.

Other than a headache this hasn't accomplished what I thought it would which was a 33% chance of the boss spawning at any one of the locations in spawn2, instead it just spawns him at the same location each time, I believe it's the first in the list.

From everything I have been reading the past few days this was my best attempt at getting this to work through database settings.

As far as your suggestion is concerned, the extent of my perl programming ability has been mainly just to alter and/or adapt scripts I have pulled from these forums. Very trial and error. I am still learning as I go and although I understand what you are saying, I am presently at a loss on how I would put that together.

I have however run acrossed this post :

http://www.eqemulator.org/forums/showthread.php?t=21138

and I can see a possibility of maybe being able to adapt this script to accomplish what I am trying to do.

I am still very much open to suggestions, examples or links to posts that might help me learn this stuff.

Again, thanks for your help.
Reply With Quote