1194 Commits

Author SHA1 Message Date
Akkadius
03da2e783f Update windows-build.ps1 2023-01-22 23:53:16 -06:00
Akkadius
63f54a1fb6 Update windows-build.ps1 2023-01-22 23:53:16 -06:00
Akkadius
632867631e Update windows-build.ps1 2023-01-22 23:53:16 -06:00
Akkadius
ec9476528f Trim windows assets 2023-01-22 23:53:16 -06:00
Akkadius
fbad3ca88a Update linux-build.sh 2023-01-22 23:53:16 -06:00
Akkadius
63727cc1e3 Update linux-build.sh 2023-01-22 23:53:16 -06:00
Akkadius
b3788a0cee Update linux-build.sh 2023-01-22 23:53:16 -06:00
Akkadius
4d67c12752 Run it 2023-01-22 23:53:16 -06:00
Akkadius
57f64a3f2e Consolidate 2023-01-22 23:53:16 -06:00
Akkadius
b314b048db Update windows-build.ps1 2023-01-22 23:53:16 -06:00
Akkadius
d1d119d7fb F 2023-01-22 23:53:16 -06:00
Akkadius
f22c08cbdb Update windows-build.ps1 2023-01-22 23:53:16 -06:00
Akkadius
1711cae4f4 Update windows-build.ps1 2023-01-22 23:53:16 -06:00
Akkadius
0d740b87aa Update windows-build.ps1 2023-01-22 23:53:16 -06:00
Akkadius
c0ff63e2d8 Take #45354 2023-01-22 23:53:16 -06:00
Akkadius
7934a85086 Shuffle 2023-01-22 23:53:16 -06:00
Akkadius
6d881d0b1b Update build-release.bat 2023-01-22 23:53:16 -06:00
Akkadius
4b20db6ab7 Update build-release.bat 2023-01-22 23:53:16 -06:00
Akkadius
9df9f213f6 Test pipeline 2023-01-22 23:53:16 -06:00
Akkadius
5ab1d7740f Update build-release.bat 2023-01-22 23:53:16 -06:00
Akkadius
aa17afd6e0 Update build-release.bat 2023-01-22 23:53:16 -06:00
Akkadius
5b19ecd800 Update build-release.bat 2023-01-22 23:53:16 -06:00
Akkadius
21479dc517 Test 2023-01-22 23:53:16 -06:00
Akkadius
576d39e04b Add version checks 2023-01-22 23:53:15 -06:00
Akkadius
268e03206a Release without bots 2023-01-22 23:53:15 -06:00
Akkadius
420c545dbd Yolo 2023-01-22 23:53:15 -06:00
Akkadius
7ac170627d Yolo 2023-01-22 23:53:15 -06:00
Akkadius
911ce259e8 Test upload 2023-01-22 23:53:15 -06:00
Akkadius
ccd325f75d Naming 2023-01-22 23:53:15 -06:00
Akkadius
3fc9c470c4 Test 2023-01-22 23:53:15 -06:00
Akkadius
0aa69504a1 Remove 7z from build scripts 2023-01-22 23:53:15 -06:00
Akkadius
3408d136e2 Split 2023-01-22 23:53:15 -06:00
Akkadius
337019fb4d Update windows-build.ps1 2023-01-22 23:53:15 -06:00
Akkadius
840744df9a Update windows-build.ps1 2023-01-22 23:53:15 -06:00
Akkadius
68954ef965 Update windows-build.ps1 2023-01-22 23:53:15 -06:00
Akkadius
e10c7da2f9 Test 2023-01-22 23:53:15 -06:00
Aeadoin
293f79268d
[Bots] Fix Slow Query in QueryNameAvailablity (#2781) 2023-01-22 18:26:57 -05:00
Chris Miles
7e35d5aa79
[AA] Fix AA tables dump (#2769) 2023-01-22 12:57:08 -05:00
Akkadius
0ccb18d017 [Hotfix] Remove appveyor fetch bots 2023-01-20 20:56:19 -06:00
Akkadius
e8ca3f6942 [eqemu_server.pl Swap out binary source 2023-01-20 12:56:37 -06:00
Alex King
3335cacac1
[Bots] Cleanup and remove preprocessors. (#2757)
* [Bots] Cleanup and remove preprocessors.

- Removes every `#ifdef BOTS` we have and locks bots behind `Bots:AllowBots` rule.
- Bot updates are now done by default similar to regular database updates.
- Modify `CMakeLists.txt`, `.drone.yml`, and `BUILD.md` to match the removal of `EQEMU_ENABLE_BOTS`.

* Cleanup

- Add SQL for enabling bots for servers with bots.
- Add message that tells players/operators bots are disabled.

* Suggested changes.

* Bot injection stuff

* Change SQL to bot SQL.

* Tweaks

* Remove `is_bot`

* Update version.h

* Update main.cpp

* Update database.cpp

* Fix name availability crash

* Remove bots from update script

Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-01-20 12:35:33 -06:00
JJ
7cd6b4b8ab
[SQL] Update 2023_01_15_merc_data.sql (#2763)
Odd spacing. Someone fell asleep on the keyboard.
2023-01-19 18:20:46 -06:00
Vayle
29473aa7f5
[Rules] Add rule to allow players to permanently save chat channels to database, up to a limit. (#2706)
* Initial code

* Tweak

* Rule description tweak

* More channel work

* More adjustments

* Auto-join saved permanent player channels

* Fix UCS crash if player has no channels to load from table.

* Implemented channel blocking feature

* Update database when player channel's owner or password change

* First round of requested changes.

* Logic tweak to ensure player channels are sets to permanent when appropraite

* name_filter table integration and some refactoring

* Use new `reserved_channel_names` table to block specific channel names.

* Remove some legacy channel block code

* Setup required SQL update to create  `reserved_channel_names`  table.

* Update db_update_manifest.txt

* Update db_update_manifest.txt

* Update chatchannel.cpp

* Code review

* Database to UCSDatabase

* Repository SaveChatChannel

* CurrentPlayerChannelCount repository

* Cleanup name filter

* CreateChannel

* Update websocketpp

* Increment CURRENT_BINARY_DATABASE_VERSION

Set to 9216

* Minor tweaks to blocked channel name checks & other related areas.

- Enforce blocked channel names on channel creation.
- Also enforce blocked channel names on channel join.
- Add channel status check to Debug logging.
- Minor formatting adjustments.
- Add single quotes to column name value in query.

* Minor log change

* Increment DB Version

* Formatting Tweaks

- Made formatting adjustments consistent with KinglyKrab's recommended changes.
- This compiles successfully with these changes, but unable to test the changes until this weekend.

Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-01-18 22:42:09 -06:00
Alex King
fbb36a3e75
[Mercs] Add Mercenary Support (#2745)
* [Mercs] Add Mercenary Support

# Notes
- Adds `--merc-tables` support to database dumper.
- Adds Mercenary-based repositories.
- Adds required SQL `2023_01_15_merc_data.sql` to insert the tables for those who don't already have them.
- Adds optional SQL `2023_01_15_merc_liaisons.sql` to change NPCs to the Mercenary Liaison class optionally.

* Inline.

* Trim tables_to_dump output

Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-01-17 16:19:55 -05:00
Natedog2012
3341c0b7ab
[Luamod] Add CalcSpellEffectValue_formula to luamods (#2721)
* [Luamod] Add CalcSpellEffectValue_formula to luamods with example code in utils/mods/spell_formula.lua

* Fix typo

* Change formula down to uint32, fix format issues and remove debug on lua file
2023-01-11 17:49:35 -06:00
Alex King
0d23ffe5e5
[Zones] Add Max Level Check to Zones. (#2714)
* [Zones] Add Max Level Check to Zones.

# Perl
- Add `$client->CanEnterZone(zone_short_name)`.
- Add `$client->CanEnterZone(zone_short_name, instance_version)`.

# Lua
- Add `client:CanEnterZone(zone_short_name)`.
- Add `client:CanEnterZone(zone_short_name, instance_version)`.

# Notes
- Allows operators to limit zones to a maximum level.
- Allows operators to see if a player can enter a zone before sending them.
- Keeps players from entering via `#peqzone` and `#zone` as well if they do not meet the requirements or are not high enough status to bypass the requirements.

* Cleanup.
2023-01-10 20:47:37 -05:00
Aeadoin
f962466573
[Hotfix] Corrected misnamed Database Query file for Experience Toggle (#2683)
* [Hotfix] Correct misnamed DB script

* [Hotfix] Fix misnamed DB file
2022-12-30 21:50:35 -05:00
Alex King
a6fa6084fa
[Feature] Add Experience Gain Toggle. (#2676)
* [Feature] Add Experience Gain Toggle.

# Perl
- Add `$client->IsEXPEnabled()`.
- Add `$client->SetEXPEnabled(is_exp_enabled)`.

# Lua
- Add `client:IsEXPEnabled()`.
- Add `client:SetEXPEnabled(is_exp_enabled)`.

# Commands
- Add `#exptoggle [Toggle] - Toggle your or your target's experience gain.`.

# Notes
- Allows operators to turn on/off a player's experience gain individually without changing their rule values.
- The command allows operators to give players access to the command to disable their own experience gain.
2022-12-30 17:30:23 -05:00
Alex King
a590ea1d52
[Feature] Add "Keeps Sold Items" Flag to NPCs (#2671)
# Perl
- Add `$npc->GetKeepsSoldItems()`.
- Add `$npc->SetKeepsSoldItems(keeps_sold_items)`.

# Lua
- Add `npc:GetKeepsSoldItems()`.
- Add `npc:SetKeepsSoldItems(keeps_sold_items)`.

# Notes
- Allows operators to keep specific NPCs from keeping items sold to them.
- Keeps NPCs from being cluttered with stuff like Cloth Caps, Bone Chips, etc.
2022-12-25 16:36:20 -05:00
Chris Miles
0d1fa9e96e
[Repositories] Add Cereal support to repository generator (#2660)
* [Repositories] Add Cereal support to repository generator

* Update base_repository.template
2022-12-20 13:12:44 -06:00