Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rohan
You last visited: Today at 00:57

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



help with "incorrect password"

Discussion on help with "incorrect password" within the Rohan forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2013
Posts: 22
Received Thanks: 0
help with "incorrect password"

anyone who can give a full guide on where to edit this.

if i login on the server with incorrect password it will tell "incorrect password"
if i login a nonregistred account it will tell also "account not register"
if i login a account that has been login it will tell "user is already login"

is it on the Rohanauth/or on the dbo.rohan3_sendcode/dbo.rohan4_login?? anyone who can help us with this?
rohanprivateteam is offline  
Old 01/24/2014, 19:22   #2
 
oziel235's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 697
Received Thanks: 249
Try to edit the file login5.php
You can add checks, as I had no LoginRemove.php
Done in the php file could have done right in the database.

I just gave you a tip, now it's your turn!
Further inquiries:
oziel235 is offline  
Old 01/25/2014, 09:46   #3
 
elite*gold: 0
Join Date: Dec 2013
Posts: 54
Received Thanks: 3
this guy seriously o.o
mashiteri is offline  
Old 01/25/2014, 10:07   #4
 
elite*gold: 0
Join Date: Feb 2011
Posts: 333
Received Thanks: 111
Code:
USE [RohanUser]
GO 
SET ANSI_NULLS ON
GO 
SET QUOTED_IDENTIFIER ON
GO 
ALTER PROCEDURE [dbo].[LOCAL3_CheckAuth](
	@login_id	nvarchar(20)
	,@login_pw	nvarchar(50)
	,@ip		nvarchar(20)
	,@grade		tinyint			output
	,@species	int				output
	,@bill_no	int				output
)
AS
SET NOCOUNT ON

declare	@ret	int
declare	@pw		nvarchar(50)

set @grade = 0
set @ret = 0;

select @pw = right(login_pw,32), @species = species, @grade = grade, @bill_no = bill_no
	from tuser
	where login_id = @login_id

if @pw is null															set @ret = -1	-- incorect username
else if @pw <> @login_pw												set @ret = -2	-- incorect pasword
else if exists(select user_id from tdeluser where login_id = @login_id) set @ret = -5	-- deleted username
else if exists(select id from sanction where id = @login_id)			set @ret = -3	-- banned
else if exists(select ip from cut_ip where ip = @ip)					set @ret = -4	-- ip ban

return @ret
It's up to you guys to check all the cases. I tested it locally and it outputs the desired results.
zzerachiel is offline  
Thanks
1 User
Old 01/25/2014, 12:51   #5
 
elite*gold: 0
Join Date: Jul 2013
Posts: 82
Received Thanks: 7
Quote:
Originally Posted by ammadpurba View Post
LOL , DON'T BUY ANYTHING FROM OZIEL235 , HE IS SCAMMER .
HE JUST TRY TO TAKE YOUR MONEY AND FLEE

Hydra antihack is not exist , he is liar . u better **** him off
I think it's suppose to be cerberus instead of hydra...tho it's seem like serpent head but i think 3 suit for cerberus...imiiw

moemet is offline  
Old 01/25/2014, 22:10   #6
 
elite*gold: 0
Join Date: May 2013
Posts: 22
Received Thanks: 0
tnx. reqviem
rohanprivateteam is offline  
Old 01/31/2014, 19:33   #7
 
elite*gold: 0
Join Date: Dec 2013
Posts: 54
Received Thanks: 3
how to use this properly? you need fix rohanauth or just query this?
mashiteri is offline  
Reply


Similar Threads Similar Threads
[REQUEST] "wrong password" or "wroong id" packets headers
01/10/2013 - Kal Online - 4 Replies
Hello everyone , as mentioned above , i need headers for "wrong password" or " id doesn't exist" headers when attempting to login . thanks =]



All times are GMT +1. The time now is 00:59.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.