Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2013, 02:55 PM
Zamthos
Discordant
 
Join Date: Jan 2013
Posts: 284
Default

That makes more sense, thank you so much.
Reply With Quote
  #2  
Old 01-21-2013, 03:03 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

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;
+--------------+---------+---------------------+
| zoneidnumber | version | long_name           |
+--------------+---------+---------------------+
|           25 |       1 | The Nektulos Forest |
|          151 |       1 | The Bazaar          |
|          114 |       1 | Skyshrine           |
+--------------+---------+---------------------+
3 rows in set (0.06 sec)
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
  #3  
Old 01-21-2013, 03:25 PM
Zamthos
Discordant
 
Join Date: Jan 2013
Posts: 284
Default

All right, worked perfectly, I misunderstood you the first time around, haha. And yeah, I probably won't be using instances in those zones.
Reply With Quote
  #4  
Old 01-21-2013, 05:50 PM
Zamthos
Discordant
 
Join Date: Jan 2013
Posts: 284
Default

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
{
	
	my $Solo = quest::saylink("Solo", 1);
	my $Group = quest::saylink("Group", 1);
	my $Guild = quest::saylink("Guild", 1);
	my $NPCName = $npc->GetCleanName();
	
	
	
	if($text=~/Hail/i)
	{
		$client->Message(315, "$NPCName whispers to you, 'Do you want to create an instance? If so, $Solo, $Group, or $Guild?'");
	}
	if($text=~/Solo/i)
	{
		plugin::SendToInstance("solo", "karnor", 0, 314.4, 24.8, 4.5, "EXP", 604800);
	}
	if($text=~/Group/i)
	{
		plugin::SendToInstance("group", "karnor", 0, 314.4, 24.8, 4.5, "EXP", 604800);
	}
	if($text=~/Guild/i)
	{
		plugin::SendToInstance("guild", "karnor", 0, 314.4, 24.8, 4.5, "EXP", 604800);
	}
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:01 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3