Jump to content

Kyros

Inactive Member
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Kyros

  1. bool CExchange::AddGold(long gold)
    {
        if (gold <= 0)
            return false;

        if (GetOwner()->GetGold() < gold)
        {
            // °¡Áö°í ÀÖ´Â µ·ÀÌ ºÎÁ·.
            exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_LESS_GOLD, 0, 0, NPOS, 0);
            return false;
        }

        if ( LC_IsCanada() == true || LC_IsEurope() == true )
        {
            if ( m_lGold > 0 )
            {
                return false;
            }
        }

        Accept(false);
        GetCompany()->Accept(false);

        m_lGold = gold;

        exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_GOLD_ADD, true, m_lGold, NPOS, 0);
        exchange_packet(GetCompany()->GetOwner(), EXCHANGE_SUBHEADER_GC_GOLD_ADD, false, m_lGold, NPOS, 0);
        return true;
    }
     

     

     

    bool CHARACTER::ExchangeStart(LPCHARACTER victim)
    {
        if (this == victim)    // ÀÚ±â ÀڽŰú´Â ±³È¯À» ¸øÇÑ´Ù.
            return false;

        if (IsObserverMode())
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("°üÀü »óÅ¿¡¼­´Â ±³È¯À» ÇÒ ¼ö ¾ø½À´Ï´Ù."));
            return false;
        }

        if (victim->IsNPC())
            return false;
     

  2. Hello,

    I hope someone can offer me help.

    When trading and trying to put yang in trade window, it stays at 0 and this particular message comes out:

    The player owns more than 2 billion yang

    He says that the player with  I am trying to trade has more than 2 billion yang,  but the fact is that the player does not even have yang or have small amount.

    In the sysser this line comes out;

    SYSERR: Nov 2 01: 53: 53.530620 :: Exchange: [OVERFLOW_GOLD] ELK_ADD (884092571) id 1 name [GM] Luke

×
×
  • 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.