openmultiplayer / openmultiplayer/open.mp
Health & armour bug when using openmp & weapon-config
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 641
- Forks
- 208
- PR merge metrics
- No merged PRs in 30d
Description
On my server, after moving from SAMP server to OpenMP 1.2.0.2670 server, I've observed an issue where by when you shoot a player, their health will decrease, then increase a little bit.
To be sure it wasn't my gamemode, I set up a fresh gamemode using the following:
https://github.com/openmultiplayer/qawno/blob/8f9f619531dc0c354bdcd889fe9975edb53f7b5d/gamemode.new
https://github.com/katursis/Pawn.RakNet/releases/tag/1.6.0-omp
https://github.com/oscar-broman/samp-weapon-config/blob/master/weapon-config.inc
Video (see the player's health that i'm shooting): https://streamable.com/bjf2y6
It's the exact same thing with armour too
It only happens when using weapon-config. If I disable weapon-config, everything is normal
Once again, this only happens when using Openmp - SAMP is fine.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the linked gamemode.new, Pawn.RakNet 1.6.0-omp, and weapon-config.inc setup. Compare health and armour behavior with weapon-config enabled and disabled, and against SA-MP; done means shooting no longer causes either value to increase unexpectedly under open.mp.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100