Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[SHARE] PANDORA's BOX FEATURE

Newbie Spellweaver
Joined
May 19, 2023
Messages
16
Reaction score
5
i dont think the error came from the glcharmsg.
glcharmsg is server parts. and should be no related to the error that you met in.
no i mean ejayasa just upload new code up there on glcharmsg. what kind changes is it
 
Banned
Banned
Joined
Aug 17, 2023
Messages
23
Reaction score
5
no i mean ejayasa just upload new code up there on glcharmsg. what kind changes is it
its change the pricing from glconstchar to iter.second.

i will try to merge it again. because i change the UI code.
m_pInterFace
m_pGaeaClient i remove this 2 code from UI code.

i will try again with the original code without change it.
 
Joined
May 2, 2012
Messages
475
Reaction score
244
TO AVOID CRASHES INGAME ( due to item list lower than 12 items )

add this :


C++:
if ( i >= GLCONST_CHAR::vecPandoraBoxes.size() ) continue;

PandoraBoxWindow.cpp

1692285448467 - [SHARE] PANDORA's BOX FEATURE - RaGEZONE Forums


1692285513293 - [SHARE] PANDORA's BOX FEATURE - RaGEZONE Forums


After adding the code, my emulator after started and gone.
i debug it and its link to

C++:
void CPandoraBoxWindow::ShowItem()
{
    for ( int i=0; i< PANDORA_BOX_MAX_ITEM; ++ i )
    {
        m_pItemSlot[i]->ItemReset();
        m_pItemSlot[i]->SetVisibleSingle( FALSE );
    }

    for ( int i=0; i< PANDORA_BOX_MAX_RESULT_ITEM; ++ i )
    {
        m_pItemResultsSlot[i]->ItemReset();
        m_pItemResultsSlot[i]->SetVisibleSingle( FALSE );
    }

    for ( int i=0; i<PANDORA_BOX_MAX_ITEM && !GLCONST_CHAR::vecPandoraBoxes.empty(); ++i )
    {
        if ( m_pItemSlot[i] )
        {
            m_pItemSlot[i]->SetVisibleSingle( TRUE );
            m_pItemSlot[i]->ItemSet( GLCONST_CHAR::vecPandoraBoxes[i] );
        }
    }
}

m_pItemSlot->ItemSet( GLCONST_CHAR::vecPandoraBoxes );

any idea with this?
check my latest post
 

Attachments

You must be registered for see attachments list
Joined
May 2, 2012
Messages
475
Reaction score
244
For Action Delay

GLChar.cpp

Under code block

HRESULT GLChar::FrameMove ( float fTime, float fElapsedTime )
{

find

1692286820743 - [SHARE] PANDORA's BOX FEATURE - RaGEZONE Forums


add this

C++:
if( m_sPandoraStatus.fReqDelay > 0.0f )
        m_sPandoraStatus.fReqDelay -= fElapsedTime;
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Apr 16, 2020
Messages
67
Reaction score
5
error C2146: syntax error : missing ';' before identifier 'm_mapPandoraResults'
error C2501: 'SCHARDATA2::pANDORABOXMAP' : missing storage-class or type specifiers


how to fix this error? thanks
 
Banned
Banned
Joined
May 28, 2010
Messages
184
Reaction score
33
error C2146: syntax error : missing ';' before identifier 'm_mapPandoraResults'
error C2501: 'SCHARDATA2::pANDORABOXMAP' : missing storage-class or type specifiers


how to fix this error? thanks
you miss-place some code
 
Back
Top