Skip to content

Commit

Permalink
Add Ike3 Bots
Browse files Browse the repository at this point in the history
Did a bit of a rework to start fresh with integrating Eluna. Got core somewhat stable before attempting to add Eluna
  • Loading branch information
Niam5 committed Jan 13, 2024
1 parent b8df6fe commit fde0659
Show file tree
Hide file tree
Showing 88 changed files with 2,812 additions and 251 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/modules/Bots"]
path = src/modules/Bots
url = https://github.com/celguar/mangosbot-bots.git
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,16 @@ if(NOT BUILD_GAME_SERVER AND BUILD_PLAYERBOT)
message(STATUS "BUILD_PLAYERBOT forced to OFF due to BUILD_GAME_SERVER is not set")
endif()

if(NOT BUILD_GAME_SERVER AND BUILD_IKE3_BOTS)
set(BUILD_IKE3_BOTS OFF)
message(STATUS "BUILD_PLAYERBOTS forced to OFF due to BUILD_GAME_SERVER is not set")
endif()

if(BUILD_IKE3_BOTS)
set(BUILD_PLAYERBOT OFF)
message(STATUS "CMaNGOS bots DISABLED because Ike3 bots enabled")
endif()

if(PCH)
if(${CMAKE_VERSION} VERSION_LESS "3.16")
message("PCH is not supported by your CMake version")
Expand Down
2 changes: 2 additions & 0 deletions cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ option(BUILD_LOGIN_SERVER "Build login server" ON)
option(BUILD_EXTRACTORS "Build map/dbc/vmap/mmap extractors" OFF)
option(BUILD_SCRIPTDEV "Build ScriptDev. (OFF Speedup build)" ON)
option(BUILD_PLAYERBOT "Build Playerbot mod" OFF)
option(BUILD_IKE3_BOTS "Build ike3 Playerbots" OFF)
option(BUILD_AHBOT "Build Auction House Bot mod" OFF)
option(BUILD_METRICS "Build Metrics, generate data for Grafana" OFF)
option(BUILD_RECASTDEMOMOD "Build map/vmap/mmap viewer" OFF)
Expand Down Expand Up @@ -35,6 +36,7 @@ message(STATUS
BUILD_EXTRACTORS Build map/dbc/vmap/mmap extractor
BUILD_SCRIPTDEV Build scriptdev. (Disable it to speedup build in dev mode by not including scripts)
BUILD_PLAYERBOT Build Playerbot mod
BUILD_IKE3_BOTS Build Ike3 Playerbot mod
BUILD_AHBOT Build Auction House Bot mod
BUILD_METRICS Build Metrics, generate data for Grafana
BUILD_RECASTDEMOMOD Build map/vmap/mmap viewer
Expand Down
6 changes: 6 additions & 0 deletions cmake/showoptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ else()
message(STATUS "Build Playerbot : No (default)")
endif()

if(BUILD_IKE3_BOTS)
message(STATUS "Build ike3 Playerbots : Yes")
else()
message(STATUS "Build ike3 Playerbots : No (default)")
endif()

if(BUILD_EXTRACTORS)
message(STATUS "Build extractors : Yes")
else()
Expand Down
21 changes: 4 additions & 17 deletions contrib/extractor_scripts/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,10 @@
"walkableHeight": 5.0
}
},
"532": {
"3552": {
"maxSimplificationError": 1.0,
"detailSampleDist": 0.5,
"detailSampleMaxError": 0.5,
"walkableHeight": 5.0,
"walkableClimb": 4.0
}
},
"540": {
"_Info": "The Shattered Halls - .go c id 16809",
"walkableSlopeAngle": 70
},
"542": {
"walkableSlopeAngle":50,
"walkableClimb": 5.0
},
"542": {
"walkableSlopeAngle":50,
"walkableClimb": 5.0
},
"545": {
"maxSimplificationError": 2.1,
"detailSampleDist": 0.7,
Expand Down
Loading

0 comments on commit fde0659

Please sign in to comment.