Instances.
All right, so I recently got the Instances.pl to create Solo, Group, Guild, or Public instances, however, whenever I zone in to one of these there are no enemies, how would I go about spawning them here? My friend said I would have to spawn them within each individual Instance ID, if so, how would I do that? 0.o Thanks!
|
what are you using for the version parameter?
|
Whenever I use "solo", "group", or "guild" the NPCs do not spawn, the zone is completely empty.
EDIT: Script below. Code:
sub EVENT_SAY |
you're using plugin::SendToInstance() right?
what are you using for the version parameter (after zone short name and before x)? |
I'm using "1" for all of them, is that an issue? 0.o
|
if there is not a corresponding spawn2 entry in the database for the version number of the zone you are using, nothing will spawn.
EDIT: version numbers start at 0 |
All right, we shall see, thanks for the information!
EDIT: How exactly would I set a range? Or would I have to do it like 1,000,000,000 times? ;( Not necessarily a range, just multiple spawn groups. |
No answers to how to do that? 0.o
|
your question isn't very clear.
|
I apologize for not being clear, what I'm asking is, where you said the version must match the spawngroupID, does that mean I have to put multiple spawngroups within that somehow? I don't understand how this is supposed to work. ;(
|
i didn't say anything about matching spawngroupID. it's the 'version' field in the spawn2 table you need to have correct when creating the instance.
Code:
mysql> describe spawn2; this is what spawn2 table entries look like for cshome: Code:
mysql> select id, zone, version, spawngroupID, enabled from spawn2 where zone = 'cshome'; |
That makes more sense, thank you so much.
|
not a problem. you want to use 0 most of the time when creating instances.
unless you've done some heavy customization, there should only be 3 zones with other versions numbers in your database. Code:
select zoneidnumber, version, long_name from zone where version > 0; |
All right, worked perfectly, I misunderstood you the first time around, haha. And yeah, I probably won't be using instances in those zones.
|
I implemented this into the zone Karnor's Castle and the players are saying it's sending them to different instances even if they're in the same group. Script below:
EDIT: Also wondering about the more advanced version of the script with buttons and everything, where could I find that? Code:
sub EVENT_SAY |
All times are GMT -4. The time now is 12:04 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.