Tipologie server: -
*Resursă folosită: http://just4metin.ro/sursa/barbut-syste ... 65220.html
*ServerFiles utilizat: DreamsWorld2
*Syserr:
Poză: -
exchange.cpp: In function 'void exchange_packet(LPCHARACTER, BYTE, bool, long long int, TItemPos, DWORD, void*)': exchange.cpp:43:19: error: invalid conversion from 'int(int, int)' to 'BYTE {aka unsigned char}' [-fpermissive] pack_exchg.dice = dice; ^ exchange.cpp: In member function 'bool CHARACTER::ExchangeStart(LPCHARACTER, BYTE)': exchange.cpp:111:75: error: invalid conversion from 'BYTE {aka unsigned char}' to 'void*' [-fpermissive] exchange_packet(this, EXCHANGE_SUBHEADER_GC_ALREADY, 0, 0, NPOS, 0, dice); ^ exchange.cpp:27:6: error: initializing argument 7 of 'void exchange_packet(LPCHARACTER, BYTE, bool, long long int, TItemPos, DWORD, void*)' [-fpermissive] void exchange_packet(LPCHARACTER ch, BYTE sub_header, bool is_me, long long arg1, TItemPos arg2, DWORD arg3, void * pvData) ^ exchange.cpp:138:81: error: invalid conversion from 'BYTE {aka unsigned char}' to 'void*' [-fpermissive] exchange_packet(victim, EXCHANGE_SUBHEADER_GC_START, 0, GetVID(), NPOS, 0, dice); ^ exchange.cpp:27:6: error: initializing argument 7 of 'void exchange_packet(LPCHARACTER, BYTE, bool, long long int, TItemPos, DWORD, void*)' [-fpermissive] void exchange_packet(LPCHARACTER ch, BYTE sub_header, bool is_me, long long arg1, TItemPos arg2, DWORD arg3, void * pvData) ^ exchange.cpp:139:87: error: invalid conversion from 'BYTE {aka unsigned char}' to 'void*' [-fpermissive] exchange_packet(this, EXCHANGE_SUBHEADER_GC_START, 0, victim->GetVID(), NPOS, 0, dice); ^ exchange.cpp:27:6: error: initializing argument 7 of 'void exchange_packet(LPCHARACTER, BYTE, bool, long long int, TItemPos, DWORD, void*)' [-fpermissive] void exchange_packet(LPCHARACTER ch, BYTE sub_header, bool is_me, long long arg1, TItemPos arg2, DWORD arg3, void * pvData) ^ exchange.cpp: In constructor 'CExchange::CExchange(LPCHARACTER, BYTE)': exchange.cpp:158:2: error: 'm_lDice' was not declared in this scope m_lDice = dice; ^ exchange.cpp: In member function 'bool CExchange::AddItem(TItemPos, BYTE)': exchange.cpp:236:5: error: 'm_lDice' was not declared in this scope m_lDice, ^ exchange.cpp: In member function 'bool CExchange::RemoveItem(BYTE)': exchange.cpp:270:82: error: 'm_lDice' was not declared in this scope exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_ITEM_DEL, true, pos, NPOS, 0, m_lDice); ^ exchange.cpp: In member function 'bool CExchange::AddGold(long long int)': exchange.cpp:291:6: error: 'm_lDice' was not declared in this scope if (m_lDice == 1) ^ exchange.cpp:297:79: error: 'm_lDice' was not declared in this scope exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_LESS_GOLD, 0, 0, NPOS, 0, m_lDice); ^ exchange.cpp:309:86: error: 'm_lDice' was not declared in this scope exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_GOLD_ADD, true, m_lGold, NPOS, 0, m_lDice); ^ exchange.cpp: In member function 'bool CExchange::Accept(bool)': exchange.cpp:616:7: error: 'm_lDice' was not declared in this scope if (m_lDice == 1) ^ exchange.cpp:679:87: error: 'm_lDice' was not declared in this scope exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_ACCEPT, true, m_bAccept, NPOS, 0, m_lDice); ^ exchange.cpp: In member function 'void CExchange::Cancel()': exchange.cpp:688:72: error: 'm_lDice' was not declared in this scope exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_END, 0, 0, NPOS, 0, m_lDice);




