Log in

View Full Version : Quests not working


hayward6
08-20-2017, 03:00 PM
So, I am sorry but I have been away for a time, and I am back. I play in the Linux space and went ahead and started fresh rather than try and update my old server. I have been learning things and the one thing I am still struggling with is the pearl/Lua changes... None of my pearl quests seem to be working. I understand Lua has precedence (I think) but in a zone like POK where all speaking quests are done in Pearl, none of them work. I didn't even notice until I started adding some custom npc's and they would not respond. Do I need to make a change in the source before building? I am currently running off the Linux install script which has been fantastic!

Maze_EQ
08-21-2017, 10:27 AM
Did you actually install PERL?

terminal-> perl -v

hayward6
08-21-2017, 12:00 PM
Did you actually install PERL?

terminal-> perl -v

Yes I have. v 5.24.1.

I'm sure it's something small. I have only ever used Perl, so when I saw some of the new file names ending in lua I said "uhoh". I wanted to add auto skill-ups so I had to go into the global player lua file to get that going.

So does it use one or the other, and not both? If that's the case, I have entire zones with nothing setup in lua...

hayward6
08-22-2017, 08:07 AM
I ran around to some other zones and my Perl quests are definitely not working. I ran the new installer script and everything else has been perfect. Combat, mobs pathing, and the level up stuff seems to be in Lua and that all works fine. Is there a conf file I can look at? I know we used to have a place to point to the quest folder in the config... I don't want to start from scratch if I can help it, but maybe that's the best way to go...

ghanja
08-22-2017, 11:46 AM
perlbrew init


If unrecognized/error then:


wget --no-check-certificate -O - http://install.perlbrew.pl | bash


then/otherwise proceed with:

perlbrew install perl-5.12.3


Now to switch to that version:

perlbrew switch perl-5.12.3


Recompile server.

Should you wish to revert the change of Perl version to back what you're running:


perlbrew switch perl-5.24.1


I use Ubuntu, so, can't specifically state success rate on other nix flavors.

hayward6
08-22-2017, 03:06 PM
Maybe it's time I find another hobby. Everytime I go away for any time, just enough changes are made to completely alienate myself :)

-bash: perlbrew: command not found

I went to step two and installed it, but perlbrew, whatever it is, doesn't seem to be working...

hayward6
08-22-2017, 08:46 PM
Ok, when I got home tonight I built a brand new server using the Linux auto script, and again, everything worked perfectly... With one exception. None of the npc's will respond to hails. I was starting to go toward proximity, but merchants open fine and talk about their wears, and spells work fine.

I need to figure this out...

Akkadius
08-22-2017, 09:11 PM
Ok, when I got home tonight I built a brand new server using the Linux auto script, and again, everything worked perfectly... With one exception. None of the npc's will respond to hails. I was starting to go toward proximity, but merchants open fine and talk about their wears, and spells work fine.

I need to figure this out...

hayward - what linux distro did you build on?

hayward6
08-23-2017, 06:55 AM
hayward - what linux distro did you build on?

I am running 64bit Debian 9.0 Last night I ran a new server on 9.1 and had the same result, so I am entertaining stepping down to the last distro of 8. I was running 8 a while back before you setup the auto installer. Everything else works perfectly, so I was hoping I could figure it out though.

hayward6
08-23-2017, 07:34 AM
I was just reviewing the issues page to see if I could find anything, and may have. Are there prerequisites? I have been starting from a clean installation, but I saw another user was having trouble because he did not install mysql. Not the same issue of course, but I have been assuming the installer was handling everything. Still reading :) I will be back

hayward6
08-23-2017, 07:50 AM
I am running the installer on Debian 8.9 right now. I keep seeing inconsistencies and I'm not yet convinced it's due to things I am doing. Sometimes the installer fails straight away, and sometimes it runs perfectly. After this installation which looks to be going great, I am going to look back through for any errors I may have missed in earlier installs.

Akkadius
08-23-2017, 06:38 PM
It should work right out of the box installer wise

I have been really busy with work but I can check on things here when I get a moment of time and spin up a server quick

hayward6
08-23-2017, 07:40 PM
It should work right out of the box installer wise

I have been really busy with work but I can check on things here when I get a moment of time and spin up a server quick

Thank you very much. Obviously it isn't urgent :) I just ran through another complete install from a clean build and it's the same result. Nothing will respond to a hail, and I have been all over Norrath looking :)

This is my process.
Install Debian 9.1 AMD64 with only SSH Server and Standard tools, I don't think it matters, but I do this in VMware Workstation 12 Pro.

Then I do this #wget --no-check-certificate https://raw.githubusercontent.com/EQEmu/Server/master/utils/scripts/linux_installer/install.sh -O install.sh && chmod 755 install.sh && ./install.sh

Everything works perfectly when it completes, except perl quests do not seem to be loading. Actually let me go double check the permissions and such there...

Toony
08-23-2017, 07:49 PM
Any chance it could be client related?

hayward6
08-23-2017, 07:59 PM
Well well well... Here's a clue! Found this in a zone log.

[08-23-2017 :: 19:31:53] [Quests] Tying perl output to eqemu logs
[08-23-2017 :: 19:31:53] [Quests] Creating EQEmuIO=HASH(0x558111f1f710)
[08-23-2017 :: 19:31:53] [Quests] Creating EQEmuIO=HASH(0x558111f2fd78)
[08-23-2017 :: 19:31:53] [Quests] Loading perlemb plugins.
[08-23-2017 :: 19:31:53] [Quests] Unable to read perl file 'plugin.pl'

hayward6
08-23-2017, 08:09 PM
Well well well... Here's a clue! Found this in a zone log.

[08-23-2017 :: 19:31:53] [Quests] Tying perl output to eqemu logs
[08-23-2017 :: 19:31:53] [Quests] Creating EQEmuIO=HASH(0x558111f1f710)
[08-23-2017 :: 19:31:53] [Quests] Creating EQEmuIO=HASH(0x558111f2fd78)
[08-23-2017 :: 19:31:53] [Quests] Loading perlemb plugins.
[08-23-2017 :: 19:31:53] [Quests] Unable to read perl file 'plugin.pl'

This same error is in each of the 30 zone logs when I launch the server. I am happy to have found this, because I was also starting to guess it was client related. Now, on to why... plugin.pl does not exist on this server.

The_Beast
08-23-2017, 08:28 PM
Is your plugins folder populated ?

Akkadius
08-23-2017, 08:32 PM
It's not a plugin.pl issue - let me pull down and look

Akkadius
08-23-2017, 10:54 PM
Update: Compare and contrasted a Debian 8/Debian 9 install

Debian 8: 5.20.2 - Perl scripts work fine
Debian 9: 5.24.1 - Perl scripts broke

I'm looking into a viable solution here

Akkadius
08-23-2017, 11:30 PM
FYI

https://www.reddit.com/r/cperl/comments/4tpstp/whats_up_with_perl5241/

Both 5.22 and 5.24 killed off some important old Perl 5 behaviour, so many old scripts and modules will fail when upgrading, if they have not been appropriately modified to use newer behaviour. See the perldelta for each release for details, there's a long list of incompatibilities and deprecations for 5.22.0 and 5.24.0. 5.20 also had similar, but it's been out for long enough that most modules caught up with it a while ago.

5.24 is very recent, and not something I would particularly recommend for production use at this point in time, simply because it is very rare for a Perl installation to exist without a large number of extra modules, and it takes time for the modules to become stable on a new stable release of the core. 5.22 is somewhere between the two, as you would expect, not quite "so old that everything now works, if the module hasn't been completely abandoned", but no longer "bleeding edge, with lots of broken stuff". All of the most popular stuff should now generally be good on 5.22, but you could easily run into the odd module which is still in need of an update.

Akkadius
08-24-2017, 05:17 AM
Alright - well... After spending way too many hours on this issue, tracing through all of the Perl changelogs and what they've done, and then going through all of our Perl C++ API integrations to find out where the issue lies, I finally found it >_<

https://github.com/EQEmu/Server/commit/00604722bb8463a225e0c7d23ec41755ce29b0a2

Debian 9 should be good to go and any other Linux releases that up to the same version

Enjoy!

The_Beast
08-24-2017, 05:59 AM
There's always a ("%s - bitch", str); involved somehow :P

embxs.cpp

111+ std::string string = StringFormat("%s - bitch", str);

hayward6
08-24-2017, 06:44 AM
Alright - well... After spending way too many hours on this issue, tracing through all of the Perl changelogs and what they've done, and then going through all of our Perl C++ API integrations to find out where the issue lies, I finally found it >_<

https://github.com/EQEmu/Server/commit/00604722bb8463a225e0c7d23ec41755ce29b0a2

Debian 9 should be good to go and any other Linux releases that up to the same version

Enjoy!

Oh wow, thank you! I am sorry you had to go all through that, but I am also happy it wasn't something I was doing :)

hayward6
08-24-2017, 07:10 PM
Working perfectly, thanks again!

Akkadius
08-24-2017, 07:33 PM
Working perfectly, thanks again!

Glad you're cruising now :)

jia_jacky
09-08-2017, 12:26 AM
Ok, when I got home tonight I built a brand new server using the Linux auto script, and again, everything worked perfectly... With one exception. None of the npc's will respond to hails. I was starting to go toward proximity, but merchants open fine and talk about their wears, and spells work fine.

I need to figure this out...

Sorry to hear this. I have met similar problems, but it was on windows. Everything is perfect besides the perl quests. So I had to move to ubuntu, now it is perfect.

Thank Akkadius for updating the scripts, I think it will work perfectly on windows too.

Akkadius
09-08-2017, 10:58 AM
As long as you're using the recommended perl version of 5.12.3 for Windows - everything should work