Perl caching
I managed to get Perl working (thanks to a lot of searching :)) but now I've got a problem that searching doesn't seem to solve...
It took me a while to figure out that in order for the perl cache to be updated you have to camp, completely shut down the zone servers, restart the zone servers, and log back in. So my question is: Is there any other way do do this? I looked through the c ommand list, but only found #peval and #plugin, and I also tried #reloadquest, but it only seems to work for .qsts. If there isn't a command for it, does anyone know of a work around? Maybe include an external file (say, test.pl), then when the quest is stable copy and paste the contents into the quest file? Unfortunately with that system you would still have to shut down the zone server every time you switched NPCs... Thanks in advance. :) |
Quote:
There is also an issue with plugins, there was a post a few weeks ago about this. Quote:
If you tweak the plugin code a bit, you can have it load and eval specific quest at runtime (e.g. set questfile global varaible to 'quest1234.pl' in the DB, then upon EVENT have the plugin load and eval the quest file, and call EVENT routine). If you want simplified version : write your npc quest to dynamically load quest file and eval at run time. This makes you quest file a pointer to the real quest file ; change pointer value by changing the DB value. There's more than one way to do it ! |
Thanks, I'll give that a try. :D
I've also gotten the EQEmu quest emulator (this is beginning to seem a bit redundant :) ) to work, which helps a lot. Now if I could just outsmart it and sneak come commas in there... :P 8) |
I had provided this as a quick fix a while back, which is probably why it, rightfully, never went into the release.
http://www.eqemulator.net/forums/viewtopic.php?t=12357 |
That's just what I was looking for, thanks a lot! :D
|
All times are GMT -4. The time now is 11:07 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.