Skip to content

[WIP][core] Dummy character system#608

Closed
zach2good wants to merge 1 commit into
LandSandBoat:basefrom
zach2good:dummy_system
Closed

[WIP][core] Dummy character system#608
zach2good wants to merge 1 commit into
LandSandBoat:basefrom
zach2good:dummy_system

Conversation

@zach2good

Copy link
Copy Markdown
Contributor

image
image

Concept

  • Creepy mannequin heads, random faces, random sex/races.
  • Player characters, with their packet queues blocked off, with random pathfinding controllers.
  • Generate packets for real players to observe and measure improvements to packet system.
  • Kinda nice to see lots of player-ish things running around in city zones

I affirm:

  • I have paid attention to this example and will edit again if need be to not break the formatting, or I will be ignored
  • that I agree to LandSandBoat's Limited Contributor License Agreement, as written on this date
  • that I have read the Contributing Guide
  • that I've tested my code and things my code changed since the last commit in the PR, and will test after any later commits

Comment thread src/map/entities/charentity.h Outdated
Comment on lines 313 to 320

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

TODO: What is the performance penalty here, probably pretty bad...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Could we store all of these in a separate object? ie: CCharEntity has a member: std::unique_ptr<CPacketListContainer> which we populate on CCharEntity contruction, but we set as nullptr for dummies. Think pImp pattern?

@zach2good

Copy link
Copy Markdown
Contributor Author

Don't think I ever want this to make it into the actual codebase. Will save the patch and write an article about it

@zach2good zach2good closed this Mar 5, 2022
@zach2good

Copy link
Copy Markdown
Contributor Author

Article, linked from the development wiki page:
https://github.com/LandSandBoat/server/wiki/Dummy-System

@zach2good zach2good deleted the dummy_system branch March 5, 2022 11:09
The-Aerec added a commit to The-Aerec/LSB that referenced this pull request Nov 7, 2022
Adjusts mobType bits as well as addresses mobwsprep function.
@zanglikun

Copy link
Copy Markdown

it will be merg to master banch?

@zach2good

Copy link
Copy Markdown
Contributor Author

No, this was just a proof of concept, it'll never be merged into master/base

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