Register for your free account! | Forgot your password?

You last visited: Today at 22:53

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

Advertisement



Errors

Discussion on Errors within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2013
Posts: 107
Received Thanks: 34
Errors

So im getting two errors which idk what should be done to fix it...

PS_Game


PS_Login

olinou2 is offline  
Old 10/30/2013, 12:47   #2
 
elite*gold: 0
Join Date: Jun 2013
Posts: 107
Received Thanks: 34
bump
olinou2 is offline  
Old 10/31/2013, 10:38   #3
 
Mithrandir.'s Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 1,867
Received Thanks: 401
Check your NPCQuest.SData in your server files, and encrypt/decrypt it again.
Mithrandir. is offline  
Thanks
1 User
Old 10/31/2013, 22:31   #4
 
elite*gold: 0
Join Date: Jun 2013
Posts: 107
Received Thanks: 34
alright so looks like the PS_Game error is fixed , now what about the PS_Login ones?

Thanks
olinou2 is offline  
Old 10/31/2013, 22:44   #5
 
Mithrandir.'s Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 1,867
Received Thanks: 401
Reason:
Quote:
Originally Posted by treica View Post
I see that it blocking your IP, because you use the dupe fix stored procedure, so you have to introduce on the procedure your IP and run it again on DB ( in chase you have an Static IP, or do remove it) and is happens only to ranked 16, 32, 48, 64, 80 accounts because is protecting to do not get hacked your staff.
So set your IP there or change the procedure usp_Try_GameLogin_Taiwan normally how it was.!
Fix:
Code:
USE [PS_UserData]
GO
DROP PROCEDURE dbo.usp_Try_GameLogin_Taiwan
GO
/****** Object:  StoredProcedure [dbo].[usp_Try_GameLogin_Taiwan]    Script Date: 10/31/2013 22:40:59 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO

/****** Object:  Stored Procedure dbo.usp_Try_GameLogin_Taiwan    Script Date: 2008-6-7 18:34:05 ******/

/*==================================================
@date	2007-12-04
@brief	Login Proc( Taiwan )
==================================================*/

CREATE  Proc [dbo].[usp_Try_GameLogin_Taiwan]

@UserID 	varchar(18),
@InPassword	varchar(32),

@SessionID 	bigint,
@UserIP 	varchar(15),

-- 罹晦梱雖 蹂 檣濠, 釭該雖朝 頂睡 滲熱

@UserUID 	int = 0,
@LoginType 	smallint = 1, 
@LoginTime 	datetime = NULL

AS

SET NOCOUNT ON

DECLARE 

@Leave 		tinyint,
@Status 		smallint,

@CompanyIP 	varchar(15),
@TempIP 	varchar(15),
@Check		int

SET @Status =		 -1
SET @LoginTime = 	GETDATE()

--------------------------------------------------
SET @CompanyIP = 	'61.107.81'
SET @UserIP =		LTRIM( RTRIM(@UserIP) )
--------------------------------------------------
SET @Check = 0
--------------------------------------------------

SELECT @UserUID=UserUID, @Status=Status, @Leave=Leave FROM Users_Master WHERE UserID = @UserID

-- NotExist User OR Leave User
IF( @UserUID = 0 OR @Leave = 1 )
BEGIN
	SET @Status = -3
END
ELSE
BEGIN
	-- Check Password
	EXEC dbo.sp_LoginSuccessCheck @UserID, @InPassword, @Check output
	IF ( @@ERROR = 0 )
	BEGIN
		IF( @Check <> 1 )
		BEGIN
			SET @Status = -1
		END
	END
	ELSE
	BEGIN
		SET @Status = -1
	END

	/* Old
	SET @InEnPassword = master.dbo.fn_md5(@InPassword)
	IF ( @InEnPassword <> @EnPassword )
	BEGIN
		SET @Status = -1
	END
	*/
END

-- BlockUser Check
IF( (@Status >= 2) AND (@Status <= 6) )
BEGIN
	-- Get Block Limit Date AND Replace date text
	DECLARE @BlockEndDate datetime
	SELECT @BlockEndDate = BlockEndDate FROM Users_Block WHERE UserUID = @UserUID
	IF ( @@ROWCOUNT <> 0 )
	BEGIN
		-- Block Release
		IF ( @BlockEndDate <= @LoginTime )
		BEGIN
			SET @Status = 0
			UPDATE Users_Master SET Status = @Status WHERE UserUID = @UserUID
		END
	END
END

-- Admin IP Check(2006-02-21)
/*
IF( @Status = 16 OR @Status = 32 OR @Status = 48 OR @Status = 64 OR @Status = 80 )
BEGIN
	SET @TempIP = LEFT(@UserIP, 9)
	IF( @TempIP <> @CompanyIP )
	BEGIN
		SET @Status = -999
	END
END
*/

-- Select 
SELECT @Status AS Status, @UserUID AS UserUID

-- Log Insert
IF( @Status = 0 OR @Status = 16 OR @Status = 32 OR @Status = 48 OR @Status = 64 OR @Status = 80 )
BEGIN
	EXEC usp_Insert_LoginLog_E @SessionID=@SessionID, @UserUID=@UserUID, @UserIP=@UserIP, @LogType=0, @LogTime=@LoginTime, @LoginType=@LoginType
END
SET NOCOUNT OFF
Mithrandir. is offline  
Thanks
1 User
Old 11/01/2013, 04:52   #6
 
elite*gold: 0
Join Date: Jun 2013
Posts: 107
Received Thanks: 34
Ill give a thanks for the try but that is no the solution , considering every single accounts including those with status 0, gets this error. Ima still give it a shot tomorrow. I also didnt run any ani dupe procedure for now so dont know where the link is :3 , yet you didnt know that so i cant blame you for sure.

Tyvm for trying tho, really appreciated.

Ps : since i actually didnt try it yet , i'd ask you to forgive me if im wrong, and it is the only possible answer .
olinou2 is offline  
Old 11/01/2013, 10:00   #7
 
Mithrandir.'s Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 1,867
Received Thanks: 401
You executed the query?

And maybe the anti dupe procedure was already in the database you're using.
Mithrandir. is offline  
Thanks
1 User
Old 11/01/2013, 12:52   #8
 
elite*gold: 0
Join Date: Jun 2013
Posts: 107
Received Thanks: 34
wow looks like it worked , tyvm!!

What do i have to do with that ip tho ? i shoulda write my external ip or 127.0.0.1?
olinou2 is offline  
Reply


Similar Threads Similar Threads
errors please help!
03/12/2013 - CrossFire - 2 Replies
everytime i want to start cf europe this shows up please help me!
i got errors..
12/26/2011 - Flyff Private Server - 1 Replies
2011/12/26 11:12:24 CWorld::AddObj world id:1 x:4609.000000 y:60.000000 z:4409.000000 2011/12/26 11:12:24 CWorld::AddObj world id:1 x:4080.000000 y:30.000000 z:3711.000000 2011/12/26 11:12:24 CWorld::AddObj world id:1 x:3512.000000 y:117.000000 z:2190.000000 2011/12/26 11:15:21 CWorld::AddObj world id:1 x:6971.983887 y:100.000000 z:3336.884033 2011/12/26 11:16:25 CWorld::AddObj world id:1 x:6971.983887 y:100.000000 z:3336.884033
[Guide] 2 Fixes on Sro-Errors (no bot-errors)
03/04/2011 - SRO Guides & Templates - 5 Replies
Hey guys, here are 2 fixes for silkroad-errors (not bot-errors!). I know they dont appear for many people but some guys have problems with it. 1st Fix: "Server is undergoing inspection..." Why does this error appear? Because Joymax has some problems with the Login-Servers. Fix: Step1): Click on "Start" then on "Run"
Grr >.> More Errors >
05/12/2010 - CO2 Private Server - 4 Replies
Well this is my createcharacter class for 5165 and i Type its Name Choose Body Size Wen I click Enter It Gives me The Error Try again i just cant find wats the problem using System; using Source_Project.GameSystem; using Source_Project.Structures; using MySql.Data.MySqlClient; namespace Source_Project {
Help with some errors
02/09/2010 - Shaiya - 1 Replies
Hi, i wanted to ask someone to help me with this things... Everytime I try to open some bots or tools made by lilprohacker (btw thanks for your great job in the forum) i get the same error: 'The application failed to initialize properly (0x0000135). Click on OK to terminate the application'. Does anyone know how to fix this?



All times are GMT +1. The time now is 22:54.


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.