Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-02-2004, 05:34 AM
sandy
Hill Giant
 
Join Date: Oct 2002
Posts: 212
Default crash

I don't understand why this quest makes crashing zone.exe ?
Help plz =)

Code:
sub EVENT_SAY 
{ 
if ( $text =~ /Hail/i)
{
quest::say("gives a soft smile of warm greetings, 'Good day to you, traveler, and may the fates hold you in their highest favor. We are eternally grateful for what you are doing here -- in the planes, I mean. All of your efforts are so important -- more important, I believe, than you realize. Oh, I really should't be discussing this but, these are truly exciting times! To have all of Norrath's adventurers working toward a common goal! To have a greater enemy than your mortal neighbors and to unite against them. Aaah, how I envy you at times -- this newfound collective goal. Oh, forgive me, I ramble on where I should not. If you find yourself in need to replenish your supply stock, then perhaps my inventory would be of some interest to you? Please, search it at your leisure.'");
}
}
__________________
Sandy
Reply With Quote
  #2  
Old 04-02-2004, 07:21 AM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

I think you are trying to say more than can be said in one say command. Try breaking it up into 5-6 seperate lines and seperate say commands.
Reply With Quote
  #3  
Old 04-02-2004, 07:54 AM
Gonkers
Sarnak
 
Join Date: Mar 2004
Posts: 65
Default

I totally suck at coding, but I see one missed thing

Code:
search it at your leisure.'");
there are 3 "'...shouldnt it be " ?.

I dunno if that matters but........

Code:
Aaah, how I envy you at times --
the -- may be crashing it

Code:
quest::say
I never had that quest::say before, I always did }say("hello")
Reply With Quote
  #4  
Old 04-02-2004, 09:02 AM
sandy
Hill Giant
 
Join Date: Oct 2002
Posts: 212
Default

it is a ' and " at the end
=)

and it is perl

it seems in fact there is parsing errors because of the "," commas
or something like that
bleh is looking at that =)
__________________
Sandy
Reply With Quote
  #5  
Old 04-02-2004, 09:52 AM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

I'm not a perl guru, I know some, but I with every other programming language I've used it doesn't let you put quotes inside of a quote. Even if one is ' instead of ". Try putting in \' instead of jsut ' so that it doesn't treat it as a quote. I think that is correct for perl, but not 100% sure.
Reply With Quote
  #6  
Old 04-02-2004, 10:15 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Yeah, there is a KNOWN issue with adding any "," (coma's)... That is probably what is crashing it... Other than that, I would have to agree with the length of the say... Not sure if there is a word count limit, but is something worth looking into...
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #7  
Old 04-02-2004, 11:58 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

the comma bug should be fixed as of now (since 0.5.3dr3 i guess). Check that you have latest source.

The quotes might be the reason, as embperl uses script in eval context.

However there's no need for the quotes. Might want to use the quest::emote command instead.
Reply With Quote
  #8  
Old 04-02-2004, 12:09 PM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

This was still causing crashes in some situations with 0.5.5rc2. I took and look, and posted findings here: http://www.eqemulator.net/forums/viewtopic.php?t=13884 . Play around with it if you can. I can't get it to crash using that change. Note: I did not come across any previous changes to fix this problem as I was looking, but they may be elsewhere.
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 11:47 AM.


 

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