No_WallHack_On_Connection

If you liked this item, please rate it up on Steam Workshop page.

Author: Liven

Last revision: 7 Nov, 2024 at 08:57 UTC

File size: 184.33 KB

On Steam Workshop

Description:


[discord.gg]

Key Features

This mod makes that when the player connect to the server a black panel is displayed preventing him to see anything.
To disable this black panel the player have to hold the ‘SHIFT’ key 5 seconds.

This is to prevent players being able to see through walls a few seconds when they connect.
(some players abuse this bug in PvP situation).

  • The timer duration can be modify by the server admin.
  • The text displayed can be modify by the server admin (useful for traduction)
  • The shortcut to disable the black panel can be modify by the player.

More Details

When the black panel is displayed, the player is “ingame”, he can move, open the inventory, shot… but can’t see anything.
The admin can activate automatic timer in xml option but in this situation the players will be able to avoid black panel effect by using ‘alt-tab’.
The admin can activate invincibility during the black panel time but some player can abuse it and this can lead to unfair situation. Remember that even blind an invincible player can be dangerous. They have to disconnect in a safe place (I know it is no always possible).
It is possible to replace the black panel by a custom image but it require to repack the mod (more information here).

I know it is not a perfect system but it should fix this crazy wallhack we have when connecting.

Installation instructions

The mod have to be load server And client side.

  • Subscribe to the mod in the steam workshop.
  • Copy the @No_WallHack_On_Connection folder from your !Workshop client folder to your server root folder.
  • Copy the Liven.bikey file to the server keys folder.
  • Add "-mod=@No_WallHack_On_Connection" in your .bat server launching file

("-mod=@No_WallHack_On_Connection;@OtherMod" if you have other mods to load).

Optional : change the timer and the text
  • Copy the profile folder included in the mod in your server profile folder.
  • Modify the values you want in the xml file.
  • You don’t need to restart the server to apply changes (just save the xml file).

If you set the timer to 0 the black panel will be disabled (useful when you need to quickly connect multiple times to tests other stuff without unload the mod).
If you don’t copy the profile folder, the default values (5 seconds and default text) will be used.

For "Medical Attention" mod users

Sometime, when used with "Medical Attention" mod, the player can be able to see the ingame screen a very short time before the black panel appears. I have done my best to reduce this time (it is very very short and not always occurs) and I contacted the modder that maintains the medical attention mod to give him instructions to definitely fix this. I’m waiting for an answer from him for a perfect compatibility.

If you had repack this medical mod your side you can fix the problem by adding "super.OnInit();" at the end of the "override void OnInit()" in "modded class MissionGameplay" (in scripts/5_Mission/mission/missiongameplay.c).
Don’t add it at the begining it will not work, add it at the end.

Permissions

You CAN use, modify, repack the mod as you need.
(do not simply redistribute it with another name and don’t forget Thumb Up and Credits)

Credits

Thanks to @Cedrico from FreedLand french server for the idea of the mod.

My other mods:

PvZmoD Spawn System
PvZmoD Customisable Zombies
PvZmoD The Dark Horde
Longer Sunrise And Sunset
Pumpkin On Zombies
Christmas Event Enhanced
Complete Vehicles Spawner

[discord.gg]
[www.paypal.com]

Download
Required items:

Click the title to search on this site.


CFSteam Workshop