Register for your free account! | Forgot your password?

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

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

Advertisement



[HEL]Shaiya SQL New Installation?

Discussion on [HEL]Shaiya SQL New Installation? within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2011
Posts: 62
Received Thanks: 1
[HEL]Shaiya SQL New Installation?

Hello Elitepvpers, I looked everywhere before I posted can't find that answer, I downloaded this from Teddy its EP5 and it came with this New installation SQL and It failed becase I need to place in my info and I was wondering where do I place it? on this script or if im allowed if so where? thx.

ps: Sorry I misspelled the thread I "Help" is what I meant to say.




Quote:
/* Add server link, and Shaiya username */
IF NOT EXISTS (SELECT [name] FROM master.dbo.syslogins WHERE name = 'Shaiya')
BEGIN
EXEC sp_addlogin 'LIDA9493Mm', '1502SI2806mM', 'PS_GameDefs';
END
EXEC sp_addsrvrolemember 'LIDA9493Mm', '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,'LIDA9493Mm','1502SI2806mM'

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,'LIDA9493Mm','1502SI2806mM '

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,'LIDA9493Mm','1502SI2806m M'

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,'LIDA9493Mm','1502SI280 6mM'

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,'LIDA9493Mm','1502SI280 6mM'

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,'LIDA9493Mm','1502SI280 6mM'

/* 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,PwQue stion,PwAnswer,Email,PostNo,Addr1,Addr2,Phone1,
Phone2,Phone3,Mobile1,Mobile2,Mobile3,NewsLetter,S ms,AdultAuth,AdultAuthDate,EmailAuth,EmailAuthKey,
Job,JobNo,LocalNo,PwQuNo)
VALUES ('gmlight',1,'Light',NULL,NULL,'question','answer' ,'email@somewhere',NULL,NULL,NULL,NULL,NULL,NULL,N ULL,NULL,NULL,'0','0',
'0',NULL,'0',NULL,NULL,NULL,NULL,NULL)
END
Devine Souls is offline  
Old 03/04/2014, 19:28   #2




 
Autrux's Avatar
 
elite*gold: 1
Join Date: Dec 2010
Posts: 33,281
Received Thanks: 5,715
Arrow Shaiya -> Shaiya Private Server

#moved
Autrux is offline  
Old 03/05/2014, 12:38   #3
 
TeddyBear94's Avatar
 
elite*gold: 10
Join Date: May 2012
Posts: 1,857
Received Thanks: 2,627
LIDA9493Mm (user)
1502SI2806mM (password)

this both need to be replaced
TeddyBear94 is offline  
Thanks
1 User
Old 04/08/2014, 10:35   #4
 
elite*gold: 0
Join Date: Jan 2014
Posts: 22
Received Thanks: 0
where can i get GameAccountTBL? thanks
Aleni is offline  
Old 04/12/2014, 11:57   #5
 
Shànks♠'s Avatar
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,777
Received Thanks: 686
Quote:
Originally Posted by Aleni View Post
where can i get GameAccountTBL? thanks
OMG_GameWEB GameAccountTBL you don't need those in your Databse


Thats the right script for Linked servers
Quote:
/* Add linked servers */

IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='game')
BEGIN
EXEC sp_addlinkedserver 'game','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'game','false',null,'UserID','UserPass';
END

exec sp_serveroption @server='game', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='game', @optname='rpc out', @optvalue='true';

IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_DEFINEDB')
BEGIN
EXEC sp_addlinkedserver 'PS_DEFINEDB','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_DEFINEDB','false',null,'UserID','UserPass';
END

exec sp_serveroption @server='PS_DEFINEDB', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_DEFINEDB', @optname='rpc out', @optvalue='true';

IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_NCASH')
BEGIN
EXEC sp_addlinkedserver 'PS_NCASH','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_NCASH','false',null,'UserID','UserPass';
END

exec sp_serveroption @server='PS_NCASH', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_NCASH', @optname='rpc out', @optvalue='true';

IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_USERDB')
BEGIN
EXEC sp_addlinkedserver 'PS_USERDB','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_USERDB','false',null,'UserID','UserPass';
END

exec sp_serveroption @server='PS_USERDB', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_USERDB', @optname='rpc out', @optvalue='true';

IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_GAMEDB01')
BEGIN
EXEC sp_addlinkedserver 'PS_GAMEDB01','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_GAMEDB01','false',null,'UserID','UserPass';
END

exec sp_serveroption @server='PS_GAMEDB01', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_GAMEDB01', @optname='rpc out', @optvalue='true';

IF NOT EXISTS (SELECT srvname FROM master..sysservers WHERE srvname='PS_USERDB01')
BEGIN
EXEC sp_addlinkedserver 'PS_USERDB01','','SQLOLEDB','127.0.0.1';
EXEC sp_addlinkedsrvlogin 'PS_USERDB01','false',null,'UserID','UserPass';
END

exec sp_serveroption @server='PS_USERDB01', @optname='rpc', @optvalue='true';
exec sp_serveroption @server='PS_USERDB01', @optname='rpc out', @optvalue='true';
Shànks♠ is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Server Core Installation oder Vollständige Installation ?
11/30/2012 - Flyff Private Server - 1 Replies
Da es mit Windows Server 2012 ein paar Problemchen gabe, habe ich mich dazu entschlossen auf Windows Server 2008 um zu steigen, nun wollte ich euch fragen, was für eine Installation ? Und was bedeudet eigentlich Server Corehttp://i.epvpimg.com/FhQOe.png
[B] Wordpress Installation + Theme Installation&Anpassung + Einrichtung [S]EGold & PP
11/23/2012 - elite*gold Trading - 2 Replies
Hallo, Biete Wordpress Installation Theme Installation & Anpassung an deine Wünsche (Gute Premium Themes gibt es bei z.b. Premium WordPress Themes oder Woo themes // Nicht im Preis inbegriffen, wird dazu berechnet // Gerne könnt ihr auch Free Themes nutzen, allerdings empfehle ich Premium Themes, da sie sauberer programmiert sind)
EP6 Shaiya Private Server Installation: Help?
11/12/2012 - Shaiya Private Server - 3 Replies
After succeeding in installing my EP5.1 server, I moved on to EP6 so that the work I did on the server would be in the newest version and I wouldn't have to do a ton of updates. I am working on installing the server now and keep running into the same problem. The services are all installed (all have green pause buttons next to them). All of the passwords match the MySQL login information. However, whenever I start up the services a few of the pauses turn into arrows but quickly flash back to...
[S]Installation / Hilfe bei Installation und Einstellung von Iz3D [B]e*gold
04/15/2012 - elite*gold Trading - 0 Replies
Hallo :) Ich suche jmd. der mit bei Iz3D hilft, es richtig einzustellen etc. Ich habe probleme... :(
[Biete] Sprachpatch installation [Suche] 50 e*gold pro Installation
04/04/2012 - Origin Trading - 0 Replies
Ich biete hier absofort meinen Installationsdienst an. Ich installiere die Sprachpatches per Teamviewer. Ich nehme pro Installation 50 e*gold. Welche datein braucht ihr schonmal? Ihr braucht die Aktuellsten Sprachdatein, also GDF Binary's, Loc. Datein usw. Alles weitere besprechen wir per Skype. Skype addy : sanman.own3d.



All times are GMT +2. The time now is 12:31.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.