Jump to content

Shisui

Former Staff
  • Posts

    977
  • Joined

  • Last visited

  • Days Won

    15
  • Feedback

    0%

Posts posted by Shisui

  1. I hate when I do something wrong.

    Could you guys please tell me whats wrong?

    In file included from questlua_item.cpp:5:
    item.h: In member function 'BYTE CItem::GetSize()':
    item.h:45: error: 'const struct SItemTable' has no member named 'bSize'
    item.h: In member function 'DWORD CItem::GetWearFlag()':
    item.h:53: error: 'const struct SItemTable' has no member named 'dwWearFlags'
    item.h: In member function 'DWORD CItem::GetAntiFlag()':
    item.h:54: error: 'const struct SItemTable' has no member named 'dwAntiFlags'
    item.h: In member function 'DWORD CItem::GetImmuneFlag()':
    item.h:55: error: 'const struct SItemTable' has no member named 'dwImmuneFlag'
    item.h: In member function 'BYTE CItem::GetType() const':
    item.h:70: error: 'const struct SItemTable' has no member named 'bType'
    item.h: In member function 'BYTE CItem::GetSubType() const':
    item.h:71: error: 'const struct SItemTable' has no member named 'bSubType'
    item.h: In member function 'BYTE CItem::GetLimitType(DWORD) const':
    item.h:72: error: 'const struct TItemLimit' has no member named 'bType'
    item.h: In member function 'BYTE CItem::GetAttributeType(int)':
    item.h:121: error: 'struct TPlayerItemAttribute' has no member named 'bType'
    item.h: In member function 'DWORD CItem::GetRefinedVnum()':
    item.h:136: error: 'const struct SItemTable' has no member named 'dwRefinedVnum'
    item.h: In member function 'WORD CItem::GetRefineSet()':
    item.h:153: error: 'const struct SItemTable' has no member named 'wRefineSet'
    ../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::                                                                             NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
    ../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
    ../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-pun                                                                             ned pointer will break strict-aliasing rules
    ../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::                                                                             NameValuePairs::GetValue(const char*, T&) const [with T = int]':
    ../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
    ../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-pun                                                                             ned pointer will break strict-aliasing rules
    Makefile:119: recipe for target 'OBJDIR/questlua_npc.o' failed
    gmake: *** [OBJDIR/questlua_npc.o] Error 1
    gmake: *** Waiting for unfinished jobs....
    ../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::                                                                             NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
    ../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
    ../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-pun                                                                             ned pointer will break strict-aliasing rules
    ../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::                                                                             NameValuePairs::GetValue(const char*, T&) const [with T = int]':
    ../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
    ../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-pun                                                                             ned pointer will break strict-aliasing rules
    ../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::                                                                             NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
    ../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
    ../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-pun                                                                             ned pointer will break strict-aliasing rules
    ../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::                                                                             NameValuePairs::GetValue(const char*, T&) const [with T = int]':
    ../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
    ../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-pun                                                                             ned pointer will break strict-aliasing rules
    questlua_item.cpp: In function 'int quest::item_next_refine_vnum(lua_State*)':
    questlua_item.cpp:322: error: 'struct SItemTable' has no member named 'dwRefined                                                                             Vnum'
    questlua_item.cpp: In function 'int quest::item_copy_and_give_before_remove(lua_                                                                             State*)':
    questlua_item.cpp:444: error: no matching function for call to 'SItemPos::SItemP                                                                             os(EWindows, BYTE&)'
    ../../common/length.h:713: note: candidates are: SItemPos::SItemPos()
    ../../common/length.h:710: note:                 SItemPos::SItemPos(const SItemP                                                                             os&)
    questlua_item.cpp: In function 'int quest::item_get_apply(lua_State*)':
    questlua_item.cpp:565: error: 'const struct TItemLimit' has no member named 'bTy                                                                             pe'
    questlua_item.cpp: In function 'int quest::item_get_applies(lua_State*)':
    questlua_item.cpp:591: error: 'const struct TItemLimit' has no member named 'bTy                                                                             pe'
    questlua_item.cpp:588: warning: unused variable 'Key1'
    questlua_item.cpp:588: warning: unused variable 'Key2'
    questlua_item.cpp: In function 'int quest::item_get_refine_materials(lua_State*)                                                                             ':
    questlua_item.cpp:612: error: incomplete type 'CRefineManager' used in nested na                                                                             me specifier
    questlua_item.cpp:619: error: 'const struct SRefineTable' has no member named 'm                                                                             aterial_count'
    questlua_item.cpp:632: error: 'const struct SRefineTable' has no member named 'm                                                                             aterial_count'
    questlua_item.cpp:638: error: 'const struct SRefineTable' has no member named 'm                                                                             aterial_count'
    questlua_item.cpp:641: error: 'const struct TRefineMaterial' has no member named                                                                              'vnum'
    questlua_item.cpp: In function 'int quest::item_get_attribute(lua_State*)':
    questlua_item.cpp:752: error: 'const struct TPlayerItemAttribute' has no member                                                                              named 'bType'
    questlua_item.cpp: In function 'int quest::item_set_attribute(lua_State*)':
    questlua_item.cpp:806: error: 'const struct TPlayerItemAttribute' has no member                                                                              named 'bType'
    questlua_item.cpp: In function 'int quest::item_get_rare_attribute(lua_State*)':
    questlua_item.cpp:903: error: 'const struct TPlayerItemAttribute' has no member                                                                              named 'bType'
    questlua_item.cpp: In function 'int quest::item_set_rare_attribute(lua_State*)':
    questlua_item.cpp:958: error: 'const struct TPlayerItemAttribute' has no member                                                                              named 'bType'
    questlua_item.cpp: In function 'int quest::item_equip_selected(lua_State*)':
    questlua_item.cpp:1031: warning: NULL used in arithmetic
    Makefile:119: recipe for target 'OBJDIR/questlua_item.o' failed
    gmake: *** [OBJDIR/questlua_item.o] Error 1

×
×
  • 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.