Jump to content
  • Register Now

    Sign up and take advantage of the features of our community! Some forums are only accessible to our members!

  • 0

Core.core error shop


alexghinet

Question

xd.png

 

shop_,manager.cpp 364: xd.png

 

item_manager 1384: dadada231.png

 

item)manager.cpp 3691:         case HEADER_CG_SHOP:
            if ((iExtraLen = Shop(ch, c_pData, m_iBufferLeft)) < 0)  ---> 3691
                return -1;
            break;

 

help please

p.s i removed shop make item from all accounts and all shops

Link to post

5 answers to this question

Recommended Posts

  • 0
2 hours ago, Johnny69 said:

First of all, you didn't post the complete function ::Buy from CShopManager.

The core is not very explicit but pkShop might be a null pointer.

 

that's the rest of the function: CShopManager.::Buy

 

   //PREVENT_ITEM_COPY
    ch->SetMyShopTime();
    //END_PREVENT_ITEM_COPY

    int ret = pkShop->Buy(ch, pos);

    if (SHOP_SUBHEADER_GC_OK != ret) // ¹®Á¦°¡ ÀÖ¾úÀ¸¸é º¸³½´Ù.
    {
        TPacketGCShop pack;

        pack.header    = HEADER_GC_SHOP;
        pack.subheader    = ret;
        pack.size    = sizeof(TPacketGCShop);

        ch->GetDesc()->Packet(&pack, sizeof(pack));
    }
}

 

can u be more explicit with this null pointer , what does it mean , what should i do?

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.