[Yardım] Server Kurdum İd Pw Yazınca İnvalid Password Veriyor.Yardım pls !!

  • Konbuyu başlatan Konbuyu başlatan gogo1371
  • Başlangıç tarihi Başlangıç tarihi
Cevap: [Yardım] Server Kurdum İd Pw Yazınca İnvalid Password Veriyor.Yardım pls !!

Arkadaşım şimdi bn sana bi kod verıcem bunu baslat tüm programlar sql query Analyzer i acıcaksın orda üstte bi seçim var ordan kendı databasenı bulucaksın orada default master yazar sn onu kendı açtıın databasenı secıcen genelde kn_online yaparlar ama snı bılmem sonra

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


bu kodu oraya yapıştırıcaksın ve üstte bi ok var wınnanpta yada wındows medıa playerde play tusu gıbı yesil renkte ona tıkla ve query analyzerı kapa bıişi cıkar kapatırken kaydedılsınmı dıe sn ona no de çık bi dene büyük ihtimal sorunun çözülür eğer olmassa yenı bi database bul dataBasenın özellikleri arasında OTOÜYELİK olsın ok ;) kolay glsın umarım bi faydam dokunur

eğer böle olmassa bıde şurdaki dediimizi yap böle de olabilir

===>>>>>

DB e Girip Stored Procedures 'e Giriyoruz Ve Oradan MYST_LOGİN i Siliyoruz Ve Query Analiz e Yazıyoruz

CREATE PROCEDURE MYST_LOGIN
@AccountID varchar(21),
@Password varchar(13),
@nRet smallint OUTPUT
AS
--CurrentUserdan Silelim
delete from currentuser where straccountid = @AccountID
-- Oto Üyelik
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

DECLARE @Nation tinyint, @CharNum smallint
SET @Nation = 0
SET @CharNum = 0
DECLARE @pwd varchar(13)
SET @pwd = null
SELECT @pwd = strPasswd FROM [dbo].[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
DECLARE @PremiumServiceDEC varchar(21)
select @PremiumServiceDEC = count(straccountid) FROM premium_service WHERE strAccountID = @AccountID
if @PremiumServiceDEC = 0
begin
insert into PREMIUM_SERVICE (strAccountID, strType, nDays) VALUES (@AccountID, 1, 3)
end
SELECT @Nation = bNation, @CharNum = bCharNum FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID
IF @@ROWCOUNT = 0
BEGIN
SET @nRet = 1
RETURN
END
IF @CharNum >= 0
BEGIN
SET @nRet = 1
RETURN
END
ELSE
BEGIN
SET @nRet = @Nation+1
RETURN
END
GO


Daha Sora ACCOUNT_LOGIN'i silioruz Ve Query analize bu kod u yazıp F5 e basıyoruzz..

CREATE PROCEDURE ACCOUNT_LOGIN
@AccountID varchar(21),
@Password varchar(13),
@nRet smallint OUTPUT

AS
--CurrentUserdan Silelim
delete from currentuser where straccountid = @AccountID

-- Oto Üyelik
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

-- Orjinalin Devamı :)
DECLARE @Nation tinyint, @CharNum smallint
SET @Nation = 0
SET @CharNum = 0

DECLARE @pwd varchar(13)
SET @pwd = null
SELECT @pwd = strPasswd FROM [dbo].[TB_USER] WHERE strAccountID = @AccountID and idays=6
IF @pwd IS null
BEGIN
SET @nRet = 0
--SET @nRet = 4
RETURN
END

ELSE IF @pwd <> @Password
BEGIN
SET @nRet = 0
--SET @nRet = 3
RETURN
END

DECLARE @PremiumServiceDEC varchar(21)
select @PremiumServiceDEC = count(straccountid) FROM premium_service WHERE strAccountID = @AccountID

if @PremiumServiceDEC = 0
begin
insert into PREMIUM_SERVICE (strAccountID, strType, nDays) VALUES (@AccountID, 1, 3)
end

SELECT @Nation = bNation, @CharNum = bCharNum FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID
IF @@ROWCOUNT = 0
BEGIN
SET @nRet = 1
RETURN
END
IF @CharNum = 0
BEGIN
SET @nRet = 1
RETURN
END
ELSE
BEGIN
SET @nRet = @Nation+1
--SET @nRet = 1
RETURN
END
GO
 
Son düzenleme:
Cevap: [Yardım] Server Kurdum İd Pw Yazınca İnvalid Password Veriyor.Yardım pls !!

denedim bunu da kardeş olmadı .
 
Cevap: [Yardım] Server Kurdum İd Pw Yazınca İnvalid Password Veriyor.Yardım pls !!

2. dediğimi de yaptınmı bi incele 2. yolu...
 
Cevap: [Yardım] Server Kurdum İd Pw Yazınca İnvalid Password Veriyor.Yardım pls !!

buda olmadı :( msn eklermisin bi teamviewer dan gelip bakamazmısın ?
 
Cevap: [Yardım] Server Kurdum İd Pw Yazınca İnvalid Password Veriyor.Yardım pls !!

bu bnm sw bilgisayarım tw fln yoq ama sorun snn database de sanırım oto üyelik sistemi desteklemıo yada biz beceremedık sn bnce kocuce.net den data base paylaşımı bi gez kendıne güzel bi db beğen indir kur ama dikkat et özelliklerinde oto üyelik olsun eğer tekrar bi sorun çıkarsa bn burdayım söle yardımcı olurum msn ver eklerim bn sni
 
Cevap: [Yardım] Server Kurdum İd Pw Yazınca İnvalid Password Veriyor.Yardım pls !!

şimdi 2 tane daha db değiştim yine olmadı oto üyelikli db ler . Benim pcdeki clientte sorun olabilir mi acaba :S
 
Cevap: [Yardım] Server Kurdum İd Pw Yazınca İnvalid Password Veriyor.Yardım pls !!

snn clientinle hiç bi alakası yoktur onun sn bi ODBC ayarlarını tekrar bi yapılandırsana ve su ebezener deki gameserver ını server ını + aı serverdakı server ını yı bi kontrol et bn bi arastırıyım bulabildiim bişi olursa buraya eklıycem arada kontrol et msn nı eklıorum sımdı..
 
Cevap: [Yardım] Server Kurdum İd Pw Yazınca İnvalid Password Veriyor.Yardım pls !!

Enterprise Manageri açın kendi db nizi bulun ve Stored Procedures > ACCOUNT_LOGIN i çift tıklayarak açın. Oradaki kodu alttkai kod ile değiştirin.



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


eğer bu şekildede olmuyorsa çözüm Basit ==>> sn kendıne ait exe yapmamışsındır sorun bundan kaynaklanıodur yapman gereken googledan knight online exe yapımı die kendıne bi exe yap ve patche de o exe koy ki millettede aynı hatayı vermesın kendın de o exey le oyuna giriceksin sorun ortadan kesinlikle kalkacaktır .....
 
Geri
Üst Alt