Compilare sursa game chest view drop

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

Nivel 2
Mesaje: 283
Membru din: 02 Iul 2014, 20:33
Server: http://Metin2AnD.com
Regat: Jinno
Aprecieri: 9  
Mulţumiri: 7  
 Contact:
Medalii

*Problemă: Eroare compilare sursa game
Tipologie server: 40k
*Resursă folosită: http://just4metin.ro/sursa/chest-view-d ... 03-30.html
*Syserr:

Cod: Selectaţi tot

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
*Detalii suplimentare: Am incercat sa vad daca e undeva duplicat codul insa nu am gasit
Imagine
Afișează semnătura
Avatar utilizator
CorcoveanuMarian
Nivel 1

Nivel 1
Mesaje: 81
Membru din: 19 Aug 2017, 13:01
Aprecieri: 13  
Mulţumiri: 20  
Medalii

DiabloStyle scrie:*Problemă: Eroare compilare sursa game
Tipologie server: 40k
*Resursă folosită: http://just4metin.ro/sursa/chest-view-d ... 03-30.html
*Syserr:

Cod: Selectaţi tot

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
*Detalii suplimentare: Am incercat sa vad daca e undeva duplicat codul insa nu am gasit

Lasă aici packet.h
Afișează semnătura
Avatar utilizator
DiabloStyle
Nivel 2

Nivel 2
Mesaje: 283
Membru din: 02 Iul 2014, 20:33
Server: http://Metin2AnD.com
Regat: Jinno
Aprecieri: 9  
Mulţumiri: 7  
 Contact:
Medalii

CorcoveanuMarian scrie:
DiabloStyle scrie:*Problemă: Eroare compilare sursa game
Tipologie server: 40k
*Resursă folosită: http://just4metin.ro/sursa/chest-view-d ... 03-30.html
*Syserr:

Cod: Selectaţi tot

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
*Detalii suplimentare: Am incercat sa vad daca e undeva duplicat codul insa nu am gasit

Lasă aici packet.h
Imagine
Afișează semnătura
Avatar utilizator
CorcoveanuMarian
Nivel 1

Nivel 1
Mesaje: 81
Membru din: 19 Aug 2017, 13:01
Aprecieri: 13  
Mulţumiri: 20  
Medalii

DiabloStyle scrie:
CorcoveanuMarian scrie:
DiabloStyle scrie:*Problemă: Eroare compilare sursa game
Tipologie server: 40k
*Resursă folosită: http://just4metin.ro/sursa/chest-view-d ... 03-30.html
*Syserr:

Cod: Selectaţi tot

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.cp
*Detalii suplimentare: Am incercat sa vad daca e undeva duplicat codul insa nu am gasit

Lasă aici packet.h
Adaugă #ifdef ENABLE_SHOW_CHEST_DROP
deasupra de
#pragma pack()
#endif
Pentru acest mesaj, CorcoveanuMarian for the post:
DiabloStyle
Afișează semnătura
Avatar utilizator
DiabloStyle
Nivel 2

Nivel 2
Mesaje: 283
Membru din: 02 Iul 2014, 20:33
Server: http://Metin2AnD.com
Regat: Jinno
Aprecieri: 9  
Mulţumiri: 7  
 Contact:
Medalii

CorcoveanuMarian scrie:
DiabloStyle scrie:
CorcoveanuMarian scrie:

Lasă aici packet.h
Adaugă #ifdef ENABLE_SHOW_CHEST_DROP
deasupra de
#pragma pack()
#endif
a functionat , mersi mult
Imagine
Afișează semnătura
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
5
Vizualizări
413
Răspunsuri
11
Vizualizări
1019
Răspunsuri
6
Vizualizări
332

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

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