K4ryuu / CS2_SimpleRanks

A CS2 server extension that allows you to create an unlimited number of ranks with customizable experience thresholds and rank colors. Players gain or lose experience during various in-game events, enabling them to advance or regress between ranks. The extension is fully configurable using 'configs.json' and utilizes MySQL to store data.
GNU General Public License v3.0
30 stars 1 forks source link

[BUG] in FFA not expected behaviour #5

Closed jovicdev97 closed 1 year ago

jovicdev97 commented 1 year ago

Describe the bug Great Plugin! However its not behaving normal in FFA servers, when you kill a teammate u get -XP.

To Reproduce Steps to reproduce the behavior:

  1. Change Setting to FFA
  2. Kill Teammate
  3. See error in chat

Expected behavior Should give u regular XP for the kill, because FFA is enabled.

K4ryuu commented 1 year ago

Greetings, I will update the plugin with the followings shortly:

jovicdev97 commented 1 year ago

Awesome!

K4ryuu commented 1 year ago

I have implemented FFA mode compatibility, which can be enabled through the config file with FFAMode = true. Also added the top list as a side quest.

Commit: https://github.com/K4ryuu/CS2_SimpleRanks/commit/de53407b133c7bf97086f788b1c0f58bd86e90ed