|
You last visited: Today at 22:47
Advertisement
error when Attaching Database (PS_GameData_Data.MDF)
Discussion on error when Attaching Database (PS_GameData_Data.MDF) within the Shaiya Private Server forum part of the Shaiya category.
12/11/2012, 22:08
|
#16
|
elite*gold: 92
Join Date: Aug 2009
Posts: 731
Received Thanks: 971
|
Code:
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,'CHOOSENAME', 'CHOOSEPW', GETDATE(), 1, 255,'',16,'', DATEADD(year, +10, GETDATE()),'A',NULL,NULL,NULL,NULL,0);
END
Run this Query and change "CHOOSENAME" and "CHOOSEPW" to your stuff.
Be careful: Do not change the ' '.
|
|
|
12/11/2012, 22:12
|
#17
|
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 392
|
If you see no data there, it's because the table is empty and waiting for you to add accounts in.. xD
It's a little old, but if you just look at the User_Master table it should work the same for you in making an account. Give that a go and see if you can make an account.
EDIT: Shoo Peripher, I was typing and your post popped up!
|
|
|
12/11/2012, 22:37
|
#18
|
elite*gold: 0
Join Date: Aug 2009
Posts: 24
Received Thanks: 0
|
Yeah iv'e made a few posts about this, but this one was created by me..
I figured if i posted in the other forums that i used to get this far i'd receive more help.. or at least more promptly responses lol
I opened up the DB as it says in that tut.. but it's different in MSSQL2012
It doesn't have the same option to simply open table in the DB
I hit "design" but it doesn't have the same options to simply create the accounts
Can you please add me on FB so we can chat more directly and i can post screen shots and such?
FB = mikeY O Pan
|
|
|
12/11/2012, 22:42
|
#19
|
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 392
|
Right click, then SELECT x rows to view
Right click, then EDIT x rows to edit/add stuff
Most of us here use 2012 as well, it's mostly the same as 2005, but small changes like that. Design will actually change the layout of the table, so ignore that for now.
|
|
|
12/11/2012, 22:42
|
#20
|
elite*gold: 0
Join Date: Aug 2009
Posts: 24
Received Thanks: 0
|
PS.. when i ran that it said
Msg 544, Level 16, State 1, Line 3
Cannot insert explicit value for identity column in table 'Users_Master' when IDENTITY_INSERT is set to OFF.
Oh awesome.. that worked "view/edit"
BUT when i did what you said it opened it properly.. it shows the gmlight and gmlight123 ..
but when i tried to log using those it wouldn't let me as well :/
Ok. SO the account is created. but it still says it can't be found
Iv'e tried to change the game.exe ip to 192.168.0.17 as well as GamePublicIP=192.168.0.17 in PS_Game.ini
In advance i must thank you both for helping me thus far!!
|
|
|
12/11/2012, 22:54
|
#21
|
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 392
|
are you trying to connect with the right Game IP?
Sounds like your trying to connect to another server instead of your own.. xD
|
|
|
12/11/2012, 22:55
|
#22
|
elite*gold: 0
Join Date: Aug 2009
Posts: 24
Received Thanks: 0
|
My local ip is 192.168.0.17
|
|
|
12/11/2012, 22:57
|
#23
|
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 392
|
try make it 127.0.0.1 in the game.exe and your ini files. See if that works for you.
|
|
|
12/11/2012, 22:59
|
#24
|
elite*gold: 0
Join Date: Aug 2009
Posts: 24
Received Thanks: 0
|
That didn't work either
|
|
|
12/11/2012, 23:09
|
#25
|
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 392
|
Sent you a PM so we don't hit over 100 posts in this 1 thread trying to work out your problem. xD
|
|
|
 |
|
Similar Threads
|
Help Where the Error at My Database
02/11/2012 - CO2 Private Server - 14 Replies
----Exception message----
Fatal error encountered during command execution.
----End of exception message----
----Stack trace----
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)
at Conquer_Online_Server.Database.MySqlReader.TryFill (MySqlCommand command) in C:\Users\WarCraft\Desktop\Joseph - Copy\Source (Warcraftsco)\Database\MySql\MySqlReader.cs:line 26
at Conquer_Online_Server.Database.MySqlReader..ctor(M ySqlCommand command) in...
|
V17 Database Error
06/06/2011 - Flyff Private Server - 8 Replies
Hey,
ich wollte n P-server nach Mr.Helperīs v17 TuT machen.
Es lief eigentlich alles super, doch als ich den Database server starten wollte kam die bekannte Fehlmeldung "FAIL read ini" usw.....
Bei anderen Threads hab ich bis jetzt noch keine antwort gefunden.
kann mir jemand helfen?
|
Error when Attaching Databases
05/10/2010 - Shaiya Private Server - 4 Replies
Whenever I try attaching the EP4 files to my Database in SMSE, they all fail. Any idea why?
TITLE: Microsoft SQL Server Management Studio Express
------------------------------
Attach database failed for Server 'KERC'. (Microsoft.SqlServer.Express.Smo)
For help, click: Source: ID: ( ) - Events And Errors Message Center: Message Details
------------------------------
|
Database.cs Error?
12/13/2009 - CO2 Private Server - 2 Replies
Well I get my friends playing my server and I'm getting this alot. This therefore isn't saving them. They also DC alot but maybe thats more to do with my conenction.
http://img704.imageshack.us/img704/2858/error1n.p ng
and inside line 1183 is the save char region.
public static void SaveCharacter(Game.Character C, string Acc)
{
try
{
FileStream FS = new FileStream(@"C:\OldCODB\Users\Characters\&quo t; + C.Name + ".chr", FileMode.Open);
...
|
[HELP] DataBase Error
09/12/2008 - CO2 Private Server - 1 Replies
http://img261.imageshack.us/img261/739/databaseerr ortw9.png
İ use Steals Server Pack
What is wrong here ??
-- phpMyAdmin SQL Dump
-- version 2.10.3
-- http://www.phpmyadmin.net
--
|
All times are GMT +1. The time now is 22:47.
|
|