Problema compilare binary

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
jumyta
Nivel 2

Nivel 2
Mesaje: 299
Membru din: 06 Ian 2014, 20:41
Regat: Jinno
Aprecieri: 185  
Mulţumiri: 2  
  Rezolvări prob.: 1
Medalii

*Problemă: Problema compilare binary
Tipologie server:
*Resursă folosită: http://just4metin.ro/sursa/hides-pets-m ... 76408.html
*ServerFiles utilizat:Argo
*Syserr:
1>..\..\source\UserInterface\InstanceBase.cpp(2043): error C2653: 'CPythonSystem' : is not a class or namespace name
1>..\..\source\UserInterface\InstanceBase.cpp(2043): error C2228: left of '.IsHidePets' must have class/struct/union
1> type is 'unknown-type'
1>..\..\source\UserInterface\InstanceBase.cpp(2043): error C3861: 'Instance': identifier not found
1>..\..\source\UserInterface\InstanceBase.cpp(2065): error C2653: 'CPythonSystem' : is not a class or namespace name
1>..\..\source\UserInterface\InstanceBase.cpp(2065): error C2228: left of '.IsHideMounts' must have class/struct/union
1> type is 'unknown-type'
1>..\..\source\UserInterface\InstanceBase.cpp(2065): error C3861: 'Instance': identifier not found
1>..\..\source\UserInterface\InstanceBase.cpp(2087): error C2653: 'CPythonSystem' : is not a class or namespace name
1>..\..\source\UserInterface\InstanceBase.cpp(2087): error C2228: left of '.IsHideShops' must have class/struct/union
1> type is 'unknown-type'
1>..\..\source\UserInterface\InstanceBase.cpp(2087): error C3861: 'Instance': identifier not found
Poză:
*Detalii suplimentare:
Avatar utilizator
jumyta
Nivel 2

Nivel 2
Mesaje: 299
Membru din: 06 Ian 2014, 20:41
Regat: Jinno
Aprecieri: 185  
Mulţumiri: 2  
  Rezolvări prob.: 1
Medalii

Up!

[ Postat de pe Android ] Imagine
Avatar utilizator
Athero
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 3936
Membru din: 17 Aug 2017, 00:08
Aprecieri: 559  
Mulţumiri: 7142  
Discord: Copiază ID
Medalii

Incearca sa refaci cu atentie dupa tutorial ca erorile vin doar din InstanceBase.cpp
Pentru acest mesaj, Athero for the post:
jumyta
//retras
Afișează semnătura
Avatar utilizator
jumyta
Nivel 2

Nivel 2
Mesaje: 299
Membru din: 06 Ian 2014, 20:41
Regat: Jinno
Aprecieri: 185  
Mulţumiri: 2  
  Rezolvări prob.: 1
Medalii

Madara scrie:Incearca sa refaci cu atentie dupa tutorial ca erorile vin doar din InstanceBase.cpp
L-am refacut de mai multe ori si degeaba ...
#ifdef ENABLE_HIDE_PET
if (IsPet())
{
if (CPythonSystem::Instance().IsHidePets())
{
if (!IsAffect(AFFECT_INVISIBILITY))
{
__SetAffect(AFFECT_INVISIBILITY, true);
m_kAffectFlagContainer.Set(AFFECT_INVISIBILITY, true);
}
}
else
{
if (IsAffect(AFFECT_INVISIBILITY))
{
__SetAffect(AFFECT_INVISIBILITY, false);
m_kAffectFlagContainer.Set(AFFECT_INVISIBILITY, false);
}
}
}
#endif
#ifdef ENABLE_HIDE_MOUNT
if (IsMount())
{
if (CPythonSystem::Instance().IsHideMounts())
{
if (!IsAffect(AFFECT_INVISIBILITY))
{
__SetAffect(AFFECT_INVISIBILITY, true);
m_kAffectFlagContainer.Set(AFFECT_INVISIBILITY, true);
}
}
else
{
if (IsAffect(AFFECT_INVISIBILITY))
{
__SetAffect(AFFECT_INVISIBILITY, false);
m_kAffectFlagContainer.Set(AFFECT_INVISIBILITY, false);
}
}
}
#endif

#ifdef ENABLE_HIDE_SHOPS
if (IsShops())
{
if (CPythonSystem::Instance().IsHideShops())
{
if (!IsAffect(AFFECT_INVISIBILITY))
{
__SetAffect(AFFECT_INVISIBILITY, true);
m_kAffectFlagContainer.Set(AFFECT_INVISIBILITY, true);
}
}
else
{
if (IsAffect(AFFECT_INVISIBILITY))
{
__SetAffect(AFFECT_INVISIBILITY, false);
m_kAffectFlagContainer.Set(AFFECT_INVISIBILITY, false);
}
}
}
#endif
poate e ceva gresit ?
Avatar utilizator
jumyta
Nivel 2

Nivel 2
Mesaje: 299
Membru din: 06 Ian 2014, 20:41
Regat: Jinno
Aprecieri: 185  
Mulţumiri: 2  
  Rezolvări prob.: 1
Medalii

Rezolvat!
Trebuia sa includ PythonSystem.h in InstanceBase.cpp.
Avatar utilizator
[ST]SSH
Membru Club

Membru Club
Mesaje: 1704
Membru din: 12 Apr 2016, 23:54
Server: Fost Eluria2
Regat: Jinno
Aprecieri: 132  
Mulţumiri: 245  
 Contact:
Medalii

Marcat ca rezolvat.
Închis
Răspunsuri
3
Vizualizări
262
Răspunsuri
3
Vizualizări
450
Răspunsuri
1
Vizualizări
337
Răspunsuri
4
Vizualizări
424

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

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