Postado Fevereiro 17 Fev 17 Em 22/11/2024 em 20:10, Rodrigo94 disse: Pelo que analisei o codigo nao é pro meu TFS da erro de MSG_CHANNEL Não deu certo, tive erros ao compilar: 1> monsters.cpp 1>..\monsters.cpp(137): error C2065: 'MSG_CHANNEL' : undeclared identifier 1>..\monsters.cpp(140): error C2065: 'ChatChannel' : undeclared identifier 1>..\monsters.cpp(140): error C2065: 'lootChannel' : undeclared identifier 1>..\monsters.cpp(140): error C2065: 'g_chat' : undeclared identifier 1>..\monsters.cpp(140): error C2228: left of '.getChannel' must have class/struct/union 1> type is ''unknown-type'' 1>..\monsters.cpp(141): error C2065: 'lootChannel' : undeclared identifier 1>..\monsters.cpp(146): error C2065: 'lootChannel' : undeclared identifier 1>..\monsters.cpp(146): error C2227: left of '->hasUser' must point to class/struct/union/generic type 1> type is ''unknown-type'' 1>..\monsters.cpp(151): error C2065: 'MSG_CHANNEL' : undeclared identifier 1>..\monsters.cpp(157): error C2601: 'MonsterType::createLoot' : local function definitions are illegal 1> ..\monsters.cpp(95): this line contains a '{' which has not yet been matched 1>..\monsters.cpp(190): error C2601: 'MonsterType::createChildLoot' : local function definitions are illegal 1> ..\monsters.cpp(95): this line contains a '{' which has not yet been matched 1>..\monsters.cpp(216): error C2601: 'Monsters::loadFromXml' : local function definitions are illegal 1> ..\monsters.cpp(95): this line contains a '{' which has not yet been matched 1>..\monsters.cpp(267): error C2601: 'Monsters::getDamageCondition' : local function definitions are illegal 1> ..\monsters.cpp(95): this line contains a '{' which has not yet been matched 1>..\monsters.cpp(282): error C2601: 'Monsters::deserializeSpell' : local function definitions are illegal 1> ..\monsters.cpp(95): this line contains a '{' which has not yet been matched 1>..\monsters.cpp(887): error C2601: 'Monsters::loadMonster' : local function definitions are illegal 1> ..\monsters.cpp(95): this line contains a '{' which has not yet been matched 1>..\monsters.cpp(1486): error C2601: 'Monsters::loadLoot' : local function definitions are illegal 1> ..\monsters.cpp(95): this line contains a '{' which has not yet been matched 1>..\monsters.cpp(1546): error C2601: 'Monsters::loadChildLoot' : local function definitions are illegal 1> ..\monsters.cpp(95): this line contains a '{' which has not yet been matched 1>..\monsters.cpp(1580): error C2601: 'Monsters::getMonsterType' : local function definitions are illegal 1> ..\monsters.cpp(95): this line contains a '{' which has not yet been matched 1>..\monsters.cpp(1589): error C2601: 'Monsters::getMonsterType' : local function definitions are illegal Está bem explícito no post que é para 0.3.6 Pelo erro você está usando 1.x+
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.