Troko a distro do sv?
info
Grupo: Visconde
Registrado: 13/10/11
Posts: 411
Reputação: +65

info
Grupo: Campones
Registrado: 18/01/11
Posts: 34
Reputação: 0

não troquei a distro
so fiz adciona assim
else if(tmpStrValue == "rock" || atoi(strValue.c_str()) == 16)
mType->race = RACE_ROCK;
else if(tmpStrValue == "ice" || atoi(strValue.c_str()) == 17)
mType->race = RACE_ICE;
else if(tmpStrValue == "Stell" || atoi(strValue.c_str()) == 18)
mType->race = RACE_Stell;
else if(tmpStrValue == "dark" || atoi(strValue.c_str()) == 19)
mType->race = RACE_DARK;
else if(tmpStrValue == "dragon" || atoi(strValue.c_str()) == 20)
mType->race = RACE_DRAGON;
else if(tmpStrValue == "ghost" || atoi(strValue.c_str()) == 21)
mType->race = RACE_GHOST;
assim fuciona e consigo copilar
else if(tmpStrValue == "rock" || atoi(strValue.c_str()) == 16)
mType->race = RACE_ROCK;
else if(tmpStrValue == "ice" || atoi(strValue.c_str()) == 17)
mType->race = RACE_ICE;
else if(tmpStrValue == "bug" || atoi(strValue.c_str()) == 18)
mType->race = RACE_BUG;
else if(tmpStrValue == "dragon" || atoi(strValue.c_str()) == 19)
mType->race = RACE_DRAGON;
else if(tmpStrValue == "ghost" || atoi(strValue.c_str()) == 20)
mType->race = RACE_GHOST;
so fiz adciona uma nova raça steel e dark que não tinha no servidor
esse erro acontece quando tento copilar não intendo quase nada de c++ pelo que tava pesquisando parece que ocorre esse erro pq to tentando copilar no windowns


info
Grupo: Campones
Registrado: 18/01/11
Posts: 34
Reputação: 0
estou tentando adciona uma nova raça para o servidor no monsters cpp se que quando vou copilar da esse erro
983 C:\Documents and Settings\Particular\Desktop\servidor\Server Sources 5.0\monsters.cpp `RACE_DARK' was not declared in this scope
C:\Documents and Settings\Particular\Desktop\servidor\Server Sources 5.0\dev-cpp\Makefile.win [build Error] [obj//monsters.o] Error 1
alguem pode me ajudar ?