View Single Post
  #1  
Old 09-07-2009, 08:08 AM
EQFAN2009
Fire Beetle
 
Join Date: Aug 2009
Location: Australia
Posts: 21
Default Compile Fail spells.cpp 'class Mob' has no member named 'IsBot'

Am attempting linux compile with Rev972 source. Have made the changes to makefile.common and makefile to enable bots as recommended in previous forums but am getting a compile fail for spells.cpp/spells.o

Code:
make -C zone
make[1]: Entering directory `/root/EQEMU/source/trunk/EQEmuServer/zone'
ccache gcc -c -fpermissive -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wn                                                                             o-deprecated  -Wcomment -Wcast-align -O -g -march=i686 -pthread -pipe -D_GNU_SOU                                                                             RCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DF                                                                             IELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 -DEQBOTS -DEMBPERL -DEMBPERL_PL                                                                             UGIN -DHAS_UNION_SEMUN -I/usr/include/mysql `perl -MExtUtils::Embed -e ccopts` s                                                                             pells.cpp -o spells.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid f                                                                             or C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid f                                                                             or C/ObjC but not for C++
spells.cpp: In member function 'void Mob::BardPulse(uint16, Mob*)':
spells.cpp:1847: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'int Mob::AddBuff(Mob*, int16, int, sint32)':
spells.cpp:2348: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp:2380: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'int Mob::CanBuffStack(int16, int8, bool)':
spells.cpp:2466: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'bool Mob::FindBuff(int16)':
spells.cpp:2999: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Mob::BuffFadeAll()':
spells.cpp:3009: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Mob::BuffFadeDetrimental()':
spells.cpp:3018: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Mob::BuffFadeDetrimentalByCaster(Mob*)':
spells.cpp:3031: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Mob::BuffFadeBySpellID(int16)':
spells.cpp:3048: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Mob::BuffFadeByEffect(int, int)':
spells.cpp:3063: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'float Mob::ResistSpell(int8, int16, Mob*)':
spells.cpp:3375: error: 'class Mob' has no member named 'IsBot'
spells.cpp:3379: error: 'class Mob' has no member named 'GetBotFocusEffect'
spells.cpp:3379: error: 'botfocusResistRate' was not declared in this scope
spells.cpp: In member function 'void Client::MemSpell(int16, int, bool)':
spells.cpp:3656: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Client::UnmemSpell(int, bool)':
spells.cpp:3677: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Client::UnmemSpellAll(bool)':
spells.cpp:3693: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Client::ScribeSpell(int16, int, bool)':
spells.cpp:3701: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Client::UnscribeSpell(int, bool)':
spells.cpp:3722: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Client::UnscribeSpellAll(bool)':
spells.cpp:3743: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'int Client::GetNextAvailableSpellBookSlot(int)':
spells.cpp:3751: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'int Client::FindSpellBookSlotBySpellID(int16)':
spells.cpp:3760: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'sint8 Mob::GetBuffSlotFromType(int8)':
spells.cpp:4127: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'bool Mob::FindType(int8, bool, int16)':
spells.cpp:4140: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'bool Mob::UseBardSpellLogic(int16, int)':
spells.cpp:4293: warning: comparison between signed and unsigned integer express                                                                             ions
spells.cpp: In member function 'void Mob::SendPetBuffsToClient()':
spells.cpp:4370: warning: comparison between signed and unsigned integer express                                                                             ions
make[1]: *** [spells.o] Error 1
make[1]: Leaving directory `/root/EQEMU/source/trunk/EQEmuServer/zone'
I have the spells_us.txt and spells_en.txt in the EQEmuServer source directory.

Any thoughts on what if anything I've missed?
Reply With Quote