EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Function Broken? Or just me? (https://www.eqemulator.org/forums/showthread.php?t=37222)

JimB_1958 08-28-2013 07:14 PM

Function Broken? Or just me?
 
Been testing this...


Code:

if ($text=~/testaddldon/i) {
 
    my $mir_wins = $client->GetLDoNWinsTheme(2);
    $mir_wins += 1;
    quest::addldonwin($mir_wins,2);

    quest::say("Okay now you have $mir_wins wins.");
 
}

I get no errors
the NPC answers me with the correct number of wins.
But it doesn't add a win.
What I do wrong?

NatedogEZ 08-28-2013 07:51 PM

addldonwin seems to add ldon points and not wins... /shrug

Kingly_Krab 08-28-2013 08:13 PM

Personal preference, but would you mind putting your script within [code] tags?

JimB_1958 08-29-2013 09:50 AM

Confirmed.... it adds to the total LDON points.

Does not add wins or even points to the chosen theme.

I'm just looking for a way to do LDON missions outside of the normal click on the adventure recruiter. I want to do it via a quest, award points (easy part) and a win if player suceeds, a loss if they fail, and allow them to try again.

Any ideas?


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

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