ko cuce ko-cuce kocuce  

Go Back   ko cuce ko-cuce kocuce > Private Serverlar > Server Kurulumu

Cevapla
 
LinkBack Seçenekler Stil
Alt 01-31-2010, 11:22 PM   #1 (permalink)
Senior Member
 
Üyelik tarihi: Jan 2010
Mesajlar: 7.946
Standart Invaild Password Aynı ID ile 2.Kez Girememe Ve Oto Üyelik

ACCOUNT_LOGIN





Kod:

CREATE PROCEDURE ACCOUNT_LOGIN

@AccountID varchar(21),

@Password varchar(13),

@nRet smallint OUTPUT

AS

delete from currentuser where straccountid = @AccountID



---Coded By ShellX---

declare @cnt BigInt

declare @nDays smallint



select @nRet = count(straccountid) from tb_user where straccountid = @AccountID





if @nRet = 0

begin

insert into tb_user (straccountid, strpasswd, strSocNo, idays) values (@AccountID, @password, 1, '6')

end



select @cnt = count(straccountid) from currentuser

select @nDays = count(nDays) from PREMIUM_SERVICE where straccountid = @AccountID



if @cnt > 40 and @nDays = '0'

begin

set @nRet = 0

end



if @cnt > 40 and @nDays = null

begin

set @nRet = 0

end







DECLARE @Nation tinyint

SET @Nation = 0

-- tid login method by samma 2004.02.24

DECLARE @pwd varchar(13)



SET @pwd = null



SELECT @pwd = strPasswd FROM TB_USER WHERE strAccountID = @AccountID

IF @pwd IS null

BEGIN

SET @nRet = 0

RETURN

END



ELSE IF @pwd @Password

BEGIN

SET @nRet = 0

RETURN

END



SELECT @Nation = bNation FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID

IF @@ROWCOUNT = 0

BEGIN

SET @nRet = 1

RETURN

END

BEGIN

SET @nRet = 1

RETURN

END

BEGIN

SET @nRet = @Nation+1

RETURN

END

GO









myst_login





Kod:

CREATE PROCEDURE myst_login

@AccountID varchar(21),

@Password varchar(13),

@nRet smallint OUTPUT

AS

delete from currentuser where straccountid = @AccountID



---Coded By ShellX---

declare @cnt BigInt

declare @nDays smallint



select @nRet = count(straccountid) from tb_user where straccountid = @AccountID





if @nRet = 0

begin

insert into tb_user (straccountid, strpasswd, strSocNo, idays) values (@AccountID, @password, 1, '6')

end



select @cnt = count(straccountid) from currentuser

select @nDays = count(nDays) from PREMIUM_SERVICE where straccountid = @AccountID



if @cnt > 40 and @nDays = '0'

begin

set @nRet = 0

end



if @cnt > 40 and @nDays = null

begin

set @nRet = 0

end







DECLARE @Nation tinyint

SET @Nation = 0

-- tid login method by samma 2004.02.24

DECLARE @pwd varchar(13)



SET @pwd = null



SELECT @pwd = strPasswd FROM TB_USER WHERE strAccountID = @AccountID

IF @pwd IS null

BEGIN

SET @nRet = 0

RETURN

END



ELSE IF @pwd @Password

BEGIN

SET @nRet = 0

RETURN

END



SELECT @Nation = bNation FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID

IF @@ROWCOUNT = 0

BEGIN

SET @nRet = 1

RETURN

END

BEGIN

SET @nRet = 1

RETURN

END

BEGIN

SET @nRet = @Nation+1

RETURN

END

GO

[img]watermark.php?src=http://img230.imageshack.us/img230/603/20246372.jpg[/img]







[img]watermark.php?src=http://img216.imageshack.us/img216/9885/13543228.jpg[/img]











Kocuce isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Cevapla

Seçenekler
Stil

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Forum Şartları
Hizli Erisim


Tüm Zamanlar GMT Olarak Ayarlanmış. Şuanki Zaman: 07:38 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Vbulettin ©Licanced.Hakları Satın Alınmıştır

 

 Koxpp.Com  ultrapaylas.com uyeolun.com SohbetPortali  deli.gen.tr knight online twotomcats.com tourism-travel threesizes.com teheranmetro.com

TrSohbet.Web.Tr Kelebek Kelebek Script FilmKeyfi.Gen.TR kenan.gen.tr ko-cuce knight online knightonline indir trko indir pvpko indir empire online turk empire empire online knight empire server tanıtımları ko cuce ko cuce suspus empire turk Chat Rehberi Gurbet.Gen.Tr Hasret.Gen.Tr Haber Zamanı Turkko pvpKo