DICE SISTEM ERROR

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
SebiSzeb
Nivel 1

Nivel 1
Mesaje: 89
Membru din: 18 Ian 2019, 00:25
Aprecieri: 35  
Mulţumiri: 0
Medalii

*Problemă: nu se compileaza
Tipologie server(PvM / PvP):
*Resursă folosită: *Link exclusiv J4M*
*ServerFiles utilizat:
*Syserr:
Poză:
*Detalii suplimentare:


exchange.cpp: In member function 'bool CHARACTER::ExchangeStart(LPCHARACTER, BYT E)':
exchange.cpp:86:85: error: 'IsAcceOpen' was not declared in this scope
if (IsOpenSafebox() || GetShopOwner() || GetMyShop() || IsCubeOpen() || IsAcce Open())
^
exchange.cpp:92:114: error: 'class CHARACTER' has no member named 'IsAcceOpen'
if (victim->IsOpenSafebox() || victim->GetShopOwner() || victim->GetMyShop() | | victim->IsCubeOpen() || victim->IsAcceOpen()) {
^
exchange.cpp: In constructor 'CExchange::CExchange(LPCHARACTER, BYTE)':
exchange.cpp:156: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:230:5: error: 'm_lDice' was not declared in this scope
m_lDice,
^
exchange.cpp: In member function 'bool CExchange::RemoveItem(BYTE)':
exchange.cpp:264: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:280:6: error: 'm_lDice' was not declared in this scope
if (m_lDice == 1)
^
exchange.cpp:286: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:303:86: error: 'm_lDice' was not declared in this scope
exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_GOLD_ADD, true, m_lGold, NPO S, 0, m_lDice);
^
exchange.cpp: In member function 'bool CExchange::Accept(bool)':
exchange.cpp:607:7: error: 'm_lDice' was not declared in this scope
if (m_lDice == 1)
^
exchange.cpp:664:87: error: 'm_lDice' was not declared in this scope
exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_ACCEPT, true, m_bAccept, NP OS, 0, m_lDice);
^
exchange.cpp: In member function 'void CExchange::Cancel()':
exchange.cpp:673:72: error: 'm_lDice' was not declared in this scope
exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_END, 0, 0, NPOS, 0, m_lDice) ;



INTELEG CA TREBUIE FUNCTIA DECLARATA !!! DA UNDE !!! :-?
Avatar utilizator
Hades ✔
Utilizatorul Lunii Noiembrie

Utilizatorul Lunii Noiembrie
Mesaje: 3363
Membru din: 22 Aug 2016, 18:35
Server: Hades World
Aprecieri: 104  
Mulţumiri: 824  
Discord: Copiază ID
 Contact:
Medalii

'class CHARACTER' has no member named 'IsAcceOpen'
Pentru acest mesaj, Hades ✔ for the post:
SebiSzeb
Avatar utilizator
SebiSzeb
Nivel 1

Nivel 1
Mesaje: 89
Membru din: 18 Ian 2019, 00:25
Aprecieri: 35  
Mulţumiri: 0
Medalii

Hades ✔ scrie:'class CHARACTER' has no member named 'IsAcceOpen'


(-| si de unde sa fie problema,manule @-)
Avatar utilizator
SebiSzeb
Nivel 1

Nivel 1
Mesaje: 89
Membru din: 18 Ian 2019, 00:25
Aprecieri: 35  
Mulţumiri: 0
Medalii

daca stau sa ma gandesc e parte din alta functie ?
Avatar utilizator
Diaconu
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 754
Membru din: 07 Aug 2013, 21:42
Aprecieri: 0
Mulţumiri: 43  
 Contact:
Medalii

sterge || IsAcce Open()
Pentru acest mesaj, Diaconu for the post:
SebiSzeb
Imagine
Mult prea slab sa controlez puterea,
Mult prea mic sa inteleg durerea.
Discord: Diaconu#6969 pentru orice fel de ajutor
Afișează semnătura
Avatar utilizator
SebiSzeb
Nivel 1

Nivel 1
Mesaje: 89
Membru din: 18 Ian 2019, 00:25
Aprecieri: 35  
Mulţumiri: 0
Medalii

toata functia sau doar ce mi-ai scris ?
Avatar utilizator
Diaconu
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 754
Membru din: 07 Aug 2013, 21:42
Aprecieri: 0
Mulţumiri: 43  
 Contact:
Medalii

ce ti-am scris
Pentru acest mesaj, Diaconu for the post:
SebiSzeb
Imagine
Mult prea slab sa controlez puterea,
Mult prea mic sa inteleg durerea.
Discord: Diaconu#6969 pentru orice fel de ajutor
Afișează semnătura
Avatar utilizator
SebiSzeb
Nivel 1

Nivel 1
Mesaje: 89
Membru din: 18 Ian 2019, 00:25
Aprecieri: 35  
Mulţumiri: 0
Medalii

exchange.cpp: In constructor 'CExchange::CExchange(LPCHARACTER, BYTE)':
exchange.cpp:156: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:230:5: error: 'm_lDice' was not declared in this scope
m_lDice,
^
exchange.cpp: In member function 'bool CExchange::RemoveItem(BYTE)':
exchange.cpp:264: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:280:6: error: 'm_lDice' was not declared in this scope
if (m_lDice == 1)
^
exchange.cpp:286: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:303:86: error: 'm_lDice' was not declared in this scope
exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_GOLD_ADD, true, m_lGold, NPO S, 0, m_lDice);
^
exchange.cpp: In member function 'bool CExchange::Accept(bool)':
exchange.cpp:607:7: error: 'm_lDice' was not declared in this scope
if (m_lDice == 1)
^
exchange.cpp:664:87: error: 'm_lDice' was not declared in this scope
exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_ACCEPT, true, m_bAccept, NP OS, 0, m_lDice);
^
exchange.cpp: In member function 'void CExchange::Cancel()':
exchange.cpp:673:72: error: 'm_lDice' was not declared in this scope
exchange_packet(GetOwner(), EXCHANGE_SUBHEADER_GC_END, 0, 0, NPOS, 0, m_lDice)


astea au ramas
Avatar utilizator
Titan
Metin Master

Metin Master
Mesaje: 2783
Membru din: 01 Iun 2015, 15:09
Server: In curand.
Regat: Chunjo
Aprecieri: 42  
Mulţumiri: 377  
  Rezolvări prob.: 3
Discord: Copiază ID
 Contact:
Medalii

Refă omule toată partea de game.
Imagine
Afișează semnătura
Avatar utilizator
FRANCIS
Administrator Adjunct

Administrator Adjunct
Mesaje: 7879
Membru din: 06 Noi 2015, 19:52
Regat: Chunjo
Aprecieri: 334  
Mulţumiri: 54528  
Discord: Copiază ID
Medalii

Topic inactiv . Arhivat !
If you talk to a man in a language he understands, that goes to his head. If you talk to him in his own language, that goes to his heart.
Imagine
ENJOY
Imagine
Afișează semnătura
Închis
Răspunsuri
2
Vizualizări
501
Răspunsuri
1
Vizualizări
208
Răspunsuri
4
Vizualizări
623
Răspunsuri
2
Vizualizări
158

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 52 vizitatori