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

[2.0.5][Windows][Multiplayer] Client has difficulties "bumping" another player #104

Closed
crkellen opened this issue Aug 5, 2017 · 6 comments

Comments

@crkellen
Copy link
Contributor

crkellen commented Aug 5, 2017

ISSUE:
Players can "bump" each other by right clicking. This displays their name, current HP/Max, etc. Clients in a multiplayer game are often unable to preform this action, but the Host can freely.

EXPECTED RESULT:
When a Client player right-clicks another player, it should preform the "bump" action.

STEPS TO REPRODUCE:

  1. Host a multiplayer game.
  2. Invite or have friends join through Steam.
  3. Start the game.
  4. Right-click the other players, note any difficulties in doing so. The text should appear in the bottom right.
  5. Have someone else Host a multiplayer game.
  6. Join through Steam.
  7. Start the game.
  8. Attempt to right-click other players, note any difficulties in doing so. The text should appear in the bottom right.

ADDITIONAL INFO:
By the time we reached the underworld, the "bump" action was completely impossible for the Client with me to do. I could still do it freely. Often times he has to be slightly inside of my entity (pushing me), to get it to trigger.

@crkellen crkellen changed the title [2.0.5] [Multiplayer] Client has difficulties "bumping" another player [2.0.5][Windows][Multiplayer] Client has difficulties "bumping" another player Aug 5, 2017
@SheridanR
Copy link
Collaborator

I believe it always works for clients as long as you click on the player's head. It has nothing to do with proximity or collision.

The same issue occurs for talking to followers or shopkeepers. It only works for clients if you click on their head.

Clicking on limbs is supposed to do a lookup on the client to get the character's head uid, which iirc is the "actual" object-click that is sent to the server. But something along that pipeline isn't working right.

@crkellen
Copy link
Contributor Author

crkellen commented Aug 5, 2017

Yep. @WALLOFJUSTICE explained that only the head exists, and everything else is simulated locally.
I'll take a look at it sometime.

crkellen pushed a commit to crkellen/Barony that referenced this issue Aug 9, 2017
@crkellen
Copy link
Contributor Author

crkellen commented Aug 9, 2017

The issue with this was due to the Client being unable to select entities that were not the head.
This was because the entities were not in the 'map_entities' map that contains all entities.
This was fixed by changing a return to a continue statement.

addictgamer added a commit that referenced this issue Aug 12, 2017
Fix issue #104 - Client does not add Limb Entities to map
WALLOFJUSTICE referenced this issue in WALLOFJUSTICE/Barony Oct 9, 2017
Already merged into Barony-next, this is a parity change to master.

Allow clients to right-click on body of other monsters. Credits to @crkellen
WALLOFJUSTICE referenced this issue in WALLOFJUSTICE/Barony Oct 10, 2017
@addictgamer addictgamer added this to the v2.0.7 Bugfix Patch milestone Oct 20, 2017
@addictgamer addictgamer reopened this Oct 20, 2017
@addictgamer
Copy link
Collaborator

addictgamer commented Oct 20, 2017

Re-opening this since I want it merged into an off-shoot of master (probably in a 2.0.7 branch -- to avoid conflicts with rewriting history and such) and shipped in a live build.

@crkellen
Copy link
Contributor Author

As requested, there is now a new PR based on v2.0.7 branch.

addictgamer added a commit that referenced this issue Oct 22, 2017
[2.0.7] Fix Issue #104 - Client does not add Limb Entities to map
@addictgamer
Copy link
Collaborator

Merged in #218 into v2.0.7-branch

addictgamer pushed a commit that referenced this issue Dec 25, 2019
* aesthetic skin characters can pick any DLC classes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants