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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2002, 08:47 AM
mByte
Hill Giant
 
Join Date: Feb 2002
Posts: 206
Default NPC Scripting Error - is it just me?

I get this when ever I try to use my scripting. This also crashes the zonent.exe file and boots my characters in the zone to character select.

http://66.12.139.58/images/qsterror.gif

my script is simple

NPC_SCRIPT 2006{
TRIGGER_TEXT:Hail:{
SAY:Hiya
}
}

N E ideas?
__________________
mByte
Reply With Quote
  #2  
Old 04-03-2002, 12:06 PM
mByte
Hill Giant
 
Join Date: Feb 2002
Posts: 206
Default

it works in the zone9x.exe fyi
__________________
mByte
Reply With Quote
  #3  
Old 04-03-2002, 12:30 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Just a wild guess, is there extra charage returns after the last }

I have no idea if it matters, just a thought.
Reply With Quote
  #4  
Old 04-03-2002, 04:34 PM
strychn
Hill Giant
 
Join Date: Feb 2002
Posts: 129
Default

only problem i've had with the scripting was that TRIGGER_ITEM doesn't seem to work.
Reply With Quote
  #5  
Old 04-04-2002, 06:30 PM
Lyenu X`Arie
Fire Beetle
 
Join Date: Mar 2002
Posts: 0
Default Re: NPC Scripting Error - is it just me?

Quote:
Originally posted by mByte
NPC_SCRIPT 2006{
TRIGGER_TEXT:Hail:{
SAY:Hiya
}
}
Here is the fix:
Code:
NPC_SCRIPT 2006{
TRIGGER_TEXT:Hail:{
SAY:Hiya
}
You just had 1 to many ending spaghetti lines
Reply With Quote
  #6  
Old 04-08-2002, 06:44 PM
strychn
Hill Giant
 
Join Date: Feb 2002
Posts: 129
Default

fixed trigger item...
changed:

CheckQuests(zone->GetShortName(), "%%item%%", tmp->GetID(), TradeList[0]);

to:

if (tmp->IsNPC()) { CheckQuests(zone->GetShortName(), "%%item%%", tmp->CastToNPC()->GetNPCTypeID(), TradeList[0]);
}}

in client_process.cpp.

this way it passes the correct ID to checkquests.
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 08:40 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