Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rohan
You last visited: Today at 20:09

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

 

help with "incorrect password"

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   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 643
Received Thanks: 201
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: Google


oziel235 is offline  
Old   #3
 
elite*gold: 0
Join Date: Dec 2013
Posts: 54
Received Thanks: 3
this guy seriously o.o
mashiteri is offline  
Old   #4
 
elite*gold: 0
Join Date: Feb 2011
Posts: 333
Received Thanks: 107
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   #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   #6
 
elite*gold: 0
Join Date: May 2013
Posts: 22
Received Thanks: 0
tnx. reqviem
rohanprivateteam is offline  
Old   #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



« Previous Thread | Next Thread »

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



All times are GMT +2. The time now is 20:09.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.