FabianoBN
l|¬¬"|l
I'm trying for this in version 0.4 of TFS
And is giving this error at compile time:
Location:
You know what can solve?
Edited@
Resolved!!
And is giving this error at compile time:
g++.exe -c ../spells.cpp -o obj//spells.o -I"D:/News Server/Compile/Stian's Repack Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__CONSOLE__ -fexpensive-optimizations -O1
../spells.cpp: In member function `virtual bool RuneSpell::executeUse(Player*, Item*, const PositionEx&, const PositionEx&, bool, uint32_t)':
../spells.cpp:1880: error: `NM_ME_STUN' was not declared in this scope
../spells.cpp:1881: error: `TEXTCOLOR_GREEN' was not declared in this scope
../spells.cpp:1888: error: `NM_ME_CAKE' was not declared in this scope
make.exe: *** [obj//spells.o] Error 1
Location:
if(comboShowAnim)
{
Creature* creature = g_game.getCreatureByID(acit->first);
if(creature != NULL)
{
char buffer[20];
sprintf(buffer, "COMBO %d", acit->second);
g_game.addMagicEffect(creature->getPosition(), NM_ME_STUN);
g_game.addAnimatedText(creature->getPosition(), TEXTCOLOR_GREEN, buffer);
}
for(AttackersMap::iterator sait = comboList.begin(); sait != comboList.end(); ++sait)
{
Creature* creature = g_game.getCreatureByID(sait->first);
if(creature != NULL)
{
g_game.addMagicEffect(creature->getPosition(), NM_ME_CAKE);
}
}
}
You know what can solve?
Edited@
Resolved!!
Last edited: