Kết quả 1 đến 4 của 4
Chủ đề: Fix Anti-Dupe Ban
-
24-05-09, 12:03 AM #1
- Ngày tham gia
- Apr 2008
- Đang ở
- Heaven
- Bài viết
- 759
- Thanks
- 13
- Thanked 27 Times in 20 Posts
Fix Anti-Dupe Ban
Mới kiếm được cái AntiDupe...Chưa Test...Share anh em TEst thử coi được ko
use MuOnline
if exists(select * from dbo.sysobjects where type='p' and name='WZ_GetItemSerial')
drop procedure WZ_GetItemSerial
go
CREATE procedure WZ_GetItemSerial
as
BEGIN
DECLARE @ItemSerial int
set nocount on
begin transaction
update GameServerInfo set @ItemSerial = ItemCount = ItemCount+1
if ( @@error <> 0 )
begin
rollback transaction
select -1
end
else
begin
commit transaction
select @ItemSerial
end
END
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[trg_CheckSameID]') and OBJECTPROPERTY(id, N'IsTrigger') = 1)
drop trigger [dbo].[trg_CheckSameID]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[AllItemsLog]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[AllItemsLog]
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CopyLog]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[CopyLog]
GO
-
24-05-09, 10:14 AM #2
- Ngày tham gia
- Jan 2009
- Đang ở
- Sống ở CLBGames Vn
- Bài viết
- 290
- Thanks
- 10
- Thanked 4 Times in 3 Posts
Ðề: Fix Anti-Dupe Ban
bóc tem , anh TTG toàn share query khủng
Khách viếng thăm hãy cùng onetheside123 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
24-05-09, 07:12 PM #3
-
25-05-09, 12:25 AM #4
- Ngày tham gia
- May 2006
- Bài viết
- 395
- Thanks
- 32
- Thanked 37 Times in 33 Posts
Ðề: Fix Anti-Dupe Ban
bữa nay nó dupe xong là seri ko trùng lun hê hê
Khách viếng thăm hãy cùng vietpro8x xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
Các Chủ đề tương tự
-
[Dev]AntiHack DLL - Anti WPE
Bởi davidhuynhvan trong diễn đàn DevelopmentTrả lời: 13Bài viết cuối: 01-01-10, 01:39 PM -
Lổ hỏng Web 08 bị hack Dupe Reset!!
Bởi vietmagic trong diễn đàn SQL Server & WebsiteTrả lời: 19Bài viết cuối: 20-08-09, 09:46 PM -
[dev/ý tưởng anti hack]
Bởi dh_notable trong diễn đàn ReleasesTrả lời: 9Bài viết cuối: 13-05-08, 09:19 PM