Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: SneS on December 28, 2014, 02:23:57 pm

Title: Lock on one HWID?
Post 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?
Title: Re: Lock on one HWID?
Post by: kicikici on December 28, 2014, 03:41:11 pm
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).
Title: Re: Lock on one HWID?
Post by: SneS on December 30, 2014, 05:55:30 am
It is not helpful to me because I don't know how to create scripts -.-
Title: Re: Lock on one HWID?
Post by: TheOne on April 26, 2015, 02:29:10 am
You're not SexySavage by any chance, are you?
Title: Re: Lock on one HWID?
Post by: BaneOfDeath on May 04, 2015, 07:09:10 am
Code: [Select]
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.