Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-17-2013, 09:00 PM
Furniture
Hill Giant
 
Join Date: Aug 2012
Posts: 205
Default LUA eq:selfcast

I finally got LUA working properly, and everything seems to work except one thing.

the eq.SelfCast function in codes are not working.

for example: here is a translocator script

Code:
function event_say(e)
  if(e.message:findi("hail")) then
    e.self:Say("Hello there. There seem to be some strange problems with the boats in this area. The Academy of Arcane Sciences has sent a small team of us to investigate them. If you need to [travel to] Erud's [Crossing] in the meantime, I can transport you to my companion there.");
  elseif(e.message:findi("crossing")) then
    eq.SelfCast(2289);
  end
end
everything works up until you say "crossing" and nothing happens

Is this a known issue?
Reply With Quote
  #2  
Old 07-17-2013, 09:07 PM
Robregen
Developer
 
Join Date: May 2011
Posts: 109
Default

it's working for me. make sure you put the lua_module in the server directory as it uses one of the files in that folder. and it's up to date.

The lua_module acts like a plugin and it is included in the svn quest folder.
Reply With Quote
  #3  
Old 07-17-2013, 09:43 PM
Furniture
Hill Giant
 
Join Date: Aug 2012
Posts: 205
Default

awesome thanks, ill do that
Reply With Quote
  #4  
Old 07-17-2013, 09:44 PM
Furniture
Hill Giant
 
Join Date: Aug 2012
Posts: 205
Default

I'm sorry, where is the lua_module? I cant find it anywhere
Reply With Quote
  #5  
Old 07-17-2013, 09:46 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

It's in your 'quests' repository..like 'plugins'
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #6  
Old 07-18-2013, 03:37 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

If you're using custom quests go steal PEQ's lua_modules out of the quests from the daily dump: http://peqtgc.com/releases. It's still somewhat primitive but we're working on it.
Reply With Quote
  #7  
Old 07-18-2013, 04:28 PM
Furniture
Hill Giant
 
Join Date: Aug 2012
Posts: 205
Default

Everything is working fine now, thanks
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:53 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