so here is a quiry that will make them think twice..
Code:
SELECT um.UserIp INTO #Temp FROM PS_GameData.dbo.Chars c INNER JOIN PS_UserData.dbo.Users_Master um ON um.UserUID=c.UserUID WHERE c.K1 < 5 AND c.K2 > 50 AND c.[Level] < 5 UPDATE PS_UserData.dbo.Users_Master SET [Status] = -1 WHERE UserIp IN (SELECT UserIp FROM #Temp) DROP TABLE #Temp
Code:
SELECT um.UserIp INTO #Temp FROM PS_GameData.dbo.Chars c INNER JOIN PS_UserData.dbo.Users_Master um ON um.UserUID=c.UserUID WHERE c.K1 < 5 AND c.K2 > 50 AND c.[Level] < 5 BeginTrans UPDATE PS_UserData.dbo.Users_Master SET [Status] = -1 WHERE UserIp IN (SELECT UserIp FROM #Temp) DROP TABLE #Temp Rollback
Hope it help you all.
Good luck and lets show the cheaters, it just is not worth the effort!
Edit: Ive decided to explain how this works, i was not going to. but then i thought if the "new to sql" ppl have an idea about the structure, it will help them understand how to adjust and write their own. i am a complete novice at SQL so trust me, ANYONE can write these with some experimentation.
Essentialy, it makes a temp table to store data retreived from 2 other tables to be used as the guide for the data to be changed.
The persons that get a bann have an IP address that is unique and the same as an IP that had a Stat Padders Feeder Char. the Feeder Char is defined by these criteria.
Under Level 5(level), less than 5kills(K1), More than 50 Deaths(K2), Not Deleted(del=0)
#Note: Any of the above can easily be changed to widen the search and bann.
At the end it drops the Temp Data.
Best Regards
Safe