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 11-06-2011, 02:54 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

You didn't follow the whole example. You didn't expose anything to Perl.

You'll want to find another function that has no arguments and returns nothing to copy. quest::repopzone is one.

If you search for "repopzone" you should find all you need. You need to add a function to QuestManager as you've already done, add the function that perl will call in perlparser.cpp, and add the line that lets perl know the function is available in the boot_quest function in perlparser.cpp.
Reply With Quote
  #2  
Old 11-07-2011, 09:57 PM
revloc02c's Avatar
revloc02c
Hill Giant
 
Join Date: Aug 2010
Location: UT
Posts: 215
Default

Quote:
Originally Posted by lerxst2112 View Post
You didn't follow the whole example. You didn't expose anything to Perl.
Yup you're right, I get it now.

Quote:
Originally Posted by lerxst2112 View Post
You'll want to find another function that has no arguments and returns nothing to copy. quest::repopzone is one.

If you search for "repopzone" you should find all you need. You need to add a function to QuestManager as you've already done, add the function that perl will call in perlparser.cpp, and add the line that lets perl know the function is available in the boot_quest function in perlparser.cpp.
Thanks again lerxst. I got it. Was having a hard time seeing it all that first time. It is exposing the function to Perl now, but unfortunately something isn't quite working right. I'll keep working with 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 06:44 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