ok i compiled just fine no problems from the latest source code.
turned on bots by doing like so
zone/make.common
changed
Code:
../common/guild_base.o guild_mgr.o tasks.o
to
Code:
../common/guild_base.o guild_mgr.o tasks.o botRaids.o botAI.o petAI.o
and in makefile
changed
Code:
DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386
to
Code:
DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 -DEQBOTS
and after all that i get a compile error. but it don't give an actual code error or anything here is the error.
Code:
gcc -o zone .obj/EQPacket.o .obj/EQStream.o .obj/EQStreamFactory.o .obj/CRC16.o ../common/timer.o ../common/packet_dump.o ../common/packet_functions.o ../common/unix.o ../common/packet_dump_file.o ../common/Mutex.o ../common/MiscFunctions.o zone.o entity.o mob.o client.o client_process.o npc.o net.o spawn2.o attack.o hate_list.o ../common/serverinfo.o ../common/moremath.o worldserver.o spells.o spawngroup.o loottables.o faction.o Map.o watermap.o PlayerCorpse.o petitions.o MobAI.o Object.o ../common/eqtime.o groups.o ../common/classes.o ../common/races.o ../common/TCPConnection.o forage.o ../common/crc32.o ../common/guilds.o ../common/md5.o ../common/dbcore.o ../common/dbasync.o zonedbasync.o parser.o embperl.o embparser.o ../common/EMuShareMem.o ../common/EQEMuError.o ../common/ptimer.o .obj/debug.o .obj/database.o .obj/Item.o .obj/misc.o tribute.o doors.o command.o beacon.o embxs.o AA.o trap.o client_packet.o bonuses.o trading.o spdat.o spell_effects.o aggro.o guild.o inventory.o client_mods.o tradeskills.o waypoints.o pets.o zone_profile.o effects.o perl_client.o perl_entity.o perl_mob.o perl_npc.o perl_PlayerCorpse.o perl_groups.o perl_raids.o questmgr.o client_logs.o perlparser.o ../common/rdtsc.o ../common/extprofile.o horse.o exp.o pathing.o fearpath.o special_attacks.o ../common/timeoutmgr.o ../common/Condition.o .obj/opcodemgr.o .obj/emu_opcodes.o ../common/SharedLibrary.o zoning.o titles.o perlpacket.o perl_perlpacket.o zonedb.o ../common/shareddb.o ../common/logsys.o .obj/rulesys.o ../common/logsys_eqemu.o ../common/EQEmuConfig.o ZoneConfig.o ../common/XMLParser.o ../common/tinyxml/tinystr.o ../common/tinyxml/tinyxml.o ../common/tinyxml/tinyxmlerror.o ../common/tinyxml/tinyxmlparser.o ../common/EQStreamProxy.o ../common/patches/patches.o ../common/patches/Client62.o ../common/patches/Titanium.o ../common/patches/Anniversary.o ../common/patches/SoF.o ../common/StructStrategy.o ../common/EQStreamIdent.o ../common/patches/Live.o zone_logsys.o ../common/BasePacket.o ../common/worldconn.o ../common/EmuTCPConnection.o ../common/EmuTCPServer.o ../common/TCPServer.o ../common/guild_base.o guild_mgr.o tasks.o raids.o botRaids.o botAI.o petAI.o -fpermissive -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -O -g -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 -DEQBOTS -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql `perl -MExtUtils::Embed -e ccopts` -rdynamic -L. -lstdc++ -ldl -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv `perl -MExtUtils::Embed -e ldopts`
botRaids.o: In function `BotRaids::BotRaidInfo(Client*)':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botRaids.cpp:521: undefined reference to `Group::BotGroupCount()'
botRaids.o: In function `BotRaids::RemoveEmptyBotGroup()':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botRaids.cpp:141: undefined reference to `Group::BotGroupCount()'
botRaids.o: In function `BotRaids::SaveGroups(Client*)':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botRaids.cpp:499: undefined reference to `Database::DeleteBotGroups(unsigned int)'
/home/eqserver/source/buildfresh/EQEmuServer/zone/botRaids.cpp:507: undefined reference to `Database::SaveBotGroups(unsigned int, unsigned int, unsigned int, unsigned short)'
botRaids.o: In function `BotRaids::DisbandBotRaid()':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botRaids.cpp:192: undefined reference to `EntityList::RemoveBotRaid(unsigned short)'
botRaids.o: In function `BotRaids::RemoveClientGroup(Mob*)':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botRaids.cpp:162: undefined reference to `Group::BotGroupCount()'
botRaids.o: In function `BotRaids::RemoveRaidBots()':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botRaids.cpp:116: undefined reference to `Group::BotGroupCount()'
botRaids.o: In function `BotRaids':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botRaids.cpp:37: undefined reference to `EntityList::AddBotRaid(BotRaids*)'
/home/eqserver/source/buildfresh/EQEmuServer/zone/botRaids.cpp:37: undefined reference to `EntityList::AddBotRaid(BotRaids*)'
botAI.o: In function `NPC::Bot_Command_Resist(int, int)':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:1212: undefined reference to `EntityList::GetBotRaidByMob(Mob*)'
botAI.o: In function `NPC::Bot_Command_Cure(int, int)':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:1049: undefined reference to `EntityList::GetBotRaidByMob(Mob*)'
botAI.o: In function `EntityList::Bot_AICheckCloseBeneficialSpells(NPC*, unsigned char, float, unsigned short)':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:546: undefined reference to `EntityList::GetBotRaidByMob(Mob*)'
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:548: undefined reference to `EntityList::GetBotRaidByMob(Mob*)'
botAI.o: In function `NPC::Bot_AI_EngagedCastCheck()':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:408: undefined reference to `EntityList::GetBotRaidByMob(Mob*)'
botAI.o: In function `Mob::BOT_Process()':
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:182: undefined reference to `Mob::CheckBotDoubleAttack(bool)'
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:185: undefined reference to `Mob::CheckBotDoubleAttack(bool)'
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:190: undefined reference to `Mob::CheckBotDoubleAttack(bool)'
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:291: undefined reference to `Mob::CheckBotDoubleAttack(bool)'
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:305: undefined reference to `Mob::BotMeditate(bool)'
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:327: undefined reference to `Mob::BotMeditate(bool)'
/home/eqserver/source/buildfresh/EQEmuServer/zone/botAI.cpp:363: undefined reference to `Mob::BotMeditate(bool)'
collect2: ld returned 1 exit status
make: *** [zone] Error 1
any clues?