Jump to content

Vegaz

Member
  • Posts

    30
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Vegaz

  1. On 12/7/2021 at 11:27 AM, Jimmermania said:

    Yeah i fixed it. The only problem is that it doesnt show the details of ctrl + right click etc when i hover the mouse into refresh button. I have installed emoji in textline..

    How did you fix it? I have the same thing

  2. Hi, I added an itemshop to the server but I have a problem because the items are not displaying..

    Syser spits something like this if I click on categories in the store.

    0124 00:28:53069 :: Traceback (most recent call last):
    
    0124 00:28:53069 ::   File "ui.py", line 1655, in CallEvent
    
    0124 00:28:53069 ::   File "ui.py", line 92, in __call__
    
    0124 00:28:53069 ::   File "ui.py", line 83, in __call__
    
    0124 00:28:53069 ::   File "uiitemshop.py", line 801, in __OnClickCategoryButton
    
    0124 00:28:53070 ::   File "uiitemshop.py", line 808, in CreateItems
    
    0124 00:28:53070 :: TypeError
    0124 00:28:53070 :: : 
    0124 00:28:53070 :: 'NoneType' object is not iterable
    0124 00:28:53070 :: 

     

  3. @Thorek

    Take Polak, you ridicule everyone and on your "forum" people laugh at you because you can't write in python. The boy may be starting his adventure with coding from the simplest things and you have the nerve to criticize him instead of congratulating or in some way still directing him?
    I feel bad having anything to do with Poland because of people like you.

    • Love 1
  4. Does anyone have a MySQLdb to FTP to?
    I am trying to create item_proto and mob_proto.txt via proto.py in my files and a message pops up:


    Can anyone help/send?

    python proto.py
    proto.py:583: SyntaxWarning: name 'errors' is assigned to before global declaration
      global errors
    proto.py:592: SyntaxWarning: name 'errors' is assigned to before global declaration
      global errors
    Traceback (most recent call last):
      File "proto.py", line 4, in <module>
        import MySQLdb
    ImportError: No module named MySQLdb

    proto.py line 4:

    #!/usr/bin/env python
    #-*- coding" utf-8 -*-
    #Modified by Deucalion
    import MySQLdb
    host_mysql = 'xxx'
    user_mysql = 'xxx'
    passwd_mysql = 'xxx'

     

  5. Hi, I'm having a big problem with build game and db

    trying to build a game via cd /usr/src/game/src gmake -j10 or -j20

    wedding.h:8: error: 'DWORD' does not name a type
    wedding.h:14: error: expected `)' before 'dwMapIndex'
    wedding.h:17: error: 'DWORD' does not name a type
    wedding.h:36: error: 'BYTE' has not been declared
    wedding.h:39: error: 'BYTE' has not been declared
    wedding.h:42: error: 'DWORD' does not name a type
    wedding.h:50: error: 'DWORD' does not name a type
    wedding.h:51: error: 'DWORD' does not name a type
    wedding.h:62: error: 'DWORD' has not been declared
    wedding.h:64: error: 'DWORD' has not been declared
    wedding.h:64: error: 'DWORD' has not been declared
    wedding.h:65: error: 'DWORD' has not been declared
    wedding.h:69: error: expected ';' before '(' token
    wedding.h:72: error: 'DWORD' does not name a type
    wedding.h:76: error: 'DWORD' was not declared in this scope
    wedding.h:76: error: template argument 1 is invalid
    wedding.h:76: error: template argument 3 is invalid
    wedding.h:76: error: template argument 4 is invalid
    In file included from char.cpp:45:
    mob_manager.h:6: error: 'DWORD' does not name a type
    mob_manager.h:7: error: 'DWORD' does not name a type
    mob_manager.h:9: error: expected `)' before 'dwTiming'
    mob_manager.h:17: error: 'DWORD' does not name a type
    mob_manager.h:18: error: 'BYTE' does not name a type
    char.h:1866: error: 'BYTE' has not been declared
    char.h:1872: error: 'DWORD' does not name a type
    char.h:1896: error: 'DWORD' has not been declared
    char.h:1900: error: 'BYTE' has not been declared
    char.h:1959: error: 'BOOL' does not name a type
    char.h:1982: error: 'DWORD' does not name a type
    char.h:1983: error: 'DWORD' does not name a type
    char.h:1986: error: 'DWORD' does not name a type
    char.h:1989: error: 'DWORD' does not name a typemob_manager.h:32: error: 'DWORD' has not been declared
    
    mob_manager.h:32: error: 'DWORD' has not been declared
    char.h:1990: error: 'DWORD' does not name a type
    mob_manager.h:41: error: 'DWORD' does not name a type
    mob_manager.h:42: error: 'DWORD' does not name a type
    mob_manager.h:52: error: expected `)' before 'dwVnum'
    mob_manager.h:58: error: 'DWORD' has not been declared
    mob_manager.h:71: error: 'DWORD' does not name a type
    mob_manager.h:85: error: 'DWORD' does not name a type
    mob_manager.h:86: error: 'DWORD' was not declared in this scope
    mob_manager.h:86: error: template argument 1 is invalid
    mob_manager.h:86: error: template argument 2 is invalid
    mob_manager.h: In member function 'void CMobGroupGroup::AddMember(int, int)':
    mob_manager.h:67: error: request for member 'push_back' in '((CMobGroupGroup*)this)->CMobGroupGroup::m_vec_dwMemberVnum', which is of non-class type 'int'
    char.h:2031: error: 'DWORD' does not name a type
    char.h:2032: error: 'DWORD' does not name a type
    mob_manager.h: At global scope:
    mob_manager.h:96: error: 'DWORD' has not been declared
    mob_manager.h:102: error: 'DWORD' was not declared in this scope
    mob_manager.h:102: error: template argument 1 is invalid
    mob_manager.h:102: error: template argument 2 is invalid
    mob_manager.h:112: error: 'DWORD' has not been declared
    mob_manager.h:118: error: 'DWORD' does not name a type
    mob_manager.h:120: error: 'DWORD' was not declared in this scope
    mob_manager.h:120: error: template argument 1 is invalid
    mob_manager.h:120: error: template argument 2 is invalid
    mob_manager.h: In member function 'void CMobGroup::Create(int, std::string&)':
    mob_manager.h:98: error: 'm_dwVnum' was not declared in this scope
    mob_manager.h: In member function 'int CMobGroup::GetMemberCount()':
    mob_manager.h:109: error: request for member 'size' in '((CMobGroup*)this)->CMobGroup::m_vec_dwMemberVnum', which is of non-class type 'int'
    char.h:2054: error: 'DWORD' was not declared in this scope
    char.h:2054: error: template argument 1 is invalid
    char.h:2054: error: template argument 2 is invalid
    char.h:2054: error: template argument 3 is invalid
    mob_manager.h: In member function 'void CMobGroup::AddMember(int)':
    mob_manager.h:114: error: request for member 'push_back' in '((CMobGroup*)this)->CMobGroup::m_vec_dwMemberVnum', which is of non-class type 'int'
    char.h:2058: error: 'DWORD' has not been declared
    char.h:2061: error: 'DWORD' does not name a type
    char.h:2064: error: 'DWORD' does not name a type
    char.h:2072: error: 'DWORD' does not name a type
    mob_manager.h: At global scope:
    mob_manager.h:126: error: 'DWORD' was not declared in this scope
    mob_manager.h:126: error: template argument 1 is invalid
    mob_manager.h:126: error: template argument 3 is invalid
    mob_manager.h:126: error: template argument 4 is invalid
    mob_manager.h:126: error: expected ';' before 'iterator'
    mob_manager.h:136: error: expected ';' before '(' token
    mob_manager.h:137: error: 'DWORD' does not name a type
    mob_manager.h:139: error: expected ';' before '(' token
    mob_manager.h:142: error: 'iterator' does not name a type
    char.h:2094: error: 'BYTE' has not been declared
    mob_manager.h:143: error: 'iterator' does not name a type
    char.h:2094: error: 'BYTE' has not been declared
    char.h:2094: error: 'BYTE' has not been declared
    mob_manager.h:147: error: 'BYTE' has not been declared
    mob_manager.h:147: error: 'DWORD' has not been declared
    mob_manager.h:151: error: 'DWORD' was not declared in this scope
    mob_manager.h:151: error: template argument 1 is invalid
    mob_manager.h:151: error: template argument 3 is invalid
    mob_manager.h:151: error: template argument 4 is invalid
    char.h:2097: error: 'BYTE' was not declared in this scope
    char.h:2097: error: template argument 1 is invalid
    char.h:2097: error: template argument 3 is invalid
    char.h:2097: error: template argument 4 is invalid
    char.h: In member function 'bool CHARACTER::IsNPC() const':
    char.h:653: error: 'm_bCharType' was not declared in this scope
    char.h: In member function 'bool CHARACTER::IsMonster() const':
    char.h:654: error: 'm_bCharType' was not declared in this scope
    char.h: In member function 'bool CHARACTER::IsStone() const':
    char.h:655: error: 'm_bCharType' was not declared in this scope
    char.h: In member function 'bool CHARACTER::IsDoor() const':
    char.h:656: error: 'm_bCharType' was not declared in this scope
    char.h: In member function 'bool CHARACTER::IsBuilding() const':
    char.h:657: error: 'm_bCharType' was not declared in this scope
    char.h: In member function 'bool CHARACTER::IsWarp() const':
    char.h:658: error: 'm_bCharType' was not declared in this scope
    char.h: In member function 'bool CHARACTER::IsGoto() const':
    char.h:659: error: 'm_bCharType' was not declared in this scope
    char.h: In member function 'bool CHARACTER::IsHorse() const':
    char.h:660: error: 'm_bCharType' was not declared in this scope
    char.h: In member function 'void CHARACTER::SetLastShoutPulse(int)':
    char.h:664: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'dwLastShoutPulse'
    char.h: In member function 'int CHARACTER::GetLevel() const':
    char.h:665: error: 'const struct CHARACTER_POINT' has no member named 'level'
    char.h: In member function 'void CHARACTER::SetExp(int)':
    char.h:673: error: 'struct CHARACTER_POINT' has no member named 'exp'
    char.h: In member function 'bool CHARACTER::IsBlockMode(int) const':
    char.h:787: error: 'const struct CHARACTER_POINT_INSTANT' has no member named 'bBlockMode'
    char.h: In member function 'bool CHARACTER::IsPolymorphed() const':
    char.h:789: error: 'm_dwPolymorphRace' was not declared in this scope
    char.h: In member function 'void CHARACTER::SetOfflineShopRealOwner(int)':
    char.h:1262: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'real_owner'mob_manager.h:153: error: 'DWORD' was not declared in this scope
    
    mob_manager.h:153: error: template argument 1 is invalid
    mob_manager.h:153: error: template argument 3 is invalid
    mob_manager.h:153: error: template argument 4 is invalid
    mob_manager.h:154: error: 'DWORD' was not declared in this scope
    mob_manager.h:154: error: template argument 1 is invalid
    mob_manager.h:154: error: template argument 3 is invalid
    mob_manager.h:154: error: template argument 4 is invalid
    mob_manager.h:156: error: 'DWORD' was not declared in this scope
    mob_manager.h:156: error: template argument 1 is invalid
    mob_manager.h:156: error: template argument 3 is invalid
    mob_manager.h:156: error: template argument 4 is invalid
    char.h: In member function 'void CHARACTER::SetOfflineShopSaveTime(int)':
    char.h:1281: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'bSaveTime'
    char.h: In member function 'void CHARACTER::SetOfflineShopChannel(int)':
    char.h:1302: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'bChannel'
    char.h: In member function 'void CHARACTER::SetOfflineShopVID(int)':
    char.h:1307: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'dwVID'
    In file included from char.cpp:47:
    monarch.h:14: error: 'DWORD' has not been declared
    monarch.h:17: error: 'DWORD' has not been declared
    monarch.h:17: error: 'BYTE' has not been declared
    monarch.h:18: error: 'BYTE' has not been declared
    monarch.h:19: error: 'BYTE' has not been declared
    monarch.h:20: error: 'BYTE' has not been declared
    monarch.h:22: error: 'BYTE' has not been declared
    monarch.h:23: error: 'BYTE' has not been declared
    monarch.h:24: error: 'BYTE' has not been declared
    monarch.h:28: error: 'DWORD' does not name a type
    monarch.h:30: error: 'BYTE' has not been declared
    monarch.h:31: error: 'BYTE' has not been declared
    monarch.h:33: error: 'BYTE' has not been declared
    monarch.h:38: error: 'BYTE' has not been declared
    monarch.h:39: error: 'BYTE' has not been declared
    monarch.h:41: error: 'BYTE' has not been declared
    monarch.h:46: error: 'BYTE' has not been declared
    monarch.h:47: error: 'BYTE' has not been declared
    monarch.h: In member function 'int CMonarch::GetPowerUpCT(int)':
    monarch.h:35: error: '_countof' was not declared in this scope
    monarch.h: In member function 'int CMonarch::GetDefenseUpCT(int)':
    monarch.h:43: error: '_countof' was not declared in this scope
    In file included from char.cpp:48:
    castle.h: At global scope:
    castle.h:39: error: 'DWORD' does not name a type
    castle.h:58: error: 'DWORD' has not been declared
    char.h: In member function 'void CHARACTER::ClearAffectedEunhyung()':
    char.h:1566: error: 'm_dwAffectedEunhyungLevel' was not declared in this scope
    char.h: In member function 'bool CHARACTER::GetAffectedEunhyung() const':
    char.h:1567: error: 'm_dwAffectedEunhyungLevel' was not declared in this scope
    castle.h:68: error: 'DWORD' was not declared in this scope
    castle.h:69: error: 'DWORD' was not declared in this scope
    char.h: In member function 'void CHARACTER::ResetChangeAttackPositionTime()':
    char.h:1593: error: 'm_dwLastChangeAttackPositionTime' was not declared in this scope
    char.h:1593: error: 'get_dword_time' was not declared in this scope
    castle.h:74: error: 'DWORD' was not declared in this scope
    char.h: In member function 'void CHARACTER::SetChangeAttackPositionTime()':
    char.h:1594: error: 'm_dwLastChangeAttackPositionTime' was not declared in this scope
    char.h:1594: error: 'get_dword_time' was not declared in this scope
    In file included from char.cpp:49:
    arena.h:20: error: 'DWORD' does not name a type
    arena.h:21: error: 'DWORD' does not name a type
    arena.h:30: error: 'DWORD' does not name a type
    arena.h:31: error: 'DWORD' does not name a type
    arena.h:32: error: 'DWORD' does not name a type
    arena.h:34: error: 'DWORD' was not declared in this scope
    arena.h:34: error: template argument 1 is invalid
    arena.h:34: error: template argument 3 is invalid
    arena.h:34: error: template argument 4 is invalid
    arena.h:37: error: expected `)' before 'startA_X'
    arena.h:42: error: 'DWORD' has not been declared
    arena.h:44: error: 'WORD' has not been declared
    arena.h:44: error: 'WORD' has not been declared
    arena.h:44: error: 'WORD' has not been declared
    arena.h:44: error: 'WORD' has not been declared
    arena.h:47: error: 'DWORD' has not been declared
    arena.h:47: error: 'DWORD' has not been declared
    arena.h:48: error: 'DWORD' has not been declared
    arena.h:48: error: 'DWORD' has not been declared
    char.h: In member function 'void CHARACTER::SetImmuneFlag(int)':
    char.h:1761: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'dwImmuneFlag'
    arena.h:50: error: 'DWORD' has not been declared
    arena.h:51: error: 'WORD' has not been declared
    arena.h:51: error: 'WORD' has not been declared
    char.h: In member function 'void CHARACTER::SetQuestBy(int)':
    char.h:1779: error: 'm_dwQuestByVnum' was not declared in this scope
    arena.h:56: error: 'DWORD' does not name a type
    arena.h:57: error: 'DWORD' does not name a type
    arena.h:69: error: 'DWORD' has not been declared
    arena.h:70: error: 'DWORD' has not been declared
    arena.h:73: error: 'BYTE' has not been declared
    arena.h: In member function 'bool CArena::IsEmpty() const':
    arena.h:41: error: 'm_dwPIDA' was not declared in this scope
    arena.h:41: error: 'm_dwPIDB' was not declared in this scope
    arena.h: In member function 'bool CArena::IsMember(int) const':
    arena.h:42: error: 'm_dwPIDA' was not declared in this scope
    arena.h:42: error: 'm_dwPIDB' was not declared in this scope
    arena.h: In member function 'CHARACTER* CArena::GetPlayerA()':
    arena.h:59: error: 'm_dwPIDA' was not declared in this scope
    arena.h: In member function 'CHARACTER* CArena::GetPlayerB()':
    arena.h:60: error: 'm_dwPIDB' was not declared in this scope
    char.h: In member function 'void CHARACTER::SetSafeboxLoadTime()':
    char.h:1925: error: 'thecore_pulse' was not declared in this scope
    arena.h: At global scope:
    arena.h:81: error: 'DWORD' does not name a typechar.h: In member function 'void CHARACTER::SetRefineTime()':
    char.h:1935: error: 'thecore_pulse' was not declared in this scope
    
    char.h: In member function 'void CHARACTER::SetUseSeedOrMoonBottleTime()':
    char.h:1941: error: 'thecore_pulse' was not declared in this scope
    char.h: In member function 'void CHARACTER::SetExchangeTime()':
    char.h:1947: error: 'thecore_pulse' was not declared in this scope
    char.h: In member function 'void CHARACTER::SetMyShopTime()':
    char.h:1953: error: 'thecore_pulse' was not declared in this scope
    char.h: In constructor 'CHARACTER::AttackedLog::AttackedLog()':
    char.h:2034: error: class 'CHARACTER::AttackedLog' does not have any field named 'dwPID'
    char.h:2034: error: class 'CHARACTER::AttackedLog' does not have any field named 'dwAttackedTime'
    In file included from char_battle.cpp:10:
    battle.h: At global scope:
    battle.h:34: error: 'BYTE' has not been declared
    battle.h:35: error: 'DWORD' has not been declared
    battle.h:36: error: 'DWORD' has not been declared
    battle.h:37: error: 'BYTE' has not been declared
    battle.h:39: error: 'DWORD' has not been declared
    battle.h: In function 'void AttackAffect(CHARACTER*, CHARACTER*, int, int, int, int, long int, int, int, const char*)':
    battle.h:45: error: 'number' was not declared in this scope
    battle.h: At global scope:
    battle.h:63: error: 'DWORD' has not been declared
    battle.h:64: error: 'DWORD' has not been declared
    battle.h:65: error: 'BYTE' has not been declared
    battle.h:67: error: 'DWORD' has not been declared
    arena.h:87: error: 'DWORD' has not been declared
    arena.h:87: error: 'WORD' has not been declared
    arena.h:87: error: 'WORD' has not been declared
    arena.h:87: error: 'WORD' has not been declared
    arena.h:87: error: 'WORD' has not been declared
    battle.h: In function 'void SkillAttackAffect(CHARACTER*, int, int, int, int, long int, int, int, const char*)':
    battle.h:73: error: 'number' was not declared in this scope
    arena.h:88: error: 'DWORD' has not been declared
    arena.h:92: error: 'DWORD' has not been declared
    arena.h:94: error: 'lua_State' has not been declared
    arena.h:99: error: 'WORD' has not been declared
    arena.h:99: error: 'WORD' has not been declared
    battle.h: At global scope:
    battle.h:95: error: 'DWORD' does not name a type
    arena.h:100: error: 'DWORD' has not been declaredbattle.h:96: error: 'DWORD' has not been declared
    
    arena.h:100: error: 'WORD' has not been declared
    arena.h:100: error: 'WORD' has not been declared
    battle.h:97: error: 'DWORD' has not been declared
    arena.h:102: error: 'DWORD' has not been declared
    battle.h:98: error: 'DWORD' has not been declared
    In file included from char_battle.cpp:11:
    pvp.h:15: error: 'DWORD' does not name a type
    pvp.h:16: error: 'DWORD' does not name a type
    pvp.h:25: error: expected `)' before 'dwID1'arena.h:108: error: 'DWORD' was not declared in this scope
    
    arena.h:108: error: template argument 1 is invalid
    arena.h:108: error: template argument 3 is invalid
    arena.h:108: error: template argument 4 is invalid
    pvp.h:29: error: 'DWORD' has not been declared
    pvp.h:30: error: 'DWORD' has not been declaredarena.h:116: error: 'DWORD' has not been declared
    
    arena.h:116: error: 'WORD' has not been declared
    arena.h:116: error: 'WORD' has not been declared
    arena.h:116: error: 'WORD' has not been declared
    pvp.h:32: error: 'DWORD' has not been declared
    arena.h:116: error: 'WORD' has not been declared
    pvp.h:34: error: 'DWORD' has not been declared
    pvp.h:34: error: 'DWORD' has not been declared
    arena.h:121: error: 'DWORD' has not been declared
    pvp.h:38: error: 'DWORD' does not name a type
    arena.h:123: error: 'lua_State' has not been declared
    pvp.h:40: error: 'DWORD' does not name a type
    pvp.h:44: error: 'DWORD' does not name a type
    pvp.h:47: error: 'DWORD' does not name a type
    arena.h:129: error: 'DWORD' has not been declared
    arena.h:129: error: 'WORD' has not been declared
    arena.h:129: error: 'WORD' has not been declared
    pvp.h: In constructor 'CPVP::_player::_player()':
    pvp.h:20: error: class 'CPVP::_player' does not have any field named 'dwPID'
    arena.h:130: error: 'DWORD' has not been declaredpvp.h:20: error: class 'CPVP::_player' does not have any field named 'dwVID'
    
    arena.h:130: error: 'WORD' has not been declared
    arena.h:130: error: 'WORD' has not been declared
    arena.h:132: error: 'DWORD' has not been declared
    arena.h:133: error: 'DWORD' has not been declared
    arena.h:133: error: 'DWORD' has not been declared
    arena.h:135: error: 'DWORD' has not been declared
    pvp.h: At global scope:
    pvp.h:52: error: 'DWORD' was not declared in this scope
    In file included from char.cpp:51:
    horsename_manager.h:5: error: 'DWORD' was not declared in this scope
    horsename_manager.h:5: error: template argument 1 is invalid
    horsename_manager.h:5: error: template argument 3 is invalid
    horsename_manager.h:5: error: template argument 4 is invalid
    horsename_manager.h:7: error: 'DWORD' has not been declared
    horsename_manager.h:12: error: expected ';' before '(' token
    horsename_manager.h:14: error: 'DWORD' has not been declaredpvp.h:52: error: template argument 1 is invalid
    
    pvp.h:52: error: template argument 3 is invalid
    pvp.h:52: error: template argument 4 is invalid
    pvp.h:60: error: 'DWORD' has not been declared
    pvp.h:61: error: 'DWORD' has not been declared
    pvp.h:71: error: expected ';' before '(' token
    pvp.h:75: error: 'DWORD' was not declared in this scope
    pvp.h:75: error: template argument 1 is invalid
    pvp.h:75: error: template argument 3 is invalid
    pvp.h:75: error: template argument 4 is invalid
    In file included from char_battle.cpp:12:
    skill.h:183: error: 'DWORD' does not name a type
    skill.h:185: error: 'DWORD' does not name a type
    skill.h:186: error: 'BYTE' does not name a type
    skill.h:187: error: 'BYTE' does not name a type
    skill.h:190: error: 'BYTE' does not name a type
    skill.h:191: error: 'CPoly' does not name a type
    skill.h:193: error: 'CPoly' does not name a type
    skill.h:194: error: 'CPoly' does not name a type
    skill.h:195: error: 'CPoly' does not name a type
    skill.h:196: error: 'CPoly' does not name a type
    skill.h:197: error: 'CPoly' does not name a type
    skill.h:198: error: 'CPoly' does not name a type
    skill.h:200: error: 'DWORD' does not name a type
    skill.h:201: error: 'DWORD' does not name a type
    skill.h:203: error: 'BYTE' does not name a type
    skill.h:204: error: 'DWORD' does not name a type
    skill.h:205: error: 'BYTE' does not name a type
    skill.h:209: error: 'BYTE' does not name a type
    skill.h:212: error: 'BYTE' does not name a type
    skill.h:213: error: 'CPoly' does not name a type
    skill.h:214: error: 'CPoly' does not name a type
    skill.h:215: error: 'DWORD' does not name a type
    skill.h:216: error: 'DWORD' does not name a type
    skill.h:218: error: 'DWORD' does not name a type
    skill.h:226: error: 'BYTE' does not name a type
    skill.h:227: error: 'CPoly' does not name a type
    skill.h:228: error: 'CPoly' does not name a type
    skill.h:230: error: 'CPoly' does not name a type
    skill.h: In member function 'bool CSkillProto::IsChargeSkill()':
    skill.h:222: error: 'dwVnum' was not declared in this scope
    skill.h: At global scope:
    skill.h:244: error: expected ';' before '(' token
    skill.h:248: error: 'DWORD' was not declared in this scope
    skill.h:248: error: template argument 1 is invalid
    skill.h:248: error: template argument 3 is invalid
    skill.h:248: error: template argument 4 is invalid
    In file included from char_battle.cpp:13:
    start_position.h:7: error: 'DWORD' does not name a type
    start_position.h:9: error: 'DWORD' does not name a type
    start_position.h:10: error: 'DWORD' does not name a type
    start_position.h:11: error: 'DWORD' does not name a type
    start_position.h:14: error: 'EMPIRE_NAME' declared as an 'inline' variable
    start_position.h:14: error: 'BYTE' was not declared in this scope
    start_position.h:15: error: expected ',' or ';' before '{' token
    start_position.h:19: error: 'DWORD' does not name a type
    start_position.h:24: error: 'DWORD' does not name a type
    start_position.h:32: error: 'DWORD' does not name a type
    start_position.h:40: error: 'DWORD' does not name a type
    start_position.h:48: error: 'DWORD' does not name a type
    start_position.h:56: error: 'DWORD' does not name a type
    start_position.h:69: error: 'DWORD' does not name a type
    In file included from char.cpp:52:
    pcbang.h:20: error: 'DWORD' has not been declared
    In file included from char.cpp:53:
    gm.h:1: error: 'BYTE' has not been declared
    gm.h:2: error: 'BYTE' does not name a type
    In file included from char.cpp:54:
    map_location.h:10: error: 'WORD' does not name a type
    map_location.h:13: error: 'WORD' has not been declared
    map_location.h:14: error: 'WORD' has not been declared
    map_location.h:15: error: 'WORD' has not been declared
    map_location.h:16: error: 'WORD' has not been declared
    map_location.h:17: error: 'WORD' has not been declared
    In file included from char.cpp:56:
    HackShield.h:13: error: 'DWORD' has not been declared
    HackShield.h:14: error: 'DWORD' has not been declared
    In file included from char.cpp:58:
    XTrapManager.h:15: error: 'BYTE' does not name a type
    XTrapManager.h:16: error: 'BYTE' does not name a type
    XTrapManager.h:34: error: 'BYTE' has not been declared
    XTrapManager.h:35: error: 'BYTE' has not been declared
    XTrapManager.h:56: error: 'BYTE' does not name a type
    XTrapManager.h:57: error: 'BYTE' does not name a type
    XTrapManager.h:61: error: 'DWORD' was not declared in this scope
    XTrapManager.h:61: error: template argument 1 is invalid
    XTrapManager.h:61: error: template argument 3 is invalid
    XTrapManager.h:61: error: template argument 4 is invalid
    XTrapManager.h:61: error: template argument 5 is invalid
    XTrapManager.h: In constructor 'CXTrapManager::sSessionInfo::sSessionInfo()':
    XTrapManager.h:52: error: 'szSessionBuf' was not declared in this scope
    XTrapManager.h:53: error: 'szPackBuf' was not declared in this scope
    In file included from char.cpp:59:
    buff_on_attributes.h: At global scope:
    buff_on_attributes.h:9: error: 'BYTE' has not been declared
    buff_on_attributes.h:9: error: 'BYTE' was not declared in this scope
    buff_on_attributes.h:9: error: template argument 1 is invalid
    buff_on_attributes.h:9: error: template argument 2 is invalid
    buff_on_attributes.h:17: error: 'BYTE' has not been declared
    buff_on_attributes.h:21: error: 'BYTE' has not been declared
    buff_on_attributes.h:28: error: 'BYTE' does not name a type
    buff_on_attributes.h:29: error: 'BYTE' does not name a type
    buff_on_attributes.h:30: error: 'BYTE' was not declared in this scope
    buff_on_attributes.h:30: error: template argument 1 is invalid
    buff_on_attributes.h:30: error: template argument 2 is invalid
    buff_on_attributes.h:33: error: 'BYTE' was not declared in this scope
    buff_on_attributes.h:33: error: template argument 1 is invalid
    buff_on_attributes.h:33: error: template argument 3 is invalid
    buff_on_attributes.h:33: error: template argument 4 is invalid
    In file included from char.cpp:62:
    PetSystem.h:29: error: 'DWORD' has not been declared
    PetSystem.h:29: error: 'DWORD' has not been declared
    PetSystem.h:34: error: 'DWORD' has not been declared
    PetSystem.h:49: error: 'DWORD' does not name a type
    PetSystem.h:50: error: 'DWORD' does not name a type
    PetSystem.h:59: error: 'DWORD' does not name a type
    PetSystem.h:64: error: 'DWORD' does not name a type
    PetSystem.h:76: error: 'DWORD' does not name a type
    PetSystem.h:77: error: 'DWORD' does not name a type
    PetSystem.h:78: error: 'DWORD' does not name a type
    PetSystem.h:79: error: 'DWORD' does not name a type
    PetSystem.h:80: error: 'DWORD' does not name a type
    PetSystem.h:81: error: 'DWORD' does not name a type
    PetSystem.h: In member function 'bool CPetActor::HasOption(CPetActor::EPetOptions) const':
    PetSystem.h:52: error: 'm_dwOptions' was not declared in this scope
    PetSystem.h: At global scope:
    PetSystem.h:98: error: 'DWORD' was not declared in this scope
    PetSystem.h:98: error: template argument 1 is invalid
    PetSystem.h:98: error: template argument 3 is invalid
    PetSystem.h:98: error: template argument 4 is invalid
    PetSystem.h:98: error: template argument 5 is invalid
    PetSystem.h:104: error: expected ';' before '(' token
    PetSystem.h:105: error: expected ';' before '(' token
    PetSystem.h:107: error: 'DWORD' has not been declared
    PetSystem.h:113: error: 'DWORD' has not been declared
    PetSystem.h:115: error: expected ';' before '(' token
    PetSystem.h:117: error: 'DWORD' has not been declared
    PetSystem.h:121: error: expected ';' before '(' token
    PetSystem.h:123: error: 'DWORD' has not been declared
    PetSystem.h:131: error: 'DWORD' does not name a type
    PetSystem.h:132: error: 'DWORD' does not name a type
    In file included from char.cpp:64:
    DragonSoul.h:18: error: 'DWORD' has not been declared
    DragonSoul.h:18: error: 'BYTE' has not been declared
    DragonSoul.h:18: error: 'BYTE' has not been declared
    DragonSoul.h:18: error: 'BYTE' has not been declared
    DragonSoul.h:18: error: 'BYTE' has not been declared
    DragonSoul.h:20: error: 'WORD' does not name a type
    DragonSoul.h:48: error: 'BYTE' has not been declared
    DragonSoul.h:53: error: 'DWORD' does not name a type
    In file included from char.cpp:67:
    offline_shop.h:23: error: 'BYTE' has not been declared
    offline_shop.h:25: error: 'BYTE' has not been declared
    offline_shop.h:25: error: 'DWORD' has not been declared
    offline_shop.h:26: error: 'BYTE' has not been declared
    offline_shop.h:29: error: 'DWORD' has not been declared
    offline_shop.h:29: error: 'BYTE' has not been declared
    offline_shop.h:30: error: 'BYTE' does not name a type
    In file included from char.cpp:68:
    offlineshop_manager.h:5: error: 'DWORD' was not declared in this scope
    offlineshop_manager.h:5: error: template argument 1 is invalid
    offlineshop_manager.h:5: error: template argument 3 is invalid
    offlineshop_manager.h:5: error: template argument 4 is invalid
    offlineshop_manager.h:6: error: 'DWORD' was not declared in this scope
    offlineshop_manager.h:6: error: 'DWORD' was not declared in this scope
    offlineshop_manager.h:6: error: template argument 1 is invalid
    offlineshop_manager.h:6: error: template argument 2 is invalid
    offlineshop_manager.h:6: error: template argument 3 is invalid
    offlineshop_manager.h:6: error: template argument 4 is invalid
    offlineshop_manager.h:14: error: 'BYTE' has not been declared
    offlineshop_manager.h:16: error: 'DWORD' has not been declared
    offlineshop_manager.h:17: error: 'DWORD' has not been declared
    offlineshop_manager.h:18: error: 'DWORD' has not been declared
    offlineshop_manager.h:22: error: 'BYTE' has not been declared
    offlineshop_manager.h:22: error: 'BYTE' has not been declared
    offlineshop_manager.h:23: error: 'BYTE' has not been declared
    offlineshop_manager.h:24: error: 'BYTE' has not been declared
    offlineshop_manager.h:28: error: 'DWORD' does not name a type
    offlineshop_manager.h:29: error: 'BYTE' has not been declared
    offlineshop_manager.h:31: error: 'BYTE' does not name a type
    In file included from char.cpp:69:
    offlineshop_config.h:7: error: 'BYTE' does not name a type
    offlineshop_config.h:17: error: 'BYTE' does not name a type
    char.cpp:73: error: 'BYTE' does not name a type
    char.cpp: In member function 'DynamicCharacterPtr& DynamicCharacterPtr::operator=(CHARACTER*)':
    char.cpp:115: error: 'class CHARACTER' has no member named 'GetPlayerID'
    char.cpp:118: error: cannot convert 'const VID' to 'uint32_t' in assignment
    In file included from char_battle.cpp:14:
    profiler.h: In member function 'void CProfiler::Push(const char*)':
    profiler.h:92: error: 'get_dword_time' was not declared in this scope
    profiler.h: In member function 'void CProfiler::Pop(const char*)':
    profiler.h:108: error: 'get_dword_time' was not declared in this scope
    profiler.h: In member function 'void CProfiler::PushAccum(const char*)':
    profiler.h:131: error: 'get_dword_time' was not declared in this scope
    profiler.h: In member function 'void CProfiler::PopAccum(const char*)':
    profiler.h:143: error: 'get_dword_time' was not declared in this scope
    char.cpp: In member function 'void CHARACTER::Initialize()':
    char.cpp:145: error: 'get_float_time' was not declared in this scope
    char.cpp:146: error: 'm_dwPlayerID' was not declared in this scope
    char.cpp:147: error: 'm_dwKillerPID' was not declared in this scope
    profiler.h: In member function 'void CProfiler::Print(FILE*)':
    profiler.h:175: error: 'DWORD' was not declared in this scope
    profiler.h:175: error: expected `;' before 'k'
    profiler.h:175: error: 'k' was not declared in this scope
    char.cpp:156: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:156: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:156: error: 'struct PIXEL_POSITION' has no member named 'z'
    char.cpp:157: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:157: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:158: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:158: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:200: error: no matching function for call to 'TAffectFlag::TAffectFlag(int, int)'
    affect_flag.h:24: note: candidates are: TAffectFlag::TAffectFlag()
    affect_flag.h:21: note:                 TAffectFlag::TAffectFlag(const TAffectFlag&)
    profiler.h: In member function 'void CProfiler::PrintOneStackData(const char*)':
    profiler.h:196: error: 'sys_log' was not declared in this scope
    char.cpp:210: error: 'm_bCharType' was not declared in this scope
    char.cpp:214: error: 'm_dwPlayStartTime' was not declared in this scope
    char.cpp:214: error: 'm_dwLastMoveTime' was not declared in this scope
    char.cpp:214: error: 'get_dword_time' was not declared in this scope
    char.cpp:217: error: 'm_dwStateDuration' was not declared in this scope
    char.cpp:219: error: 'm_dwLastAttackTime' was not declared in this scope
    char.cpp:221: error: 'm_bAddChrState' was not declared in this scope
    char.cpp:232: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:232: error: 'struct PIXEL_POSITION' has no member named 'y'
    profiler.h: In member function 'void CProfiler::PrintOneAccumData(const char*)':
    profiler.h:211: error: 'sys_log' was not declared in this scopechar.cpp:232: error: 'struct PIXEL_POSITION' has no member named 'z'
    
    char.cpp:235: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:235: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:235: error: 'struct PIXEL_POSITION' has no member named 'z'
    char.cpp:240: error: 'm_dwMoveStartTime' was not declared in this scope
    char.cpp:241: error: 'm_dwMoveDuration' was not declared in this scope
    char.cpp:243: error: 'm_dwFlyTargetID' was not declared in this scope
    char.cpp:245: error: 'm_dwNextStatePulse' was not declared in this scope
    char.cpp:247: error: 'm_dwLastDeadTime' was not declared in this scope
    char.cpp:258: error: 'struct CHARACTER::SAttackLog' has no member named 'dwVID'
    char.cpp:259: error: 'struct CHARACTER::SAttackLog' has no member named 'dwTime'
    char.cpp:273: error: 'm_bPKMode' was not declared in this scope
    char.cpp:275: error: 'm_dwQuestNPCVID' was not declared in this scope
    char.cpp:276: error: 'm_dwQuestByVnum' was not declared in this scope
    char.cpp:281: error: 'm_dwUnderGuildWarInfoMessageTime' was not declared in this scopeIn file included from sectree_manager.h:4,
                     from dungeon.h:4,
                     from char_battle.cpp:16:
    sectree.h: At global scope:
    sectree.h:21: error: 'DWORD' does not name a type
    
    char.cpp:286: error: 'm_dwRefineNPCVID' was not declared in this scope
    char.cpp:289: error: 'm_dwPolymorphRace' was not declared in this scope
    char.cpp:295: error: 'm_dwMountVnum' was not declared in this scope
    char.cpp:301: error: 'm_bChatCounter' was not declared in this scope
    char.cpp:305: error: 'm_dwLastVictimSetTime' was not declared in this scope
    char.cpp:308: error: 'm_bSendHorseLevel' was not declared in this scope
    char.cpp:309: error: 'm_bSendHorseHealthGrade' was not declared in this scope
    char.cpp:310: error: 'm_bSendHorseStaminaGrade' was not declared in this scope
    char.cpp:312: error: 'm_dwLoginPlayTime' was not declared in this scope
    char.cpp:316: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:317: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:320: error: 'm_dwLastSkillTime' was not declared in this scope
    char.cpp:324: error: 'm_adwMobSkillCooltime' was not declared in this scope
    char.cpp:367: error: request for member 'clear' in '((CHARACTER*)this)->CHARACTER::m_known_guild', which is of non-class type 'int'
    char.cpp:369: error: 'm_dwLogOffInterval' was not declared in this scope
    char.cpp:371: error: 'm_bComboSequence' was not declared in this scope
    char.cpp:372: error: 'm_dwLastComboTime' was not declared in this scope
    char.cpp:373: error: 'm_bComboIndex' was not declared in this scope
    char.cpp:375: error: 'm_dwSkipComboAttackByTime' was not declared in this scope
    char.cpp:377: error: 'm_dwMountTime' was not declared in this scope
    char.cpp:379: error: 'm_dwLastGoldDropTime' was not declared in this scope
    char.cpp: At global scope:
    char.cpp:401: error: 'DWORD' has not been declared
    char.cpp: In member function 'void CHARACTER::Create(const char*, int, bool)':
    char.cpp:407: error: no matching function for call to 'VID::VID(int&, crc_t)'
    vid.h:17: note: candidates are: VID::VID(const VID&)
    vid.h:7: note:                 VID::VID()
    char.cpp: In member function 'void CHARACTER::Destroy()':
    char.cpp:455: error: 'GetPlayerID' was not declared in this scope
    char.cpp:490: error: 'class CParty' has no member named 'GetLeaderPID'
    char.cpp:499: error: no matching function for call to 'CParty::Quit(const VID&)'
    party.h:111: note: candidates are: void CParty::Quit(int)
    char.cpp:525: error: expected initializer before 'it'
    char.cpp:525: error: 'it' was not declared in this scope
    char.cpp:525: error: request for member 'end' in '((CHARACTER*)this)->CHARACTER::m_map_buff_on_attrs', which is of non-class type 'int'
    char.cpp:532: error: request for member 'clear' in '((CHARACTER*)this)->CHARACTER::m_map_buff_on_attrs', which is of non-class type 'int'
    sectree.h:176: error: 'DWORD' does not name a type
    sectree.h:177: error: 'DWORD' has not been declared
    sectree.h:183: error: 'DWORD' has not been declared
    sectree.h:183: error: 'DWORD' has not been declared
    sectree.h:183: error: 'DWORD' has not been declared
    sectree.h:184: error: 'DWORD' has not been declared
    sectree.h:184: error: 'DWORD' has not been declared
    sectree.h:184: error: 'DWORD' has not been declared
    char.cpp: At global scope:
    char.cpp:596: error: 'BYTE' has not been declared
    char.cpp: In member function 'void CHARACTER::OpenMyShop(const char*, TShopItemTable*, int)':
    char.cpp:611: error: 'GetPlayerID' was not declared in this scope
    char.cpp:631: error: 'sys_err' was not declared in this scope
    char.cpp:666: error: 'DWORD' was not declared in this scope
    char.cpp:666: error: template argument 1 is invalid
    char.cpp:666: error: template argument 3 is invalid
    char.cpp:666: error: template argument 4 is invalid
    char.cpp:666: error: invalid type in declaration before ';' token
    char.cpp:670: error: 'BYTE' was not declared in this scope
    char.cpp:670: error: expected `;' before 'i'
    char.cpp:670: error: 'i' was not declared in this scope
    char.cpp:674: error: 'sys_err' was not declared in this scope
    char.cpp:685: error: 'const struct SItemTable' has no member named 'dwAntiFlags'
    sectree.h: In member function 'void SECTREE::for_each_entity(_Func&)':
    sectree.h:194: error: there are no arguments to 'sys_err' that depend on a template parameter, so a declaration of 'sys_err' must be availablechar.cpp:704: error: 'class CItem' has no member named 'GetVnum'
    
    sectree.h:194: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
    char.cpp:721: error: 'struct TPacketMyshopPricelistHeader' has no member named 'dwOwnerID'
    char.cpp:722: error: 'struct TPacketMyshopPricelistHeader' has no member named 'byCount'
    char.cpp:722: error: request for member 'size' in 'itemkind', which is of non-class type 'int'
    char.cpp:727: error: request for member 'begin' in 'itemkind', which is of non-class type 'int'
    char.cpp:727: error: invalid type in declaration before '=' token
    char.cpp:727: error: request for member 'begin' in 'itemkind', which is of non-class type 'int'
    char.cpp:727: error: request for member 'end' in 'itemkind', which is of non-class type 'int'
    char.cpp:729: error: 'struct TItemPriceInfo' has no member named 'dwVnum'
    char.cpp:729: error: base operand of '->' is not a pointer
    char.cpp:730: error: base operand of '->' is not a pointer
    char.cpp:748: error: 'struct TPacketGCShopSign' has no member named 'bHeader'
    char.cpp:749: error: 'struct TPacketGCShopSign' has no member named 'dwVID'
    char.cpp:767: error: 'GetMountVnum' was not declared in this scope
    In file included from dungeon.h:4,
                     from char_battle.cpp:16:
    sectree_manager.h: At global scope:
    sectree_manager.h:29: error: 'BYTE' does not name a type
    sectree_manager.h:32: error: expected `)' before 'bType'
    sectree_manager.h:54: error: 'DWORD' was not declared in this scope
    sectree_manager.h:54: error: template argument 1 is invalid
    sectree_manager.h:54: error: template argument 3 is invalid
    sectree_manager.h:54: error: template argument 4 is invalid
    sectree_manager.h:60: error: 'DWORD' has not been declared
    sectree_manager.h:64: error: 'DWORD' has not been declared
    char.cpp: In member function 'void CHARACTER::CloseMyShop()':
    char.cpp:789: error: 'struct TPacketGCShopSign' has no member named 'bHeader'
    sectree_manager.h:65: error: 'DWORD' has not been declared
    char.cpp:790: error: 'struct TPacketGCShopSign' has no member named 'dwVID'
    sectree_manager.h:65: error: 'DWORD' has not been declared
    char.cpp:796: error: 'GetJob' was not declared in this scope
    char.cpp: At global scope:
    char.cpp:800: error: 'DWORD' has not been declared
    char.cpp:800: error: 'BYTE' has not been declared
    char.cpp:800: error: 'BYTE' has not been declared
    char.cpp:800: error: 'DWORD' has not been declared
    char.cpp:800: error: 'DWORD' has not been declared
    char.cpp:800: error: 'DWORD' has not been declared
    char.cpp:800: error: 'DWORD' has not been declared
    char.cpp:800: error: 'BYTE' has not been declared
    char.cpp: In function 'void EncodeMovePacket(TPacketGCMove&, int, int, int, int, int, int, int, int)':
    char.cpp:802: error: 'struct packet_move' has no member named 'bHeader'
    char.cpp:803: error: 'struct packet_move' has no member named 'bFunc'
    sectree_manager.h: In member function 'bool SECTREE_MAP::Add(int, SECTREE*)':
    sectree_manager.h:61: error: request for member 'insert' in '((SECTREE_MAP*)this)->SECTREE_MAP::map_', which is of non-class type 'int'char.cpp:804: error: 'struct packet_move' has no member named 'bArg'
    
    char.cpp:805: error: 'struct packet_move' has no member named 'dwVID'
    sectree_manager.h:61: error: 'MapType' is not a class or namespace
    char.cpp:806: error: 'struct packet_move' has no member named 'dwTime'
    char.cpp:806: error: 'get_dword_time' was not declared in this scope
    char.cpp:807: error: 'struct packet_move' has no member named 'bRot'
    char.cpp:810: error: 'struct packet_move' has no member named 'dwDuration'
    sectree_manager.h: In member function 'void SECTREE_MAP::for_each(Func&)':
    sectree_manager.h:75: error: 'DWORD' was not declared in this scope
    sectree_manager.h:75: error: template argument 1 is invalid
    sectree_manager.h:75: error: template argument 3 is invalid
    sectree_manager.h:75: error: template argument 4 is invalid
    sectree_manager.h:75: error: expected initializer before 'it'
    sectree_manager.h:76: error: 'it' was not declared in this scope
    sectree_manager.h:76: error: request for member 'end' in '((SECTREE_MAP*)this)->SECTREE_MAP::map_', which is of non-class type 'int'
    sectree_manager.h: In member function 'void SECTREE_MAP::DumpAllToSysErr()':
    sectree_manager.h:93: error: expected initializer before 'i'
    sectree_manager.h:94: error: 'i' was not declared in this scope
    sectree_manager.h:94: error: request for member 'begin' in '((SECTREE_MAP*)this)->SECTREE_MAP::map_', which is of non-class type 'int'
    sectree_manager.h:94: error: request for member 'end' in '((SECTREE_MAP*)this)->SECTREE_MAP::map_', which is of non-class type 'int'
    sectree_manager.h:96: error: 'sys_err' was not declared in this scope
    sectree_manager.h: At global scope:
    sectree_manager.h:118: error: 'DWORD' has not been declared
    sectree_manager.h:118: error: 'DWORD' has not been declared
    sectree_manager.h:119: error: 'DWORD' has not been declared
    sectree_manager.h:119: error: 'DWORD' has not been declared
    sectree_manager.h:119: error: 'DWORD' has not been declared
    sectree_manager.h:137: error: 'BYTE' has not been declared
    sectree_manager.h:140: error: 'BYTE' has not been declared
    sectree_manager.h:151: error: 'DWORD' has not been declared
    sectree_manager.h:151: error: 'DWORD' has not been declared
    sectree_manager.h:158: error: 'BYTE' has not been declared
    sectree_manager.h:160: error: 'BYTE' does not name a type
    sectree_manager.h:166: error: 'DWORD' has not been declared
    char.cpp: In member function 'virtual void CHARACTER::EncodeInsertPacket(CEntity*)':
    char.cpp:867: error: 'struct TPacketGCCharacterAdd' has no member named 'header'
    char.cpp:868: error: 'struct TPacketGCCharacterAdd' has no member named 'dwVID'
    sectree_manager.h:179: error: 'DWORD' has not been declared
    char.cpp:869: error: 'struct TPacketGCCharacterAdd' has no member named 'bType'
    char.cpp:869: error: 'GetCharType' was not declared in this scope
    char.cpp:874: error: 'struct TPacketGCCharacterAdd' has no member named 'wRaceNum'
    char.cpp:874: error: 'GetRaceNum' was not declared in this scope
    sectree_manager.h:196: error: 'DWORD' has not been declared
    char.cpp:877: error: 'struct TPacketGCCharacterAdd' has no member named 'bMovingSpeed'
    char.cpp:881: error: 'struct TPacketGCCharacterAdd' has no member named 'bMovingSpeed'
    sectree_manager.h:209: error: 'DWORD' has not been declared
    char.cpp:883: error: 'struct TPacketGCCharacterAdd' has no member named 'bAttackSpeed'
    sectree_manager.h:219: error: 'DWORD' has not been declared
    char.cpp:884: error: 'struct TPacketGCCharacterAdd' has no member named 'dwAffectFlag'
    char.cpp:884: error: 'struct TAffectFlag' has no member named 'bits'
    sectree_manager.h:221: error: 'WORD' does not name a type
    char.cpp:885: error: 'struct TPacketGCCharacterAdd' has no member named 'dwAffectFlag'
    char.cpp:885: error: 'struct TAffectFlag' has no member named 'bits'
    char.cpp:887: error: 'struct TPacketGCCharacterAdd' has no member named 'bStateFlag'
    char.cpp:887: error: 'm_bAddChrState' was not declared in this scope
    char.cpp:891: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:891: error: 'struct PIXEL_POSITION' has no member named 'y'
    sectree_manager.h:222: error: 'DWORD' was not declared in this scope
    char.cpp:893: error: 'm_dwMoveStartTime' was not declared in this scope
    sectree_manager.h:222: error: template argument 1 is invalid
    char.cpp:893: error: 'm_dwMoveDuration' was not declared in this scopesectree_manager.h:222: error: template argument 3 is invalid
    
    sectree_manager.h:222: error: template argument 4 is invalid
    char.cpp:893: error: 'get_dword_time' was not declared in this scope
    char.cpp:897: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:898: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:904: error: 'm_bCharType' was not declared in this scope
    char.cpp:909: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'header'
    char.cpp:910: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'dwVID'
    char.cpp:912: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'awPart'
    char.cpp:912: error: 'GetPart' was not declared in this scope
    char.cpp:913: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'awPart'
    char.cpp:914: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'awPart'
    char.cpp:915: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'awPart'
    char.cpp:916: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'awPart'
    char.cpp:918: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'bPKMode'
    char.cpp:918: error: 'm_bPKMode' was not declared in this scope
    char.cpp:919: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'dwMountVnum'
    char.cpp:919: error: 'GetMountVnum' was not declared in this scope
    char.cpp:920: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'bEmpire'
    char.cpp:920: error: 'm_bEmpire' was not declared in this scope
    char.cpp:924: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'dwLevel'
    char.cpp:928: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'dwLevel'
    char.cpp:935: error: 'GetEmpire' was not declared in this scope
    char.cpp:935: error: 'class CHARACTER' has no member named 'GetEmpire'
    char.cpp:935: error: 'class CHARACTER' has no member named 'GetGMLevel'
    char.cpp:942: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'dwGuildID'
    char.cpp:953: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'dwGuildID'
    char.cpp:953: error: 'class CGuild' has no member named 'GetID'
    char.cpp:957: error: 'struct TPacketGCCharacterAdditionalInfo' has no member named 'dwGuildID'
    char.cpp:969: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:969: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:969: error: 'BYTE' was not declared in this scope
    char.cpp:973: error: 'struct TPacketGCWalkMode' has no member named 'vid'
    char.cpp:974: error: 'struct TPacketGCWalkMode' has no member named 'header'
    char.cpp:975: error: 'struct TPacketGCWalkMode' has no member named 'mode'
    char.cpp:986: error: 'struct TPacketGCWalkMode' has no member named 'vid'
    char.cpp:987: error: 'struct TPacketGCWalkMode' has no member named 'header'
    char.cpp:988: error: 'struct TPacketGCWalkMode' has no member named 'mode'
    char.cpp:997: error: 'struct TPacketGCShopSign' has no member named 'bHeader'
    char.cpp:998: error: 'struct TPacketGCShopSign' has no member named 'dwVID'
    char.cpp:1009: error: 'struct TPacketGCShopSign' has no member named 'bHeader'
    char.cpp:1010: error: 'struct TPacketGCShopSign' has no member named 'dwVID'
    char.cpp:1013: error: 'GetOfflineShopRealOwner' was not declared in this scope
    char.cpp:1014: error: invalid use of incomplete type 'struct _SQLMsg'
    guild.h:6: error: forward declaration of 'struct _SQLMsg'
    char.cpp:1016: error: 'MYSQL_ROW' was not declared in this scope
    char.cpp:1016: error: expected `;' before 'row'
    char.cpp:1017: error: 'row' was not declared in this scope
    char.cpp:1032: error: 'sys_log' was not declared in this scope
    char.cpp: In member function 'virtual void CHARACTER::EncodeRemovePacket(CEntity*)':
    char.cpp:1048: error: 'struct TPacketGCCharacterDelete' has no member named 'header'
    char.cpp:1049: error: 'struct TPacketGCCharacterDelete' has no member named 'id'
    char.cpp:1054: error: 'DWORD' was not declared in this scope
    char.cpp:1054: error: 'sys_log' was not declared in this scope
    char.cpp: In member function 'void CHARACTER::UpdatePacket()':
    char.cpp:1064: error: 'struct TPacketGCCharacterUpdate' has no member named 'header'
    char.cpp:1065: error: 'struct TPacketGCCharacterUpdate' has no member named 'dwVID'
    char.cpp:1067: error: 'struct TPacketGCCharacterUpdate' has no member named 'awPart'
    char.cpp:1067: error: 'GetPart' was not declared in this scope
    char.cpp:1068: error: 'struct TPacketGCCharacterUpdate' has no member named 'awPart'
    char.cpp:1069: error: 'struct TPacketGCCharacterUpdate' has no member named 'awPart'
    char.cpp:1070: error: 'struct TPacketGCCharacterUpdate' has no member named 'awPart'
    char.cpp:1071: error: 'struct TPacketGCCharacterUpdate' has no member named 'awPart'
    char.cpp:1073: error: 'struct TPacketGCCharacterUpdate' has no member named 'bMovingSpeed'
    char.cpp:1074: error: 'struct TPacketGCCharacterUpdate' has no member named 'bAttackSpeed'
    char.cpp:1075: error: 'struct TPacketGCCharacterUpdate' has no member named 'bStateFlag'
    char.cpp:1075: error: 'm_bAddChrState' was not declared in this scope
    char.cpp:1076: error: 'struct TPacketGCCharacterUpdate' has no member named 'dwAffectFlag'
    char.cpp:1076: error: 'struct TAffectFlag' has no member named 'bits'
    char.cpp:1077: error: 'struct TPacketGCCharacterUpdate' has no member named 'dwAffectFlag'
    char.cpp:1077: error: 'struct TAffectFlag' has no member named 'bits'
    char.cpp:1078: error: 'struct TPacketGCCharacterUpdate' has no member named 'dwGuildID'
    char.cpp:1080: error: 'struct TPacketGCCharacterUpdate' has no member named 'bPKMode'
    char.cpp:1080: error: 'm_bPKMode' was not declared in this scope
    char.cpp:1083: error: 'struct TPacketGCCharacterUpdate' has no member named 'dwGuildID'
    char.cpp:1083: error: 'class CGuild' has no member named 'GetID'
    char.cpp:1085: error: 'struct TPacketGCCharacterUpdate' has no member named 'dwMountVnum'
    char.cpp:1085: error: 'GetMountVnum' was not declared in this scope
    char.cpp:1088: error: 'struct TPacketGCCharacterUpdate' has no member named 'dwGuildID'
    char.cpp:1107: error: 'GetEmpire' was not declared in this scope
    char.cpp:1107: error: 'class CHARACTER' has no member named 'GetEmpire'
    char.cpp:1107: error: 'class CHARACTER' has no member named 'GetGMLevel'
    char.cpp: In member function 'void CHARACTER::SetPosition(int)':
    char.cpp:1164: error: 'm_bAddChrState' was not declared in this scope
    char.cpp:1171: error: 'm_bAddChrState' was not declared in this scope
    char.cpp: In member function 'void CHARACTER::CreatePlayerProto(TPlayerTable&)':
    char.cpp:1217: error: 'struct SPlayerTable' has no member named 'id'
    char.cpp:1217: error: 'm_dwPlayerID' was not declared in this scope
    char.cpp:1218: error: 'struct SPlayerTable' has no member named 'voice'
    char.cpp:1219: error: 'struct SPlayerTable' has no member named 'level'
    char.cpp:1220: error: 'struct SPlayerTable' has no member named 'level_step'
    char.cpp:1221: error: 'struct SPlayerTable' has no member named 'exp'
    char.cpp:1221: error: 'GetExp' was not declared in this scope
    char.cpp:1223: error: 'struct SPlayerTable' has no member named 'job'
    char.cpp:1223: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1224: error: 'struct SPlayerTable' has no member named 'part_base'
    char.cpp:1224: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'bBasePart'
    char.cpp:1225: error: 'struct SPlayerTable' has no member named 'skill_group'
    char.cpp:1225: error: 'struct CHARACTER_POINT' has no member named 'skill_group'
    char.cpp:1227: error: 'DWORD' was not declared in this scope
    char.cpp:1227: error: expected `;' before 'dwPlayedTime'
    char.cpp:1229: error: 'dwPlayedTime' was not declared in this scope
    char.cpp:1251: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:1251: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:1253: error: 'struct SPlayerTable' has no member named 'x'
    char.cpp:1253: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:1254: error: 'struct SPlayerTable' has no member named 'y'
    char.cpp:1254: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:1255: error: 'struct SPlayerTable' has no member named 'z'
    char.cpp:1256: error: 'struct SPlayerTable' has no member named 'lMapIndex'
    char.cpp:1260: error: 'struct SPlayerTable' has no member named 'x'
    char.cpp:1261: error: 'struct SPlayerTable' has no member named 'y'
    char.cpp:1262: error: 'struct SPlayerTable' has no member named 'z'
    char.cpp:1263: error: 'struct SPlayerTable' has no member named 'lMapIndex'
    char.cpp:1268: error: 'struct SPlayerTable' has no member named 'lMapIndex'
    char.cpp:1269: error: 'struct SPlayerTable' has no member named 'x'
    char.cpp:1270: error: 'struct SPlayerTable' has no member named 'y'
    char.cpp:1275: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:1276: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:1309: error: 'struct SPlayerTable' has no member named 'parts'
    char.cpp:1309: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'parts'
    char.cpp:1309: error: 'struct SPlayerTable' has no member named 'parts'
    char.cpp:1309: error: 'thecore_memcpy' was not declared in this scope
    char.cpp: In member function 'void CHARACTER::SaveReal()':
    char.cpp:1326: error: 'sys_err' was not declared in this scope
    char.cpp:1333: error: 'class DESC' has no member named 'GetHandle'
    char.cpp:1335: error: 'GetPlayerID' was not declared in this scope
    char.cpp:1338: error: 'sys_err' was not declared in this scope
    char.cpp:1344: error: 'class marriage::CManager' has no member named 'Get'
    char.cpp: In member function 'void CHARACTER::Disconnect(const char*)':
    char.cpp:1363: error: 'sys_log' was not declared in this scope
    char.cpp:1381: error: 'GetPlayerID' was not declared in this scope
    char.cpp:1386: error: 'GetPlayerID' was not declared in this scope
    char.cpp:1393: error: 'struct TPacketGGLogout' has no member named 'bHeader'
    char.cpp:1400: error: 'm_dwLoginPlayTime' was not declared in this scopesectree_manager.h:225: error: 'DWORD' was not declared in this scope
    
    char.cpp:1401: error: 'struct SAccountTable' has no member named 'id'
    char.cpp:1401: error: 'GetPlayerID' was not declared in this scope
    char.cpp:1401: error: 'GetJob' was not declared in this scope
    sectree_manager.h:225: error: template argument 1 is invalid
    sectree_manager.h:225: error: template argument 3 is invalid
    sectree_manager.h:225: error: template argument 4 is invalid
    char.cpp:1451: error: 'GetPlayerID' was not declared in this scope
    char.cpp:1467: error: 'struct SAccountTable' has no member named 'id'
    char.cpp: In member function 'bool CHARACTER::Show(long int, long int, long int, long int, bool)':
    char.cpp:1490: error: 'sys_log' was not declared in this scope
    char.cpp:1511: error: 'sys_log' was not declared in this scope
    char.cpp:1517: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:1518: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:1519: error: 'struct PIXEL_POSITION' has no member named 'z'
    char.cpp:1524: error: 'm_bAddChrState' was not declared in this scope
    char.cpp:1530: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:1531: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:1532: error: 'struct PIXEL_POSITION' has no member named 'z'
    char.cpp:1534: error: 'struct PIXEL_POSITION' has no member named 'x'
    char.cpp:1535: error: 'struct PIXEL_POSITION' has no member named 'y'
    char.cpp:1536: error: 'struct PIXEL_POSITION' has no member named 'z'
    char.cpp:1548: error: 'sys_log' was not declared in this scope
    char.cpp:1551: error: 'm_bAddChrState' was not declared in this scope
    In file included from char_battle.cpp:16:
    dungeon.h:57: error: 'DWORD' has not been declared
    dungeon.h:58: error: 'DWORD' has not been declared
    dungeon.h:59: error: 'DWORD' has not been declared
    dungeon.h:60: error: 'DWORD' has not been declared
    dungeon.h:62: error: 'DWORD' has not been declared
    dungeon.h:70: error: 'DWORD' has not been declared
    dungeon.h:71: error: 'DWORD' has not been declared
    dungeon.h:72: error: 'DWORD' has not been declared
    dungeon.h:73: error: 'DWORD' has not been declared
    dungeon.h:80: error: 'DWORD' does not name a type
    dungeon.h:107: error: 'DWORD' was not declared in this scope
    dungeon.h:107: error: template argument 1 is invalid
    dungeon.h:107: error: template argument 1 is invalid
    dungeon.h:107: error: template argument 2 is invalid
    dungeon.h:124: error: 'DWORD' does not name a type
    dungeon.h:125: error: 'DWORD' does not name a type
    char.cpp: In function 'void CHARACTER_SetBGMVolumeEnable()':
    char.cpp:1572: error: 'sys_log' was not declared in this scope
    char.cpp: In function 'void CHARACTER_AddBGMInfo(unsigned int, const char*, float)':
    char.cpp:1583: error: 'sys_log' was not declared in this scope
    char.cpp: In member function 'void CHARACTER::MainCharacterPacket()':
    char.cpp:1613: error: 'sys_log' was not declared in this scope
    char.cpp:1615: error: 'struct TPacketGCMainCharacter4_BGM_VOL' has no member named 'header'
    char.cpp:1616: error: 'struct TPacketGCMainCharacter4_BGM_VOL' has no member named 'dwVID'
    char.cpp:1617: error: 'struct TPacketGCMainCharacter4_BGM_VOL' has no member named 'wRaceNum'
    char.cpp:1617: error: 'GetRaceNum' was not declared in this scope
    char.cpp:1621: error: 'struct TPacketGCMainCharacter4_BGM_VOL' has no member named 'empire'
    char.cpp:1621: error: 'class DESC' has no member named 'GetEmpire'
    char.cpp:1622: error: 'struct TPacketGCMainCharacter4_BGM_VOL' has no member named 'skill_group'
    char.cpp:1622: error: 'GetSkillGroup' was not declared in this scope
    char.cpp:1631: error: 'sys_log' was not declared in this scope
    char.cpp:1633: error: 'struct TPacketGCMainCharacter3_BGM' has no member named 'header'
    char.cpp:1634: error: 'struct TPacketGCMainCharacter3_BGM' has no member named 'dwVID'
    char.cpp:1635: error: 'struct TPacketGCMainCharacter3_BGM' has no member named 'wRaceNum'
    char.cpp:1635: error: 'GetRaceNum' was not declared in this scope
    char.cpp:1639: error: 'struct TPacketGCMainCharacter3_BGM' has no member named 'empire'
    char.cpp:1639: error: 'class DESC' has no member named 'GetEmpire'
    char.cpp:1640: error: 'struct TPacketGCMainCharacter3_BGM' has no member named 'skill_group'
    char.cpp:1640: error: 'GetSkillGroup' was not declared in this scope
    char.cpp:1651: error: 'sys_log' was not declared in this scope
    char.cpp:1654: error: 'struct TPacketGCMainCharacter' has no member named 'header'
    char.cpp:1655: error: 'struct TPacketGCMainCharacter' has no member named 'dwVID'
    char.cpp:1656: error: 'struct TPacketGCMainCharacter' has no member named 'wRaceNum'
    char.cpp:1656: error: 'GetRaceNum' was not declared in this scope
    char.cpp:1660: error: 'struct TPacketGCMainCharacter' has no member named 'empire'
    char.cpp:1660: error: 'class DESC' has no member named 'GetEmpire'
    char.cpp:1661: error: 'struct TPacketGCMainCharacter' has no member named 'skill_group'
    char.cpp:1661: error: 'GetSkillGroup' was not declared in this scope
    char.cpp: In member function 'void CHARACTER::PointsPacket()':
    char.cpp:1677: error: 'struct TPacketGCPoints' has no member named 'header'
    char.cpp:1680: error: 'GetExp' was not declared in this scope
    char.cpp:1681: error: 'GetNextExp' was not declared in this scope
    char.cpp:1701: error: 'class CItem' has no member named 'GetSubType'
    char.cpp: In member function 'bool CHARACTER::ChangeSex()':
    char.cpp:1710: error: 'GetRaceNum' was not declared in this scope
    char.cpp:1715: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1719: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1723: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1727: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1731: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1735: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1739: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1743: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1747: error: 'sys_err' was not declared in this scope
    char.cpp:1751: error: 'struct CHARACTER_POINT' has no member named 'job'
    char.cpp:1751: error: 'sys_log' was not declared in this scope
    char.cpp: At global scope:
    char.cpp:1755: error: 'WORD' does not name a type
    char.cpp:1766: error: variable or field 'SetRace' declared void
    char.cpp:1766: error: 'BYTE' was not declared in this scope
    dungeon.h: In member function 'void CDungeon::IncMonster()':
    dungeon.h:39: error: 'sys_log' was not declared in this scope
    dungeon.h: In member function 'long int CDungeon::GetMapIndex()':
    dungeon.h:55: error: 'm_lMapIndex' was not declared in this scope
    In file included from any_function.h:19,
                     from log.h:5,
                     from char_battle.cpp:17:
    any_function.inc: At global scope:
    any_function.inc:49: error: 'SQLMsg' has not been declared
    any_function.inc:75: error: 'SQLMsg' has not been declared
    any_function.inc:96: error: 'SQLMsg' has not been declared
    In file included from char_battle.cpp:17:
    log.h:29: error: 'DWORD' has not been declared
    log.h:29: error: 'DWORD' has not been declared
    log.h:29: error: 'DWORD' has not been declared
    log.h:29: error: 'DWORD' has not been declared
    log.h:29: error: 'DWORD' has not been declared
    log.h:35: error: 'DWORD' has not been declared
    log.h:35: error: 'DWORD' has not been declared
    log.h:35: error: 'DWORD' has not been declared
    log.h:35: error: 'DWORD' has not been declared
    log.h:36: error: 'DWORD' has not been declared
    log.h:38: error: 'DWORD' has not been declared
    log.h:38: error: 'DWORD' has not been declared
    log.h:38: error: 'BYTE' has not been declared
    log.h:38: error: 'BYTE' has not been declared
    log.h:38: error: 'DWORD' has not been declared
    log.h:39: error: 'BYTE' has not been declared
    log.h:39: error: 'DWORD' has not been declared
    log.h:42: error: 'DWORD' has not been declared
    log.h:43: error: 'DWORD' has not been declared
    log.h:43: error: 'DWORD' has not been declared
    log.h:44: error: 'DWORD' has not been declared
    log.h:44: error: 'DWORD' has not been declared
    log.h:44: error: 'DWORD' has not been declared
    log.h:45: error: 'DWORD' has not been declared
    log.h:45: error: 'DWORD' has not been declared
    log.h:45: error: 'DWORD' has not been declared
    log.h:45: error: 'DWORD' has not been declared
    log.h:45: error: 'DWORD' has not been declared
    log.h:46: error: 'DWORD' has not been declared
    log.h:46: error: 'DWORD' has not been declared
    log.h:46: error: 'DWORD' has not been declared
    log.h:46: error: 'DWORD' has not been declared
    log.h:46: error: 'DWORD' has not been declared
    log.h:47: error: 'DWORD' has not been declared
    log.h:47: error: 'BYTE' has not been declared
    log.h:48: error: 'DWORD' has not been declared
    log.h:48: error: 'DWORD' has not been declared
    log.h:48: error: 'DWORD' has not been declared
    log.h:49: error: 'DWORD' has not been declared
    log.h:50: error: 'DWORD' has not been declared
    log.h:50: error: 'DWORD' has not been declared
    log.h:51: error: 'BYTE' has not been declared
    log.h:51: error: 'BYTE' has not been declared
    log.h:53: error: 'BYTE' has not been declared
    log.h:54: error: 'DWORD' has not been declared
    log.h:54: error: 'DWORD' has not been declared
    log.h:54: error: 'DWORD' has not been declared
    log.h:55: error: 'DWORD' has not been declared
    log.h:55: error: 'DWORD' has not been declared
    log.h:55: error: 'DWORD' has not been declared
    log.h:55: error: 'DWORD' has not been declared
    log.h:56: error: 'DWORD' has not been declared
    log.h:56: error: 'DWORD' has not been declared
    log.h:58: error: 'DWORD' has not been declared
    log.h:58: error: 'DWORD' has not been declared
    log.h:58: error: 'DWORD' has not been declared
    log.h:58: error: 'DWORD' has not been declared
    log.h:65: error: 'CAsyncSQL' does not name a type
    In file included from char_battle.cpp:19:
    priv_manager.h:15: error: 'DWORD' has not been declared
    priv_manager.h:15: error: 'BYTE' has not been declared
    priv_manager.h:16: error: 'BYTE' has not been declared
    priv_manager.h:16: error: 'BYTE' has not been declared
    priv_manager.h:17: error: 'DWORD' has not been declared
    priv_manager.h:17: error: 'BYTE' has not been declared
    priv_manager.h:19: error: 'DWORD' has not been declared
    priv_manager.h:19: error: 'BYTE' has not been declared
    priv_manager.h:19: error: 'BYTE' has not been declared
    priv_manager.h:20: error: 'BYTE' has not been declared
    priv_manager.h:20: error: 'BYTE' has not been declared
    priv_manager.h:20: error: 'BYTE' has not been declared
    priv_manager.h:21: error: 'DWORD' has not been declared
    priv_manager.h:21: error: 'BYTE' has not been declared
    priv_manager.h:21: error: 'BYTE' has not been declared
    priv_manager.h:23: error: 'DWORD' has not been declared
    priv_manager.h:23: error: 'BYTE' has not been declared
    priv_manager.h:24: error: 'BYTE' has not been declared
    priv_manager.h:24: error: 'BYTE' has not been declared
    priv_manager.h:25: error: 'DWORD' has not been declared
    priv_manager.h:25: error: 'BYTE' has not been declared
    priv_manager.h:27: error: 'BYTE' has not been declared
    priv_manager.h:28: error: 'BYTE' has not been declared
    priv_manager.h:28: error: 'BYTE' has not been declared
    priv_manager.h:29: error: 'DWORD' has not been declared
    priv_manager.h:29: error: 'BYTE' has not been declared
    priv_manager.h:30: error: 'DWORD' has not been declared
    priv_manager.h:30: error: 'BYTE' has not been declared
    priv_manager.h:39: error: expected ';' before '(' token
    priv_manager.h:54: error: expected ';' before '(' token
    priv_manager.h:58: error: 'DWORD' was not declared in this scope
    priv_manager.h:58: error: template argument 1 is invalid
    priv_manager.h:58: error: template argument 3 is invalid
    priv_manager.h:58: error: template argument 4 is invalid
    priv_manager.h:59: error: 'DWORD' was not declared in this scope
    priv_manager.h:59: error: template argument 1 is invalid
    priv_manager.h:59: error: template argument 3 is invalid
    priv_manager.h:59: error: template argument 4 is invalid
    In file included from char_battle.cpp:20:
    db.h:43: error: 'DWORD' does not name a type
    db.h:45: error: 'BYTE' does not name a type
    db.h:46: error: 'DWORD' does not name a type
    db.h:60: error: 'DWORD' does not name a type
    db.h:90: error: ISO C++ forbids declaration of 'SQLMsg' with no type
    db.h:90: error: expected ';' before '*' token
    db.h:91: error: 'DWORD' has not been declared
    db.h:94: error: 'SQLMsg' has not been declared
    db.h:96: error: 'BYTE' has not been declared
    db.h:96: error: 'DWORD' has not been declared
    db.h:98: error: 'BYTE' has not been declared
    db.h:98: error: 'DWORD' has not been declared
    db.h:98: error: 'DWORD' has not been declared
    db.h:104: error: expected ';' before '(' token
    db.h:105: error: 'DWORD' has not been declared
    db.h:112: error: 'DWORD' does not name a type
    db.h:113: error: 'DWORD' does not name a type
    db.h:130: error: ISO C++ forbids declaration of 'SQLMsg' with no type
    db.h:130: error: expected ';' before '*' token
    db.h:132: error: 'CAsyncSQL' does not name a type
    db.h:133: error: 'CAsyncSQL' does not name a type
    /usr/include/c++/4.2/memory: In destructor 'std::auto_ptr<_Tp>::~auto_ptr() [with _Tp = _SQLMsg]':
    char.cpp:1013:   instantiated from here
    /usr/include/c++/4.2/memory:259: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
    db.h:138: error: 'DWORD' was not declared in this scope
    db.h:138: error: template argument 1 is invalid
    db.h:138: error: template argument 3 is invalid
    db.h:138: error: template argument 4 is invalid
    db.h: In member function 'void DBManager::ResetQueryResult()':
    db.h:114: error: 'm_sql' was not declared in this scope
    db.h: In member function 'void DBManager::FuncQuery(Functor, const char*, ...)':
    db.h:157: error: 'm_sql' was not declared in this scope
    db.h: In member function 'void DBManager::FuncAfterQuery(Functor, const char*, ...)':
    db.h:174: error: 'm_sql' was not declared in this scope
    db.h: At global scope:
    db.h:181: error: 'DWORD' does not name a type
    db.h:186: error: 'BYTE' has not been declared
    db.h:200: error: ISO C++ forbids declaration of 'SQLMsg' with no type
    db.h:200: error: expected ';' before '*' token
    db.h:201: error: 'DWORD' has not been declared
    db.h:209: error: ISO C++ forbids declaration of 'SQLMsg' with no type
    db.h:209: error: expected ';' before '*' token
    db.h:210: error: 'SQLMsg' has not been declared
    db.h:212: error: 'CAsyncSQL2' does not name a type
    db.h:213: error: 'CAsyncSQL2' does not name a type
    In file included from char_battle.cpp:22:
    marriage.h:8: error: 'DWORD' does not name a type
    marriage.h:14: error: 'DWORD' does not name a type
    marriage.h:15: error: 'DWORD' does not name a type
    marriage.h:27: error: expected `)' before 'pid1'
    marriage.h:47: error: 'DWORD' has not been declared
    marriage.h:56: error: 'DWORD' does not name a type
    marriage.h:70: error: 'DWORD' has not been declared
    marriage.h:72: error: 'DWORD' has not been declared
    marriage.h:76: error: 'DWORD' has not been declared
    marriage.h:84: error: 'BYTE' does not name a type
    marriage.h:97: error: expected ';' before '(' token
    marriage.h:99: error: 'DWORD' has not been declared
    marriage.h:101: error: 'DWORD' has not been declared
    marriage.h:102: error: 'DWORD' has not been declared
    marriage.h:103: error: 'DWORD' has not been declared
    marriage.h:105: error: 'DWORD' has not been declared
    marriage.h:105: error: 'DWORD' has not been declared
    marriage.h:106: error: 'DWORD' has not been declared
    marriage.h:106: error: 'DWORD' has not been declared
    marriage.h:108: error: 'DWORD' has not been declared
    marriage.h:108: error: 'DWORD' has not been declared
    marriage.h:108: error: 'BYTE' has not been declared
    marriage.h:109: error: 'DWORD' has not been declared
    marriage.h:109: error: 'DWORD' has not been declared
    marriage.h:109: error: 'BYTE' has not been declared
    marriage.h:111: error: 'DWORD' has not been declared
    marriage.h:111: error: 'DWORD' has not been declared
    marriage.h:112: error: 'DWORD' has not been declared
    marriage.h:112: error: 'DWORD' has not been declared
    marriage.h:119: error: 'DWORD' has not been declared
    marriage.h:122: error: 'DWORD' has not been declared
    marriage.h:122: error: 'DWORD' has not been declared
    marriage.h:122: error: 'DWORD' has not been declared
    marriage.h:123: error: 'DWORD' has not been declared
    marriage.h:123: error: 'DWORD' has not been declared
    marriage.h:124: error: 'DWORD' has not been declared
    marriage.h:124: error: 'DWORD' has not been declared
    marriage.h:126: error: 'DWORD' has not been declared
    marriage.h:126: error: 'DWORD' has not been declared
    marriage.h:133: error: 'DWORD' was not declared in this scope
    marriage.h:133: error: template argument 1 is invalid
    marriage.h:133: error: template argument 3 is invalid
    marriage.h:133: error: template argument 4 is invalid
    marriage.h:134: error: 'DWORD' was not declared in this scope
    marriage.h:134: error: 'DWORD' was not declared in this scope
    marriage.h:134: error: template argument 1 is invalid
    marriage.h:134: error: template argument 2 is invalid
    marriage.h:134: error: template argument 1 is invalid
    marriage.h:134: error: template argument 2 is invalid
    marriage.h:134: error: template argument 3 is invalid
    marriage.h: In member function 'Func marriage::CManager::for_each_wedding(Func)':
    marriage.h:140: error: request for member 'begin' in '((marriage::CManager*)this)->marriage::CManager::m_setWedding', which is of non-class type 'int'
    marriage.h:140: error: invalid type in declaration before '=' token
    marriage.h:140: error: request for member 'begin' in '((marriage::CManager*)this)->marriage::CManager::m_setWedding', which is of non-class type 'int'
    marriage.h:140: error: request for member 'end' in '((marriage::CManager*)this)->marriage::CManager::m_setWedding', which is of non-class type 'int'
    marriage.h:142: error: base operand of '->' is not a pointer
    marriage.h:142: error: there are no arguments to 'Get' that depend on a template parameter, so a declaration of 'Get' must be available
    In file included from char_battle.cpp:23:
    arena.h: At global scope:
    arena.h:20: error: 'DWORD' does not name a type
    arena.h:21: error: 'DWORD' does not name a type
    arena.h:30: error: 'DWORD' does not name a type
    arena.h:31: error: 'DWORD' does not name a type
    arena.h:32: error: 'DWORD' does not name a type
    arena.h:34: error: 'DWORD' was not declared in this scope
    arena.h:34: error: template argument 1 is invalid
    arena.h:34: error: template argument 3 is invalid
    arena.h:34: error: template argument 4 is invalid
    arena.h:37: error: expected `)' before 'startA_X'
    arena.h:42: error: 'DWORD' has not been declared
    arena.h:44: error: 'WORD' has not been declared
    arena.h:44: error: 'WORD' has not been declared
    arena.h:44: error: 'WORD' has not been declared
    arena.h:44: error: 'WORD' has not been declared
    arena.h:47: error: 'DWORD' has not been declared
    arena.h:47: error: 'DWORD' has not been declared
    arena.h:48: error: 'DWORD' has not been declared
    arena.h:48: error: 'DWORD' has not been declared
    arena.h:50: error: 'DWORD' has not been declared
    arena.h:51: error: 'WORD' has not been declared
    arena.h:51: error: 'WORD' has not been declared
    arena.h:56: error: 'DWORD' does not name a type
    arena.h:57: error: 'DWORD' does not name a type
    arena.h:69: error: 'DWORD' has not been declared
    arena.h:70: error: 'DWORD' has not been declared
    arena.h:73: error: 'BYTE' has not been declared
    arena.h: In member function 'bool CArena::IsEmpty() const':
    arena.h:41: error: 'm_dwPIDA' was not declared in this scope
    arena.h:41: error: 'm_dwPIDB' was not declared in this scope
    arena.h: In member function 'bool CArena::IsMember(int) const':
    arena.h:42: error: 'm_dwPIDA' was not declared in this scope
    arena.h:42: error: 'm_dwPIDB' was not declared in this scope
    arena.h: In member function 'CHARACTER* CArena::GetPlayerA()':
    arena.h:59: error: 'm_dwPIDA' was not declared in this scope
    arena.h: In member function 'CHARACTER* CArena::GetPlayerB()':
    arena.h:60: error: 'm_dwPIDB' was not declared in this scope
    arena.h: At global scope:
    arena.h:81: error: 'DWORD' does not name a type
    arena.h:87: error: 'DWORD' has not been declared
    arena.h:87: error: 'WORD' has not been declared
    arena.h:87: error: 'WORD' has not been declared
    arena.h:87: error: 'WORD' has not been declared
    arena.h:87: error: 'WORD' has not been declared
    arena.h:88: error: 'DWORD' has not been declared
    arena.h:92: error: 'DWORD' has not been declared
    arena.h:94: error: 'lua_State' has not been declared
    arena.h:99: error: 'WORD' has not been declared
    arena.h:99: error: 'WORD' has not been declared
    arena.h:100: error: 'DWORD' has not been declared
    arena.h:100: error: 'WORD' has not been declared
    arena.h:100: error: 'WORD' has not been declared
    arena.h:102: error: 'DWORD' has not been declared
    arena.h:108: error: 'DWORD' was not declared in this scope
    arena.h:108: error: template argument 1 is invalid
    arena.h:108: error: template argument 3 is invalid
    arena.h:108: error: template argument 4 is invalid
    arena.h:116: error: 'DWORD' has not been declared
    arena.h:116: error: 'WORD' has not been declared
    arena.h:116: error: 'WORD' has not been declared
    arena.h:116: error: 'WORD' has not been declared
    arena.h:116: error: 'WORD' has not been declared
    arena.h:121: error: 'DWORD' has not been declared
    arena.h:123: error: 'lua_State' has not been declared
    arena.h:129: error: 'DWORD' has not been declared
    arena.h:129: error: 'WORD' has not been declared
    arena.h:129: error: 'WORD' has not been declared
    arena.h:130: error: 'DWORD' has not been declared
    arena.h:130: error: 'WORD' has not been declared
    arena.h:130: error: 'WORD' has not been declared
    arena.h:132: error: 'DWORD' has not been declared
    arena.h:133: error: 'DWORD' has not been declared
    arena.h:133: error: 'DWORD' has not been declared
    arena.h:135: error: 'DWORD' has not been declared
    In file included from char_battle.cpp:24:
    regen.h:19: error: 'BYTE' does not name a type
    regen.h:21: error: 'BYTE' does not name a type
    regen.h:23: error: 'DWORD' does not name a type
    regen.h: In constructor 'regen::regen()':
    regen.h:40: error: class 'regen' does not have any field named 'z_section'
    regen.h:41: error: class 'regen' does not have any field named 'direction'
    regen.h:42: error: class 'regen' does not have any field named 'time'
    regen.h: At global scope:
    regen.h:69: error: 'BYTE' does not name a type
    In file included from char_battle.cpp:25:
    monarch.h:14: error: 'DWORD' has not been declared
    monarch.h:17: error: 'DWORD' has not been declared
    monarch.h:17: error: 'BYTE' has not been declared
    monarch.h:18: error: 'BYTE' has not been declared
    monarch.h:19: error: 'BYTE' has not been declared
    monarch.h:20: error: 'BYTE' has not been declared
    monarch.h:22: error: 'BYTE' has not been declared
    monarch.h:23: error: 'BYTE' has not been declared
    monarch.h:24: error: 'BYTE' has not been declared
    monarch.h:28: error: 'DWORD' does not name a type
    monarch.h:30: error: 'BYTE' has not been declared
    monarch.h:31: error: 'BYTE' has not been declared
    monarch.h:33: error: 'BYTE' has not been declared
    monarch.h:38: error: 'BYTE' has not been declared
    monarch.h:39: error: 'BYTE' has not been declared
    monarch.h:41: error: 'BYTE' has not been declared
    monarch.h:46: error: 'BYTE' has not been declared
    monarch.h:47: error: 'BYTE' has not been declared
    monarch.h: In member function 'int CMonarch::GetPowerUpCT(int)':
    monarch.h:35: error: '_countof' was not declared in this scope
    monarch.h: In member function 'int CMonarch::GetDefenseUpCT(int)':
    monarch.h:43: error: '_countof' was not declared in this scope
    In file included from char_battle.cpp:26:
    exchange.h: At global scope:
    exchange.h:22: error: 'BYTE' has not been declared
    exchange.h:23: error: 'BYTE' has not been declared
    exchange.h:44: error: 'BYTE' does not name a type
    In file included from char_battle.cpp:27:
    shop_manager.h:10: error: 'DWORD' was not declared in this scope
    shop_manager.h:10: error: template argument 1 is invalid
    shop_manager.h:10: error: template argument 3 is invalid
    shop_manager.h:10: error: template argument 4 is invalid
    shop_manager.h:19: error: 'DWORD' has not been declared
    shop_manager.h:20: error: 'DWORD' has not been declared
    shop_manager.h:25: error: 'BYTE' has not been declared
    shop_manager.h:26: error: 'BYTE' has not been declared
    shop_manager.h:28: error: 'BYTE' has not been declared
    shop_manager.h:29: error: 'DWORD' has not been declared
    In file included from char_battle.cpp:28:
    castle.h:39: error: 'DWORD' does not name a type
    castle.h:58: error: 'DWORD' has not been declared
    castle.h:68: error: 'DWORD' was not declared in this scope
    castle.h:69: error: 'DWORD' was not declared in this scope
    castle.h:74: error: 'DWORD' was not declared in this scope
    In file included from char_battle.cpp:30:
    ani.h:13: error: 'DWORD' does not name a type
    ani.h:15: error: 'DWORD' does not name a type
    In file included from char_battle.cpp:33:
    party.h:41: error: 'DWORD' was not declared in this scope
    party.h:41: error: template argument 1 is invalid
    party.h:41: error: template argument 3 is invalid
    party.h:41: error: template argument 4 is invalid
    party.h:61: error: 'DWORD' has not been declared
    party.h:63: error: 'DWORD' has not been declared
    party.h:64: error: 'DWORD' has not been declared
    party.h:66: error: 'DWORD' has not been declared
    party.h:67: error: 'DWORD' has not been declared
    party.h:68: error: 'DWORD' has not been declared
    party.h:68: error: 'DWORD' has not been declared
    party.h:68: error: 'BYTE' has not been declared
    party.h:69: error: 'DWORD' has not been declared
    party.h: In member function 'void CPartyManager::EnablePCParty()':
    party.h:52: error: 'sys_log' was not declared in this scope
    party.h: In member function 'void CPartyManager::DisablePCParty()':
    party.h:53: error: 'sys_log' was not declared in this scope
    party.h: At global scope:
    party.h:95: error: 'BYTE' does not name a type
    party.h:96: error: 'BYTE' does not name a type
    party.h:100: error: 'DWORD' was not declared in this scope
    party.h:100: error: template argument 1 is invalid
    party.h:100: error: template argument 3 is invalid
    party.h:100: error: template argument 4 is invalid
    party.h:108: error: 'DWORD' has not been declared
    party.h:109: error: 'DWORD' has not been declared
    party.h:110: error: 'DWORD' has not been declared
    party.h:111: error: 'DWORD' has not been declared
    party.h:115: error: 'BYTE' has not been declared
    party.h:117: error: 'DWORD' has not been declared
    party.h:118: error: 'DWORD' has not been declared
    party.h:120: error: 'DWORD' does not name a type
    party.h:124: error: 'DWORD' does not name a type
    party.h:125: error: 'DWORD' does not name a type
    party.h:127: error: 'DWORD' has not been declared
    party.h:129: error: 'DWORD' has not been declared
    party.h:133: error: 'BYTE' has not been declared
    party.h:133: error: 'DWORD' has not been declared
    party.h:133: error: 'DWORD' has not been declared
    party.h:135: error: 'DWORD' has not been declared
    party.h:137: error: 'DWORD' has not been declared
    party.h:139: error: 'DWORD' has not been declared
    party.h:166: error: 'DWORD' has not been declared
    party.h:166: error: 'BYTE' has not been declared
    party.h:167: error: 'BYTE' does not name a type
    party.h:168: error: 'DWORD' has not been declared
    party.h:168: error: 'BYTE' has not been declared
    party.h:170: error: 'BYTE' does not name a type
    party.h:171: error: 'BYTE' does not name a type
    party.h:173: error: 'BYTE' has not been declared
    party.h:176: error: 'DWORD' has not been declared
    party.h:188: error: 'BYTE' does not name a type
    party.h:193: error: 'DWORD' has not been declared
    party.h:196: error: 'DWORD' has not been declared
    party.h:196: error: 'BYTE' has not been declared
    party.h:197: error: 'DWORD' has not been declared
    party.h:197: error: 'BYTE' has not been declared
    party.h:209: error: 'DWORD' has not been declared
    party.h:215: error: 'DWORD' does not name a type
    party.h:220: error: invalid use of '::'
    party.h:220: error: expected ';' before 'm_itNextOwner'
    party.h:226: error: 'DWORD' does not name a type
    party.h:228: error: 'DWORD' does not name a type
    party.h: In member function 'bool CParty::IsMember(int)':
    party.h:127: error: request for member 'find' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h:127: error: request for member 'end' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h: In member function 'void CParty::ForEachMember(Func&)':
    party.h:262: error: expected initializer before 'it'
    party.h:264: error: 'it' was not declared in this scope
    party.h:264: error: request for member 'begin' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h:264: error: request for member 'end' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h: In member function 'void CParty::ForEachMemberPtr(Func&)':
    party.h:270: error: expected initializer before 'it'
    party.h:272: error: 'it' was not declared in this scope
    party.h:272: error: request for member 'begin' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h:272: error: request for member 'end' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h: In member function 'void CParty::ForEachOnlineMember(Func&)':
    party.h:278: error: expected initializer before 'it'
    party.h:280: error: 'it' was not declared in this scope
    party.h:280: error: request for member 'begin' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h:280: error: request for member 'end' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h: In member function 'void CParty::ForEachNearMember(Func&)':
    party.h:287: error: expected initializer before 'it'
    party.h:289: error: 'it' was not declared in this scope
    party.h:289: error: request for member 'begin' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h:289: error: request for member 'end' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h: In member function 'void CParty::ForEachOnMapMember(Func&, long int)':
    party.h:296: error: expected initializer before 'it'
    party.h:298: error: 'it' was not declared in this scope
    party.h:298: error: request for member 'begin' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h:298: error: request for member 'end' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h: In member function 'bool CParty::ForEachOnMapMemberBool(Func&, long int)':
    party.h:311: error: expected initializer before 'it'
    party.h:313: error: 'it' was not declared in this scope
    party.h:313: error: request for member 'begin' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    party.h:313: error: request for member 'end' in '((CParty*)this)->CParty::m_memberMap', which is of non-class type 'int'
    In file included from char_battle.cpp:35:
    guild.h: At global scope:
    guild.h:26: error: 'DWORD' does not name a type
    guild.h:32: error: 'DWORD' does not name a type
    guild.h:33: error: 'BYTE' does not name a type
    guild.h:34: error: 'BYTE' does not name a type
    guild.h:35: error: 'BYTE' does not name a type
    guild.h:36: error: 'BYTE' does not name a type
    guild.h:37: error: 'DWORD' does not name a type
    guild.h:38: error: 'BYTE' does not name a type
    guild.h:42: error: 'BYTE' has not been declared
    guild.h:42: error: 'DWORD' has not been declared
    guild.h:43: error: expected `)' before 'pid'
    guild.h:50: error: 'DWORD' does not name a type
    guild.h:51: error: 'BYTE' does not name a type
    guild.h:52: error: 'BYTE' does not name a type
    guild.h:53: error: 'BYTE' does not name a type
    guild.h:54: error: 'BYTE' does not name a type
    guild.h:55: error: 'DWORD' does not name a type
    guild.h:56: error: 'BYTE' does not name a type
    guild.h:62: error: 'WORD' does not name a type
    guild.h:63: error: 'WORD' does not name a type
    guild.h:64: error: 'DWORD' does not name a type
    guild.h:65: error: 'DWORD' does not name a type
    guild.h:66: error: 'DWORD' does not name a type
    guild.h:67: error: 'BYTE' does not name a type
    guild.h:70: error: 'BYTE' does not name a type
    guild.h:76: error: 'BYTE' does not name a type
    guild.h:81: error: 'BYTE' does not name a type
    guild.h:87: error: 'BYTE' does not name a type
    guild.h:88: error: 'BYTE' does not name a type
    guild.h:102: error: 'DWORD' does not name a type
    guild.h:103: error: 'DWORD' does not name a type
    guild.h:104: error: 'DWORD' does not name a type
    guild.h:105: error: 'BYTE' does not name a type
    guild.h:110: error: 'BYTE' does not name a type
    guild.h:111: error: 'BYTE' does not name a type
    guild.h:133: error: 'DWORD' does not name a type
    guild.h:134: error: 'DWORD' does not name a type
    guild.h:135: error: 'DWORD' does not name a type
    guild.h:136: error: 'BYTE' does not name a type
    guild.h:137: error: 'DWORD' does not name a type
    guild.h:139: error: expected `)' before 'type'
    guild.h: In member function 'bool SGuildWar::IsWarBegin() const':
    guild.h:149: error: 'state' was not declared in this scope
    guild.h: At global scope:
    guild.h:157: error: expected `)' before 'guild_id'
    guild.h:160: error: 'DWORD' does not name a type
    guild.h:164: error: 'DWORD' does not name a type
    guild.h:166: error: 'BYTE' does not name a type
    guild.h:170: error: 'DWORD' has not been declared
    guild.h:176: error: 'DWORD' has not been declared
    guild.h:177: error: 'DWORD' has not been declared
    guild.h:180: error: 'DWORD' has not been declared
    guild.h:183: error: 'DWORD' has not been declared
    guild.h:185: error: 'DWORD' has not been declared
    guild.h:185: error: 'BYTE' has not been declared
    guild.h:187: error: 'DWORD' has not been declared
    guild.h:187: error: 'BYTE' has not been declared
    guild.h:188: error: 'DWORD' has not been declared
    guild.h:188: error: 'DWORD' has not been declared
    guild.h:188: error: 'BYTE' has not been declared
    guild.h:188: error: 'BYTE' has not been declared
    guild.h:190: error: 'BYTE' has not been declared
    guild.h:191: error: 'BYTE' has not been declared
    guild.h:191: error: 'BYTE' has not been declared
    guild.h:192: error: 'BYTE' has not been declared
    guild.h:194: error: 'DWORD' has not been declared
    guild.h:194: error: 'BYTE' has not been declared
    guild.h:196: error: 'DWORD' has not been declared
    guild.h:200: error: 'DWORD' has not been declared
    guild.h:203: error: 'DWORD' has not been declared
    guild.h:207: error: 'DWORD' has not been declared
    guild.h:208: error: 'DWORD' has not been declared
    guild.h:212: error: 'DWORD' has not been declared
    guild.h:215: error: 'DWORD' has not been declared
    guild.h:229: error: expected ';' before '(' token
    guild.h:230: error: 'DWORD' does not name a type
    guild.h:235: error: 'DWORD' has not been declared
    guild.h:238: error: 'DWORD' has not been declared
    guild.h:240: error: 'DWORD' has not been declared
    guild.h:241: error: 'DWORD' has not been declared
    guild.h:242: error: 'DWORD' has not been declared
    guild.h:242: error: 'DWORD' has not been declared
    guild.h:247: error: 'BYTE' has not been declared
    guild.h:252: error: 'BYTE' has not been declared
    guild.h:252: error: 'BYTE' has not been declared
    guild.h:261: error: 'DWORD' has not been declared
    guild.h:274: error: 'DWORD' has not been declared
    guild.h:274: error: 'BYTE' has not been declared
    guild.h:274: error: 'BYTE' has not been declared
    guild.h:277: error: 'DWORD' has not been declared
    guild.h:278: error: 'BYTE' has not been declared
    guild.h:279: error: 'DWORD' does not name a type
    guild.h:280: error: 'DWORD' has not been declared
    guild.h:281: error: 'DWORD' does not name a type
    guild.h:284: error: 'DWORD' has not been declared
    guild.h:285: error: 'DWORD' has not been declared
    guild.h:286: error: 'DWORD' does not name a type
    guild.h:289: error: 'DWORD' has not been declared
    guild.h:290: error: 'DWORD' has not been declared
    guild.h:294: error: 'DWORD' has not been declared
    guild.h:294: error: 'BYTE' has not been declared
    guild.h:295: error: 'DWORD' has not been declared
    guild.h:297: error: 'DWORD' has not been declared
    guild.h:297: error: 'BYTE' has not been declared
    guild.h:297: error: 'BYTE' has not been declared
    guild.h:298: error: 'DWORD' has not been declared
    guild.h:299: error: 'DWORD' has not been declared
    guild.h:300: error: 'DWORD' has not been declared
    guild.h:301: error: 'DWORD' has not been declared
    guild.h:302: error: 'DWORD' has not been declared
    guild.h:303: error: 'DWORD' has not been declared
    guild.h:303: error: 'BYTE' has not been declared
    guild.h:306: error: 'DWORD' has not been declared
    guild.h:307: error: 'DWORD' has not been declared
    guild.h:344: error: 'DWORD' has not been declared
    guild.h:357: error: 'DWORD' was not declared in this scope
    guild.h:357: error: template argument 1 is invalid
    guild.h:357: error: template argument 3 is invalid
    guild.h:357: error: template argument 4 is invalid
    guild.h:363: error: 'DWORD' was not declared in this scope
    guild.h:363: error: template argument 1 is invalid
    guild.h:363: error: template argument 2 is invalid
    guild.h:363: error: template argument 3 is invalid
    guild.h:372: error: 'DWORD' was not declared in this scope
    guild.h:372: error: template argument 1 is invalid
    guild.h:372: error: template argument 3 is invalid
    guild.h:372: error: template argument 4 is invalid
    guild.h:375: error: 'DWORD' was not declared in this scope
    guild.h:375: error: 'DWORD' was not declared in this scope
    guild.h:375: error: template argument 1 is invalid
    guild.h:375: error: template argument 2 is invalid
    guild.h:375: error: template argument 3 is invalid
    guild.h:375: error: template argument 4 is invalid
    guild.h:399: error: 'DWORD' was not declared in this scope
    guild.h:399: error: template argument 1 is invalid
    guild.h:399: error: template argument 3 is invalid
    guild.h:399: error: template argument 4 is invalid
    guild.h: In member function 'int CGuild::GetMemberCount()':
    guild.h:218: error: request for member 'size' in '((CGuild*)this)->CGuild::m_member', which is of non-class type 'int'
    guild.h: In member function 'bool CGuild::HasGradeAuth(int, int) const':
    guild.h:232: error: 'const struct TGuildGrade' has no member named 'auth_flag'
    In file included from char_battle.cpp:36:
    guild_manager.h: At global scope:
    guild_manager.h:13: error: 'DWORD' was not declared in this scope
    guild_manager.h:13: error: 'DWORD' was not declared in this scope
    guild_manager.h:13: error: template argument 1 is invalid
    guild_manager.h:13: error: template argument 2 is invalid
    guild_manager.h:13: error: template argument 2 is invalid
    guild_manager.h:13: error: template argument 4 is invalid
    guild_manager.h:22: error: 'DWORD' does not name a type
    guild_manager.h:23: error: expected ';' before '(' token
    guild_manager.h:25: error: 'DWORD' has not been declared
    guild_manager.h:26: error: expected ';' before '(' token
    guild_manager.h:27: error: 'DWORD' has not been declared
    guild_manager.h:31: error: 'DWORD' has not been declared
    guild_manager.h:32: error: 'DWORD' has not been declared
    guild_manager.h:33: error: expected ';' before '(' token
    guild_manager.h:36: error: 'DWORD' has not been declared
    guild_manager.h:37: error: 'DWORD' has not been declared
    guild_manager.h:44: error: 'DWORD' has not been declared
    guild_manager.h:44: error: 'DWORD' has not been declared
    guild_manager.h:45: error: 'DWORD' has not been declared
    guild_manager.h:45: error: 'DWORD' has not been declared
    guild_manager.h:46: error: 'DWORD' has not been declared
    guild_manager.h:46: error: 'DWORD' has not been declared
    guild_manager.h:46: error: 'DWORD' has not been declared
    guild_manager.h:48: error: 'DWORD' has not been declared
    guild_manager.h:48: error: 'DWORD' has not been declared
    guild_manager.h:48: error: 'BYTE' has not been declared
    guild_manager.h:49: error: 'DWORD' has not been declared
    guild_manager.h:49: error: 'DWORD' has not been declared
    guild_manager.h:50: error: 'DWORD' has not been declared
    guild_manager.h:50: error: 'DWORD' has not been declared
    guild_manager.h:51: error: 'DWORD' has not been declared
    guild_manager.h:51: error: 'DWORD' has not been declared
    guild_manager.h:52: error: 'DWORD' has not been declared
    guild_manager.h:52: error: 'DWORD' has not been declared
    guild_manager.h:53: error: 'DWORD' has not been declared
    guild_manager.h:53: error: 'DWORD' has not been declared
    guild_manager.h:54: error: 'DWORD' has not been declared
    guild_manager.h:54: error: 'DWORD' has not been declared
    guild_manager.h:55: error: 'DWORD' has not been declared
    guild_manager.h:55: error: 'DWORD' has not been declared
    guild_manager.h:55: error: 'BYTE' has not been declared
    guild_manager.h:58: error: 'DWORD' has not been declared
    guild_manager.h:61: error: 'DWORD' has not been declared
    guild_manager.h:70: error: 'DWORD' has not been declared
    guild_manager.h:71: error: 'DWORD' has not been declared
    guild_manager.h:78: error: 'DWORD' has not been declared
    guild_manager.h:81: error: 'DWORD' was not declared in this scope
    guild_manager.h:81: error: template argument 1 is invalid
    guild_manager.h:81: error: template argument 3 is invalid
    guild_manager.h:81: error: template argument 4 is invalid
    guild_manager.h:84: error: 'DWORD' was not declared in this scope
    guild_manager.h:84: error: 'DWORD' was not declared in this scope
    guild_manager.h:84: error: template argument 1 is invalid
    guild_manager.h:84: error: template argument 2 is invalid
    guild_manager.h:84: error: template argument 1 is invalid
    guild_manager.h:84: error: template argument 2 is invalid
    guild_manager.h:84: error: template argument 3 is invalid
    guild_manager.h:87: error: 'DWORD' was not declared in this scope
    guild_manager.h:87: error: 'DWORD' was not declared in this scope
    guild_manager.h:87: error: template argument 1 is invalid
    guild_manager.h:87: error: template argument 2 is invalid
    guild_manager.h:87: error: 'DWORD' was not declared in this scope
    guild_manager.h:87: error: template argument 1 is invalid
    guild_manager.h:87: error: template argument 2 is invalid
    guild_manager.h:87: error: template argument 3 is invalid
    guild_manager.h:87: error: template argument 4 is invalid
    guild_manager.h:92: error: 'DWORD' was not declared in this scope
    guild_manager.h:92: error: template argument 1 is invalid
    guild_manager.h:92: error: template argument 3 is invalid
    guild_manager.h:92: error: template argument 4 is invalid
    guild_manager.h: In member function 'void CGuildManager::for_each_war(Func&)':
    guild_manager.h:100: error: request for member 'begin' in '((CGuildManager*)this)->CGuildManager::m_GuildWar', which is of non-class type 'int'
    guild_manager.h:100: error: invalid type in declaration before '=' token
    guild_manager.h:100: error: request for member 'begin' in '((CGuildManager*)this)->CGuildManager::m_GuildWar', which is of non-class type 'int'
    guild_manager.h:100: error: request for member 'end' in '((CGuildManager*)this)->CGuildManager::m_GuildWar', which is of non-class type 'int'
    guild_manager.h:102: error: base operand of '->' is not a pointer
    guild_manager.h:102: error: base operand of '->' is not a pointer
    guild_manager.h: At global scope:
    guild_manager.h:106: warning: 'SendGuildWarScore' initialized and declared 'extern'
    guild_manager.h:106: error: variable or field 'SendGuildWarScore' declared void
    guild_manager.h:106: error: 'DWORD' was not declared in this scope
    guild_manager.h:106: error: 'DWORD' was not declared in this scope
    guild_manager.h:106: error: expected primary-expression before 'int'
    guild_manager.h:106: error: expected primary-expression before 'int'
    In file included from questpc.h:4,
                     from questnpc.h:4,
                     from questmanager.h:6,
                     from char_battle.cpp:37:
    quest.h:120: error: ISO C++ forbids declaration of 'lua_State' with no type
    quest.h:120: error: expected ';' before '*' token
    quest.h:123: error: 'BYTE' does not name a type
    quest.h: In constructor 'quest::QuestState::QuestState()':
    quest.h:138: error: class 'quest::QuestState' does not have any field named 'co'
    quest.h:138: error: class 'quest::QuestState' does not have any field named 'suspend_state'
    In file included from questnpc.h:4,
                     from questmanager.h:6,
                     from char_battle.cpp:37:
    questpc.h: At global scope:
    questpc.h:21: error: 'DWORD' does not name a type
    questpc.h:24: error: 'DWORD' has not been declared
    questpc.h: In constructor 'quest::RewardData::RewardData(quest::RewardData::RewardType, int, int)':
    questpc.h:26: error: class 'quest::RewardData' does not have any field named 'value1'
    questpc.h: At global scope:
    questpc.h:53: error: 'DWORD' has not been declared
    questpc.h:54: error: 'DWORD' does not name a type
    questpc.h:61: error: 'DWORD' has not been declared
    questpc.h:83: error: 'DWORD' does not name a type
    questpc.h:87: error: expected `)' before '_quest_idx'
    questpc.h:131: error: 'DWORD' has not been declared
    questpc.h:132: error: 'DWORD' has not been declared
    questpc.h:141: error: 'DWORD' has not been declared
    questpc.h:144: error: 'DWORD' has not been declared
    questpc.h:163: error: 'DWORD' does not name a type
    questpc.h:183: error: 'DWORD' does not name a type
    questpc.h: In member function 'void quest::PC::SetConfirmWait(int)':
    questpc.h:141: error: 'm_dwWaitConfirmFromPID' was not declared in this scope
    questpc.h: In member function 'bool quest::PC::IsConfirmWait(int) const':
    questpc.h:144: error: 'm_dwWaitConfirmFromPID' was not declared in this scope
    questpc.h: At global scope:
    questpc.h:197: error: 'quest::PC::quest_find' declared as an 'inline' variable
    questpc.h:197: error: 'std::_Rb_tree_iterator<std::pair<const unsigned int, quest::QuestState> > quest::PC::quest_find' is not a static member of 'class quest::PC'
    questpc.h:197: error: 'DWORD' was not declared in this scope
    questpc.h:198: error: expected ',' or ';' before '{' token
    In file included from questmanager.h:6,
                     from char_battle.cpp:37:
    questnpc.h:73: error: 'DWORD' has not been declared
    questnpc.h:74: error: 'DWORD' has not been declared
    questnpc.h:75: error: 'DWORD' has not been declared
    questnpc.h:81: error: 'DWORD' has not been declared
    questnpc.h:94: error: 'DWORD' has not been declared
    questnpc.h: In member function 'void quest::NPC::MatchingQuest(quest::PC&, TQuestMapType&, FuncMatch&, FuncMiss&)':
    questnpc.h:117: error: there are no arguments to 'sys_log' that depend on a template parameter, so a declaration of 'sys_log' must be available
    In file included from char_battle.cpp:37:
    questmanager.h: At global scope:
    questmanager.h:43: error: ISO C++ forbids declaration of 'lua_State' with no type
    questmanager.h:43: error: expected ';' before '*' token
    questmanager.h:44: error: expected `;' before 'void'
    questmanager.h:44: error: 'luaL_reg' has not been declared
    questmanager.h:66: error: 'DWORD' has not been declared
    questmanager.h:71: error: 'DWORD' has not been declared
    questmanager.h:72: error: 'DWORD' has not been declared
    questmanager.h:73: error: 'DWORD' has not been declared
    questmanager.h:74: error: 'DWORD' has not been declared
    questmanager.h:76: error: 'DWORD' has not been declared
    questmanager.h:77: error: 'DWORD' does not name a type
    questmanager.h:97: error: 'DWORD' has not been declared
    questmanager.h:104: error: 'DWORD' has not been declared
    questmanager.h:104: error: 'DWORD' has not been declared
    questmanager.h:105: error: 'DWORD' has not been declared
    questmanager.h:105: error: 'DWORD' has not been declared
    questmanager.h:107: error: 'DWORD' has not been declared
    questmanager.h:108: error: 'DWORD' has not been declared
    questmanager.h:108: error: 'DWORD' has not been declared
    questmanager.h:184: error: 'DWORD' has not been declared
    questmanager.h:188: error: 'DWORD' does not name a type
    questmanager.h:190: error: 'DWORD' was not declared in this scope
    questmanager.h:190: error: template argument 2 is invalid
    questmanager.h:190: error: template argument 1 is invalid
    questmanager.h:190: error: template argument 3 is invalid
    questmanager.h:190: error: template argument 4 is invalid
    questmanager.h:203: error: ISO C++ forbids declaration of 'lua_State' with no type
    questmanager.h:203: error: expected ';' before '*' token
    gmake: *** [Makefile:129: OBJDIR/char.o] Error 1
    questmanager.h:255: error: 'DWORD' has not been declared
    questmanager.h:260: error: 'DWORD' has not been declared
    questmanager.h:266: error: 'DWORD' was not declared in this scope
    questmanager.h:266: error: template argument 1 is invalid
    questmanager.h:266: error: template argument 2 is invalid
    In file included from questlua.h:5,
                     from char_battle.cpp:38:
    buffer_manager.h:15: error: 'LPBUFFER' does not name a type
    buffer_manager.h:18: error: 'LPBUFFER' does not name a type
    In file included from char_battle.cpp:38:
    questlua.h:27: warning: 'RegisterGlobalFunctionTable' initialized and declared 'extern'
    questlua.h:27: error: variable or field 'RegisterGlobalFunctionTable' declared void
    questlua.h:27: error: 'lua_State' was not declared in this scope
    questlua.h:27: error: 'L' was not declared in this scope
    questlua.h:38: warning: 'combine_lua_string' initialized and declared 'extern'
    questlua.h:38: error: variable or field 'combine_lua_string' declared void
    questlua.h:38: error: 'lua_State' was not declared in this scope
    questlua.h:38: error: 'L' was not declared in this scope
    questlua.h:38: error: expected primary-expression before '&' token
    questlua.h:38: error: 's' was not declared in this scope
    questlua.h:92: error: 'BYTE' does not name a type
    questlua.h:99: error: 'BYTE' does not name a type
    questlua.h:109: error: 'BYTE' does not name a type
    questlua.h: In constructor 'quest::warp_all_to_map_my_empire_event_info::warp_all_to_map_my_empire_event_info()':
    questlua.h:116: error: class 'quest::warp_all_to_map_my_empire_event_info' does not have any field named 'm_bEmpire'
    questlua.h: At global scope:
    questlua.h:129: error: ISO C++ forbids declaration of 'lua_State' with no type
    questlua.h:129: error: expected ';' before '*' token
    questlua.h:132: error: expected `)' before '*' token
    questlua.h:133: error: 'DWORD' has not been declared
    questlua.h:133: error: 'DWORD' has not been declared
    In file included from char_battle.cpp:39:
    threeway_war.h:33: error: 'BYTE' has not been declared
    threeway_war.h:34: error: 'BYTE' has not been declared
    threeway_war.h:36: error: 'DWORD' has not been declared
    threeway_war.h:37: error: 'DWORD' has not been declared
    threeway_war.h:38: error: 'DWORD' has not been declared
    threeway_war.h:48: error: 'DWORD' has not been declared
    threeway_war.h:49: error: 'DWORD' has not been declared
    threeway_war.h:66: error: 'DWORD' was not declared in this scope
    threeway_war.h:66: error: 'DWORD' was not declared in this scope
    threeway_war.h:66: error: template argument 1 is invalid
    threeway_war.h:66: error: template argument 2 is invalid
    threeway_war.h:66: error: template argument 3 is invalid
    threeway_war.h:66: error: template argument 4 is invalid
    threeway_war.h:66: error: template argument 5 is invalid
    threeway_war.h:67: error: 'DWORD' was not declared in this scope
    threeway_war.h:67: error: template argument 1 is invalid
    threeway_war.h:67: error: template argument 3 is invalid
    threeway_war.h:67: error: template argument 4 is invalid
    threeway_war.h:67: error: template argument 5 is invalid
    threeway_war.h:71: error: 'BYTE' was not declared in this scope
    threeway_war.h:72: error: 'BYTE' was not declared in this scope
    threeway_war.h:75: error: 'BYTE' was not declared in this scope
    threeway_war.h:76: error: 'BYTE' was not declared in this scope
    threeway_war.h:77: error: 'BYTE' was not declared in this scope
    threeway_war.h:78: error: 'BYTE' was not declared in this scope
    In file included from char_battle.cpp:41:
    DragonLair.h:9: error: expected `)' before 'dwGuildID'
    DragonLair.h:12: error: 'DWORD' does not name a type
    DragonLair.h:17: error: 'DWORD' does not name a type
    DragonLair.h:18: error: 'DWORD' does not name a type
    DragonLair.h:29: error: 'DWORD' has not been declared
    DragonLair.h:30: error: 'DWORD' has not been declared
    DragonLair.h:35: error: 'DWORD' was not declared in this scope
    DragonLair.h:35: error: template argument 1 is invalid
    DragonLair.h:35: error: template argument 3 is invalid
    DragonLair.h:35: error: template argument 4 is invalid
    DragonLair.h:35: error: template argument 5 is invalid
    DragonLair.h: In member function 'size_t CDragonLairManager::GetLairCount() const':
    DragonLair.h:32: error: request for member 'size' in '((const CDragonLairManager*)this)->CDragonLairManager::LairMap_', which is of non-class type 'const int'
    In file included from char_battle.cpp:42:
    PetSystem.h: At global scope:
    PetSystem.h:29: error: 'DWORD' has not been declared
    PetSystem.h:29: error: 'DWORD' has not been declared
    PetSystem.h:34: error: 'DWORD' has not been declared
    PetSystem.h:49: error: 'DWORD' does not name a type
    PetSystem.h:50: error: 'DWORD' does not name a type
    PetSystem.h:59: error: 'DWORD' does not name a type
    PetSystem.h:64: error: 'DWORD' does not name a type
    PetSystem.h:76: error: 'DWORD' does not name a type
    PetSystem.h:77: error: 'DWORD' does not name a type
    PetSystem.h:78: error: 'DWORD' does not name a type
    PetSystem.h:79: error: 'DWORD' does not name a type
    PetSystem.h:80: error: 'DWORD' does not name a type
    PetSystem.h:81: error: 'DWORD' does not name a type
    PetSystem.h: In member function 'bool CPetActor::HasOption(CPetActor::EPetOptions) const':
    PetSystem.h:52: error: 'm_dwOptions' was not declared in this scope
    PetSystem.h: At global scope:
    PetSystem.h:98: error: 'DWORD' was not declared in this scope
    PetSystem.h:98: error: template argument 1 is invalid
    PetSystem.h:98: error: template argument 3 is invalid
    PetSystem.h:98: error: template argument 4 is invalid
    PetSystem.h:98: error: template argument 5 is invalid
    PetSystem.h:104: error: expected ';' before '(' token
    PetSystem.h:105: error: expected ';' before '(' token
    PetSystem.h:107: error: 'DWORD' has not been declared
    PetSystem.h:113: error: 'DWORD' has not been declared
    PetSystem.h:115: error: expected ';' before '(' token
    PetSystem.h:117: error: 'DWORD' has not been declared
    PetSystem.h:121: error: expected ';' before '(' token
    PetSystem.h:123: error: 'DWORD' has not been declared
    PetSystem.h:131: error: 'DWORD' does not name a type
    PetSystem.h:132: error: 'DWORD' does not name a type
    char_battle.cpp:44: error: 'DWORD' does not name a type
    char_battle.cpp:90: error: variable or field 'CreateFly' declared void
    char_battle.cpp:90: error: 'BYTE' was not declared in this scope
    char_battle.cpp:90: error: expected primary-expression before 'pkVictim'
    char_battle.cpp: In member function 'void CHARACTER::DistributeSP(CHARACTER*, int)':
    char_battle.cpp:107: error: 'get_dword_time' was not declared in this scope
    char_battle.cpp:107: error: 'GetLastAttackTime' was not declared in this scope
    char_battle.cpp:108: error: 'GetLastMoveTime' was not declared in this scope
    char_battle.cpp:112: error: 'number' was not declared in this scope
    char_battle.cpp:143: error: 'class CHARACTER' has no member named 'GetJob'
    char_battle.cpp:143: error: 'class CHARACTER' has no member named 'GetJob'
    char_battle.cpp:143: error: 'class CHARACTER' has no member named 'GetSkillGroup'
    char_battle.cpp: At global scope:
    char_battle.cpp:181: error: 'BYTE' has not been declared
    char_battle.cpp: In member function 'bool CHARACTER::Attack(CHARACTER*, int)':
    char_battle.cpp:184: error: 'GetMobBattleType' was not declared in this scope
    char_battle.cpp:184: error: 'GetMobAttackRange' was not declared in this scope
    char_battle.cpp:184: error: 'sys_log' was not declared in this scope
    char_battle.cpp:197: error: 'DWORD' was not declared in this scope
    char_battle.cpp:197: error: expected `;' before 'dwCurrentTime'
    char_battle.cpp:201: error: 'dwCurrentTime' was not declared in this scope
    char_battle.cpp:204: error: 'dwCurrentTime' was not declared in this scope
    char_battle.cpp:204: error: 'GetSkipComboAttackByTime' was not declared in this scope
    char_battle.cpp:224: error: 'GetMobBattleType' was not declared in this scope
    char_battle.cpp:235: error: no matching function for call to 'CHARACTER::FlyTarget(const VID&, long int, long int, <anonymous enum>)'
    char.h:1377: note: candidates are: void CHARACTER::FlyTarget(int, long int, long int, int)
    char_battle.cpp:240: error: no matching function for call to 'CHARACTER::FlyTarget(const VID&, long int, long int, <anonymous enum>)'
    char.h:1377: note: candidates are: void CHARACTER::FlyTarget(int, long int, long int, int)
    char_battle.cpp:245: error: 'sys_err' was not declared in this scope
    char_battle.cpp:254: error: 'dwCurrentTime' was not declared in this scope
    char_battle.cpp:254: error: 'm_dwLastSkillTime' was not declared in this scope
    char_battle.cpp:257: error: 'GetPlayerID' was not declared in this scope
    char_battle.cpp:257: error: 'sys_log' was not declared in this scope
    char_battle.cpp:262: error: 'sys_log' was not declared in this scope
    char_battle.cpp: At global scope:
    char_battle.cpp:283: error: variable or field 'DeathPenalty' declared void
    char_battle.cpp:283: error: 'BYTE' was not declared in this scope
    gmake: *** [Makefile:129: OBJDIR/char_battle.o] Error 1
    root@Metin2_Source:/usr/src/game/src # wedding.h

     

  6. Hello,
    I am facing a problem on VPS, well when I try to install Mysql56 it pops up an error and I don't know what is wrong.

    FreeBSD 12

    He suggests a tutorial and did step by step until I stood on it.

     

    1.

    ntpdate -s time.nist.gov

    2.

    portsnap fetch extract
    
    portsnap fetch update

    3.

    pkg install mysql56-server

    error:

    
    root@vps38992:~ # pkg install mysql56-server
    Updating FreeBSD repository catalogue...
    Fetching meta.txz: 100%    916 B   0.9kB/s    00:01
    pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
    repository FreeBSD has no meta file, using default settings
    Fetching packagesite.txz: 100%    7 MiB   3.5MB/s    00:02
    pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
    pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
    Unable to open created repository FreeBSD
    Unable to update repository FreeBSD
    Error updating repositories!

     

  7. ( Forgive me for my English, it's not great and I assisted myself with a translator )

    Hi guys, out of boredom/ curiosity/nostalgia I decided to run myself the files that are from another forum.
    Well everything was going smoothly, I hit the server and built the game.

    I wanted to build a new binke because there is an option in the files to create it, but I encountered the first problem regarding:

    spacer.png

    After consulting with a user of this forum, I found out that the detours.h file is missing and there is no Python.h in the include.

    In the Locale.cpp file, I removed everything related to detours.h ( I DON'T KNOW WHY) and moved Python.h from the Python2.7 folder and built BINKA.

    Admittedly, some type information appeared:

    1>------ Build started: Project: UserInterface, Configuration: Distribute Win32 ------ 1> Locale.cpp 1>..\..\source\UserInterface\Locale.cpp(447): warning C4996: 'itoa': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _itoa. See online help for details. 1> D:\Nowy folder (6)\VC\include\stdlib.h(937) : see declaration of 'itoa' 1> Generating code 1>d:\pobrane\terios\terios\surekpizda_srcbin\bin\source\userinterface\pythonnetworkstreamphasegame.cpp(2565): warning C4715: 'CPythonNetworkStream::SendAttackPacket' : not all control paths return a value 1> Finished generating code 1> UserInterface.vcxproj -> D:\Pobrane\terios\terios\surekpizda_srcbin\Bin\binary\Metin2Distribute.exe ========== Build: 1 succeeded, 0 failed, 15 up-to-date, 0 skipped ==========

    But unfortunately, after moving the generated Binka to the Client folder, the binka won't run.

    Syserr clean and I have no ideas what to do next.

    Greetings.

  8. @ TMP4

    I did as you wrote to move the base using the tar -xf command and now I have such errors:

    230610 16:27:40 mysqld_safe mysqld from pid file /var/db/mysql/vps38992.my.domain.pid ended
    230610 16:28:28 mysqld_safe Logging to '/var/db/mysql/xxx.my.domain.err'.
    230610 16:28:28 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
    2023-06-10 16:28:29 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2023-06-10 16:28:29 0 [Note] /usr/local/libexec/mysqld (mysqld 5.6.51) starting as process 862 ...
    2023-06-10 16:28:29 862 [Note] Plugin 'FEDERATED' is disabled.
    2023-06-10 16:28:29 862 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2023-06-10 16:28:29 862 [Note] InnoDB: The InnoDB memory heap is disabled
    2023-06-10 16:28:29 862 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2023-06-10 16:28:29 862 [Note] InnoDB: Memory barrier is not used
    2023-06-10 16:28:29 862 [Note] InnoDB: Compressed tables use zlib 1.2.12
    2023-06-10 16:28:29 862 [Note] InnoDB: Using CPU crc32 instructions
    2023-06-10 16:28:29 862 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    2023-06-10 16:28:29 862 [Note] InnoDB: Completed initialization of buffer pool
    2023-06-10 16:28:29 862 [Note] InnoDB: Highest supported file format is Barracuda.
    2023-06-10 16:28:29 862 [Note] InnoDB: 128 rollback segment(s) are active.
    2023-06-10 16:28:29 862 [Note] InnoDB: Waiting for purge to start
    2023-06-10 16:28:29 862 [Note] InnoDB: 5.6.51 started; log sequence number 1601096
    2023-06-10 16:28:29 862 [Note] RSA private key file not found: /var/db/mysql//private_key.pem. Some authentication plugins will not work.
    2023-06-10 16:28:29 862 [Note] RSA public key file not found: /var/db/mysql//public_key.pem. Some authentication plugins will not work.
    2023-06-10 16:28:29 862 [Note] Server hostname (bind-address): '*'; port: 3306
    2023-06-10 16:28:29 862 [Note] IPv6 is available.
    2023-06-10 16:28:29 862 [Note]   - '::' resolves to '::';
    2023-06-10 16:28:29 862 [Note] Server socket created on IP: '::'.
    2023-06-10 16:28:29 862 [Warning] Insecure configuration for --pid-file: Location '/var/db/mysql' in the path is accessible to all OS users. Consider choosing a different directory.
    2023-06-10 16:28:29 862 [Note] Event Scheduler: Loaded 0 events
    2023-06-10 16:28:29 862 [Note] /usr/local/libexec/mysqld: ready for connections.
    Version: '5.6.51'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
      

    I apologize in advance for another post but I don't have an edit option and I wanted to let you know.

  9. 1 minute ago, TMP4 said:

    Did you install your database correctly? By using .sql or tar.gz/tgz via tar -xf. People get such error when they unzip on windows and upload files individually via winscp.

    Anyway check that ibdata1 files's permission, owner and group.

    K-perny-k-p-2023-06-10-132317.png

    I tried many ways i.e. first I transferred database.tar.gz and typed cd /var/db then tar zxvf database.tar.gz and it extracted and same problem then I tried to create a new database via navicat and import via sql but I got errors that the whole player.sql could not be transferred.

    And finally I manually moved then using the command:

    chown -R mysql /var/db/mysql && chgrp -R mysql /var/db/mysql && chmod -R 777 /var/db/mysql

    (I used the command in all these ways).

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