Skip to content

Commit

Permalink
Merge branch 'main' into improvement-onlook
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires authored Oct 10, 2024
2 parents 4307c97 + ad56722 commit a2f6ea2
Show file tree
Hide file tree
Showing 673 changed files with 8,041 additions and 866,809 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/analysis-qodana.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .github/workflows/analysis-sonarcloud.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@ option(RUN_TESTS_AFTER_BUILD "Run tests when building" OFF) # By default, tests
# *****************************************************************************
add_subdirectory(src)

if(BUILD_TESTS)
if(BUILD_TESTS OR PACKAGE_TESTS)
add_subdirectory(tests)
endif()
4 changes: 1 addition & 3 deletions cmake/modules/CanaryLib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ add_subdirectory(utils)
target_sources(${PROJECT_NAME}_lib PRIVATE canary_server.cpp)

# Add public pre compiler header to lib, to pass down to related targets
if (NOT SPEED_UP_BUILD_UNITY)
target_precompile_headers(${PROJECT_NAME}_lib PUBLIC pch.hpp)
endif()
target_precompile_headers(${PROJECT_NAME}_lib PUBLIC pch.hpp)

if(NOT SPEED_UP_BUILD_UNITY AND USE_PRECOMPILED_HEADERS)
target_compile_definitions(${PROJECT_NAME}_lib PUBLIC -DUSE_PRECOMPILED_HEADERS)
Expand Down
12 changes: 8 additions & 4 deletions config.lua.dist
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ serverMotd = "Welcome to the OTServBR-Global!"
statusTimeout = 5 * 1000
replaceKickOnLogin = true
maxPacketsPerSecond = 25
maxItem = 2000
maxContainer = 100
maxPlayersOnlinePerAccount = 1
maxPlayersOutsidePZPerAccount = 1

Expand All @@ -81,6 +79,12 @@ freeDepotLimit = 2000
premiumDepotLimit = 10000
depotBoxes = 20

-- Item and containers limit
-- NOTE: 'maxContainerDepth' defines the maximum depth to which containers can be nested
maxItem = 5000
maxContainer = 500
maxContainerDepth = 200

-- Augments System (Get more info in: https://github.com/opentibiabr/canary/pull/2602)
-- NOTE: the following values are for all weapons and equipments that have type of "increase damage", "powerful impact" and "strong impact".
-- To customize the percentage of a particular item with these augment types, please add to the item "augments" section on items.xml as the example above.
Expand Down Expand Up @@ -254,7 +258,7 @@ onlyPremiumAccount = false
-- NOTE: enablePlayerPutItemInAmmoSlot = true, will enable players to put any items on ammo slot, more used in custom shopping system
-- NOTE: startStreakLevel will make a reward streak level for new players who never logged in
-- NOTE: if showLootsInBestiary is true, will cause all loots to be shown in the bestiary even if the player has not reached the required number of kills
-- NOTE: minTownIdToBankTransfer blocks towns less than defined from receiving money transfers
-- NOTE: minTownIdToBankTransferFromMain blocks towns less than defined from receiving money transfers
-- NOTE: enableSupportOutfit enable GODS and GMS to select support outfit (gamemaster, customer support or community manager)
stashMoving = false
stashItemCount = 5000
Expand All @@ -275,7 +279,7 @@ storeInboxMaxLimit = 2000
enablePlayerPutItemInAmmoSlot = false
startStreakLevel = 0
showLootsInBestiary = false
minTownIdToBankTransfer = 3
minTownIdToBankTransferFromMain = 4
enableSupportOutfit = true

-- Teleport summon
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/demons/demon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/demons/destroyer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/demons/hellhound.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/demons/hellspawn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/demons/juggernaut.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/dragons/dragon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/dragons/dragon_lord.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/dragons/hydra.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/dragons/ice_dragon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/dragons/wyrm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ monster.flags = {
canWalkOnEnergy = true,
canWalkOnFire = true,
canWalkOnPoison = true,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/giants/behemoth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = true,
canWalkOnPoison = true,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/giants/cyclops_drone.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/giants/cyclops_smith.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humanoids/frost_troll.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humanoids/goblin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humanoids/island_troll.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humanoids/troll.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humans/amazon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humans/assassin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humans/bandit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humans/hunter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humans/monk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/humans/valkyrie.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
1 change: 0 additions & 1 deletion data-canary/monster/mammals/bat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ monster.flags = {
canWalkOnEnergy = false,
canWalkOnFire = false,
canWalkOnPoison = false,
pet = false,
}

monster.light = {
Expand Down
Loading

0 comments on commit a2f6ea2

Please sign in to comment.