sourcebans-pp icon indicating copy to clipboard operation
sourcebans-pp copied to clipboard

No nickname present

Open oethanx opened this issue 3 years ago • 1 comments

What are the steps to reproduce this issue?

What happens?

nick name does not shows up on the site with sm_addban usage

What were you expecting to happen?

Player's nick to show up on the webpage

Any logs, error output, etc.?

Any other comments?

What versions of software are you using?

Operating System: SourceBans++ Version: PHP Version: MySQL Version: Link to your project: Link to a phpinfo() output:

oethanx avatar May 16 '22 17:05 oethanx

What are the steps to reproduce this issue?

What happens?

nick name does not shows up on the site with sm_addban usage

What were you expecting to happen?

Player's nick to show up on the webpage

Any logs, error output, etc.?

Any other comments?

What versions of software are you using?

Operating System: SourceBans++ Version: PHP Version: MySQL Version: Link to your project: Link to a phpinfo() output:

This is already solved in another plugin. You can ask Sourcebans to take inspiration from my fix. This makes ANY ban added fire a forward to fill missing info. Even if you use sm_addban, even if you use a proper BanIdentity native, anything that gives access allows it.

https://github.com/eyal282/SQLite-Bans/blob/master/addons/scripting/SQLiteBans.sp#L1080

It should be noted that this was opened back in 2021, and it was not addressed.

https://github.com/sbpp/sourcebans-pp/issues/728

Feel free to address my issue to get it to happen. I will immediately take actions to support making my ban disconnected, which is the only reasonable alternative.

eyal282 avatar May 17 '22 23:05 eyal282

if player name is: < something >

no nickname will be present, unintended i guess.

lunatixxx avatar Aug 16 '22 03:08 lunatixxx

Fixed in the php81 branch. Thanks.

Hackmastr avatar Sep 11 '22 15:09 Hackmastr