Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Why server keep error?

Junior Spellweaver
Joined
Apr 26, 2010
Messages
161
Reaction score
2
That is settings paypoint now i mean when i put ID and password then press enter will come out [ Server error ] this only..

Example
website total online 6/50
but
Server Controller 0/50 :huh:
 
Last edited:
Initiate Mage
Joined
Sep 23, 2011
Messages
3
Reaction score
0
try this, i take no credit i dont remember which user posted this but it worked for me !


go to pay_gamemyth, go to Stored Procedures, go to USPCheckBilling_Login and paste this under GO:

Credits to TyFix for showing me this.

--CHECKING
CREATE PROC dbo.USPCheckBilling_Login @strClientID varchar(20),@UID int,@Check int,@ClientIP varchar(15),@ServerID Tinyint
AS
SET NOCOUNT ON

DECLARE @FLAG INT
DECLARE @BillingType Char(2)
DECLARE @PlayTime INT
DECLARE @Crmindex INT

SET @FLAG = 1 --ERROR
SET @BillingType ='N'
SET @PlayTime = 0
SET @Crmindex = 0

IF EXISTS (SELECT strClientID FROM TblCurrentUser_Disconn WHERE strClientID = @strClientID)
BEGIN
DELETE TblCurrentUser_Disconn
WHERE strClientID = @strClientID
END
ELSE IF EXISTS (SELECT strClientID FROM TblCurrentUser_Temp WHERE strClientID = @strClientID)
BEGIN
DELETE TblCurrentUser_Temp
WHERE strClientID = @strClientID
END
ELSE IF EXISTS (SELECT strClientID FROM TblCurrentUser WHERE strClientID = @strClientID)
BEGIN
DELETE TblCurrentUser
WHERE strClientID = @strClientID
END

INSERT TblCurrentUser_Temp (strClientID,UID,strIP,tinyServerID)
VALUES (@strClientID,@UID,@ClientIP,@ServerID)

IF @@ROWCOUNT <> 1
BEGIN
SELECT @FLAG,@BillingType,@PlayTime,@Crmindex
END
ELSE
BEGIN
SET @FLAG = 0 --SUCCESS
SELECT @FLAG,@BillingType,@PlayTime,@Crmindex
END
 
Back
Top