Now NPCs wont talk
Ok, I'm obviously missing something here because the NPCs are not responding to hails anymore.
I don't know if it's a Perl problem or a Lua problem and I don't know if I have everything configured properly. I can build, run the build, etc. with no problem there are just no responses from the NPCs. I get this problem with the PEQ daily build as well as my older PEQ. Prior to the Lua switch, everything was fine. Here is how cmake is set up pathwise. http://imageshack.us/a/img826/5559/ooal.png I did actually install Lua on my system in addition to downloading the dependencies. Is there anything additional that needs to be done? Like with running the PPM command line stuff for Perl, is there something like that for Lua? Do we require the "quests" download from the PEQ daily build as well? I apologize for being completely stupid, I just know next to nothing about scripting, how it is supposed to work, and how to troubleshoot it. |
Looks like mercs wont spawn either. I can select one and click Hire, but then get the message "Mercenary failed to spawn!" I can still buy from merchants and interact with bankers.
|
Do you use PEQ's quests or do you have custom ones?
|
The mercenaries are set at warrior or '1'. Due to a bug with Merc on PEQ, we had to switch the class to warrior. You will need to set class to '71" which is the mercenary liason. At least that from the daily dump.
did you download the latest quest? There were some changes made to the quest system in order for Lua system to work. |
I've been using the PEQ quests from the SVN but started using quests from the daily build download. I've been messing around with the Lua paths having cmake use the files from my the Lua install on harddrive and also having it set to use the dependencies folder in the source directory. Neither seems to work.
I'm using the daily build from today and the PEQ already has the liasons set to class type "71". I've been using the PoK soulbinder and quest giver opposite her to test for NPC dialog, just FYI, but no one will speak to me anymore. Am I missing some files or are my paths not setup properly in cmake? I don't see any kind of errors during build or in the logs but there is clearly a problem. I've been at this for hours and can't figure out why NPCs won't talk anymore. |
In game hail someone, then run the #questerrors command and tell me if you get any errors.
|
Quote:
Code:
mysql> select count(*) from npc_types where class = 71; |
@KLS
Ok, I did that and got a heap of errors. It looks like it's telling me some .dlls are missing from the server folder. I don't know how you log chat windows output to a text file so here is a screen capture of the errors. It looks like I don't have Lua setup properly or the right files in the right place. @cavedude Ok, I did that and got 37 count back. Now, I used the daily build from yesterday but I guess I'm sourcing or not sourcing the right SQls. I don't know exactly what is different about the daily build compared to the last 2506 SVN build. Are there SQLs I shouldn't be sourcing that I normally would source with the old SVN build? I want to have mercs and I've been sourcing the following, perhaps the error lies with this. I got this from another post when mercs weren't working right and before the Lua switch. In order... /utils/sql/svn/2380_optional_merc_data /utils/sql/svn/2380_optional_merc_merchant_npctypes_update /utils/sql/svn/2380_optional_merc_rules /utils/sql/svn/mercs.sql /utils/sql/git/required/2013_02_18_Merc_Rules_and_Tables /utils/sql/git/optional/2013_02_18_Merc_Spells /utils/sql/git/required/2013_02_25_Impr_HT_LT /utils/sql/git/required/2013_03_1_Merc_Rules_and_Equipment /utils/sql/git/optional/2013_03_14_Merc_Spells /utils/sql/git/optional/2013_03_18_Merc_Spells #questerrors http://imageshack.us/a/img853/191/q1.png |
You wouldn't happen to have the perl512.dll in your server's directory would you? The times I've personally seen &main::eval_file fail it's when the perl install has been messed up like that.
Also, right now the lua_modules directory works like plugins does for perl and needs to be in the root of the server directory. |
Ah, yes there was a perl512.dll hanging out in the server folder. I threw it away, then copied the lua_modules over from the quests folder into the serverroot, went into the game, and bam, the NPCs are talking again. Ran #questerrors and it came back with nothing, no errors at all.
YOU are the man! Thank you much! Now I just need to fix the "Mercenary failed to spawn!" problem. So I'll start over with today's daily PEQ build. Hopefully cavedude can help me figure out what I screwed up, since mercs were working fine with the previous SVN PEQ build I was using. Obviously a sourcing issue. |
Make sure that when you extract the .tar.gz file that you are actually extracting everything.
Assuming you have 7 zip, Right click on .gz choose 7zip extract here. Now you have a .tar file. Right click on .tar and choose 7zip extract here This will extract the peqbetaxxxxxxxxx and drop_system SQL files. Open a command prompt. cd \eq\sql mysql -uroot -ppassword peq source drop_system.sql source peqbetaxxxxxxxxx.sql exit exit Launch your start.bat |
Quote:
|
yeah I just enabled the mercenary and set class to 71. I too get the message "mercenary failed to spawn". I have no idea why.
|
Quote:
Sorry if the answers are obvious and in front of my face, but it's well after 4AM, I should have been in bed yesterday, but this is sucking me in too much. |
All times are GMT -4. The time now is 05:35 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.