Hi there. I have a big problem. Yesterday 3 guys came in to my server, and they cheated alot. So I tried to ban them, but they where unknown to the server. So I looked in the vcmp.getip.ini and all of the players that had cheeted where unknown in that list. So now I wonder, is there anything I can do to stop Unknown players from joining my server? I have vc:mp v0.3x server/client.
Edit: I also use General Use Scripts 7.0 REDONE
//Trix5
Did you create command !ban ? If you didn't type !ban won't work. At first write script for the !ban command.
Yes I tried !ban <player id> and !ban <player name>. But the server said "Unknown command, player or id dont exist" They even said I had a loophole in my server. I dont know what to do. I dont want to shut down my server everytime they join. And I know that command work, I banned 1 person before they joined.
Tommis should know how to help you,
Strange, i can ban people with that script.
Did you try "!ban <nick> <reason>. or "!ip <name>". and add it the the banlist ini.
???
in 0.3x, to ban someone without irc scripts, you must do these steps:
1) login as admin (use /admin <serverpasswordhere> to login) - this will tell you "Logged in as admin.", if you logged in correctly
2) /getip <player id> - this reports the players ip address
3) /ban <player ip address>
4) /kick <player id>
it is alot of steps in this version, it will become easier in future releases tho
hope that helps
Quote from: bakasan on June 30, 2007, 03:35:14 AM
in 0.3x, to ban someone without irc scripts, you must do these steps:
1) login as admin (use /admin <serverpasswordhere> to login) - this will tell you "Loggen in as admin.", if you logged in correctly
2) /getip <player id> - this reports the players ip address
3) /ban <player ip address>
4) /kick <player id>
it is alot of steps in this version, it will become easier in future releases tho
hope that helps
Well I tried that, and it did not work. :( The problem is that all the cheaters is unknown to the server. So I was thinking if there is some kind of script that will block people that are Unknown to server from joining the game? Thanks for trying to solve my problem. :)
Take a screenshot "F8" and show me the problem, very weird.
I think we've encountered this problem too at Littlewhitey's. It can't track their IP address, for some reason.
Quote from: VercettiG on June 30, 2007, 07:32:06 PM
I think we've encountered this problem too at Littlewhitey's. It can't track their IP address, for some reason.
Yes, that is the problem. Their ip and username is unknown to server, and that is why i cant ban them.
Well, here is a screenshot of the vcmp.getip.ini
http://img125.imageshack.us/img125/6205/vcmptq9.gif (http://img125.imageshack.us/img125/6205/vcmptq9.gif)
This is VERY strange, because a computer cannot connect anywhere without providing the correct IP (otherwise the server cannot send any data back). There is one way to hide the IP from some systems, but it is impossible to do on WinXP without special drivers and it leaves a trace.
What do you think about a command like (based on Tommis' GUS 9.0):
on *:SIGNAL:vcmp.join:{
...
if ($vcmp.ip($vcmp.name(%a)) == 255.255.255.2555) vcmp.kick %a
}
255.255.255.255 = unknown afaik.
The command is fine, but i think that instead of IP 255.255.255.255 there should be Unknown, because i think Tommis' GUS saves unknown IP's as player name=Unknown (thats what i remember, someone/Tommis himself can correct me if i'm wrong)
EDIT: ok i misunderstood, so i think there could be IP 255.255.255.255 BUT if that doesnt work, the script saves the players ip to vcmp.getip.ini so you could use also
if ($vcmp.getip($vcmp.name(%a)) == Unknown) vcmp.kick %a
aah. well, i have the same sort of problem, from the other side. im a user, and if i connect to my own/lw server, im unknown everywhere. however, vcmp identifies my ip, its just the script that doesnt like me.i was trying to login as admin (!set admin). no hope. i wondered, if its my name that irc does not like (=RA=Phil_Cassidy) i changed it, removed set=1 out of vcmp.ini, and connected, still unknown. same on lw, only without the admin stuff
I think there is a bug with ID 0... . When you joined server as a first (ID 0) you can't use a lot of commands (such as teleporting and other).
ye.. i asked u this on gtaf, u said the same, the prob is, if u would read my post, is it happens on any server. (and as a note, i never said im player 0. i usually go testing with mates => i am rarely the first, as i keep yelling on msn for them to join.)
Hello,
Alright, well first of all, in the 0.3x scripts, it could be a bug with the scripts if you leave it on for a very very long period of time, so try restarting teh scripts. (In 0.3z the whole player system is redone, so this is not a issue in thoes scripts) But if you say the whole server does not recognize thier ips, then i cant really help you there, you need to talk to the dev's about that. Also about the script, you can add this under vcmp.join.
if ($vcmp.ip(%name) == Unknown) || (*.*.*.* !iswm $vcmp.ip(%name)) {
vcmp.say Kicking %name - Reason: Invalid IP Address $+ , By: Server
.timer 1 1 vcmp.kick %id
}
Cya,
Tommis
not bad, not bad, but this would kick me! >:( so er.. i'm screwed.