Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2008, 02:56 AM
Joyrock
Fire Beetle
 
Join Date: Jun 2008
Location: Los Angeles, CA
Posts: 2
Default GM One-time Events

Greetings all.

I have recently begun hosting my own EverQuest server and my next goal (as a GM) is to be able to create custom quests on the fly for a group of friends.

When I #zone to a particular area and find an npc/mob I want to plant a rare item on, I use #npcloot which works fine. If the NPC is killed he will be holding the item. However, if every player leaves the zone the item vanishes. The NPC is no longer holding it when the zone is loaded again.

I'd like to be able to setup a special quest/scavenger hunt like this in advance by have the game/zone remember that an npc had a particular item until it is taken. I would like to avoid adding the item to the loot table permanently.

Any ideas how I can achieve this?
Reply With Quote
  #2  
Old 06-29-2008, 04:14 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

The only real option for this is to set whichever zones you plan to have hunts in as Static zones instead of Dynamic. This way, they zone never goes down when people leave it, so whatever items you put on it will still be there.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 06-29-2008, 05:34 AM
Joyrock
Fire Beetle
 
Join Date: Jun 2008
Location: Los Angeles, CA
Posts: 2
Default

Quote:
Originally Posted by trevius View Post
The only real option for this is to set whichever zones you plan to have hunts in as Static zones instead of Dynamic. This way, they zone never goes down when people leave it, so whatever items you put on it will still be there.
You know, the easiest solution is likely the best. Thank you. This will accomplish what I need as long as my server machine doesn't fail me during the event.


To those following my trail, here are the requirements:

1. Enable World HTTP
http://www.eqemulator.net/wiki/wikka...rverWorldLogin

2. Configuring A Launcher
http://www.eqemulator.net/wiki/wikka...ServerLauncher
Reply With Quote
  #4  
Old 07-02-2008, 11:39 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default

I know LiveEQ had the command, and I thought the emu had it, but I've been MIA forever so maybe I'm just senile.

LiveEQ had alternate datasets that could be loaded for special events, such as the Halloween quests, etc. They could be loaded on the fly by a GM by using the /repop <dataset#>. For a persistent state, the server had to be patched so it knew to always load that dataset until xxxx date.

This functionality may or may not already exist in the emu. Would different spawngroups accomplish what you were looking for?
Reply With Quote
  #5  
Old 07-03-2008, 01:05 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

You could use a quest to add loot to the loot table, which is only temporary, then on the NPC's death, define a Quest Global to prevent it from dropping again. Since quests can be reloaded without having to reboot the server, it allows you to do it pretty much on the fly.

Here would be an example:

Code:
sub EVENT_SPAWN {
	if (!$scavenger_hunt_item_1) {
		# Adds 1 of item # 12345 to the loot table temporarily unless someone already killed this mob
		quest::addloot(12345, 1);
	}
}

sub EVENT_DEATH {
	if (!$scavenger_hunt_item_1) {
		# Sets a global so the mob knows he's already been killed. Will clear after 1 day.
		quest::setglobal("scavenger_hunt_item_1", 1, 0, D1);
	}
}
Hope this helps.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
Reply


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 09:31 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3