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-16-2003, 05:07 PM
kabalah
Fire Beetle
 
Join Date: Nov 2002
Location: Los Gatos, Ca
Posts: 27
Default using the castspell(id,spell) function

has anyone gotten this to work in the 4.4-dr1 version? no matter how i format the command i can't get the soulbinders to cast a spell....i've tried:

castspell("$userid",35)
castspell($userid,35)
castspell("$userid","35")
castspell($userid,"35")

and nothing works...

any help would be appreciated.
thankx
kabalah
Reply With Quote
  #2  
Old 04-22-2003, 04:12 PM
tcsmyworld's Avatar
tcsmyworld
Discordant
 
Join Date: Feb 2002
Posts: 452
Default try this one.....

here's a working soulbinder quest.


EVENT_SAY{
if($1- =~"Hail"){SAY("Greetings $name . When a hero of our world is slain. their soul returns to the place it was last bound and the body is reincarnated. As a member of the Order of Eternity. it is my duty to [bind your soul] to this location if that is your wish.")}
}
EVENT_SAY{
if($1- =~"bind my soul"){SAY("incoming bind . when you die . you will return here")CASTSPELL("$userid","2049")}
}

works with the 0441DR on this link -

http://www.tpcnet.co.uk/eqemu/stable0441exes.zip


hope it helps
Reply With Quote
  #3  
Old 04-22-2003, 04:18 PM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Make sure you don't have any missing quotation marks or parentheses before the castspell command. I've noticed the parser will stop parsing past that point if anything is missing.
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
Reply With Quote
  #4  
Old 04-22-2003, 06:32 PM
kabalah
Fire Beetle
 
Join Date: Nov 2002
Location: Los Gatos, Ca
Posts: 27
Default thanks :)

thanks killspree, i've got the latest cvs and have found errors in commandex and getargs functions. i have corrected the problems and your quest code now works.

kabalah
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 01:49 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