Commit Graph

408 Commits

Author SHA1 Message Date
KimLS 591fa0eb1d -Set laurion commands to $ from . since that's closer to muscle memory.
-Add translation for OP_SpawnAppearance (later to support guilds we will need to extend it a bit server side.)
2024-11-30 23:52:00 -08:00
KimLS 2d8b777120 Fix for door clicking, add a few more opcodes. 2024-11-30 15:17:46 -08:00
KimLS f9918d47d7 Work in progress on some packets; consider and HP update look right but I'm still testing. 2024-11-26 22:52:45 -08:00
KimLS e74d4b6e67 Add formatted and simple message. npc say should work now; though we should consider moving them to what live uses "OP_SpecialMesg" 2024-11-25 22:48:20 -08:00
KimLS 11636225b1 Rename Larion -> Laurion; later we'll rename the branch too. Make sure to update your patch file name. 2024-11-25 20:25:09 -08:00
KimLS 4e53f5464f Set focus effects enabled to 1 in op_logserver 2024-11-23 22:53:22 -08:00
KimLS 233a0dda6a Fix op_charinventory (mostly) 2024-11-23 22:28:17 -08:00
KimLS 1ab0e78f00 WIP; close if not there already. 2024-11-22 23:15:20 -08:00
KimLS 9d5a9ee6df More work in progress 2024-11-22 22:58:43 -08:00
KimLS d713ff69bf WIP items 2024-11-22 19:06:18 -08:00
KimLS 8947058465 NewSpawn support 2024-11-21 23:51:20 -08:00
KimLS 429d6fd87d WIP chat message work 2024-11-21 23:06:44 -08:00
KimLS 0eedbea060 Added alternate command sequence for clients that don't support # commands. Incoming channel messages work I think. Outgoing special msg still pretty screwed up but working on it. 2024-11-20 22:35:09 -08:00
KimLS 63331b678b Fix movement (client->server) packets 2024-11-20 20:31:32 -08:00
KimLS ebb657153a Zoning works but saving and player movement packets dont so it's a little limited, wear change works.
Chat is a work in progress but not yet working.
2024-11-19 21:06:53 -08:00
KimLS 2c5c28b808 Movement works, mostly now. 2024-11-18 20:00:03 -08:00
KimLS 3a7afb48cb Issue entering zone is they changed op_enterworld a bit; right now ignore the go home and tutorial features for now 2024-11-17 22:26:16 -08:00
KimLS b167f05006 Missing fields from spawn struct 2024-11-17 21:58:27 -08:00
KimLS f6f9d275e8 Close to zone; spawn struct isn't right. 2024-11-17 19:53:09 -08:00
KimLS 004b0e1176 Ground spawn for larion 2024-11-17 17:10:41 -08:00
KimLS 8ff0e5614c Add door encode. 2024-11-17 16:42:50 -08:00
KimLS 027d95bbb8 WIP on door struct 2024-11-17 15:44:05 -08:00
KimLS b85344f779 Fix for OP_ZoneEntry spawn struct sometimes containing garbage data in flags causing random crashes. 2024-11-16 22:04:44 -08:00
KimLS 018308bfca Going to work on op mapping; we're making it past add player at least. 2024-11-16 17:08:24 -08:00
KimLS 29066cf847 Zone header needs a lot of love later, hopefully this is close enough 2024-11-16 14:05:31 -08:00
KimLS da9a95fd83 WIP zone header 2024-11-16 12:13:55 -08:00
KimLS 7888fb2655 initial implementation of zone entry packet. 2024-11-16 11:52:06 -08:00
KimLS 45d39f44f2 WIP on the larion phsyics struct 2024-11-15 23:53:08 -08:00
KimLS 2f46da5d99 WIP Spawn struct, need to go confirm struct for cphysics 2024-11-15 22:52:52 -08:00
KimLS fa91559a85 Starting work on character guids 2024-11-14 22:13:36 -08:00
KimLS ce728c4d0d This is close but no cigar yet. 2024-11-10 10:07:32 -08:00
KimLS d29937cba6 WIP player profile 2024-11-07 23:03:38 -08:00
KimLS 799593c394 Working on zone packets. 2024-11-05 21:38:10 -08:00
KimLS c1651b7dca Fix char select 2024-10-25 22:47:27 -07:00
KimLS 4093b505d3 wip char select 2024-10-24 21:11:01 -07:00
KimLS dbb0288a13 Filled out a lot of the version stuff for a new client version (oh my lawd this could be easier!) 2024-10-24 20:35:53 -07:00
KimLS 0a9a941b6b WIP on membership 2024-10-23 21:53:24 -07:00
KimLS 702024fe04 Encode OP_LogServer 2024-10-23 18:15:40 -07:00
KimLS acdd65b55c Distracted by world server issues 2024-10-22 20:08:31 -07:00
KimLS f485dfd8d3 WIP logserver struct 2024-10-21 19:31:45 -07:00
KimLS 823bacf08a Starting to poke at op_logserver 2024-10-20 19:18:32 -07:00
KimLS a7c1c85f71 Initial 2024-10-18 17:18:37 -07:00
Mitch Freeman e49ab924cc [Feature] Add Barter/Buyer Features (#4405)
* Add Barter/Buyer Features

Adds barter and buyer features, for ROF2 only at this time including item compensation

* Remove FKs from buyer tables

Remove FKs from buyer tables

* Bug fix for Find Buyer and mutli item selling

Update for quantity purchases not correctly providing multi items.
Update for Find Buyer functionality based on zone instancing.
Update buyer messaging
Update buyer LORE duplicate check

* Revert zone instance comment

* Revert zone_id packet size field

* Add zone instancing to barter/buyer

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
2024-07-30 16:23:37 -04:00
Mitch Freeman b6b8491060 [Bug Fix] Fix for players having empty bazaar window dropdown list, even though trader is tagged as a trader. (#4391)
* Potential fix for players having empty bazaar window dropdown list, even though trader is tagged as a trader.

* Update the truncate of the trader table to avoid inappropriate deletions if an instance of bazaar was started.
2024-06-14 11:53:34 -05:00
Alex King 0f0676824c [Cleanup] Cleanup Bug Category Code (#4367)
* [Cleanup] Cleanup Bug Category-based Code

* Command

* Cleanup

* Cleanup

* Cleanup
2024-06-01 18:25:02 -05:00
Mitch Freeman fc79614fac [Feature] Add RoF2 Bazaar Support (#4315)
* Add RoF2 Bazaar Support

Enable RoF2 bazaar features

* Add augments to Trader Items

* Cleanup

Cleanup of formatting and unused functions

* Update PlayerProfile for correct char_id in trader transactions.  Further cleanup.

* Add parcel delivery price functionality

Add parcel delivery price functionality via rules and new delivery cost struct.

* Add RoF support for bazaar window outside of bazaar with parcel delivery

* Further Testing and ActiveTransaction added

Further testing and a few fixes and messages added.  Add active transaction check to ensure two clients cannot purchase from the bazaar window at the same time

* Cleanup and Formatting updates

Cleanup and Formatting updates

* Update database manifest for the trader table against default peq trader table

* Logs and formatting

* Update bazaarsearch to be content_db aware

* Fix crash

* Simplify search

* Search fixes

* Push up more search logging

* More search fixes

* Formatting

* Update trader_repository.h

* Add Rule for Bazaar Parcel Delivery

Add a rule Bazaar:EnableParcelDelivery to enable/disable bazaar parcel delivery.  Default is True.

* Fix crash

* Update Bazaar Search

Adds/Tested bazaar search with move to content_db
- race, class, money, number of returned items, stats, name, slot, level, traders, local traders, specific trader.
Outstanding
- type, more stats to add (heroic, etc)

* Formatting

* Push

* Update bazaarsearch to include all stats that are available in RoF2

* Update BazaarSearch

Updates the bazaar search for item types.  They should be working as per RoF2+ types.

* Formatting

* Final updates to BazaarSearch

Add search by augmentation slots available on the item.
This enables all but Prestige, which I believe are not implemented yet.

* Add Titanium functionality correct ItemType Search

Add Titanium /trader /bazaar functionality.
Added itemtype=armor bazaar search.  It was missed in the search work

* Close off for loops

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
2024-05-26 15:38:25 -05:00
Mitch Freeman d1c7e45437 [FIX] Fix for world crash with over 1500 guilds (#4299)
* Fix for world crash with over 1500 guilds

There was an existing issue with certain clients (RoF2) if there were more than 1500 guilds.  This also enhances the loading of guilds in both world and zone for performance if there are large number of guilds as RoF2 will support 1500+ guilds.

* Safely access permissions map

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
2024-05-09 00:53:36 -05:00
Mitch Freeman fcffc6b3d4 [Feature] Add Parcel Feature for RoF2 Clients (#4198)
* Add Parcel Feature

Add the parcel system for RoF2 client

* Fixed a duplicate define

* Reformat

reformating and review changes

* Further Formatting

* Memory Mgmt Updates

Refactored to using unique_ptr/make_unique/etc to avoid manual memory mgmt.

Other format changes

* Refactor db structure

Refactor for db structure of parcels to character_parcels
Removal of parcel_merchants
Addition of npc_types.is_parcel_merchant
Cleanup as a result

* Refactor to use item id 99990 for money transfers.  Removed the money string function as a result, though simplified the messaging related to money.  Other updates based on feedback.

* Move prune routine out of scheduler and into a world process.
Removed RuleI from #define

* Update

* Update database.cpp

* Update database_update_manifest.cpp

* Update main.cpp

* Update client_process.cpp

* Update parcels.cpp

* Remove parcel merchant content to optional sql instead of manifest.

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
2024-04-20 21:15:56 -05:00
hg e920e35a5c [Cleanup] Use explicit conversions for enum formatting (#4064)
This is prep for updating to fmt 10 which removed implicit conversions
for enums.
2024-02-12 02:58:48 -06:00
JJ 3e6924d10e [Guilds] Clean up GUILD_RANK_NONE references (#4059)
Should be exhaustive for guild rank values
Cleans up redefinition of `GUILD_RANK_NONE` by including `GUILD_RANK_NONE_TI`
Fixes #4057
2024-02-11 11:58:19 -05:00