Register for your free account! | Forgot your password?

You last visited: Today at 02:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release]Stat Padders Nightmare

Discussion on [Release]Stat Padders Nightmare within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
[Release]Stat Padders Nightmare

Who is sick of stat padders? well i tell you i AM!

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
As always, you can adjust the criteria to suit your requirement's and the following will do the same thing but Roll it Back after completion to check for errors.

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
Thanks go to Abrasive and Tnelis for helping me join and run this.

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
SafeBett is offline  
Thanks
31 Users
Old 07/17/2011, 13:23   #2
 
Bаne's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 2,334
Received Thanks: 1,777
Can you pleas put this in a
Code:
code??
Bаne is offline  
Thanks
2 Users
Old 07/17/2011, 14:31   #3
 
[Admin]Snuggle's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 942
Received Thanks: 1,066
*giggles to self as I apply it to my server*
Thanks safe lol
[Admin]Snuggle is offline  
Thanks
1 User
Old 07/17/2011, 14:57   #4
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
It works perfect, but expect some QQ from ppl who have multiple persons in 1 household.

EG: it was my little brother, it was my housemate, i play from a internet cafe, i was abducted by aleins o.o

you all need make your own decisions on how you react to each situation, so..

Best regards
Safe
SafeBett is offline  
Old 07/19/2011, 13:36   #5
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
new Edit with a little explanation for Novice SQL like me ^_^
SafeBett is offline  
Thanks
1 User
Old 07/21/2011, 09:47   #6
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
Quote:
Originally Posted by castor4878 View Post
suggests:

a) use temp table(s) only when you have no choice.
for such requests it's better to embed select requests, may be the SQL engine will create an internal temp table but may be it will use a faster kind of structures, letting it choosing the best intermediate storage is better than an explicit table coercion.

b) the figures 5 & 50 are inverted between the given script and the explanation.

Code:
update PS_UserData.dbo.Users_Master set Status=-1
where UserIp IN (
	select um.UserIp 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 and c.Del = 0
)
officialy /spanked thanks Castor =P

here is a better? more logical? optimized? quiry written by a Guru.

Best Regards
Safe
SafeBett is offline  
Thanks
2 Users
Old 07/21/2011, 09:54   #7
 
elite*gold: 0
Join Date: May 2011
Posts: 81
Received Thanks: 27
safe thats good i am going to use that for my server
guys hit the thanks button for safe
Bucky-69 is offline  
Thanks
1 User
Old 07/21/2011, 11:09   #8
 
Danco1990's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 348
Received Thanks: 260
Nice overall structure of your quiry, however:

Quote:
Under Level 5(level), less than 5kills(K1), More than 50 Deaths(K2), Not Deleted(del=0)
Is not how you coded it:
Quote:
WHERE c.K1 < 50 AND c.K2 > 5 AND c.[Level] < 5 AND c.Del = 0
Basically its
kills < 50
deaths > 5
level < 5
del = 0

Just a correction:P.

Something that might be useful, some people statpad quite secure, small amounts, which would be undetectable. Easy way to trace these is

Quote:
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 < 50 AND c.K2 > 5 AND c.[Level] < 5 AND c.Del = 0 OR c.K1 < c.K2 AND c.[Level] < 5 AND c.Del = 0
You can also trace how many times someone killed someone if it already happened, or a reverse pvp script (I've found people with around 12.000 faulty kills that would be undetectable with this script.).

[EDIT]

Also, Del=0 is good for current situations, but i would not recommend leaving it like that, most statpadders delete their character when done, thinking deleting means gone forever.
Danco1990 is offline  
Thanks
3 Users
Old 07/21/2011, 11:29   #9
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
Quote:
Originally Posted by Danco1990 View Post
Nice overall structure of your quiry, however:



Is not how you coded it:


Basically its
kills < 50
deaths > 5
level < 5
del = 0

Just a correction:P.

Something that might be useful, some people statpad quite secure, small amounts, which would be undetectable. Easy way to trace these is



You can also trace how many times someone killed someone if it already happened, or a reverse pvp script (I've found people with around 12.000 faulty kills that would be undetectable with this script.).
Thanks ^^ its true, the cheats can be very "creative" and this is why i was reluctant to put an explanation, but for the better "good" i did anyway.

also yes these quirys can be modified to search any particular character and who they killed and at what level was killed.

at this moment this is beyond me, but with patience it can be understood.

even by me ^_^

Best regards
Safe
SafeBett is offline  
Old 07/21/2011, 13:19   #10
 
elite*gold: 0
Join Date: May 2011
Posts: 81
Received Thanks: 27
i know there is so many cheats out there you just love them
Bucky-69 is offline  
Old 08/05/2011, 15:43   #11
 
SafeBett's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 278
Received Thanks: 234
Bu..mp o.O if its allowed
SafeBett is offline  
Old 08/23/2011, 03:10   #12
 
elite*gold: 0
Join Date: Oct 2009
Posts: 155
Received Thanks: 46
From what I understand, bumping your own thread when it's this useful is allowed.
Kaotic_Lord is offline  
Old 08/23/2011, 07:51   #13
 
elite*gold: 0
Join Date: Aug 2011
Posts: 19
Received Thanks: 0
Question

I executed the first code ( second one doesn't works ) and it said

(0 row(s) affected)

(0 row(s) affected)

Is that ok ? It seems strange that 0 rows were affected ...
ShaiyaForever14 is offline  
Old 08/23/2011, 08:44   #14
 
elite*gold: 0
Join Date: Jul 2009
Posts: 408
Received Thanks: 180
0 rows affected because you obviously have no1 in your database that the query affects.. :P

Read the code a little and try to understand what it actually does, or you wont learn anything.
Good scripts Safe, keep up the good work (from another SQL learning nub) :P
viper4513 is offline  
Old 08/23/2011, 16:56   #15
 
elite*gold: 46
Join Date: Nov 2009
Posts: 1,477
Received Thanks: 4,249
useful, its the real nightmare :-)
[Dev]Ansem is offline  
Reply


Similar Threads Similar Threads
[Release] How to change stat points per level and working stat resets
04/08/2017 - Shaiya PServer Guides & Releases - 20 Replies
A tutorial on how to change Ultimate Mode stat points and make stat resets give the changed stats back Things you will need. ollydbg 2.0 - http://www.ollydbg.de/odbg200.zip ps_game.exe not to be confused with game.exe can be found in server folder SHAIYA_SERVER\SERVER\PSM_Client\Bin Make a back up of your ps_game.exe before you edit it just incase you make a mistake.
[Release] Character Stat Viewer
11/02/2010 - S4 League - 31 Replies
Nichts besonderes, einfach nur damit man nicht andauernd iwelche Websiten aufrufen muss. Ihr müsst den genauen Namen des Chars eingeben. Bugs etc. bitte mit genauen Schritten angeben. VT: AhnLab-V3 2010.10.31.00 2010.10.30 - AntiVir 7.10.13.74 2010.10.29 - Antiy-AVL 2.0.3.7 2010.10.31 - Authentium 5.2.0.5 2010.10.31 -
[Release]Simple stuff (stat commands)
05/15/2009 - CO2 PServer Guides & Releases - 3 Replies
Well the highest u can put the stats is 65535 (which is max value of ushort) I coded this completly myself if (Splitter == "/vit") { ushort NewVit = ushort.Parse(Splitter); MyChar.Vit = NewVit; SendPacket(General.MyPackets.Vital((long)MyChar.UI D, 15, MyChar.Vit)); ...
[Release]Any P Server Stat Checker
03/30/2009 - CO2 PServer Guides & Releases - 4 Replies
Okay well I have figured out that i suck ass at c# so i gave up on it no point on keep going with it so now I'm wanting to learn how to code like php stuff like server status checkers and full web sites. After about an hr of reading through some tuts i figured out how to do this. I did this cause i like playing p servers not making my own and instead of waiting for them to say hey servers on i like to check my self. This can be used for ur server or other peoples server dosn't matter i guess....
Release stat unrandomizer (NOT RELEASED BY ME)
12/20/2008 - MapleStory - 11 Replies
Credits go to xPxPxP Download: http://www.mediafire.com/?m1d4g02j41x Instructions: 1. Extract PCOMDebug.dll into your MapleStory folder (if you have another, just put it in another folder temporarily 2. Open MapleStory and go to your character creation screen. 3. Fill in all information except for stats 4. Alt+Tab and push F1



All times are GMT +2. The time now is 02:20.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.