Jump to content

global chat c++


Recommended Posts

  • Bronze

 

 

add it like this

char chatbuf_global[CHAT_MAX_LEN + 1];
int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);

 
input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*, size_t)':
input_main.cpp:747: error: 'chatbuf_global' was not declared in this scope
input_main.cpp:747: warning: unused variable 'len'
compile mining.cpp
compile mob_manager.cpp
compile monarch.cpp
gmake: *** [OBJDIR/input_main.o] Error 1
gmake: *** Waiting for unfinished jobs....
 
error..
 
this code:
static const char* colorbuf[]={"|cFFffa200|H|h[Team-Member]|h|r", "|cFFff0000|H|h[Shinsoo]|h|r", "|cFFffc700|H|h[Chunjo]|h|r", "|cFF000bff|H|h[Jinno]|h|r"};
int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);
char chatbuf_global[CHAT_MAX_LEN + 1];

747 linea:

int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);

 

not like that , like this :

char chatbuf_global[CHAT_MAX_LEN + 1];
static const char* colorbuf[]={"|cFFffa200|H|h[Team-Member]|h|r", "|cFFff0000|H|h[Shinsoo]|h|r", "|cFFffc700|H|h[Chunjo]|h|r", "|cFF000bff|H|h[Jinno]|h|r"};
int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);

chatbuf_global must be declared b4 len

Link to comment
Share on other sites

  • Replies 39
  • Created
  • Last Reply

Top Posters In This Topic

 

 

 

add it like this

char chatbuf_global[CHAT_MAX_LEN + 1];
int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);

 
input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*, size_t)':
input_main.cpp:747: error: 'chatbuf_global' was not declared in this scope
input_main.cpp:747: warning: unused variable 'len'
compile mining.cpp
compile mob_manager.cpp
compile monarch.cpp
gmake: *** [OBJDIR/input_main.o] Error 1
gmake: *** Waiting for unfinished jobs....
 
error..
 
this code:
static const char* colorbuf[]={"|cFFffa200|H|h[Team-Member]|h|r", "|cFFff0000|H|h[Shinsoo]|h|r", "|cFFffc700|H|h[Chunjo]|h|r", "|cFF000bff|H|h[Jinno]|h|r"};
int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);
char chatbuf_global[CHAT_MAX_LEN + 1];

747 linea:

int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);

 

not like that , like this :

char chatbuf_global[CHAT_MAX_LEN + 1];
static const char* colorbuf[]={"|cFFffa200|H|h[Team-Member]|h|r", "|cFFff0000|H|h[Shinsoo]|h|r", "|cFFffc700|H|h[Chunjo]|h|r", "|cFF000bff|H|h[Jinno]|h|r"};
int len = snprintf(chatbuf_global, sizeof(chatbuf), "%s %s : %s", (ch->IsGM()?colorbuf[0]:colorbuf[MINMAX(0, ch->GetEmpire(), 3)]), ch->GetName(), buf);

chatbuf_global must be declared b4 len

 

In file included from char.cpp:25:
shop_manager.h:40:7: warning: no newline at end of file
In file included from char.cpp:62:
PetSystem.h:163:31: warning: no newline at end of file
char.cpp:7211: warning: this decimal constant is unsigned only in ISO C90
compile char_change_empire.cpp
compile char_horse.cpp
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file
compile char_item.cpp
compile char_manager.cpp
In file included from char_horse.cpp:14:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile char_quickslot.cpp
In file included from char_item.cpp:44:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from char_item.cpp:47:
belt_inventory_helper.h:108:42: warning: no newline at end of file
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
compile PetSystem.cpp
compile cmd.cpp
compile cmd_emotion.cpp
compile cmd_general.cpp
In file included from char_state.cpp:25:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile cmd_gm.cpp
compile cmd_oxevent.cpp
compile config.cpp
compile constants.cpp
In file included from PetSystem.cpp:8:
PetSystem.h:163:31: warning: no newline at end of file
In file included from PetSystem.cpp:9:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
PetSystem.cpp:637:2: warning: no newline at end of file
compile crc32.cpp
compile cube.cpp
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3088: warning: comparison between signed and unsigned integer expressions
In file included from cmd_general.cpp:36:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
compile db.cpp
In file included from char_item.cpp:47:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:640: warning: comparison is always false due to limited range of data type
char_item.cpp:666: warning: comparison is always false due to limited range of data type
constants.cpp:276: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:277: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:278: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:279: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:280: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:281: warning: this decimal constant is unsigned only in ISO C90
compile desc.cpp
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:5090: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5162: warning: unused variable 'wDestCell'
char_item.cpp:5163: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6167: warning: array subscript has type 'char'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
char_item.cpp:6231: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
char_item.cpp:6243: warning: comparison between signed and unsigned integer expressions
compile desc_client.cpp
compile desc_manager.cpp
PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'
PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
PetSystem.cpp:552: warning: unused variable 'petVID'
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
char_item.cpp:7429: warning: unused variable 'itemType'
char_item.cpp:7430: warning: unused variable 'itemSubType'
compile desc_p2p.cpp
compile dev_log.cpp
compile dungeon.cpp
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
compile empire_text_convert.cpp
desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
compile entity.cpp
compile entity_view.cpp
cube.cpp: In function 'bool Cube_make(CHARACTER*)':
cube.cpp:544: warning: comparison between signed and unsigned integer expressions
cube.cpp: In function 'void Cube_MakeCubeInformationText()':
cube.cpp:716: warning: unused variable 'npcVNUM'
cube.cpp: In function 'bool Cube_InformationInitialize()':
cube.cpp:783: warning: comparison between signed and unsigned integer expressions
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3935: warning: NULL used in arithmetic
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:679: warning: control reaches end of non-void function
compile event.cpp
compile event_queue.cpp
In file included from desc_manager.cpp:15:
ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
In file included from config.cpp:22:
check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
check_server.h:24: warning: comparison between signed and unsigned integer expressions
config.cpp: In function 'void config_init(const std::string&)':
config.cpp:442: warning: NULL used in arithmetic
config.cpp:466: warning: NULL used in arithmetic
config.cpp:490: warning: NULL used in arithmetic
config.cpp:512: warning: unused variable 'line'
compile exchange.cpp
compile file_loader.cpp
compile fishing.cpp
compile gm.cpp
compile guild.cpp
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
char_item.cpp:6278: warning: 'pBuff' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function
cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function
compile guild_manager.cpp
compile guild_war.cpp
compile horse_rider.cpp
compile horsename_manager.cpp
compile input.cpp
compile input_auth.cpp
compile input_db.cpp
compile input_login.cpp
compile input_main.cpp
compile input_p2p.cpp
In file included from input_db.cpp:13:
shop_manager.h:40:7: warning: no newline at end of file
input_db.cpp:2722:2: warning: no newline at end of file
compile input_teen.cpp
compile input_udp.cpp
compile ip_ban.cpp
In file included from input_main.cpp:16:
shop_manager.h:40:7: warning: no newline at end of file
compile item.cpp
In file included from item.cpp:22:
belt_inventory_helper.h:108:42: warning: no newline at end of file
In file included from item.cpp:23:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
item.cpp:2087:2: warning: no newline at end of file
input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)':
input_auth.cpp:467: warning: unused variable 'last'
In file included from item.cpp:22:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
item.h: In constructor 'CItem::CItem(DWORD)':
item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized after
item.h:283: warning:   'LPEVENT CItem::m_pkExpireEvent'
item.cpp:25: warning:   when initialized here
item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)':
item.cpp:1728: warning: unused variable 'vnum'
item.cpp: In member function 'bool CItem::CanPutInto(CItem*)':
item.cpp:1761: warning: comparison between signed and unsigned integer expressions
item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':
item.cpp:2017: warning: comparison between signed and unsigned integer expressions
item.cpp:2019: warning: comparison between signed and unsigned integer expressions
item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':
item.cpp:2041: warning: comparison between signed and unsigned integer expressions
item.cpp: In member function 'int CItem::GetDuration()':
item.cpp:2072: warning: array subscript has type 'char'
compile item_addon.cpp
compile item_attribute.cpp
compile item_manager.cpp
input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*, size_t)':
input_main.cpp:750: error: expected primary-expression before 'p'
input_main.cpp:752: error: 'p' was not declared in this scope
input_main.cpp:748: warning: unused variable 'len'
gmake: *** [OBJDIR/input_main.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from item_manager.cpp:21:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)':
item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions
root@BddAdsa:/usr/src/mainline/Srcs/Server/game/src #
 
 
Link to comment
Share on other sites

 
input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*, size_t)':
input_main.cpp:698: error: 'chatbuf' was not declared in this scope
input_main.cpp:736: error: 'g_iShoutLimitLevel' was not declared in this scope
gmake: *** [OBJDIR/input_main.o] Error 1
gmake: *** Waiting for unfinished jobs....
Link to comment
Share on other sites

 
input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*, size_t)':
input_main.cpp:736: error: 'g_iShoutLimitLevel' was not declared in this scope
In file included from item_manager.cpp:21:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
gmake: *** [OBJDIR/input_main.o] Error 1
gmake: *** Waiting for unfinished jobs....
Link to comment
Share on other sites

see up post by Night him input_main work

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Former Staff
        const char* kingdoms[3] = { "|cFFFF0000[Shinshoo]|r", "|cFFFFFF00[Chunjo]|r", "|cFF0080FF[Jinno]|r" };
        const char * GMs = "|cFFFFC700[Team]|r";
        const char * GMIMPLEMENTOR = "|cFFFFFFFF[Manager]|r";
        char chatbuf_global[CHAT_MAX_LEN + 1];
        if (ch->GetGMLevel() == GM_PLAYER)
        {
            snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s", kingdoms[ch->GetEmpire() - 1], chatbuf);
        }
        else if (ch->GetGMLevel() == GM_IMPLEMENTOR)
        {
            snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s", GMIMPLEMENTOR, chatbuf);
        }
        else
        {
            snprintf(chatbuf_global, sizeof(chatbuf_global), "%s  %s", GMs, chatbuf);
        }

        TPacketGGShout p;
        p.bHeader = HEADER_GG_SHOUT;
        p.bEmpire = ch->GetEmpire();
        strlcpy(p.szText, chatbuf_global, sizeof(p.szText));
        P2P_MANAGER::instance().Send(&p, sizeof(TPacketGGShout));

try mine :)

Link to comment
Share on other sites

  • 7 months later...

    199    IntelliSense: expected a ')'    c:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    758    35    game
    200    IntelliSense: expected a ')'    c:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    762    40    game
    201    IntelliSense: expected a ')'    c:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    766    40    game
    202    IntelliSense: expected a ')'    c:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    778    34    game
    203    IntelliSense: expected a ')'    c:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    782    39    game
    204    IntelliSense: expected a ')'    c:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    786    39    game
Error    33    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    805    1    game
Error    36    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    806    1    game
Error    39    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    807    1    game
Error    47    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    810    1    game
Error    53    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    817    1    game
Error    55    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    818    1    game
Error    58    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    819    1    game
Error    61    error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    820    1    game
Error    13    error C3861: 'and': identifier not found    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    760    1    game
Error    19    error C3861: 'and': identifier not found    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    764    1    game
Error    24    error C3861: 'and': identifier not found    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    768    1    game
Error    42    error C3484: syntax error: expected '->' before the return type    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    808    1    game
Error    27    error C2447: '{' : missing function header (old-style formal list?)    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    779    1    game
Error    31    error C2447: '{' : missing function header (old-style formal list?)    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    799    1    game
Error    65    error C2447: '{' : missing function header (old-style formal list?)    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    823    1    game
Error    70    error C2447: '{' : missing function header (old-style formal list?)    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    888    1    game
Error    34    error C2371: 'p' : redefinition; different basic types    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    805    1    game
Error    37    error C2371: 'p' : redefinition; different basic types    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    806    1    game
Error    40    error C2365: 'strncpy_s' : redefinition; previous definition was 'function'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    807    1    game
Error    48    error C2365: 'SendShout' : redefinition; previous definition was 'function'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    810    1    game
Error    46    error C2227: left of '->GetEmpire' must point to class/struct/union/generic type    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    810    1    game
Error    14    error C2181: illegal else without matching if    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    764    1    game
Error    9    error C2146: syntax error : missing ')' before identifier 'and'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    760    1    game
Error    15    error C2146: syntax error : missing ')' before identifier 'and'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    764    1    game
Error    20    error C2146: syntax error : missing ')' before identifier 'and'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    768    1    game
Error    11    error C2144: syntax error : 'int' should be preceded by '}'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    762    1    game
Error    17    error C2144: syntax error : 'int' should be preceded by '}'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    766    1    game
Error    22    error C2144: syntax error : 'int' should be preceded by '}'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    770    1    game
Error    12    error C2144: syntax error : 'int' should be preceded by ';'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    762    1    game
Error    18    error C2144: syntax error : 'int' should be preceded by ';'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    766    1    game
Error    23    error C2144: syntax error : 'int' should be preceded by ';'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    770    1    game
Error    29    error C2143: syntax error : missing ';' before '}'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    797    1    game
Error    51    error C2143: syntax error : missing ';' before '}'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    813    1    game
Error    68    error C2143: syntax error : missing ';' before '}'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    885    1    game
Error    26    error C2143: syntax error : missing ';' before '{'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    779    1    game
Error    30    error C2143: syntax error : missing ';' before '{'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    799    1    game
Error    64    error C2143: syntax error : missing ';' before '{'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    823    1    game
Error    69    error C2143: syntax error : missing ';' before '{'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    888    1    game
Error    32    error C2143: syntax error : missing ';' before '.'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    805    1    game
Error    35    error C2143: syntax error : missing ';' before '.'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    806    1    game
Error    52    error C2143: syntax error : missing ';' before '.'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    817    1    game
Error    54    error C2143: syntax error : missing ';' before '.'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    818    1    game
Error    57    error C2143: syntax error : missing ';' before '.'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    819    1    game
Error    60    error C2143: syntax error : missing ';' before '.'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    820    1    game
Error    56    error C2086: 'int pack_chat' : redefinition    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    818    1    game
Error    59    error C2086: 'int pack_chat' : redefinition    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    819    1    game
Error    62    error C2086: 'int pack_chat' : redefinition    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    820    1    game
Error    41    error C2078: too many initializers    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    807    1    game
Error    38    error C2065: 'chatbuf_global' : undeclared identifier    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    807    1    game
Error    44    error C2065: 'chatbuf_global' : undeclared identifier    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    810    1    game
Error    45    error C2065: 'ch' : undeclared identifier    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    810    1    game
Error    43    error C2061: syntax error : identifier 'Send'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    808    1    game
Error    63    error C2059: syntax error : 'switch'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    822    1    game
Error    49    error C2059: syntax error : 'return'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    812    1    game
Error    66    error C2059: syntax error : 'return'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    884    1    game
Error    25    error C2059: syntax error : 'else'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    778    1    game
Error    28    error C2059: syntax error : '}'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    797    1    game
Error    50    error C2059: syntax error : '}'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    813    1    game
Error    67    error C2059: syntax error : '}'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    885    1    game
Error    10    error C2059: syntax error : ')'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    760    1    game
Error    16    error C2059: syntax error : ')'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    764    1    game
Error    21    error C2059: syntax error : ')'    C:\Users\xxxxxx\Desktop\xxxxxx\server-maxmi\game\src\input_main.cpp    768    1    game

 

 

have this problem using vs 2013 and maxmi source help plssss

 

and my input_main.cpp file http://pastebin.com/Mhcbj9Ps

Edited by scrabbyyy
Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Moving server from FreeBSD 11.2 to 13.2 - lib needed

    2. 0

      I just implemented some costumes and they are not visible

    3. 0

      Skill Tree Problem

    4. 97

      Ulthar SF V2 (TMP4 Base)

    5. 5

      Client Crashes through Offline Shop (Ikarus)

    6. 5

      VIVY-WORLD2 - FARM TO THE TOP

    7. 0

      ToolTip Bug?

    8. 0

      Skill tree build erorr

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.