EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development: Custom Code (https://www.eqemulator.org/forums/forumdisplay.php?f=665)
-   -   Perl: How to start LDoN? (https://www.eqemulator.org/forums/showthread.php?t=44381)

TonyO 07-22-2025 12:59 PM

Perl: How to start LDoN?
 
I'm developing a work-around for missing doors in nro and sro when my ROF2 client is missing files with LDoN doors.
An NPC sends a player and 5 bots to the adventure zone.
The script connects to peq, queries the instance data, and uses this function:
Code:

quest::MovePCInstance($iInstanceZoneId, $iInstanceId, $fX, $fY, $fZ, $iHeading);
This works just fine so far. The player and bots are ported to the LDoN. The zone is populated with the correct level mobs. But the adventure doesn't "start." The adventure window still shows waiting to enter.

My question: What function or method will start the adventure when the first player enters the zone?

TonyO 08-19-2025 11:56 AM

LDON Entrances: Takish Hiz and Rujarkian Hill
 
If you do LDoN group adventures with an ROF client, the entrances to Takish Hiz and Rujarkian Hills may be missing. I made these these SQL scripts to change the Takish Hiz and Rujarkian Hills doors to the campfires at Wayfarer camps.
Back up your database before making these changes.
Download the SQL files at the links, and execute them with a SQL tool like Heidi or MySQL Workbench.

Rujarkian Hills: Get the adventure in East Commons. Click the campfire in the Wayfarer camp in South Ro (sro).
https://disk.yandex.com/d/e5d5HGH1PQSbBg

Takish Hiz: Click the campfire in the Wayfarer camp in North Ro (nro)
https://disk.yandex.com/d/DyU6mfTRWR1mRw

Note: This patch is intended to be a temporary work-around until peq developers finish LDoN expansion. You may need to revert these changes later. I searched scripts and source but was unable to find a better method to simulate players clicking a door, start an LDoN timer. I have play tested both entrances.


All times are GMT -4. The time now is 10:25 AM.

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