AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Nick & password - block XP stealers (https://forums.alliedmods.net/showthread.php?t=75038)

GoGoGo 07-29-2008 13:29

Nick & password - block XP stealers
 
Hi,
I have a server with zombie mod, some people are changing names and steal XP point. Is it possible to make plugin who makes that: when person who enter my server first time must choose a password and when he enter my server second time (in this same nick) he must write password (unless kick). Password should be written in file (the plugin would make file with nicks and passowrds [and add people] automaticly). Have you got any tutorial or other help how to do it ?

ot_207 07-30-2008 03:50

Re: Nick & password - block XP stealers
 
For this problem is a simple solution.
You know how to add admins right?

The add in users.ini
The players who have a lot of xp on their request and also add a password.
Use the e flag -> so if the password is incorrect then the player will be kicked.

GoGoGo 07-30-2008 03:59

Re: Nick & password - block XP stealers
 
Hmmm If I have got more than 100 players to add is not good. I must write mail to them etc. This is better solution.

ot_207 07-30-2008 04:15

Re: Nick & password - block XP stealers
 
Quote:

Originally Posted by GoGoGo (Post 661468)
Hmmm If I have got more than 100 players to add is not good. I must write mail to them etc. This is better solution.

I will code this for all of the plugins that use xp. It will be very usefull.

[X]-RayCat 07-30-2008 13:11

Re: Nick & password - block XP stealers
 
You could just use ip/steam id saving? eh :wink:

ot_207 07-30-2008 15:02

Re: Nick & password - block XP stealers
 
Quote:

Originally Posted by [X]-RayCat (Post 661754)
You could just use ip/steam id saving? eh :wink:

These are good, but do not work in some situations. When a user has dynamic ip it will not be good.
And when the user has STEAM_ID_LAN or VALVE_ID_PENDING it will not work.
So the best method is when you use password.

YamiKaitou 07-30-2008 18:08

Re: Nick & password - block XP stealers
 
The only time they will have VALVE_ID_PENDING is if they are Non-Steam.

ot_207 07-31-2008 01:59

Re: Nick & password - block XP stealers
 
Quote:

Originally Posted by YamiKaitou (Post 661909)
The only time they will have VALVE_ID_PENDING is if they are Non-Steam.

True! But there are servers with nonsteam that are using WC3FT or other plugins that have xp system, so the plugin will be usefull.


All times are GMT -4. The time now is 05:30.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.