Comments (4)
Confirmed.
from easymultiplayer-invector.
This is happening because a switch happens when you equip a melee weapon inside the
protected virtual bool DrawWeaponsImmediateConditions()
function that lives in the vDrawHideMeleeWeapons
component. I'm suspecting that the melee.weakAttackInput.GetButton()
is triggering a reset to be sent to the server every second when the button is held. Not a 100% confirmed yet but I bet the issue lives in the MP_vInput
component in the GetButton
function.
from easymultiplayer-invector.
I figured out what is going on. It's going to take a little bit to implement a fix. Basically it is this.
The curBoolValue
and prevBoolValue
are shared between all methods GetButtonDown
, GetButton
, GetButtonUp
, etc. For certain button presses this is okay but for others, like the WeakAttackInput
this MUST be separated out to individual actions. So I made the following new variables:
curHoldBoolValue
curUpBoolValue
curDownBoolValue
prevHoldBoolValue
prevUpBoolValue
prevDownBoolValue
In the MP_vInput
component. I also added some additional logic to check for button names with keywords to make sure that down
and up
buttons are reset properly as with the new setup it will only send to the server on a true
result. So the server will need to reset the buttons to a false
result to properly work. There is a lot to work through but that's the current issue. I will add a hotfix to the #downloads
channel when I have completed my work.
from easymultiplayer-invector.
This has been resolved and was able to optimized the amount of network calls that take place. I have included a hotfix in the #downloads channel on discord until the next release.
from easymultiplayer-invector.
Related Issues (20)
- Create Example Scene For Chatbox HOT 1
- Damage indicator / Direction of bullet + Leaderboard HOT 3
- Top Down Shooter Add On Beta HOT 1
- Pause menu would be beautiful as a new feature
- When using chatbox with shooterMelee Template with Dedicated Server, Client is disconnected. HOT 6
- Add Colorblind Support HOT 1
- Clean Import Of TopDown Throws Errors HOT 1
- Error after switch from Host mode on to off, and rebuild HOT 1
- Upgrade To Invector 2.6.2 HOT 2
- Perform Test Results Window Too Slow HOT 1
- First Person Camera HOT 1
- Upgrade to Mirror 67.1.0 HOT 1
- Multiplayer support for vAnimatorEventReceiver and vGenericAnimation HOT 1
- Add Support For Invector 2.6.2a HOT 2
- AI Broken When Rebuild Navmesh HOT 1
- StandBuild run server error HOT 4
- Draw-Hide weapons not synced. HOT 1
- Leaderboard shows numbers for dead players HOT 3
- Player stays locked on after getting killed HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easymultiplayer-invector.