Raised This Month: $32 Target: $400
 8% 

Left 4 Dead 2 Engine Ban Message Change?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Darkwob
BANNED
Join Date: Oct 2018
Old 06-08-2021 , 13:25   Left 4 Dead 2 Engine Ban Message Change?
Reply With Quote #1

Is it possible to change the game's own ban message? I searched for that message by Inspecting All Files, but I couldn't find it.

GAME : LEFT 4 DEAD 2

The message that the banned player sees.

Darkwob is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 06-21-2021 , 13:19   Re: Left 4 Dead 2 Engine Ban Message Change?
Reply With Quote #2

Doesn't anyone know about this?
Darkwob is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 06-22-2021 , 16:02   Re: Left 4 Dead 2 Engine Ban Message Change?
Reply With Quote #3

It is hardcoded in engine_srv.so

Code:
CSteam3Server::OnValidateAuthTicketResponse(ValidateAuthTicketResponse_t *) [clone]
_ZN13CSteam3Server28OnValidateAuthTicketResponseEP28ValidateAuthTicketResponse_t_part_20 proc near

v11 = va("STEAM UserID %s is banned", v10);
You can change by patching it.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 06-22-2021 at 16:03.
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 06-22-2021 , 17:13   Re: Left 4 Dead 2 Engine Ban Message Change?
Reply With Quote #4

Quote:
Originally Posted by 3ipKa
Not sure, if the native message can be changed, but it can be replaced, for example Sourcebans does this and others ban systems too that handle bans. I think you need to store bans to kick baned players with own message.
Dunno, why you deleted these, but it also make sense. KickClient and BanClient functions has such opportunity.
I think you can do this on OnClientAuthorized() stage. Of course, default ban system ( banned_user.cfg / banned_ip.cfg) should be removed.
See my VoteKick for sample.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 06-22-2021 , 17:50   Re: Left 4 Dead 2 Engine Ban Message Change?
Reply With Quote #5

As a matter of fact, I also use sourcebans, but when sourcebans kicks the player from the game and tries to log in every 5 minutes, it shows its own message. but always this message appears constantly. I will replace this message with the texts in the sourcebans message.
Darkwob is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 06-30-2021 , 20:50   Re: Left 4 Dead 2 Engine Ban Message Change?
Reply With Quote #6

Now the real question is how do I unpack and pack this .so file?
Darkwob is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode