muukis / l4dstats

SourceMod plugin (Custom Player Stats) for collecting statistics and creating player ranking in Left 4 Dead and Left 4 Dead 2 games
https://forums.alliedmods.net/showthread.php?t=115965
17 stars 9 forks source link

Numerous webstats bugs #15

Open Enoshima-Junko opened 7 years ago

Enoshima-Junko commented 7 years ago

Hi, muukis. These are the bugs I'm talking about in the webstats.

  1. When selecting a campaign from the Gamemode Stats, this shows up -> bandicam 2017-04-22 11-09-02-791

The cause of this is a copy-n-paste error in campaign.php: bandicam 2017-04-22 11-12-33-677

After fixing it, this is the result. bandicam 2017-04-22 11-25-08-846

  1. Missing pictures when installing the L4D1 version of the stats. Solution: Provide more screenshots or copy the current ones and rename them to match the map. Result: Same as the file attached above.

  2. l4d.sql creating tables with maps that doesn't support a specific gamemode. Solution: Rewrite the sql to apply the appropriate data.

  3. The Sacrifice campaign not displayed in the L4D1 stats. Solution: Add it in the array found in common.php

muukis commented 6 years ago

I am sorry for not seeing this issue before. I will fix these to the master branch asap. Thank you for pointing this out for me!

muukis commented 6 years ago

I have not played L4D1 for ages and don't know of the campaign Sacrifice. Can you give me more details on the campaign? What type is it (coop/versus/etc)? Does it have an identifier like "l4d_hospital" is for "No Mercy"?