Problema adaugare MOB TARGET SYSTEM

În cazul în care aveţi o nelămurire postaţi aici, de asemenea este locul unde puteţi găsi posibile rezolvări la problemele dvs.
Avatar utilizator
xZerc0N
Nou Venit

Nou Venit
Mesaje: 5
Membru din: 10 Sep 2023, 21:08
Server: Red
Regat: Jinno
Aprecieri: 9  
Mulţumiri: 0
Discord: Copiază ID
Medalii

*Problemă/Întrebare:Implementare Mob Target System
Tipologie server:-
*Resursă folosită:post421490.html#p421490
*ServerFiles utilizat:-
*Syserr:: item_manager.cpp:793:20: error: out-of-line declaration of a member must be a definition [-Wout-of-line-declaration]
793 | bool ITEM_MANAGER:compile mob_manager.cpp
:GetDropPccompile monarch.cpp
t(LPCHARACTER pkChr, LPCHARACTER pkKillecompile motion.cpp
r, OUT int& iDeltaPercent, OUT int& iRandRange)
| ~~~~~~~~~~~~~~^
item_manager.cpp:793:116: compile over9refine.cpp
error: expected ';' after top level declarator
793 | boocompile p2p.cpp
l ITEM_MANAGER::GetDropPct(LPCHARACTER pkChr, LPCHARACTER pkKiller, OUT int& iDeltaPercent, OUT int& iRandRange)
| ^
| ;
item_manager.cpp:846:4: error: use of undeclared identifier 'typeof'; did you mean 'typeid'?
846 | typeof(it->second->GetVector()) v = it->second->GetVector();
| ^
item_manager.cpp:846:35: error: expected ';' after expression
846 | typeof(it->second->GetVector()) v = it->second->GetVector();
| ^
| ;
item_manager.cpp:846:36: error: use of undeclared identifier 'v'
846 | typeof(it->second->GetVector()) v = it->second->GetVector();
| ^
item_manager.cpp:848:26: error: use of undeclared identifier 'v'
848 | for (DWORD i = 0; i < v.size(); ++i)
| ^
item_manager.cpp:850:23: error: use of undeclared identifier 'v'
850 | item = CreateItem(v.dwVnum, v.iCount, 0, true);
| ^
item_manager.cpp:850:36: error: compile packet_info.cpp
use of undeclared identifier 'v'
850 | item = Creacompile party.cpp
teItem(v.dwVnum, v.iCount, 0, true);
| ^
item_manager.cpp:899:5: error: use of undeclared identifier 'typeof'; did you mean 'typeid'?
899 | typeof(it->second->GetVector()) v = it->second->GetVector();
| ^
item_manager.cpp:899:36: error: expected ';' after expression
899 | typeof(icompile passpod.cpp
t->seccompile pcbang.cpp
ocompile polymorph.cpp
nd->GetVectocompile priv_manager.cpp
r()) v = it->second->GetVector();
| ^
| ;
item_manager.cpp:899:37: error: use of undeclared identifier 'v'
899 | typeof(it->second->GetVector()) v = it->second->GetVector();
| ^
item_manager.cpp:901:26: error: use of undeclared identifier 'v'
901 | for ( DWORD i=0; i < v.size(); i++ )
| ^
item_manager.cpp:903:21: error: use of undeclared identifier 'v'
903 | DWORD dwVnum = v.dwVNum;
| ^
item_manager.cpp:904:32: error: use of undeclared identifier 'v'
904 | item = CreateItem(dwVnum, v.icompile pvp.cpp
Count, 0, true);
| ^
item_manager.cpp:922:5: error: use of undeclared identifier 'typeof'; did you mean 'typeid'?
922 | typeof(it->second->GetVectcompile questevent.cpp
or()) v = it->second->GetVcompile questlua.cpp
ector();
| ^
item_manager.cpp:922:36: error: expected ';' after expression
922 | typeof(it->second->GetVector()) v = it->second->GetVector();
| ^
| ;
item_manager.cpp:922:37: compile questlua_affect.cpp
error: use of undeclared identifier 'v'
922 | typeof(it-compile questlua_arena.cpp
>second->GetVector()) v = it->second->GetVector();
| ^
item_manager.cpp:924:27: error: use of undeclared identifier 'v'
924 | for (DWORD i = 0; i < v.size(); ++i)
| compile questlua_ba.cpp
^
item_manager.cpp:927:21: error: use of undeclared identifier 'v'
927 | DWORD dwVnum = v.dwVnum;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.


Poză:
*Detalii suplimentare:Salut , incerc sa invat usor usor cum se fac anumite lucrurii pentru mine personal.Incerc sa adaug Sistemul de Mob Target. Am adaugat partea de sursa , dar la complilare primesc asta , stiu ca am gresit ceva , dar nu imi pot da seama ce. Daca cineva mai priceput poate sa ma ajute . MULTUMESC :d
Avatar utilizator
yonr1
Nivel 4

Nivel 4
Mesaje: 677
Membru din: 03 Dec 2013, 08:42
Aprecieri: 297  
Mulţumiri: 30  
  Rezolvări prob.: 14
Medalii

Modifica typeof cu __typeof
Imagine
Afișează semnătura
Răspunde
Răspunsuri
5
Vizualizări
175
Răspunsuri
2
Vizualizări
563
Răspunsuri
7
Vizualizări
411
Răspunsuri
6
Vizualizări
463

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

  • Informaţie
  • Cine este conectat

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