openmultiplayer / openmultiplayer/open.mp

Health & armour bug when using openmp & weapon-config

Open
#951 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.