Official Soldat Forums
Server Talk => Scripting Discussions and Help => Topic started by: SneS on December 28, 2014, 02:23:57 pm
-
Many people opens the "soldat" (using the same computer) a few times to kick other players. For example like this:
XXX joining game (111.1.111.11:11111) HWID:12345678901
XXX(1) joining game (111.1.111.11:11111) HWID:12345678901
XXX(2) joining game (111.1.111.11:11111) HWID:12345678901
XXX(3) joining game (111.1.111.11:11111) HWID:12345678901
XXX started votekick against Random Player - Reason: qweertrgxavb
Random Player has been kicked and banned for 60 minutes (Vote Kicked)
How to fight with this? Maybe lock on one HWID number which may be on the server? But... how?
-
TGame.OnRequest has State byte, one of the option is "Duplicate IP"
Second option is ur own vote script with anti-multi-hwid protection (I wrote it for myself, very usefull imo).
-
It is not helpful to me because I don't know how to create scripts -.-
-
You're not SexySavage by any chance, are you?
-
Procedure OnJoinTeam(ID, Team: byte);
var i: byte;
begin
if (GetPlayerStat(ID,'Human') = true) then begin
for i := 1 to 32 do if (GetPlayerStat(i,'Active') = true) then if (GetPlayerStat(i,'HWID') = GetPlayerStat(ID,'HWID')) and (i<>ID) then begin
WriteConsole(ID,'Please stop buggs! You can not, go two accounts per server at a time.',$ff0033);
KickPlayer(ID);
end;
end;
end;
I hope that helped.