|
You last visited: Today at 22:09
Advertisement
Auto Bann StatPadd Release
Discussion on Auto Bann StatPadd Release within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.
06/13/2015, 11:20
|
#1
|
elite*gold: 0
Join Date: Jan 2015
Posts: 118
Received Thanks: 40
|
Auto Bann StatPadd Release
PS_GameLog.dbo.usp.Insert_Action_Log_E
select and copy under the following code:
IF(LEN(@dd) = 1)
BEGIN
SET @dd = '0' + @dd
END
PHP Code:
ELSE IF @ActionType = 103 -- pvp kill BEGIN INSERT INTO Kill_Log VALUES (@UserID, @UserUID, @CharID, @CharName, @Value1, @Text1, @MapID, @PosX, @PosY, @PosZ, @ActionTime) END
ELSE IF @ActionType = 104 -- pvp death BEGIN INSERT INTO Death_Log VALUES (@UserID, @UserUID, @CharID, @CharName, @Value1, @Text1, @MapID, @PosX, @PosY, @PosZ, @ActionTime) DECLARE @K1 INT = (SELECT COUNT(*) FROM Kill_Log WHERE CharID = @CharID) DECLARE @K2 INT = (SELECT COUNT(*) FROM Death_Log WHERE CharID = @CharID) IF (@K2 > 50 AND @K1 * 50 < @K2) -- if the character died more than 10 times and their kills multiplied by 10 are less than their deaths BEGIN -- banning the feeder UPDATE PS_UserData.dbo.Users_Master SET Status = -5 WHERE UserUID = @UserUID -- banning the killer -- uncomment those lines if you want the killer to get banned (not recommended) --UPDATE PS_UserData.dbo.Users_Master --SET Status = -5 --WHERE UserUID = (SELECT TOP 1 UserUID FROM PS_GameData.dbo.Chars WHERE CharID = @Value1) END END
And Execute the following procedures.
PHP Code:
USE [PS_GameLog] GO
/****** Object: Table [dbo].[Death_Log] Script Date: 6/13/2015 11:26:20 AM ******/ SET ANSI_NULLS ON GO
SET QUOTED_IDENTIFIER ON GO
SET ANSI_PADDING ON GO
CREATE TABLE [dbo].[Death_Log]( [RowID] [int] IDENTITY(1,1) NOT NULL, [UserID] [varchar](18) NOT NULL, [UserUID] [int] NOT NULL, [CharID] [int] NOT NULL, [CharName] [nvarchar](50) NOT NULL, [KillerCharID] [int] NOT NULL, [KillerCharName] [nvarchar](50) NOT NULL, [MapID] [tinyint] NOT NULL, [PosX] [real] NOT NULL, [PosY] [real] NOT NULL, [PosZ] [real] NOT NULL, [ActionTime] [datetime] NOT NULL, CONSTRAINT [PK_Death_Log] PRIMARY KEY CLUSTERED ( [RowID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY]
GO
SET ANSI_PADDING OFF GO
PHP Code:
USE [PS_GameLog] GO
/****** Object: Table [dbo].[Kill_Log] Script Date: 6/13/2015 11:28:13 AM ******/ SET ANSI_NULLS ON GO
SET QUOTED_IDENTIFIER ON GO
SET ANSI_PADDING ON GO
CREATE TABLE [dbo].[Kill_Log]( [RowID] [int] IDENTITY(1,1) NOT NULL, [UserID] [varchar](20) NOT NULL, [UserUID] [int] NOT NULL, [CharID] [int] NOT NULL, [CharName] [nvarchar](50) NOT NULL, [DeadCharID] [int] NOT NULL, [DeadCharName] [nvarchar](50) NOT NULL, [MapID] [tinyint] NOT NULL, [PosX] [real] NOT NULL, [PosY] [real] NOT NULL, [PosZ] [real] NOT NULL, [ActionTime] [datetime] NOT NULL, CONSTRAINT [PK_Kill_Log] PRIMARY KEY CLUSTERED ( [RowID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY]
GO
SET ANSI_PADDING OFF GO
Credits to nubness
|
|
|
06/13/2015, 12:33
|
#2
|
elite*gold: 105
Join Date: Jun 2015
Posts: 75
Received Thanks: 57
|
hey
Why one automobile proclamation Statpadd(round of applause Statpadd) you would do better to make a script for removed kil by identical IP or a script which disconnects express die that a kil this fact with the grandma IP
|
|
|
06/13/2015, 14:24
|
#3
|
elite*gold: 0
Join Date: Jul 2012
Posts: 312
Received Thanks: 285
|
Im pretty sure that this was alredy released by nubness here
|
|
|
06/13/2015, 20:28
|
#4
|
elite*gold: 0
Join Date: Jun 2015
Posts: 81
Received Thanks: 147
|
Nice little release I read through all the scripts and its nice and clean and it will do the job but I agree with shineo on some points he made it would work better if it did a kill penalty then banning the people involved everyone tries to cheat or exploit the system at some time or another banning them only cost you players on your server. so by given a penalty you put a stop to it with out losing players
|
|
|
06/13/2015, 20:59
|
#5
|
elite*gold: 0
Join Date: Jan 2015
Posts: 118
Received Thanks: 40
|
Thanks for your suggestions guys, We will look into it
|
|
|
06/13/2015, 21:28
|
#6
|
elite*gold: 0
Join Date: Jun 2015
Posts: 81
Received Thanks: 147
|
you could do like shineo suggested and make it look for ip address of the killer and the killed but you'll run into a problem there with the Philippines. being alots of the players there use what they call a café and a lot of them will return the same ip address which in turn creates a problem for auto ban scripts and account limits but doing it how you have it set up now and just figure the amount of kills they gain from that one person and have it update the k1 in chars for that person to reduce the total kills I think would put a fast stop to stat padding but that would be a suggestion it would need to be tested to make sure its not creating problems for other players who are just isn't geared enough yet to making kills with out dying 50 times lol
|
|
|
06/13/2015, 23:04
|
#7
|
elite*gold: 0
Join Date: Jul 2009
Posts: 352
Received Thanks: 83
|
Where is the credits to the orginal author because these script have been pulled from Nubness Admin pannel Scripts from his PS_Gamelog
|
|
|
06/14/2015, 00:05
|
#8
|
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,451
|
Quote:
Originally Posted by andr3y_you96
Im pretty sure that this was alredy released by nubness here
|
Quote:
Originally Posted by Big_
Where is the credits to the orginal author because these script have been pulled from Nubness Admin pannel Scripts from his PS_Gamelog
|
Good point, didn't even notice that. Thanks to both of you for pointing it out.
I guess there's nothing else I have to say here. Typical release for the past year or so.
|
|
|
06/14/2015, 19:12
|
#9
|
elite*gold: 0
Join Date: Jan 2015
Posts: 118
Received Thanks: 40
|
Credits to nubness
|
|
|
06/14/2015, 20:19
|
#10
|
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,451
|
Quote:
Originally Posted by [ADM]Whiite
Credits by nubness
|
Credits to nubness.
If it's already released, why exactly did you release it again ?
|
|
|
06/24/2015, 00:06
|
#11
|
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
|
ELSE IF @ActionType = 103 -- pvp kill
BEGIN
INSERT INTO Kill_Log VALUES (@UserID, @UserUID, @CharID, @CharName, @Value1, @Text1, @MapID, @PosX, @PosY, @PosZ, @ActionTime)
END
ELSE IF @ActionType = 104 -- pvp death
BEGIN
INSERT INTO Death_Log VALUES (@UserID, @UserUID, @CharID, @CharName, @Value1, @Text1, @MapID, @PosX, @PosY, @PosZ, @ActionTime)
DECLARE @K1 INT = (SELECT COUNT(*) FROM Kill_Log WHERE CharID = @CharID)
DECLARE @K2 INT = (SELECT COUNT(*) FROM Death_Log WHERE CharID = @CharID)
IF (@K2 > 50 AND @K1 * 50 < @K2)
-- if the character died more than 10 times and their kills multiplied by 10 are less than their deaths
BEGIN
-- banning the feeder
UPDATE PS_UserData.dbo.Users_Master
SET Status = -5
WHERE UserUID = @UserUID
-- banning the killer
-- uncomment those lines if you want the killer to get banned (not recommended)
--UPDATE PS_UserData.dbo.Users_Master
--SET Status = -5
--WHERE UserUID = (SELECT TOP 1 UserUID FROM PS_GameData.dbo.Chars WHERE CharID = @Value1)
END
END
in this query i get a error, because if anyone kill a player in battle + of 10 times the other is banned :|
I Tested...
|
|
|
06/30/2015, 00:46
|
#12
|
elite*gold: 0
Join Date: May 2014
Posts: 34
Received Thanks: 38
|
nubness thats so much kid u can now stop commenting in every **** thread could you? Thank you
|
|
|
07/01/2015, 10:57
|
#13
|
elite*gold: 0
Join Date: Jan 2010
Posts: 35
Received Thanks: 1
|
Char level column need to add
|
|
|
|
Similar Threads
|
Auto-Bann
01/09/2011 - CrossFire Hacks, Bots, Cheats & Exploits - 10 Replies
Man kriegt seit heute bei dem
Finject, und bei dem Airdropinjector einen AutoBann
nach dem einloggen.
Andere Injector habe ich nicht getestet.
|
Auto bann..
08/10/2010 - Dekaron - 19 Replies
can anyone confirm that there is a auto bann for hacking? or is it simple fact player was hacking wrong place @ wrong time.
i ask only cause my brothers summoner got banned lastnight while he was hacking in maze. now i personally had no problems when i was in norak&castor 2 i was doing it for 2 hours or so, he was in maze for about 30mins then DC and when he logged in said banned, pretty much.
so whats the deal is there a auto bann now or was it just his luck? cause i dont wanna risk my...
|
Dekaron auto bann
09/25/2008 - Dekaron - 16 Replies
dekarons autoban is up and running? :D got 3 accounts banned and my ip for fun :)
|
Auto bann by WPE
03/17/2006 - Ragnarok Online - 13 Replies
also ich spiele auf XileRo PK&EX alls ich mit wpe paket senden wolte war ich gebannt und bei ich habe es mit andre acc hatte ich auch auto bann bekommen kann jemand mir helfen :cry:
|
All times are GMT +2. The time now is 22:09.
|
|