Age | Commit message (Collapse) | Author |
|
Closes #25363
|
|
* Core/Config: Implement config override with env vars
Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.
Usage example:
$ export TC_DATA_DIR=/usr
$ TC_WORLD_SERVER_PORT=8080 ./worldserver
* Core/Config Fix typo in logs
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
* Core/Config Fix code style in EnvVarForIniKey
Co-authored-by: Shauren <shauren.trinity@gmail.com>
* Update tests/common/Config.cpp
* Apply suggestions from code review
Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>
* Apply suggestions from code review
Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>
Co-authored-by: Anton Popovichenko <anton.popovichenko@mendix.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>
|
|
* Core/DBLayer: Add QueueSize() method
Add QueueSize() method to database objects (Login, Character and World) that returns how many tasks are queued.
Include the queue size of the 3 databases in ".server debug" command
* Make the code less threadsafe
* Send data to InfluxDB
* Update grafana dashboard
|
|
|
|
* Core/Console: Improve ReadWinConsole logic and cosmetic changes
* Core/Console: Fixed possible appearance of weird characters in the console when printing the output of child processes
* Fix codestyle
* Removed auto
* Core/Misc: Explicit casting Difficulty values to uint8 before outputting to console
* Core/Misc: Cast Difficulty to uint32 for output to console
Co-authored-by: jackpoz <giacomopoz@gmail.com>
|
|
* Vmap: Introduce skipping of antiportals and unreachable mogp
* Reduce differences with master branch
* Update VMAP and MMAP versions
* Update MMAPs version
Co-authored-by: jackpoz <giacomopoz@gmail.com>
|
|
|
|
* Core/Misc: Fixed utf8 encoding in console input/output.
* Fix gcc build
* Fixed that weird 'a' with circle above it and other similar letters. Also fixed encoding in AppenderConsole which sometimes did not work as it should
* Fix build on Linux
* Probably better to do it like this
|
|
definition when inside namespaces
(cherry picked from commit ec87d048b4ebbb326158bc05512d1cc5ecbe8271)
# Conflicts:
# src/server/game/AuctionHouse/AuctionHouseMgr.cpp
# src/server/game/AuctionHouse/AuctionHouseMgr.h
# src/server/game/Entities/Object/ObjectGuid.h
# src/server/game/Entities/Object/Updates/UpdateField.h
# src/server/game/Entities/Object/Updates/UpdateFields.cpp
# src/server/game/Entities/Object/Updates/UpdateFields.h
# src/server/game/Entities/Player/CollectionMgr.cpp
# src/server/game/Entities/Player/CollectionMgr.h
# src/server/game/Phasing/PhaseShift.cpp
# src/server/game/Phasing/PhaseShift.h
# src/server/game/Phasing/PhasingHandler.cpp
|
|
(cherry picked from commit 0763844fb604075580e1c84672cb2e4a4fe19cde)
# Conflicts:
# src/server/game/AuctionHouse/AuctionHouseMgr.cpp
# src/server/game/AuctionHouse/AuctionHouseMgr.h
# src/server/game/Entities/Object/ObjectGuid.h
# src/server/game/Entities/Object/Updates/UpdateField.h
# src/server/game/Entities/Object/Updates/UpdateFields.cpp
# src/server/game/Entities/Object/Updates/UpdateFields.h
# src/server/game/Entities/Player/CollectionMgr.cpp
# src/server/game/Entities/Player/CollectionMgr.h
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Globals/ObjectMgr.h
# src/server/game/Phasing/PhaseShift.cpp
# src/server/game/Phasing/PhaseShift.h
# src/server/game/Phasing/PhasingHandler.cpp
|
|
(#26324)
* MapExtraction: Fix water height redundancy algorithm ignoring "no water"
* Update MMAP_VERSION
* Change map version
Co-authored-by: jackpoz <giacomopoz@gmail.com>
|
|
Circle CI artifacts (#25832)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
|
|
std::wstring in 309851e. Fixes creation characters with declined russian names (#25797)
Closes #23775
|
|
* Core/Misc: fix double empty line
* worldserver.conf
|
|
Close #25789
|
|
Re-generating MMAPs IS required.
Partially reverts 995a443da219ec773febd7dd29d18f3cefaa1f3b .
Having 2 different slope angles of 55° and 85° created too many polygons to fit in the current mmtile structure. This caused some polygons to become disconnected from each other, creating the old "invisible walls" effect. Because of this and because of the performance hit when loading a mmtile caused by the increase of polygon numbers, this commit reverts the recent changes and sets by default the slope angle to 55°.
Feel free to restore the previous behaviour by running .\mmaps_generator --maxAngle 85 --maxAngleNotSteep 55 , specifying the map id as number if a single map should have different slope values.
This is the last commit that will change MMAPs version to force re-generating them. Any future change that will affect only the generation settings will be optional (but recommended).
|
|
Closes #25470
|
|
Ref #25470
|
|
|
|
|
|
|
|
|
|
|
|
everything that uses them (PR #25156)
|
|
|
|
validation, no more long-ass defines. Remove UI.ShowQuestLevelsInDialogs.
|
|
|
|
* Core/Misc: Fix issues reported by static analysis
* Core/Vmaps: Code cleanup after e77716188861d4aa83b227a90e04a66b63baeb1f
|
|
integral types, making for easier templating. Default behavior unchanged.
|
|
|
|
out_of_range errors.
|
|
Shauren.)
|
|
#25335)
|
|
std::string_view)"
This reverts commit 11c4a60fbe9d471618e0579f588706746ff3e439.
|
|
|
|
to Trinity::Impl::EnumUtilsImpl. This avoids confusing name clashes for other implementations in sub-namespaces of Trinity::Impl.
|
|
chat commands and Util.h
|
|
behavior
|
|
* Trinity::find_type_if - Find a type matching predicate in a given template parameter pack
|
|
* Trinity::new_from_tuple - same as std::make_from_tuple except allocates object using "new"
* Trinity::is_tuple - detects whether given type is a tuple specialization
* advstd::type_identity - C++20 std::type_identity
|
|
|
|
|
|
|
|
|
|
log, it was launched by windows with same context as crashing thread
|
|
reason and print directly to file, not to temporary buffer
|
|
|
|
file being all red in editor
|
|
exception hander
|
|
where they can't hurt anyone
|