plugin success / failure
I'm having difficulties with plugins.
Zone seems to load them from the plugins/*.pl sometimes, sometimes not. Also, loading chokes one some script errors, not on others. Anyone post information about status, thanks in advance. |
Quote:
|
it's still hard to say. Pretty random anyway.
./plugin.pl always gets loaded fine. ./plugin/*.pl, well, sometimes all succed, sometimes a group, but generally at least one ot two always get loaded. Still i can't guess the rule. I suspect there is an error in one script (at least something the embparser does not like), and after that, it loads no more. It might be the readdir function used to parse directory that makes it random, that retrieves filenames one at a time. Duno if it's sorted on name, modification time, creation time, ... |
got it !
the file loading uses cache, to check if a package (read 'npc quest') was already loaded. It does the same for plugin files. So, it doesn't load the file if it is older than the previously loaded plugin file. Correcting this in the embperl.cpp file : Code:
@@ -93,7 +94,7 @@ |
AAAHHH, good eye... :)
|
All times are GMT -4. The time now is 09:56 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.