Commit graph

408 commits

Author SHA1 Message Date
Rawaho
909c6ac929
Update Nuget Packages.
Update EntityFrameworkCore to 7.
Update Pomelo.EntityFrameworkCore.MySql to alpha build to support EntityFrameworkCore 7.
2022-12-03 19:33:40 +13:00
Rawaho
94f50c62bb
Updated projects to .NET 7. 2022-12-03 17:30:58 +13:00
Rawaho
d53ce26c37
Fixed not being able to login to accounts where usernames and passwords contain non ASCII characters. 2022-09-01 12:48:11 +12:00
Neiko
ff11fba71c
Merge pull request #261 from kirmmin/cinematics
Cinematics/Core: Initial implementation
2022-09-01 01:12:58 +12:00
Rawaho
a53ffc177f
Style cleanup for cinematic code.
Corrected being able to queue multiple cinematics.
2022-09-01 01:06:41 +12:00
Kirmmin
bdb74b126c Cinematics/Core: Initial implementation
Includes Novice Tutorial starting Cinematic for both Factions
Includes Exile cinematic for the Combat step of the Novice Tutorial

Spline Camera support

Fix following rebase

[Cinematics/Core] Autoplay cinematics, remove player character requirement
2022-08-31 23:33:43 +12:00
Neiko
05bdea7e9e
Merge pull request #416 from kirmmin/path-set-packet-fix
[Player/Fix] Fixed packet to no longer emit from target.
2022-08-31 21:46:22 +12:00
Matt-Hurd
69b0f9425c [Quests/Fix] Quests without objectives are Achieved 2022-08-29 01:10:17 -05:00
Kirmmin
e35fd01ed7 [Player/Fix] Fixed packet to no longer emit from target.
This was necessary because if the target emitted the packet too early, the requesting client would forget about it.
2022-08-03 13:52:27 -07:00
Rawaho
aa25b2fedf
Update NuGet packages to resolve Dependabot alerts. 2022-08-01 22:36:24 +12:00
Rawaho
b8ba2f3937
Remove UnitEntity parameter from Title prerequisite handler until changes are merged. 2022-08-01 22:35:21 +12:00
Neiko
9a76a1546f
Merge pull request #412 from WSRP-GenesisPrime/Plotindex-fix-PR
Plotindex fix - Decor no longer shifts around on server restart, when placed near house.
2022-08-01 09:26:16 +12:00
Neiko
ce3d94f995
Merge pull request #413 from WSRP-GenesisPrime/CostumeSlotOneFix-PR
Costume slot 1 fix - It can now save properly, even after the first save.
2022-08-01 09:24:53 +12:00
Neiko
e1f795ce47
Merge pull request #414 from kirmmin/character_get_titles
[Character/Title] Check for title
2022-08-01 09:24:26 +12:00
Matt-Hurd
bb8dd3d97e [Quests/Fix] Max of 40 accepted quests, not completed 2022-07-31 09:01:20 -07:00
Kirmmin
3daf34f8bd [Character/Title] Check for title
PreRequisites included for Smart Shopper Title support
2022-07-30 13:50:36 -07:00
Dekker3D
99638975f1 Costume slot 1 would fail to save properly, probably for the same reason that plotindex 0 caused issues with decor. The exact mechanism of this failure is unknown to me, but a .ValueGeneratedNever() on character_costume_item.index fixes this issue. 2022-07-12 21:35:26 +02:00
Dekker3D
d4f5bc4663 Decor placed near the central housing area would shift when the server restarts. This happened because any decor with plotindex 0 was instead saved with plotindex equal to int-max. On load, it would then place the decor relative to the main map, not the central housing area.
A simple .ValueGeneratedNever() in the right place fixes this.
2022-07-12 21:30:49 +02:00
Neiko
a63b6dca5b
Merge pull request #396 from kirmmin/entitlement-flags
[Entitlement/Core] Support Entitlement Flags
2022-02-14 20:31:21 +13:00
Rawaho
c3800ed734 Added additional RBAC permission for updating other play entitlements.
Split local function that checks entitlement validity into a seperate function.
Removed now obsolete RBAC permission and updated name of replaced permission to match function.
Small cleanup.
2022-02-14 20:07:06 +13:00
Neiko
62a0188018
Merge pull request #400 from mgasparel/automate_file_generation
Option to generate map and table files on WorldServer build
2021-12-18 14:50:31 +13:00
Michael Gasparelli
5d8f3fced6 Option to build map and table files on build 2021-12-14 22:26:53 -05:00
Neiko
7f827ff4c9
Merge pull request #397 from kirmmin/quest-rewards-no-choice
[Quests/Rewards] Give out rewards which don't require a choice
2021-12-12 00:55:20 +13:00
Brannon Penrod
9bdefc2647
[Guilds/Core] Allow guilds with different GuildTypes to have the same name (#398)
* [Guilds/Core] Allow guilds with different GuildTypes to have the same name

* [Guilds/Core] Allow guilds with different GuildTypes to have the same name

* Fix GetHashCode

* Add names to Tuple members

* Fix spacing issue
2021-12-12 00:50:46 +13:00
Kirmmin
6441e98b8f [Quests/Rewards] Give out rewards which don't require choice 2021-12-06 16:15:45 -05:00
Neiko
ea2b7066bc
Merge pull request #389 from Matt-Hurd/fix_wardrobe_swapping
[Entity/CostumeManager] Prevent double-setting costume index
2021-12-05 21:16:46 +13:00
kirmmin
52a94ea783
[RBAC/Roles] Apply Default Roles (#387)
* [RBAC/Roles] Apply Default Roles

CreateAccount method update for Role

Use "Null coalescing assignment operator"... apparently?

* Updated Role parameter for account creation command to optional.

Co-authored-by: Rawaho <rawahodev@gmail.com>
2021-12-05 20:57:35 +13:00
Neiko
2f91c6d544
Merge pull request #392 from kirmmin/fix-costume-cap
[Costumes/Core] Support Costumes up to cap defined by EntitlementManager
2021-12-05 20:01:36 +13:00
Rawaho
ed0a3ea983
Updated server time offset to use TimeSpan to account for timezones that aren't hour aligned. 2021-12-05 19:55:31 +13:00
Kirmmin
3513fee7d0 [Entitlement/Core] Support Entitlement Flags
Define Flag values
Rename to Flags

Handle Flag 0 appropriately
2021-12-03 21:43:36 -05:00
Kirmmin
8fdd440b35 [Server/Core] Calculate Server Time for client 2021-12-02 21:14:40 -05:00
Kirmmin
c152cb28a2 [Costumes/Core] Support Costumes up to cap defined by EntitlementManager 2021-12-02 10:49:39 -08:00
Neiko
ecf9d11867
Merge pull request #386 from kirmmin/fix-reward-property-update
[Entitlements/RewardProperties] Fix Update for Reward Properties
2021-12-02 18:51:43 +13:00
Matt-Hurd
1b592e681e [Entity/CostumeManager] Prevent double-setting costume index 2021-12-01 21:06:41 -06:00
Kirmmin
b33e9a3162 [Database/Auth] Fix load time issues
Use AsSplitQuery methods

Remove Duplicate Include
2021-12-01 18:09:54 -08:00
Kirmmin
cbc6cb9f4e [Entitlements/RewardProperties] Fix Update for Reward Properties 2021-11-29 22:09:07 -08:00
Rawaho
0305d93dca
Prevent multiple sessions with the same id being logged into the same world server.
Still need to come up with a better way to handle multiple realms...
2021-11-28 22:20:51 +13:00
Rawaho
f5de8bd94e
Improved queuing functionality.
Players can now rejoin the queue if disconnected.
Added checks to prevent player from performing actions while queued.
Sessions now have a unique id, this will either be a known value such as account id or for newer sessions a random guid.
Sessions can now be looked up via keyed id.
2021-11-28 21:59:42 +13:00
Kirmmin
a156f92b94 [Realm/Queue] Queue connections when at max capacity
DB Migration for Permissions
2021-11-28 12:23:42 +13:00
kirmmin
bf4439ef1f
Quest/Commands: List active quests (#383)
* Quest/Commands: List active quests

* Remove explicit AsEnumerable call.

Co-authored-by: Rawaho <rawahodev@gmail.com>
2021-11-27 22:19:33 +13:00
Rawaho
f2c36a70dd
Update projects to .NET6.
Updated Nuget dependencies to latest versions.
2021-11-27 19:16:03 +13:00
Rawaho
6f4904ceaf Memory allocated by base maps is now only done if cell contains specific section. 2021-11-27 18:56:21 +13:00
kirmmin
cf9e23b742
[Inventory/Item] Fix IsEquippable incorrect return (#384)
* [Inventory/Item] Fix IsEquippable incorrect return

* Update Source/NexusForever.WorldServer/Game/Entity/ItemInfo.cs

Co-authored-by: Marius Ungureanu <therzok@gmail.com>

Co-authored-by: Marius Ungureanu <therzok@gmail.com>
2021-11-27 18:27:28 +13:00
Rawaho
a1537fa846
Fixed an issue where invoking commands from the console appended line seperation characters.
This fixes being able to create an account via console.
2021-10-31 21:54:48 +13:00
Rawaho
8518f523b5
Added realm shutdown command. Based on PR#339, thanks @Digitalroot ! 2021-10-31 18:30:53 +13:00
Rawaho
80988f05f7
Updated servers to use .NET hosting with service (Windows and Systemd) support.
Servers now support graceful shutdown.
Reworked how console commands are parsed to allow for graceful world server shutdown.
Moved WebHost into generic host in world server.
Added some additional logging and comments to various managers.
2021-10-25 20:56:57 +13:00
Rawaho
a430a25df4
Small cleanup to chat fix commit. 2021-10-19 22:25:10 +13:00
Dekker3D
548ab454de
Social/Bugfix: Small Genesis Prime chat fixes (#380)
* Remove chat duplication bug from GuildBase chats and custom channels.
Added Nexus and Trade chat (easily extended to cover German/French versions too, if desired?
Added GM Flag as an RBAC permission.
/chlist now only lists online members.

* Sometimes, GetChatChannel(channelType, 1).Leave(session.Player.CharacterId); caused a NullReferenceException. The most likely cause was that session.Player was null. Now, it references the player directly.
2021-10-19 22:06:44 +13:00
kirmmin
9eb5fd4531
Entity/Mounts: Fix mount summoning (#382)
Adds support for PreReqs that allow for mounts to be summoned again
Fixes issue where switching to a different mount, while mounted, was causing disconnects

Co-authored-by: Neiko <rawahodev@gmail.com>
2021-10-13 09:06:06 +13:00
Neiko
7800f282d1
Merge pull request #381 from kirmmin/prereq-hoverboard-flairs
Prerequisite/Check: Hoverboard flair support
2021-10-13 08:58:53 +13:00