Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Enable bazaar window 'Find Trader' functionality #4560

Merged

Conversation

neckkola
Copy link
Contributor

@neckkola neckkola commented Nov 28, 2024

Enables the 'Find Trader' button on the Bazaar search window. Tested against multi-instanced bazaars as well. Also updated the 'local/all' trader functions.

Update: 2024-12-03
Decided to move the SendBulkTraders out of the zoning routines to reduce zone in traffic. Instead moved to when the /bazaar window is first opened using a specific action type. I had done this with the buyer functionality was added and it has worked well. This will save (78 * num_traders)bytes from being sent on each zone, for each client.

Also updated the SendBulkTraders routine to be instance aware. I had missed that previously.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Testing

https://www.youtube.com/watch?v=gwMwxlvyzek

Clients tested:
RoF2

Checklist

  • I have tested my changes
  • I have performed a self-review of my code. Ensuring variables, functions and methods are named in a human-readable way, comments are added only where naming of variables, functions and methods can't give enough context.
  • I own the changes of my code and take responsibility for the potential issues that occur
  • If my changes make database schema changes, I have tested the changes on a local database (attach image). Updated version.h CURRENT_BINARY_DATABASE_VERSION to the new version. (Delete this if not applicable)

@neckkola neckkola changed the title [Feature] Enable trader 'Find Trader' functionality [Feature] Enable bazaar window 'Find Trader' functionality Nov 28, 2024
…pening of the bazaar search window.

Add zone instance to SendBulkTraders to support multi-instanced bazaars.
Copy link
Member

@Akkadius Akkadius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work! Love the testing video as well

@Akkadius Akkadius merged commit 6172c49 into EQEmu:master Dec 12, 2024
1 check passed
MortimerGreenwald pushed a commit to MortimerGreenwald/Server that referenced this pull request Dec 13, 2024
…u#4570)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0.
- [Commits](golang/crypto@v0.21.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

[Rules] Add rules for requiring custom files from client (EQEmu#4561)

* rules for enabling requiring custom files

* shorten default

* variable name

* check account status for enforcing client key

* rule for custom files admin level

---------

[Commands] Add #find ldon_theme Subcommand (EQEmu#4564)

[Cleanup] Remove Unused Group Methods (EQEmu#4559)

[Feature] Enable bazaar window 'Find Trader' functionality (EQEmu#4560)

* First pass to enable trader 'Find Trader' functionality

* Move SendBulkTraders out of zoning routines and send as part of the opening of the bazaar search window.
Add zone instance to SendBulkTraders to support multi-instanced bazaars.

[Databuckets] Improved Reliability and Performance of Databuckets (EQEmu#4562)

* [Databuckets] Don't broadcast client-scoped updates

* Remove temp feature flag

* Remove distributed caching, only cache for character scoped data, simplify

* Update bot.cpp

* Cleanup

* Update data_bucket.cpp

* Cleanup

* Cleanup

* Remove BulkLoadEntities from LoadNPCTypes

* Update data_bucket.cpp

* Cleanup

* More cleanup

* More cleanup

* BulkLoadEntities to BulkLoadEntitiesToCache

* Add CanCache in DeleteData to gate an unnecessary call

[Cleanup] Convert Event Parses to Single Line (EQEmu#4569)

* [Cleanup] Convert Event Parses to Single Line

* Push

* Update spells.cpp

* Update spells.cpp

---------

Co-Authored-By: Paul Johnson <[email protected]>
Co-Authored-By: Akkadius <[email protected]>
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
MortimerGreenwald pushed a commit to MortimerGreenwald/Server that referenced this pull request Dec 13, 2024
…u#4570)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0.
- [Commits](golang/crypto@v0.21.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

[Rules] Add rules for requiring custom files from client (EQEmu#4561)

* rules for enabling requiring custom files

* shorten default

* variable name

* check account status for enforcing client key

* rule for custom files admin level

---------

[Commands] Add #find ldon_theme Subcommand (EQEmu#4564)

[Cleanup] Remove Unused Group Methods (EQEmu#4559)

[Feature] Enable bazaar window 'Find Trader' functionality (EQEmu#4560)

* First pass to enable trader 'Find Trader' functionality

* Move SendBulkTraders out of zoning routines and send as part of the opening of the bazaar search window.
Add zone instance to SendBulkTraders to support multi-instanced bazaars.

[Databuckets] Improved Reliability and Performance of Databuckets (EQEmu#4562)

* [Databuckets] Don't broadcast client-scoped updates

* Remove temp feature flag

* Remove distributed caching, only cache for character scoped data, simplify

* Update bot.cpp

* Cleanup

* Update data_bucket.cpp

* Cleanup

* Cleanup

* Remove BulkLoadEntities from LoadNPCTypes

* Update data_bucket.cpp

* Cleanup

* More cleanup

* More cleanup

* BulkLoadEntities to BulkLoadEntitiesToCache

* Add CanCache in DeleteData to gate an unnecessary call

[Cleanup] Convert Event Parses to Single Line (EQEmu#4569)

* [Cleanup] Convert Event Parses to Single Line

* Push

* Update spells.cpp

* Update spells.cpp

---------

Co-Authored-By: Paul Johnson <[email protected]>
Co-Authored-By: Akkadius <[email protected]>
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Revert "Bump golang.org/x/crypto in /utils/scripts/build/should-release (EQEmu#4570)"

This reverts commit 612b03a.
@Akkadius Akkadius mentioned this pull request Jan 6, 2025
joligario added a commit to ProjectEQ/peqphpeditor that referenced this pull request Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants