Jump to content

master30

Inactive Member
  • Posts

    7
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by master30

  1. hace 22 horas, WeedHex dijo:

    System installed bad. You set things also out of #ifndef __INC_PACKET_H__ xD

    Thanks, but now i get other problem

    Spoiler

    Game olusturuluyor -> ../game_r41105
    OBJDIR_GAME/char_affect.o: In function `CHARACTER::AddAffect(unsigned int, unsigned char, long, unsigned int, long, long, bool, bool)':
    /game/char_affect.cpp:557: undefined reference to `battle_end(CHARACTER*)'
    OBJDIR_GAME/char_battle.o: In function `CHARACTER::Attack(CHARACTER*, unsigned char)':
    /game/char_battle.cpp:227: undefined reference to `IS_SPEED_HACK(CHARACTER*, CHARACTER*, unsigned int)'
    /game/char_battle.cpp:264: undefined reference to `battle_melee_attack(CHARACTER*, CHARACTER*)'
    OBJDIR_GAME/char_battle.o: In function `CHARACTER::SetVictim(CHARACTER*)':
    /game/char_battle.cpp:3316: undefined reference to `battle_end(CHARACTER*)'
    OBJDIR_GAME/char_battle.o: In function `CFuncShoot::operator()(unsigned int)':
    /game/char_battle.cpp:2941: undefined reference to `battle_is_attackable(CHARACTER*, CHARACTER*)'
    /game/char_battle.cpp:3013: undefined reference to `CalcMagicDamage(CHARACTER*, CHARACTER*)'
    /game/char_battle.cpp:3015: undefined reference to `NormalAttackAffect(CHARACTER*, CHARACTER*)'
    /game/char_battle.cpp:2977: undefined reference to `CalcArrowDamage(CHARACTER*, CHARACTER*, CItem*, CItem*, bool)'
    /game/char_battle.cpp:2982: undefined reference to `IS_SPEED_HACK(CHARACTER*, CHARACTER*, unsigned int)'
    /game/char_battle.cpp:2988: undefined reference to `NormalAttackAffect(CHARACTER*, CHARACTER*)'
    /game/char_battle.cpp:2986: undefined reference to `CalcMeleeDamage(CHARACTER*, CHARACTER*, bool, bool)'
    OBJDIR_GAME/char_skill.o: In function `CHARACTER::ComputeSkillAtPosition(unsigned int, pixel_position_s const&, unsigned char)':
    /game/char_skill.cpp:2201: undefined reference to `CalcAttackRating(CHARACTER*, CHARACTER*, bool)'
    /game/char_skill.cpp:2169: undefined reference to `CalcMeleeDamage(CHARACTER*, CHARACTER*, bool, bool)'
    /game/char_skill.cpp:2173: undefined reference to `CalcMagicDamage(CHARACTER*, CHARACTER*)'
    /game/char_skill.cpp:2180: undefined reference to `CalcArrowDamage(CHARACTER*, CHARACTER*, CItem*, CItem*, bool)'
    OBJDIR_GAME/char_skill.o: In function `CHARACTER::ComputeSkill(unsigned int, CHARACTER*, unsigned char)':
    /game/char_skill.cpp:2544: undefined reference to `CalcAttackRating(CHARACTER*, CHARACTER*, bool)'
    /game/char_skill.cpp:2512: undefined reference to `CalcMeleeDamage(CHARACTER*, CHARACTER*, bool, bool)'
    /game/char_skill.cpp:2516: undefined reference to `CalcMagicDamage(CHARACTER*, CHARACTER*)'
    /game/char_skill.cpp:2507: undefined reference to `CalcMeleeDamage(CHARACTER*, CHARACTER*, bool, bool)'
    /game/char_skill.cpp:2503: undefined reference to `CalcArrowDamage(CHARACTER*, CHARACTER*, CItem*, CItem*, bool)'
    /game/char_skill.cpp:2523: undefined reference to `CalcArrowDamage(CHARACTER*, CHARACTER*, CItem*, CItem*, bool)'
    OBJDIR_GAME/char_skill.o: In function `FFindNearVictim::operator()(CEntity*)':
    /game/char_skill.cpp:1279: undefined reference to `battle_is_attackable(CHARACTER*, CHARACTER*)'
    /game/char_skill.cpp:1279: undefined reference to `battle_is_attackable(CHARACTER*, CHARACTER*)'
    OBJDIR_GAME/char_skill.o: In function `FuncSplashDamage::operator()(CEntity*)':
    /game/char_skill.cpp:1431: undefined reference to `battle_is_attackable(CHARACTER*, CHARACTER*)'
    /game/char_skill.cpp:1476: undefined reference to `CalcAttackRating(CHARACTER*, CHARACTER*, bool)'
    /game/char_skill.cpp:1575: undefined reference to `CalcBattleDamage(int, int, int)'
    /game/char_skill.cpp:1635: undefined reference to `CalcAttBonus(CHARACTER*, CHARACTER*, int)'
    /game/char_skill.cpp:1478: undefined reference to `CalcMeleeDamage(CHARACTER*, CHARACTER*, bool, bool)'
    /game/char_skill.cpp:1483: undefined reference to `CalcArrowDamage(CHARACTER*, CHARACTER*, CItem*, CItem*, bool)'
    gmake: *** [../game_r41105] Error 1

    I didn't edit any of this files when i installing other system (chest view drop)

  2. Hi, today i was try to put this system (Chest View Drop) in my sv. When i compile i get this error:

    Spoiler

    gmake: Warning: File `item_manager.h' has modification time 1699 s in the future
    In file included from packet_info.h:4,
                     from input.h:4,
                     from desc.h:5,
                     from OXEvent.cpp:12:
    packet.h:2570: error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
    packet.h:2570: error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
    packet.h:2571: error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
    packet.h:2571: error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
    packet.h:2574: error: redefinition of 'struct SPacketCGChestDropInfo'
    packet.h:2574: error: previous definition of 'struct SPacketCGChestDropInfo'
    packet.h:2577: error: invalid type in declaration before ';' token
    packet.h:2577: error: conflicting declaration 'typedef int TPacketCGChestDropInfo'
    packet.h:2577: error: 'TPacketCGChestDropInfo' has a previous declaration as 'typedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
    packet.h:2579: error: redefinition of 'struct SChestDropInfoTable'
    packet.h:2579: error: previous definition of 'struct SChestDropInfoTable'
    packet.h:2584: error: invalid type in declaration before ';' token
    packet.h:2584: error: conflicting declaration 'typedef int TChestDropInfoTable'
    packet.h:2584: error: 'TChestDropInfoTable' has a previous declaration as 'typedef struct SChestDropInfoTable TChestDropInfoTable'
    packet.h:2586: error: redefinition of 'struct SPacketGCChestDropInfo'
    packet.h:2586: error: previous definition of 'struct SPacketGCChestDropInfo'
    packet.h:2590: error: invalid type in declaration before ';' token
    packet.h:2590: error: conflicting declaration 'typedef int TPacketGCChestDropInfo'
    packet.h:2590: error: 'TPacketGCChestDropInfo' has a previous declaration as 'typedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
    Derleniyor -> battle.cpp
    gmake: *** [OBJDIR_GAME/OXEvent.o] Error 1
    gmake: *** Waiting for unfinished jobs....
    In file included from packet_info.h:4,
                     from input.h:4,
                     from desc.h:5,
                     from arena.cpp:5:
    packet.h:2570: error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
    packet.h:2570: error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
    packet.h:2571: error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
    packet.h:2571: error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
    packet.h:2574: error: redefinition of 'struct SPacketCGChestDropInfo'
    packet.h:2574: error: previous definition of 'struct SPacketCGChestDropInfo'
    packet.h:2577: error: invalid type in declaration before ';' token
    packet.h:2577: error: conflicting declaration 'typedef int TPacketCGChestDropInfo'
    packet.h:2577: error: 'TPacketCGChestDropInfo' has a previous declaration as 'typedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
    packet.h:2579: error: redefinition of 'struct SChestDropInfoTable'
    packet.h:2579: error: previous definition of 'struct SChestDropInfoTable'
    packet.h:2584: error: invalid type in declaration before ';' token
    packet.h:2584: error: conflicting declaration 'typedef int TChestDropInfoTable'
    packet.h:2584: error: 'TChestDropInfoTable' has a previous declaration as 'typedef struct SChestDropInfoTable TChestDropInfoTable'
    packet.h:2586: error: redefinition of 'struct SPacketGCChestDropInfo'
    packet.h:2586: error: previous definition of 'struct SPacketGCChestDropInfo'
    packet.h:2590: error: invalid type in declaration before ';' token
    packet.h:2590: error: conflicting declaration 'typedef int TPacketGCChestDropInfo'
    packet.h:2590: error: 'TPacketGCChestDropInfo' has a previous declaration as 'typedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
    gmake: *** [OBJDIR_GAME/arena.o] Error 1

    anyone knows to solve it? 

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.