mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 18:47:35 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e060d97798 | |||
| 435b6142b8 |
@@ -1,3 +1,9 @@
|
|||||||
|
## [22.44.3] - 2/12/2024
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
|
||||||
|
* Fix Issue with ClearSpawnTimers() ([#4070](https://github.com/EQEmu/Server/pull/4070)) @Kinglykrab 2024-02-13
|
||||||
|
|
||||||
## [22.44.2] - 2/12/2024
|
## [22.44.2] - 2/12/2024
|
||||||
|
|
||||||
### Bots
|
### Bots
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
// Build variables
|
// Build variables
|
||||||
// these get injected during the build pipeline
|
// these get injected during the build pipeline
|
||||||
#define CURRENT_VERSION "22.44.2-dev" // always append -dev to the current version for custom-builds
|
#define CURRENT_VERSION "22.44.3-dev" // always append -dev to the current version for custom-builds
|
||||||
#define LOGIN_VERSION "0.8.0"
|
#define LOGIN_VERSION "0.8.0"
|
||||||
#define COMPILE_DATE __DATE__
|
#define COMPILE_DATE __DATE__
|
||||||
#define COMPILE_TIME __TIME__
|
#define COMPILE_TIME __TIME__
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "eqemu-server",
|
"name": "eqemu-server",
|
||||||
"version": "22.44.2",
|
"version": "22.44.3",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/EQEmu/Server.git"
|
"url": "https://github.com/EQEmu/Server.git"
|
||||||
|
|||||||
+5
-3
@@ -2649,22 +2649,24 @@ void Zone::ClearSpawnTimers()
|
|||||||
|
|
||||||
iterator.Reset();
|
iterator.Reset();
|
||||||
|
|
||||||
std::vector<std::string> respawn_ids;
|
std::vector<uint32> respawn_ids;
|
||||||
|
|
||||||
while (iterator.MoreElements()) {
|
while (iterator.MoreElements()) {
|
||||||
respawn_ids.emplace_back(std::to_string(iterator.GetData()->GetID()));
|
respawn_ids.emplace_back(iterator.GetData()->spawn2_id);
|
||||||
|
|
||||||
iterator.Advance();
|
iterator.Advance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!respawn_ids.empty()) {
|
||||||
RespawnTimesRepository::DeleteWhere(
|
RespawnTimesRepository::DeleteWhere(
|
||||||
database,
|
database,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"`instance_id` = {} AND `id` IN ({})",
|
"`instance_id` = {} AND `id` IN ({})",
|
||||||
GetInstanceID(),
|
GetInstanceID(),
|
||||||
Strings::Implode(", ", respawn_ids)
|
Strings::Join(respawn_ids, ", ")
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 Zone::GetSpawnKillCount(uint32 in_spawnid) {
|
uint32 Zone::GetSpawnKillCount(uint32 in_spawnid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user