help with "incorrect password"

01/24/2014 19:09 rohanprivateteam#1
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?
01/24/2014 19:22 oziel235#2
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: [Only registered and activated users can see links. Click Here To Register...]
01/25/2014 09:46 mashiteri#3
this guy seriously o.o
01/25/2014 10:07 zzerachiel#4
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.
01/25/2014 12:51 moemet#5
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 fuck 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 :handsdown:

01/25/2014 22:10 rohanprivateteam#6
tnx. reqviem
01/31/2014 19:33 mashiteri#7
how to use this properly? you need fix rohanauth or just query this?