Register for your free account! | Forgot your password?

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

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

Advertisement



Help importing Mobs.csv and MobItems.csv

Discussion on Help importing Mobs.csv and MobItems.csv within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2012
Posts: 32
Received Thanks: 0
Help importing Mobs.csv and MobItems.csv

Hey everyone

I need some help to import Mobs.csv and MobItems.csv,

I have followed this steps:

You need to run 2 queries in SQL:

Code:
USE PS_GameDefs;
SELECT * FROM Mobs
Code:
USE PS_GameDefs;
SELECT * FROM MobItemsAfter each you need to save them as .csv WITH ANSI ENCODING and make sure you have the column headers included. You can make SQL include the column headers in your .csv files at Tools -> Options -> Query Results -> SQL Server ->
Results to Grid -> Check the "Include column headers when copying or saving the results".
Results to Text -> Check the "Include column headers in the result set."

Open the Monster.SData. Go to File -> Import, and import the 2 .csv tables.

Now in your Data\Monster folder you will have a new file named MonsterEx.SData.

That's quite it. Now whenever you save your Monster.sdata it will generate an .sql file.


But when I import the files there is an error:

Error,the file contains invalid data
the first line must be the column names and starts with "RowID"


Ty for help.
xSunSet is offline  
Old 04/27/2014, 19:07   #2
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,451
Re-open SQL Server Management Studio and try saving them again.

Make sure your dbo.Mobs and dbo.MobItems tables start with a RowID INT IDENTITY(1,1) column.
nubness is offline  
Old 04/27/2014, 19:20   #3
 
elite*gold: 0
Join Date: May 2012
Posts: 32
Received Thanks: 0
Thanks for reply,

I try to save them again but the same error appened.

How do I know if they start with INT IDENTITY(1,1) ?
xSunSet is offline  
Old 04/27/2014, 19:28   #4
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,451
That was the RowID column definition. Do you have that column at all ?
nubness is offline  
Old 04/27/2014, 19:53   #5
 
elite*gold: 0
Join Date: May 2012
Posts: 32
Received Thanks: 0
Yes I have RowID with int in
xSunSet is offline  
Old 04/27/2014, 19:53   #6
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,451
And last but not least, are you saving it with ANSI encoding ?
nubness is offline  
Old 04/27/2014, 19:57   #7
 
elite*gold: 0
Join Date: May 2012
Posts: 32
Received Thanks: 0
Yes

Fixed, I have define RowID as primary key Now I have my MonsterEx.SData
xSunSet is offline  
Old 03/07/2024, 09:18   #8
 
elite*gold: 0
Join Date: Sep 2015
Posts: 14
Received Thanks: 1
Quote:
Originally Posted by xSunSet View Post
Yes

Fixed, I have define RowID as primary key Now I have my MonsterEx.SData
I can't import, sh studio only have export can you help me

Quote:
Originally Posted by xSunSet View Post
Yes

Fixed, I have define RowID as primary key Now I have my MonsterEx.SData
Can you help me ?
huyfefe is offline  
Reply


Similar Threads Similar Threads
[REQUEST] CSV files Mob and mobitems
10/23/2020 - Shaiya Private Server - 6 Replies
hey yyes its been explained again and again i jus for some reason cant get my head around doing it. could someone with the ep6 mob set up able to post here the 2 files mob.csv and mobitem.csv for me please ive been trying and trying to get them from the db ive done eveything i can think off and ive read and it jus dont work. sory to b a hassel
Ep 5 Mobs.csv and MobItems.csv ?
04/26/2013 - Shaiya Private Server - 0 Replies
Hello Everyone. I need Ep 5 Mobs.csv and MobItems.csv Files. But MobID end 3400+ have. Why want me ? : Because, Monster is dont attacking,not skilling using. Thank you for Share.
MobItems ep6.3.csv
12/26/2012 - Shaiya PServer Guides & Releases - 5 Replies
Mobitems maybe this will help because the tables are made ​​by me Link mediafire MobItems 6.3.csv
[Upload] EP4 Mob.csv e MobItems.csv
09/09/2012 - Shaiya PServer Development - 5 Replies
Hello! I've been looking all the night for those 2 files but i've not been able to find them! Maybe i didn't looked well but i'm sure i did. Soooooo..for all the people who can't find them here they are! MobItems.csv Mob.csv
PS_GameDefs.dbo.MobItems [original] Ep4 Ep5
01/08/2012 - Shaiya Private Server - 0 Replies
Could anyone give me a link for an original (not modified) PS_GameDefs.dbo.MobItems thx.



All times are GMT +2. The time now is 13:15.


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.