Little-Anti-Cheat icon indicating copy to clipboard operation
Little-Anti-Cheat copied to clipboard

Add Sourcebans support (Not Sourcebans++)

Open denzel519 opened this issue 2 years ago • 8 comments

Is it possible to add check sourcebans to lilac, otherwise there is only sourcebans++

denzel519 avatar Sep 03 '22 17:09 denzel519

Possible yes, I just don't quite see why people wouldn't just update to SB++. That said, I don't mind adding sourcebans in a future update, unless there's a technical problem or security issue with doing so.

J-Tanzanite avatar Sep 05 '22 15:09 J-Tanzanite

We just have sb modified for the site. If you add it would be great. Thanks

denzel519 avatar Sep 17 '22 13:09 denzel519

We just have sb modified for the site. If you add it would be great. Thanks

What do you mean?

J-Tanzanite avatar Sep 17 '22 15:09 J-Tanzanite

We just have sb modified for the site. If you add it would be great. Thanks

What do you mean?

The fact that sb suits us than sb ++

denzel519 avatar Sep 17 '22 15:09 denzel519

Ahh, I see what you mean. Yeah I'll add this to my todo list, granted no conflicts arise, this is fine. :) Currently busy with some IRL stuff, but will be on it once everything settles

J-Tanzanite avatar Sep 17 '22 15:09 J-Tanzanite

Ahh, I see what you mean. Yeah I'll add this to my todo list, granted no conflicts arise, this is fine. :) Currently busy with some IRL stuff, but will be on it once everything settles

There will be no problems with sb, we replaced sb++ with sb in the source codes and everything works with a bang. Just to avoid updating the sources with updates every time if you can add it initially. Thanks

denzel519 avatar Sep 17 '22 16:09 denzel519

@denzel519 To be sure we talk about https://github.com/GameConnect/sourcebansv1 ?

Rushaway avatar Sep 18 '22 07:09 Rushaway

@denzel519 To be sure we talk about https://github.com/GameConnect/sourcebansv1 ?

Well, you have sourcebanspp, you just need to add sourcebans and everything will work.

26th line| #tryinclude sourcebans -———————————————————- 41 lines| #if !defined _sourcebans_included #warning "sourcebans.inc" include file not found, banning though SourceBans++ will not work! #endif ———————————————————- Line 215| sourcebanspp_exist = LibraryExists("sourcebans"); ———————————————————- lines 239-255 | public void OnLibraryAdded(const char []name) { if (StrEqual(name, "sourcebans")) sourcebanspp_exist = true; else if (StrEqual(name, "materialadmin")) materialadmin_exist = true; else if (StrEqual(name, "updater")) lilac_update_url(); } public void OnLibraryRemoved(const char []name) { if (StrEqual(name, "sourcebans")) sourcebanspp_exist = false; else if (StrEqual(name, "materialadmin")) materialadmin_exist = false; } well, in the included lil in lilac_globals.sp, lilac_stock.sp from SBPP_BanPlayer to SBBanPlayer ———————————————————-

denzel519 avatar Sep 18 '22 07:09 denzel519

Can be close. 1.7.4 add a support for it. https://github.com/J-Tanzanite/Little-Anti-Cheat/tree/development

Rushaway avatar Nov 19 '22 10:11 Rushaway