Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 11-05-2011, 10:10 PM
revloc02c's Avatar
revloc02c
Hill Giant
 
Join Date: Aug 2010
Location: UT
Posts: 215
Default

Ok so I thought I knew what I was doing, but what I tried did not work. Here's what I did:

Added in file questmgr.cpp
Code:
// Expose GM command #task reloadall. revloc02 5Nov2011
void QuestManager::TaskReloadAll() {
	worldserver.SendReloadTasks(RELOADTASKS);
}
Added in file questmgr.h
Code:
	// Expose GM command #task reloadall. revloc02 5Nov2011
	void TaskReloadAll();
Then in Perl do:
quest::TaskReloadAll();

When it gets to this line it just stops. Nothing happens.


So...

Quote:
Originally Posted by lerxst2112 View Post
You would need to add a new function exposed to perl. It's not hard to do, and there are many examples available.
...the example I followed did not do the trick so I am wondering if lerxst or someone could please point me to an example you know of that shows how to expose a function to Perl, because I must have missed something.

Last edited by revloc02c; 11-05-2011 at 10:31 PM.. Reason: wording
Reply With Quote
 


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:38 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