Lua Script Issues
I've just noticed that many npc's, particularly some quest npc's are not responding. In checking, it seems they are all using lua scripts.
When hailed the npc's turn toward you but do not respond with what is in the scripts. Running #questerrors gives attempt to call method 'findi' (a nil value) This is in west freeport on at least 3 npc's that I have tried to this point. Lady Shae, Pandos Flintside, and peasant woman. All responded, or rather didn't respond in the same manner. I don't know enough about lua to know if the scripts are wrong but they look correct to me from the research I have done to this point. Any ideas of what else I can check to find the problem and correct it? Thanks in advance for the help. |
Quote:
You will also need quests/global/script_init.lua to initialize these 'modules' properly. This will make your issues go away. |
Thank you so much that took care of it. I had the script_init.lua but evidently had missed copying the lua modules into the root. I love simple fixes.
|
I found it extremely annoying to have perl and lua files for quests.
Has little to do with OPs question, but i spent quite a bit of time looking at missing quests in my source, referencing lua quests in peq, and then rewriting it in perl so i wouldnt have two file types as quests. What was the point of adding lua? |
Lua is more flexible than Perl. What is the point in not using both? You can still write your quests in Perl if you like, but it seems silly to rewrite things that are already working.
|
Quote:
|
All times are GMT -4. The time now is 01:39 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.