rikka0w0 / l4d2_mission_manager

Mission manager for L4D2, provide information about map orders for other plugins
35 stars 12 forks source link

Update for support of resetting scores for gamemodes that require it. #8

Closed LuxLuma closed 5 years ago

rikka0w0 commented 5 years ago

Hi Lux,

I got two questions:

  1. Have you tested the new native on a server with players?
  2. How is the native used in the ACS or other plugins?

I'm happy to merge your contribution.

LuxLuma commented 5 years ago

Hello rikka

There is no new native, I just call another function in the binary to clear the scores for versus before level change ect, this can be called mid game or any time that was tested, only effects scores nothing else. This was something that was overlooked in my tested since not really a versus player anymore.

An example finished versus map and server changes to new map, you will still have scores from last map mission persisting.

There is nothing you need to do l4d2_changelevel will deal with this already just need to compile the plugin with the recent changes and new gamedata.

Thanks.