Hacker, helpme

your urgent help please.
I have this guy who only gets into insulting and using hack.

I ban him but he keeps entering

I ban it by ip, by id, by name
you put our names

it’s horrible, please help

he says he wants to bring down our server

181.61.206.122:2632
181.61.206.122:2632 ^4left this server from slot 7 with playerid 2310346614794519525

Do you have a file called banlist_v2.dat in the root of your server folder?

if you do add the line:

\netadr\181.61.206.122\create\1665612531\exp\-1\rsn\No Hacks \nick\LowLifeScumbag\asteamid\0\playerid\2310346614794519525\

If you don’t then follow this:

How to create: Make sure banlist.dat is in cod4 root directory, if not create a file called banlist.dat.
Put into your server.cfg file the line: loadplugin simplebanlist → It will create a file called banlist_v2.dat

1 Like

iptables.rules ? ban by mask

image

image

Hi MAD, thank you very much.

do what you told me. but it doesn’t create a file for me as you say.

What am I doing wrong?

loadplguin execute it with and without “SET”
After each change I restarted the server. but i don’t create that file

dont use set…

remove set

I have it right at the bottom of the server config file, don’t know if that makes a difference

image

solo me genera ese archivo, ahora lo puse al final y voy a reiniciar el servidor

just tested it out and it creates the plugin file but not the banlist_v2.dat file

Create a file called banlist_v2.dat and copy and paste that line above into it.

Should be fine then

asi verdad tiene que quedar.

para poder realizar una prueba de su funcionamiento.
puedo colocar mis datos y asi ver si no puedo ingresar al juego.

coloco mi IP y mi ID.

image

pero este dato es siempre igual oh de adonde se saca
" 1665612531 " ??

that is the date and time in unix format, not important really. It is meant to be the correct date and time but for your situation I would not worry about it

for reference: Unix Time Stamp - Epoch Converter

To test if it work then replace as you said your IP and GUID

hola MAD, disculpa por todas las molestias que te eh dado el dia de hoy.

mira, realice todas estas pruebas.

puse mi IP y mi player ID. pero me dejo entrar y jugar
pense que como soy super admin eso no me afecta
asi que puse la ip y el player ID de un amigo que ya esta jugando.
y el servidor no lo expulsa.
no se si asi funciona el plugin.
volvi a llamar por consola el plugin y no pasa nada, pensando que lo expulsaria
y la ultima prueba que realice fue de copiar lo mismo en el archivo banlist.dat
y el usuario sigue jugando.

oh sera que el servidor no lo dejara entrar cuando el salga y quiera volver a entrar

oh algo estoy haciendo mal yo

Type in your server console (web control panel):
unloadplugin simplebanlist
you should get a message saying it has been unloaded

Type in loadplugin simplebanlist
you should get a message saying it has loaded

let me know the outcome

print
Unloading plugin simplebanlist, plugin id: 0.

print
2 lines parsed from banlist_v2.dat, 0 errors occured
Plugin simplebanlist loaded successfully. Server is currently running 2 plugins.

use tambien plugininfo y me respodio esto

^2Plugin name:
simplebanlist

^2Plugin version:
1.0

^2Full plugin name:
Simple banlist plugin by Fraggy

^2Short plugin description:
Plugin to work as banlist.

^2Full plugin description:
This plugin is used to manage a very simple banlist so players can be banned from game.

^2Commands:

-dumpbanlist
^2Total of 1 commands.

^2Script Functions:

^2Total of 0 functions.

^2Script Methods:

^2Total of 0 methods.

print
Unloading plugin simplebanlist, plugin id: 0.

print
2 lines parsed from banlist_v2.dat, 0 errors occured
Plugin simplebanlist loaded successfully. Server is currently running 2 plugins.

That tells me it is loaded and working

Is one of them lines your ban as 2 lines parsed tells me there are two seperate entries in the banlist_v2.dat file

If so try joining again

pude ingresar sin problemas y me premitio jugar

are you sure you entered it correctly into the file… mainly your guid?

Similar to the other players guid in this format: 2310346614794519525

\netadr\181.61.206.122\create\1665612531\exp-1\rsn\No Hacks \nick\LowLifeScumbag\asteamid\0\playerid\2310346614794519525
\netadr\186.22.54.195\create\1665612531\exp-1\rsn\No Hacks \nick\LowLifeScumbag\asteamid\0\playerid\76561198020359233
\netadr\190.114.33.1\create\1665612531\exp-1\rsn\No Hacks \nick\LowLifeScumbag\asteamid\0\playerid\76561198045626427\

yo soy el ultimo

That is your steam id not your guid

look for the one starting 2310

never tried it but you could test it this way:

\netadr\186.22.54.195\create\1665612531\exp\-1\rsn\No Hacks \nick\LowLifeScumbag\asteamid\76561198020359233\playerid\0\
\netadr\190.114.33.1\create\1665612531\exp\-1\rsn\No Hacks \nick\LowLifeScumbag\asteamid\76561198045626427\playerid\0\

But it will work if you find the correct guid or playerid as it is called here

by the way unloading the simplebanlist then loading it again save you from restarting the server