İnvalid Password Hatası bilen biri yardım edebilirmi ?

Kayıtlı Üye
Katılım
27 Mayıs 2012
Mesajlar
184
Merhaba elimde bir database var ve saocs v33 fıleslarla server kurup elimdeki databasemi editlemek istiyorum.Fakat sanırım dataabse oto üyelik yok ve Invalid password hatası alıyorum ıd ve şifre yazdığımda.forumumuzdan oto üyelik için gerek li prosödür kodlarını temin ettim ve bire bir uyguladım bu seferde ilk seferde giriyor fakat oyundan çıktıktan sonra tekrar Invalid password hatası veriyor bayadır uğraşıyorum fakat yapamadım eğer bilen bir arkadaş yardımcı olursa çok memnum olurum.



Databasemde bulunan ACCOUNT_LOGIN üyelik prosödürü



CREATE PROCEDURE ACCOUNT_LOGIN

@AccountID varchar(21),

@Password varchar(13),

@nRet smallint OUTPUT



AS





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 [MENTION=520]Gokhan[/MENTION]tasci varchar(21)

select [MENTION=520]Gokhan[/MENTION]tasci = count(straccountid) FROM premium_service WHERE strAccountID = @AccountID



if [MENTION=520]Gokhan[/MENTION]tasci = 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



Databasemde bulunan myst_login prosödürü



@AccountID varchar(21),

@Password varchar(13),

@nRet smallint OUTPUT



AS





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



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





ilk başta bu iki prosödürüde siliyorum ardından forumlarda bulunan oto üyelik prosödürlerini ekliyorum serveri açıyorum ve sorunsuzca giriyorum fakat oyundan çıktıktan sonra tekrar İnvalid Password hatası alıyorum nerde yanlış yapıyorum ? ( açılması gereken tüm portlarıda açtım ayrıca saocs login için 15023 portuınuda )
 
Kayıtlı Üye
Katılım
30 Temmuz 2012
Mesajlar
145
CREATE PROCEDURE ACCOUNT_LOGIN

@AccountID varchar(21),

@Password varchar(13),

@nRet smallint OUTPUT

AS



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

SET @nRet = 4

RETURN

END

ELSE IF @pwd <> @Password

BEGIN

--SET @nRet = 0

SET @nRet = 3

RETURN

END



DECLARE [MENTION=520]Gokhan[/MENTION]tasci varchar(21)

select [MENTION=520]Gokhan[/MENTION]tasci = count(straccountid) FROM premium_service WHERE strAccountID = @AccountID



if [MENTION=520]Gokhan[/MENTION]tasci = 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 = 1



RETURN

END

GO
bunu uyguLAA
 
Kayıtlı Üye
Katılım
30 Temmuz 2012
Mesajlar
145
saoc da fark etmez sadece exe ve ebenezer . walla 1299 olarak hic elimde login server yok akumanin paylastigi login sw war onu indir xskip login
 
Kayıtlı Üye
Katılım
13 Nisan 2012
Mesajlar
620
Merhaba elimde bir database var ve saocs v33 fıleslarla server kurup elimdeki databasemi editlemek istiyorum.Fakat sanırım dataabse oto üyelik yok ve Invalid password hatası alıyorum ıd ve şifre yazdığımda.forumumuzdan oto üyelik için gerek li prosödür kodlarını temin ettim ve bire bir uyguladım bu seferde ilk seferde giriyor fakat oyundan çıktıktan sonra tekrar Invalid password hatası veriyor bayadır uğraşıyorum fakat yapamadım eğer bilen bir arkadaş yardımcı olursa çok memnum olurum.









ilk başta bu iki prosödürüde siliyorum ardından forumlarda bulunan oto üyelik prosödürlerini ekliyorum serveri açıyorum ve sorunsuzca giriyorum fakat oyundan çıktıktan sonra tekrar İnvalid Password hatası alıyorum nerde yanlış yapıyorum ? ( açılması gereken tüm portlarıda açtım ayrıca saocs login için 15023 portuınuda )





Soacs v33 Oto üyelik kodu :

Kod:
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





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



direk QA ya yapıştırıp bir dene
 
Kayıtlı Üye
Katılım
27 Mayıs 2012
Mesajlar
184
Soacs v33 Oto üyelik kodu :

Kod:
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





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



direk QA ya yapıştırıp bir dene



odo olmadı kardeş yinede saol.
 
Kayıtlı Üye
Katılım
13 Nisan 2012
Mesajlar
620
enteresan :D kardeşim şuan soacsv33 kullanıyorum bi sorun yok. Yanlız bir sorunu vardı bunun ilk önce SOACS Launcheri açıp sonra Logini açmayı bir dene sanırsam bende de öyle olmuştu böyle açınca oldu ama alakası yok diyosan bilemicem;)
 
Kayıtlı Üye
Katılım
27 Mayıs 2012
Mesajlar
184
enteresan :D kardeşim şuan soacsv33 kullanıyorum bi sorun yok. Yanlız bir sorunu vardı bunun ilk önce SOACS Launcheri açıp sonra Logini açmayı bir dene sanırsam bende de öyle olmuştu böyle açınca oldu ama alakası yok diyosan bilemicem;)



zaten öyle açıyorum olmadı gitti neyse saol.
 
Kayıtlı Üye
Katılım
27 Mayıs 2012
Mesajlar
184
arkadaşlar sorunun çözümünü ben bu kodda buldum aynı sorunu olan arkadaşlar bunuda deniyebilir.





-- # ExTrap MYST_LOGIN Start # --

CREATE PROCEDURE [dbo].[MYST_LOGIN]

@AccountID char(21),

@Password char(21),

@nRet smallint OUTPUT

AS



exec UPDATE_PREMIUM_SERVICE_USER @AccountID





-- # Check ID And Password Hack Start #

/*

IF dbo.CheckAccountName(@AccountID) <> 0

BEGIN

-- Sucessfully connecto to Server but failed logging into the game. (255)

SET @nRet = 2

RETURN

END

ELSE IF dbo.CheckAccountPassword(@Password) <> 0

BEGIN

-- Sucessfully connecto to Server but failed logging into the game. (255)

SET @nRet = 3

RETURN

END

*/

-- # Check ID And Password Hack End #





-- # Login Disabled for Banned Accounts Start # --

DECLARE @Banned1 int,@Banned2 int,@Banned3 int

SELECT @Banned1 = Authority FROM USERDATA WHERE strUserId = (SELECT strCharID1 FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID AND strCharID1 is not null)

SELECT @Banned2 = Authority FROM USERDATA WHERE strUserId = (SELECT strCharID2 FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID AND strCharID2 is not null)

SELECT @Banned3 = Authority FROM USERDATA WHERE strUserId = (SELECT strCharID3 FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID AND strCharID3 is not null)



IF @Banned1 = 255 OR @Banned2 = 255 OR @Banned3 = 255

BEGIN

-- Blocked Account

SET @nRet = 4

RETURN

END

-- # Login Disabled for Banned Accounts End # --





/*

-- # Check Current User Start #

SELECT @nRet = Count(strAccountId) FROM CURRENTUSER WHERE strAccountId = @AccountID

IF @nRet <> 0

BEGIN

-- In Game Account

SET @nRet = 5

RETURN

END

-- # Check Current User End #

*/



-- # Auto Account Start #

IF NOT exists(SELECT strAccountID FROM TB_USER WHERE strAccountID = @AccountID)

BEGIN

insert into TB_USER (strAccountID, strPassWd, strSocNo, idays) values (@AccountID, @password, 1, '6')

END

-- # Auto Account Start #



DECLARE @pwd varchar(21)



SET @pwd = null



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

IF @pwd IS null

BEGIN

-- Invalid Password

SET @nRet = 3

RETURN

END

ELSE IF @pwd <> @Password

BEGIN

-- Invalid Password

SET @nRet = 3

RETURN

END

ELSE IF @pwd = @Password

BEGIN

-- Login Sucessfull

-- # Delete Current User Start #

DELETE FROM CURRENTUSER WHERE strAccountID = @AccountID

-- # Delete Current User 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

SET @nRet = 1

RETURN

END

GO

-- # ExTrap MYST_LOGIN End # --
 
Üst Alt
Reklam
Reklam