Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 20:11

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

Advertisement



MagOptCount (8) has wrong value!

Discussion on MagOptCount (8) has wrong value! within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1

 
sl1nkz's Avatar
 
elite*gold: 329
Join Date: Feb 2014
Posts: 196
Received Thanks: 15
MagOptCount (8) has wrong value!

Hello everyone,

my server was running fine until today.

I restarted the server and want to start it again.
Then im getting this error:





anyone know how to fix this error ?

kind regards,

dope
sl1nkz is offline  
Old 12/31/2015, 13:11   #2
 
Gidzy's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 402
Received Thanks: 154
Create new Database let's say (SHARD2)
Restore Old working backup
And use this query to copy refobjcommon from it
Quote:
USE SRO_VT_SHARD
GO
TRUNCATE TABLE [dbo].[_RefObjCommon]
GO
insert into SRO_VT_SHARD.dbo._RefObjCommon select * from SHARD2.dbo._RefObjCommon
Gidzy is offline  
Old 12/31/2015, 13:20   #3

 
sl1nkz's Avatar
 
elite*gold: 329
Join Date: Feb 2014
Posts: 196
Received Thanks: 15
Quote:
Originally Posted by Gidzy View Post
Create new Database let's say (SHARD2)
Restore Old working backup
And use this query to copy refobjcommon from it
if i try this im getting this error:

EDIT: Im using SQL2008 R2

Code:
Msg 4712, Level 16, State 1, Line 1
Cannot truncate table 'dbo._RefObjCommon' because it is being referenced by a FOREIGN KEY constraint.
Msg 8101, Level 16, State 1, Line 1
An explicit value for the identity column in table 'SRO_VT_SHARD_INIT.dbo._RefObjCommon' can only be specified when a column list is used and IDENTITY_INSERT is ON.
sl1nkz is offline  
Old 01/01/2016, 02:40   #4
 
Gidzy's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 402
Received Thanks: 154
Quote:
Originally Posted by .d0p3_' View Post
if i try this im getting this error:

EDIT: Im using SQL2008 R2

Code:
Msg 4712, Level 16, State 1, Line 1
Cannot truncate table 'dbo._RefObjCommon' because it is being referenced by a FOREIGN KEY constraint.
Msg 8101, Level 16, State 1, Line 1
An explicit value for the identity column in table 'SRO_VT_SHARD_INIT.dbo._RefObjCommon' can only be specified when a column list is used and IDENTITY_INSERT is ON.
First
Right click on the table < Press Design
uncheck the Foreign key "you can see it clearly"
and close & save table
then Right Click on the table
Scrit table as
Create to
New Query editor window
And delete this " IDENTITY(1,1) "
Now Delete the table manually > Right click Delete
Then press Execute to the query , now you've created a table without identity

< use the query i gave before to copy the table and it will work fine >
if you cant do things i said above add my facebook : ,i'll help you via TeamViewer , regards
Gidzy is offline  
Old 01/01/2016, 16:22   #5

 
sl1nkz's Avatar
 
elite*gold: 329
Join Date: Feb 2014
Posts: 196
Received Thanks: 15
alright, i fixed the errors above.

Code:
Resolution: Restored the full SHARD DB with an old backup
But now i get 2 new errors in SR_GameServer.exe

Code:
NULL == pRefFortress
Failed to Create Siege Fortress Instance
Initialize Siege Fortress Manager Failed
Failed To Init Local Data
SR_GameServer is initialized successfully
Anyone know how to fix these errors ?
sl1nkz is offline  
Reply


Similar Threads Similar Threads
What is Wrong?
12/14/2009 - Silkroad Online - 6 Replies
What is wrong with my 4 week gold ticket its greyed out and time isnt moving and im not getting the exp http://i48.tinypic.com/2e5rxo5.jpg



All times are GMT +2. The time now is 20:11.


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.