DarkstarProject / darkstar

DEPRECATED - FFXI Server Emulator - See Project Topaz
https://github.com/project-topaz/topaz
GNU General Public License v3.0
455 stars 550 forks source link

Zilart: BCNM Temple of Ugga causing hangup #1425

Closed Desufire closed 9 years ago

Desufire commented 9 years ago

There are no errors that I can find, otherwise I'd upload a dump, but players are hanging up after win in BCNM Temple of Uggalepih. The cs plays and Grav'iton says:

"It all started with a mere crystal and the mysterious power that it held..." and then the game hangs on a black screen. Commands release and posfix do nothing to help. bring and homepoint get the player away from black screen, but mission flag does not update doing this and they must do the fight again.

I've looked into the scripts and couldn't see anything wrong with them.

gedads commented 9 years ago

remind me a fix from long ago... https://www.youtube.com/watch?v=5r4zcFHcLeU where are you stuck, @ first cs, second cs or exit?

Desufire commented 9 years ago

First cs transitioning into the second.

Reported to me that they waited a few minutes in case of long load time. I didn't know I could add the KI to access the fight, so I'll be doing that now to see for myself. I hope I didn't just report this for no reason.

Desufire commented 9 years ago

Edit/Update (5/14 03:36am) I have attempted to do everything to my knowledge to correct this. The error goes as thus:

The fight is won (Game server states win criteria met) > The first CS is played and Graviton speaks > The CS ends, the screen turns black, and your radar appears but goes away as you enter 2nd CS. 2nd CS does not load though. It's like there's a problem between the 1st and 2nd CS where something goes wrong.

In a desperate attempt, I edited the bcnm script to bypass the first CS 0x7d01, and instead play the 2nd CS upon win 0x0007. This did indeed play the 2nd CS, but then the cs ends after it shows the Beaucedine area and the player is still in the bcnm. Trying to leave results in the options shown when entering.

This is beyond my knowledge to correct it seems.

Update 05:20am I've bypassed the issue by eliminating CS 0x0007 and having it play 0x0008 upon bcnm win; along with all the code for the KI, mission complete, and mission add in the OnEventFinish section in the Sacrificial Chamber zone script. This will work for my server until the bridge between 0x7d01 and 0x0007 is fixed.

gedads commented 9 years ago

ok i'll have a look.

ghost commented 9 years ago

the same problem.

gedads commented 9 years ago

same issue can be fixed like demolish told to https://github.com/DarkstarProject/darkstar/issues/1411

teschnei commented 9 years ago

7b76bdaaa7993ed9a9e1fefb84b8b6de9d584993

ghost commented 9 years ago

I think there is still a small problem with the 2nd CS or we are told the story of Zillart . A black screen appears . The video in 4:03 min show good the situation.

https://www.youtube.com/watch?v=5r4zcFHcLeU

teschnei commented 9 years ago

3fe203c

ghost commented 9 years ago

Thank you , but no. The problem has not changed :(

TeoTwawki commented 9 years ago

@teschnei its stalling at the chang over from cs 0x0007 to 0x0008, 1 cs plays fine (unless they use the eternity plugin, which usually breaks it) and the 2nd never starts. The zone.lua script has onEventFinish for the 1st start the second.

if I (at)cs them, these both play just fine even causing one to trigger the other because of that weirdness where the zone lua gets read for (at)cs.

teschnei commented 9 years ago

it's not stalling anymore, it just takes 10+ seconds to load all the NPCs (look at your server log! the 016 spam means it's requesting NPCs!)

TeoTwawki commented 9 years ago

No, it IS stalling when I try it. It ends the 1st cut scene and just releases me - second CS never starts. I went afk and left my char there for an hour while doing laundry, it never starts. And I didn't expect it to, since I was already released and able to move use menu's etc.

ghost commented 9 years ago

Teotwawki, It's exactly that

TeoTwawki commented 9 years ago

@AlexandreCA When I revert changes to SmallPacket0x05B packet it works again (both the original change and its "fix"). But when I said I was still seeing a problem I was told it worked fine for him as trunk has it now. Doesn't for me. I've had several more ppl report other cs doing same crap too.

ghost commented 9 years ago

Bah , I have the same problem as you. That 's what I mean. Despite the correction teschnei , the end of the CS is a black screen.

TeoTwawki commented 9 years ago

I understood you. :smile:

ghost commented 9 years ago

I had to use the GM command has overcome this problem. But it is cheated :(

DSP Issue temp fixed player

@delkeyitem 238 @addkeyitem 246

@completemission 3 8 @addmission 3 10

Issue forwarded to DSP to resolve CS issues on 2nd CS

Desufire commented 9 years ago

Ok, here's a bit of a necro. Got another bcnm cs problem on mission 2-3 (Sandy). Player submitted that no cs plays on start, the bcnm loads with no fight.

Took Gm in with him and confirmed. It just loads the bcnm without the dragon/eye, completely skipping the cs that should play.

No errors show on server.

Hozu commented 9 years ago

Ok the first ending CS of ZM4 completes, it grants the title, but when it goes to play the second CS it doesn't start. The people on the mission where able to cast Cure on me when I was properly exited due to having the mission completed long ago. They did not get the Dark Fragment nor did they get the next mission.

takhlaq commented 9 years ago

https://github.com/DarkstarProject/darkstar/commit/63ecf03a203280f6df17a62edf80a78300d88831

TeoTwawki commented 9 years ago

I still see issues with daisy chained CS's elsewhere (example: trying to implement cs's for voidwatch that dsp doesn't have yet, in pashow (s) the verdical conflux needs to start event 0x0008 immediately following event 0x0007..the second cs never plays, leaves character on black screen.

-----------------------------------
-- Area: Pashhow Marshlands [S]
--  NPC: Veridical Conflux
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------

require("scripts/globals/quests");
require("scripts/zones/Pashhow_Marshlands_[S]/TextIDs");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
end;

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)
    if (player:getQuestStatus(CRYSTAL_WAR, GUARDIAN_OF_THE_VOID) == QUEST_AVAILABLE) then
        -- For stage IV Crimson, Indigo, and Jade, we set 1 bit each
        -- for VW_3_NATIONS instead of for a var named for the KIs.
        if (player:isMaskFull(player:getVar("VW_3_NATIONS"),3) == true) then
            player:startEvent(7);
        end
    elseif (player:getQuestStatus(CRYSTAL_WAR, A_CAIT_CALLS) == QUEST_ACCEPTED) then
        player:startEvent(9);
    end
end;

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
    -- printf("CSID: %u",csid);
    -- printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
    -- printf("CSID: %u",csid);
    -- printf("RESULT: %u",option);
    if (csid == 7) then
        player:startEvent(8);
    elseif (csid == 8) then
        player:addQuest(CRYSTAL_WAR, GUARDIAN_OF_THE_VOID);
        player:setVar("VW_3_NATIONS", 0);
    elseif (csid == 9) then
        player:startEvent(10);
    elseif (csid == 10) then
        player:completeQuest(CRYSTAL_WAR, A_CAIT_CALLS);
        player:addQuest(CRYSTAL_WAR, THE_TRUTH_IS_OUT_THERE);
    elseif (csid == 12) then
        -- player:addQuest(CRYSTAL_WAR, ???);
    end
end;
TeoTwawki commented 9 years ago

Opening new issue since this isn't specific to temple ugly.