Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Development
You last visited: Today at 08:50

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

Advertisement



Disconnecting when choosing Server

Discussion on Disconnecting when choosing Server within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2012
Posts: 6
Received Thanks: 0
Question Disconnecting when choosing Server

- deleted
#fixed
[GM]End is offline  
Old 03/23/2017, 19:15   #2
 
st.jimmy998's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 345
Received Thanks: 137
Linked servers

st.jimmy998 is offline  
Old 03/23/2017, 19:56   #3
 
elite*gold: 0
Join Date: May 2012
Posts: 6
Received Thanks: 0
Quote:
Originally Posted by st.jimmy998 View Post
Linked servers

Hello, thank you for your response. I have already run this query sadly.
Code:
/* Add server link, and Shaiya username */
IF NOT EXISTS (SELECT [name] FROM master.dbo.syslogins WHERE name = 'Shaiya')
BEGIN
	EXEC sp_addlogin 'Shaiya', 'shaiya123', 'PS_GameDefs';
END	
EXEC sp_addsrvrolemember 'Shaiya', 'sysadmin';

TRUNCATE TABLE PS_UserData.dbo.Users_Master;
TRUNCATE TABLE OMG_GameWEB.dbo.GameAccountTBL;
TRUNCATE TABLE PS_UserData.dbo.Users_Detail;
	
if exists(select * 
from master..sysservers 
where isremote=1 and srvname='game') 
begin
exec sp_dropserver 'game','droplogins'
end
exec sp_addlinkedserver 'game','','SQLOLEDB','127.0.0.1'
exec sp_addlinkedsrvlogin 'game','false',null,'Shaiya','shaiya123'

if exists(select * 
from master..sysservers 
where isremote=1 and srvname='PS_NCASH') 
begin
exec sp_dropserver 'PS_NCASH','droplogins'
end
exec sp_addlinkedserver 'PS_NCASH','','SQLOLEDB','127.0.0.1'
exec sp_addlinkedsrvlogin 'PS_NCASH','false',null,'Shaiya','shaiya123'

if exists(select * 
from master..sysservers 
where isremote=1 and srvname='PS_USERDB') 
begin
exec sp_dropserver 'PS_USERDB','droplogins'
end
exec sp_addlinkedserver 'PS_USERDB','','SQLOLEDB','127.0.0.1'
exec sp_addlinkedsrvlogin 'PS_USERDB','false',null,'Shaiya','shaiya123'

if exists(select * 
from master..sysservers 
where isremote=1 and srvname='PS_USERDB01') 
begin
exec sp_dropserver 'PS_USERDB01','droplogins'
end
exec sp_addlinkedserver 'PS_USERDB01','','SQLOLEDB','127.0.0.1'
exec sp_addlinkedsrvlogin 'PS_USERDB01','false',null,'Shaiya','shaiya123'

if exists(select * 
from master..sysservers 
where isremote=1 and srvname='PS_DEFINEDB') 
begin
exec sp_dropserver 'PS_DEFINEDB','droplogins'
end
exec sp_addlinkedserver 'PS_DEFINEDB','','SQLOLEDB','127.0.0.1'
exec sp_addlinkedsrvlogin 'PS_DEFINEDB','false',null,'Shaiya','shaiya123'

if exists(select * 
from master..sysservers 
where isremote=1 and srvname='PS_GAMEDB01') 
begin
exec sp_dropserver 'PS_GAMEDB01','droplogins'
end
exec sp_addlinkedserver 'PS_GAMEDB01','','SQLOLEDB','127.0.0.1'
exec sp_addlinkedsrvlogin 'PS_GAMEDB01','false',null,'Shaiya','shaiya123'
	
/* Add to Game User: admin, Password: admin123 and user information*/

IF NOT EXISTS (SELECT UserUID FROM PS_UserData.dbo.Users_Master WHERE UserUID=1)
BEGIN
	INSERT INTO PS_UserData.dbo.Users_Master
	(UserUID, UserID, Pw, JoinDate, Admin, AdminLevel, UseQueue, Status, Leave, LeaveDate, UserType, UserIp, ModiIp, ModiDate, Enpassword, Point)
	VALUES (1,'gmlight', 'gmlight123', GETDATE(), 1, 255,'',16,'', DATEADD(year, +10, GETDATE()),'A',NULL,NULL,NULL,NULL,0);
END


IF NOT EXISTS (SELECT UserUID FROM OMG_GameWEB.dbo.GameAccountTBL WHERE UserUID=1)
BEGIN
	INSERT INTO OMG_GameWEB.dbo.GameAccountTBL
	(UserUID,GameAccount,OneTimePassword,OTPExpireDate,DelCharPWD,CreateDate)
	VALUES (1,'gmlight','gmlight123',DATEADD(year, +20, GETDATE()),'ff',GETDATE())
END

IF NOT EXISTS (SELECT UserUID FROM PS_UserData.dbo.Users_Detail WHERE UserUID=1)
BEGIN
	INSERT INTO PS_UserData.dbo.Users_Detail
	(UserID,UserUID,UserName,SocialNo1,SocialNo2,PwQuestion,PwAnswer,Email,PostNo,Addr1,Addr2,Phone1,
	Phone2,Phone3,Mobile1,Mobile2,Mobile3,NewsLetter,Sms,AdultAuth,AdultAuthDate,EmailAuth,EmailAuthKey,
	Job,JobNo,LocalNo,PwQuNo)
	VALUES ('gmlight',1,'Light',NULL,NULL,'question','answer','email@somewhere',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',
	'0',NULL,'0',NULL,NULL,NULL,NULL,NULL)
END
[GM]End is offline  
Reply


Similar Threads Similar Threads
I disconnect when pressing ok after choosing server
08/16/2021 - Shaiya Private Server - 5 Replies
Shaiya Ep3 Error - YouTube ^^ Video says all, does anyone know what problem could be ? Thanks :D
Esro. choosing a server.
07/08/2011 - SRO Private Server - 11 Replies
so im trying to pick wich server i should try O_o. im just lookin for a all english speaking guild Dx. nd the server that stays up the most. got any ideas guys XD? :mofo:
Choosing the right dedicated server
03/16/2011 - Dekaron Private Server - 6 Replies
What matters in dedicated servers? Does harddrive speed matter? Does Ram Matter? Does Processor matter? Truth is all of these matter. and I personally believe a good company is serverloft im going to be using there 120 dollar dedi as an example with 1 solid state and 2 normal 500 hdd's How would you configure this well first of all i would install all programs onto the main hd with the OS. then i would proceed to put server files and webserver on one drive considering the fact that...
[Guide] Choosing the right Private Server to play on
02/24/2011 - SRO PServer Guides & Releases - 33 Replies
Hey people, since there a just a few private servers and all have 30x rates, i thought i may make a thread in which I inform you about which one to choose. In Case you like Botting and Servers without Updates, No Events, Inactive English Community but therefore highly arabic and turkish players, No Jobwars, No Pvp and High Server Traffic: Choose SjSro, main language on the server is arabic/turkish, no active GMs, always crowded,no bans and db-bot 0.8 compatible.Community based Actions...
[Help] Disconnecting from the server
08/16/2009 - CO2 Private Server - 0 Replies
Hey, I was looking for some help with the quitting my server. I am using Hybrid's source: http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/203219-release-extremely-basic-bu t-working-bugless-c-source.html When you either use "@quit" or just exit the client, the client will close, but the server doesn't acknowledge that the client has disconnected, so the character still sits there...



All times are GMT +1. The time now is 08:52.


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.