Compilare sursa game chest view drop

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

Nivel 3
Mesaje: 396
Membru din: 19 Oct 2018, 00:24
Server: nam
Regat: Shinsoo
Aprecieri: 382  
Mulţumiri: 4  
  Rezolvări prob.: 3
Medalii

*Problemă: Eroare compilare sursa game
Tipologie server: 40k
*Resursă folosită: sursa/chest-view-drop-t68803-30.html
*Syserr:
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
In file included from packet_info.h:4,
from input.h:4,
from desc.h:5,
from OXEvent.cpp:12:
packet.h:2426: error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
packet.h:2426: error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
packet.h:2427: error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
packet.h:2427: error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
packet.h:2430: error: redefinition of 'struct SPacketCGChestDropInfo'
packet.h:2430: error: previous definition of 'struct SPacketCGChestDropInfo'
packet.h:2433: error: invalid type in declaration before ';' token
packet.h:2433: error: conflicting declaration 'typedef int TPacketCGChestDropInfo'
packet.h:2433: error: 'TPacketCGChestDropInfo' has a previous declaration as 'typedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
packet.h:2435: error: redefinition of 'struct SChestDropInfoTable'
packet.h:2435: error: previous definition of 'struct SChestDropInfoTable'
packet.h:2440: error: invalid type in declaration before ';' token
packet.h:2440: error: conflicting declaration 'typedef int TChestDropInfoTable'
packet.h:2440: error: 'TChestDropInfoTable' has a previous declaration as 'typedef struct SChestDropInfoTable TChestDropInfoTable'
packet.h:2442: error: redefinition of 'struct SPacketGCChestDropInfo'
packet.h:2442: error: previous definition of 'struct SPacketGCChestDropInfo'
packet.h:2446: error: invalid type in declaration before ';' token
packet.h:2446: error: conflicting declaration 'typedef int TPacketGCChestDropInfo'
packet.h:2446: error: 'TPacketGCChestDropInfo' has a previous declaration as 'typedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
compile blend_item.cpp
In file included from packet_info.h:4,
from input.h:4,
from desc.h:5,
from arena.cpp:5:
packet.h:2426: error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
packet.h:2426: error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
packet.h:2427: error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
packet.h:2427: error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
packet.h:2430: error: redefinition of 'struct SPacketCGChestDropInfo'
packet.h:2430: error: previous definition of 'struct SPacketCGChestDropInfo'
packet.h:2433: error: invalid type in declaration before ';' token
packet.h:2433: error: conflicting declaration 'typedef int TPacketCGChestDropInfo'
packet.h:2433: error: 'TPacketCGChestDropInfo' has a previous declaration as 'typedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
packet.h:2435: error: redefinition of 'struct SChestDropInfoTable'
packet.h:2435: error: previous definition of 'struct SChestDropInfoTable'
packet.h:2440: error: invalid type in declaration before ';' token
packet.h:2440: error: conflicting declaration 'typedef int TChestDropInfoTable'
packet.h:2440: error: 'TChestDropInfoTable' has a previous declaration as 'typedef struct SChestDropInfoTable TChestDropInfoTable'
packet.h:2442: error: redefinition of 'struct SPacketGCChestDropInfo'
packet.h:2442: error: previous definition of 'struct SPacketGCChestDropInfo'
packet.h:2446: error: invalid type in declaration before ';' token
packet.h:2446: error: conflicting declaration 'typedef int TPacketGCChestDropInfo'
packet.h:2446: error: 'TPacketGCChestDropInfo' has a previous declaration as 'typedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
gmake: *** [OBJDIR/OXEvent.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/arena.o] Error 1
In file included from item_manager.h:9,
from battle.cpp:9:
packet.h:2426: error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
packet.h:2426: error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
packet.h:2427: error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
packet.h:2427: error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
packet.h:2430: error: redefinition of 'struct SPacketCGChestDropInfo'
packet.h:2430: error: previous definition of 'struct SPacketCGChestDropInfo'
packet.h:2433: error: invalid type in declaration before ';' token
packet.h:2433: error: conflicting declaration 'typedef int TPacketCGChestDropInfo'
packet.h:2433: error: 'TPacketCGChestDropInfo' has a previous declaration as 'typedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
packet.h:2435: error: redefinition of 'struct SChestDropInfoTable'
packet.h:2435: error: previous definition of 'struct SChestDropInfoTable'
packet.h:2440: error: invalid type in declaration before ';' token
packet.h:2440: error: conflicting declaration 'typedef int TChestDropInfoTable'
packet.h:2440: error: 'TChestDropInfoTable' has a previous declaration as 'typedef struct SChestDropInfoTable TChestDropInfoTable'
packet.h:2442: error: redefinition of 'struct SPacketGCChestDropInfo'
packet.h:2442: error: previous definition of 'struct SPacketGCChestDropInfo'
packet.h:2446: error: invalid type in declaration before ';' token
packet.h:2446: error: conflicting declaration 'typedef int TPacketGCChestDropInfo'
packet.h:2446: error: 'TPacketGCChestDropInfo' has a previous declaration as 'typedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
In file included from battle.cpp:12:
packet.h:2426: error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
packet.h:2426: error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
packet.h:2427: error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
packet.h:2427: error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
packet.h:2430: error: redefinition of 'struct SPacketCGChestDropInfo'
packet.h:2430: error: previous definition of 'struct SPacketCGChestDropInfo'
packet.h:2433: error: invalid type in declaration before ';' token
packet.h:2433: error: conflicting declaration 'typedef int TPacketCGChestDropInfo'
packet.h:2433: error: 'TPacketCGChestDropInfo' has a previous declaration as 'typedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
packet.h:2435: error: redefinition of 'struct SChestDropInfoTable'
packet.h:2435: error: previous definition of 'struct SChestDropInfoTable'
packet.h:2440: error: invalid type in declaration before ';' token
packet.h:2440: error: conflicting declaration 'typedef int TChestDropInfoTable'
packet.h:2440: error: 'TChestDropInfoTable' has a previous declaration as 'typedef struct SChestDropInfoTable TChestDropInfoTable'
packet.h:2442: error: redefinition of 'struct SPacketGCChestDropInfo'
packet.h:2442: error: previous definition of 'struct SPacketGCChestDropInfo'
packet.h:2446: error: invalid type in declaration before ';' token
packet.h:2446: error: conflicting declaration 'typedef int TPacketGCChestDropInfo'
packet.h:2446: error: 'TPacketGCChestDropInfo' has a previous declaration as 'typedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
gmake: *** [OBJDIR/battle.o] Error 1
este un topic la fel si rezolvarea era
Adaugă #ifdef ENABLE_SHOW_CHEST_DROP
deasupra de
#pragma pack()
#endif
dar imi alta erroare daca fac asa
Avatar utilizator
Kidro
Membru Club

Membru Club
Mesaje: 2487
Membru din: 29 Aug 2019, 16:49
Aprecieri: 331  
Mulţumiri: 5190  
Discord: Copiază ID
Medalii

trimite tot packet.h aici
Pentru acest mesaj, Kidro for the post:
danielionut
Avatar utilizator
danielionut
Nivel 3

Nivel 3
Mesaje: 396
Membru din: 19 Oct 2018, 00:24
Server: nam
Regat: Shinsoo
Aprecieri: 382  
Mulţumiri: 4  
  Rezolvări prob.: 3
Medalii

KidroKRONOS2 scrie: ↑24 Oct 2019, 20:44 trimite tot packet.h aici
Salut , am rezolvat dar acum imi da asta in sysrr client ramane blocata bara loading la sfarsit
1024 22:26:06117 :: LoadNew
1024 22:26:06150 :: LoadedNew
1024 22:26:10129 :: Traceback (most recent call last):

1024 22:26:10129 :: File "networkModule.py", line 248, in SetGamePhase

1024 22:26:10130 :: File "game.py", line 112, in __init__

1024 22:26:10130 :: File "interfaceModule.py", line 412, in MakeInterface

1024 22:26:10141 :: AttributeError
1024 22:26:10141 :: :
1024 22:26:10141 :: 'NoneType' object has no attribute 'SetItemToolTip'
1024 22:26:10141 ::

1024 22:26:10146 :: Traceback (most recent call last):

1024 22:26:10146 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:10147 :: AttributeError
1024 22:26:10147 :: :
1024 22:26:10147 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:10147 ::

1024 22:26:10147 :: Traceback (most recent call last):

1024 22:26:10147 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:10147 :: AttributeError
1024 22:26:10147 :: :
1024 22:26:10147 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:10147 ::

1024 22:26:10147 :: Traceback (most recent call last):

1024 22:26:10147 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:10147 :: AttributeError
1024 22:26:10147 :: :
1024 22:26:10148 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:10148 ::

1024 22:26:10148 :: Traceback (most recent call last):

1024 22:26:10148 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:10148 :: AttributeError
1024 22:26:10148 :: :
1024 22:26:10148 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:10148 ::

1024 22:26:10148 :: Traceback (most recent call last):

1024 22:26:10148 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:10148 :: AttributeError
1024 22:26:10148 :: :
1024 22:26:10148 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:10148 ::

1024 22:26:10148 :: Traceback (most recent call last):

1024 22:26:10148 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:10148 :: AttributeError
1024 22:26:10148 :: :
1024 22:26:10148 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:10148 ::

1024 22:26:10959 :: Traceback (most recent call last):

1024 22:26:10959 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:10959 :: AttributeError
1024 22:26:10959 :: :
1024 22:26:10959 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:10959 ::

1024 22:26:11973 :: Traceback (most recent call last):

1024 22:26:11973 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:11974 :: AttributeError
1024 22:26:11974 :: :
1024 22:26:11974 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:11974 ::

1024 22:26:12973 :: Traceback (most recent call last):

1024 22:26:12973 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:12974 :: AttributeError
1024 22:26:12974 :: :
1024 22:26:12974 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:12974 ::

1024 22:26:13972 :: Traceback (most recent call last):

1024 22:26:13972 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:13973 :: AttributeError
1024 22:26:13973 :: :
1024 22:26:13973 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:13973 ::

1024 22:26:14972 :: Traceback (most recent call last):

1024 22:26:14972 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:14972 :: AttributeError
1024 22:26:14972 :: :
1024 22:26:14972 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:14972 ::

1024 22:26:15967 :: Traceback (most recent call last):

1024 22:26:15967 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:15968 :: AttributeError
1024 22:26:15968 :: :
1024 22:26:15968 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:15968 ::

1024 22:26:16973 :: Traceback (most recent call last):

1024 22:26:16974 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:16974 :: AttributeError
1024 22:26:16974 :: :
1024 22:26:16974 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:16974 ::

1024 22:26:17964 :: Traceback (most recent call last):

1024 22:26:17964 :: File "game.py", line 2256, in BINARY_ServerCommand_Run

1024 22:26:17965 :: AttributeError
1024 22:26:17965 :: :
1024 22:26:17965 :: 'GameWindow' object has no attribute 'serverCommander'
1024 22:26:17965 ::
Avatar utilizator
Kidro
Membru Club

Membru Club
Mesaje: 2487
Membru din: 29 Aug 2019, 16:49
Aprecieri: 331  
Mulţumiri: 5190  
Discord: Copiază ID
Medalii

da linia 412 din interfacemodule.py din root
Avatar utilizator
danielionut
Nivel 3

Nivel 3
Mesaje: 396
Membru din: 19 Oct 2018, 00:24
Server: nam
Regat: Shinsoo
Aprecieri: 382  
Mulţumiri: 4  
  Rezolvări prob.: 3
Medalii

KidroKRONOS2 scrie: ↑24 Oct 2019, 21:41 da linia 412 din interfacemodule.py din root

Cod: Selectaţi tot

			self.dlgChestDrop.SetItemToolTip(self.tooltipItem)
Avatar utilizator
Lion
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 508
Membru din: 03 Aug 2019, 22:12
Server: Honor2
Regat: Chunjo
Aprecieri: 135  
Mulţumiri: 122  
Medalii

Arhivat

[ Postat de pe Android ] Imagine
Imagine
Oamenii sunt animale
Leul este regele animalelor
Deci sunt regele vostru drq
Afișează semnătura
Închis
Răspunsuri
5
Vizualizări
548
Răspunsuri
11
Vizualizări
1016
Răspunsuri
6
Vizualizări
330

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

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Google [Bot] și 126 vizitatori