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 02-25-2008, 09:50 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Derail:
LOL. Looks like a client issue to me. Did the fresh install of Titanium fix the problem? I would suspect that the problem was a bad copy of titanium (most likely illegal).

Back to the current issue, I am still looking for a way to reset or crash a zone via NPC script/quest.

More failed crash attempts:
quest::addloot(111111111); - bogus item ID, but it had no effect.
quest::settimer("reset",1); - restarted the same timer over and over without stopping it. The timer restarted and the shout went out every second, but no crash...
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #2  
Old 02-25-2008, 10:15 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by trevius View Post
Derail:

Back to the current issue, I am still looking for a way to reset or crash a zone via NPC script/quest.
Try putting
Code:
CORE::Dump();
in your script. Crashes my zone under Linux.

Code:
sub EVENT_SAY {
 if($text =~ /Hail/i) {
        quest::say('Hello. I am the guild master.');
        CORE::dump()

 }
}
Edit: I just tried it in Windows ... says it's not supported there.

Last edited by Derision; 02-25-2008 at 06:19 PM..
Reply With Quote
  #3  
Old 02-25-2008, 11:12 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by Derision View Post
Edit: I just tried it in Windows ... says it's not supported there.
Awwe! I was getting excited lol. Keep em coming guys. I can't wait to get this working and start using it on my server. I will post the exact scripts I use for it and will report any performance changes as a result of using them.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 02-25-2008, 11:40 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Another one to try, which will kill the current process is:

Code:
kill SEGV => $$;
Again, this causes a zone crash on Linux. I have Perl (but not EQEmu) installed on Windows and there it will cause the Perl script to stop. You'll have to try it to see if it kills the zone process on windows.
Reply With Quote
  #5  
Old 02-25-2008, 06:38 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

YES! It works wonderfully. Seems like it just stops the zone and then the zone restarts and everyone gets booted which is what I need. I still get the windows explorer window popup like a normal crash, but it doesn't actually popup the zone crash message.

I will set up my zones with this quest and test it a little further and then post the scripts and any info I find.

Thanks Derision and So_1337! I will make sure to credit you guys when I submit the quest I am almost positive this will help with server lag building up on Windows after about 1 day of running.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 02-26-2008, 11:17 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ok, I posted the completed working scripts in quest submissions here.

Please reply there if you notice any issues or have feedback about the quest. Or you can always post on my forums or PM me there if there are any questions.

I will post updates there on how well the scripts are working and what I find with further testing. I will also post there on how server performance is affected.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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 09:25 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3