EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   .pl scripts not working in North Ro (https://www.eqemulator.org/forums/showthread.php?t=42573)

strugglegenerator 08-24-2019 08:22 AM

.pl scripts not working in North Ro
 
I've been re-using the Translocator .pl scripts in various zones and haven't ran into any issues until I tried to use one in North Ro. I noticed that none of the .pl scripts work in North Ro. Only LUA scripts work in North Ro.

What would cause something like this to only happen in 1 specific zone? I am completely baffled.

jsr 08-24-2019 10:33 AM

are there lua and perl scripts with the same name?

strugglegenerator 08-24-2019 10:41 AM

No. For now I was able to get a LUA script to work in the North Ro folder that does the same thing that the Perl script was doing, but I'm still wondering why Perl scripts don't work in the North Ro quests folder.

Uleat 08-24-2019 07:28 PM

Are you in the correct zone for the folder you're using? (i.e., nro vs northro)

strugglegenerator 08-24-2019 07:50 PM

Yes, I am using nro. I tried putting it into northro too, but that didn't work either.

While we are on the topic, why are there two folders for Nothern Desert of Ro in the first place?

Dhaymion 08-24-2019 08:53 PM

One is classic, and one is the revamped version. Which is why Uleat was asking. If you look on your database they have their own unique zone ID. Nro= Classic, and Northro=revamped

jsr 08-24-2019 08:58 PM

Tried a simple script to see if that works? Something like..

player.pl

Code:

sub EVENT_SAY {

        if($text=~/hail/i){
                $client->Message(300, "Yes this works");
        }

}

Look out for a player.lua file in nro

Uleat 08-25-2019 01:03 AM

Yeah, I didn't ask that...

If a lua and perl file both exist for any given file name, the lua always takes precedence.

strugglegenerator 08-25-2019 12:37 PM

I don't have duplicate file names between lua or perl scripts in the nro folder. Still can't get any perl scripts to work in the nro folder either. Issue is isolated to this zone. I even deleted the other folder north ro just to see what would happen, didn't help though.

I'll just have to settle for using lua only in the nro folder. Still works, just strange.

Uleat 08-25-2019 01:18 PM

I'm not sure what's going on there...

I tested all of the perl scripts in my local quests folder and they all worked for me.

jsr 08-26-2019 04:12 PM

There's nothing in #questerrors ?

strugglegenerator 08-27-2019 07:39 AM

Nothing in #questerrors

jsr 08-27-2019 11:33 AM

Seems pretty strange, but there are no true mysteries when it comes to bugs.

I'd remove every script from the zone, setup a global player.pl with a very simple event_say, that works in other zones. If that script doesn't work, and there are no resulting #questerrors, you'd probably need to use a debugger.


All times are GMT -4. The time now is 12:42 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.