View Single Post
  #43  
Old 01-20-2013, 06:17 PM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default

yeah... I just finished doing that with world/CMakelists.txt and was just about to post up my diff patch file. You beat me to it though.

That patch + Rev 2433 has bots working like it was before the change to CMake now. "#rules values bots" now pulls up all of the Bots:*** settings and I don't need anything in quest_globals to spawn my bots

for the record here's the diff I made on that file:
Code:
--- world/CMakeLists.txt (Rev 2433)
+++ world/CMakeLists.txt (working copy)
@@ -67,6 +67,10 @@ ADD_EXECUTABLE(world ${world_sources} ${

 ADD_DEFINITIONS(-DWORLD)

+IF(EQEMU_ENABLE_BOTS)
+    ADD_DEFINITIONS(-DBOTS)
+ENDIF(EQEMU_ENABLE_BOTS)
+
 TARGET_LINK_LIBRARIES(world Common ${PERL_LIBRARY} debug ${MySQL_LIBRARY_DEBUG} optimized ${MySQL_LIBRARY_RELEASE})

 IF(MSVC)
Thanks again for all the help and hard work everyone
Reply With Quote