Help with monster.sdata

06/16/2012 19:23 sexihunter#1
Hi all.
I open Monster.SData with shStudio i can see them,edit them and create new, but when i save the Monster.sql dont appear why?



Sry 4 my bad english ^^
06/16/2012 19:54 R0CK7Y#2
did you import both of Mobs.csv and MobItems.csv first ?


Quote:
Originally Posted by castor4878 View Post
Editing only the content of the monster.sdata file was not satisfactory; indeed the big part of information is in BD only.
The solution is an extended monster file ("MonsterEx.SData") file that contains the monster.sdata information plus DB information (the content of the dbo.Mobs & dbo.MobItems table).
This file is generated once with the monster.sdata and the 2 tables (exported from SQL Studio in .CSV format) and imported by the tool.
The file is then used to regenerate the monster.sdata file and a SQL script to update the Mobs & MobItems tables.

Be sure to properly export the full tables with all OS defined columns (no more, no less and in right order) or the import will fail.
The field separator (the character between each field) must be a comma or a semi-colon, also no thousand separators shall be present in numerical figures (eg the value 2500 shall be "2500" and not "2,500" or "2.500").
The csv files must be saved as plain ANSI text, SQL Studio saves files with UTF-8 or Unicode encoding as default choices, make sure to define the encoding options to "ANSI" with the small down arrow on the Save button.

The expected format for the Mobs.csv is:

The expected format for the MobItems.csv is:

The editor saves the Monster.sdata file encrypted from where it was opened; it also saves an extended monsters file ("monsterEx.sdata") in the same folder than the one containing the monster.sdata file. Using a global server repository here was not possible since this will prevent the existence and edition of several monster.sdata.
That extended file is not supposed to be packed in a client package; it is your responsability to move/remove/... it.

A SQL script is also saved in the server directory.

For first use, you must export the 2 required tables in .CSV format and then import them (File menu, Import item).
These 2 CSV files are no longer needed after import and can be deleted.
For next uses, you simply open the monster.sdata file - you don't select the monsterEx.sdata, it is automatically detected and used by the tool.
06/16/2012 19:59 STIV123#3
1. Open ShStudio
2. Click Settings
3. Click Tools
4. 'Location Of Data' Is what youre opening, the extracted data.
5. LOCATON to save your data !! Put where you wanna save ( Suggest in a folder on desktop, or whether u know it's easy for u to find it. )
6. Start editing, after you do that, 'Save'
7. You will find .sql file in the folder u selected..
06/17/2012 11:58 sexihunter#4
Quote:
Originally Posted by STIV123 View Post
1. Open ShStudio
2. Click Settings
3. Click Tools
4. 'Location Of Data' Is what youre opening, the extracted data.
5. LOCATON to save your data !! Put where you wanna save ( Suggest in a folder on desktop, or whether u know it's easy for u to find it. )
6. Start editing, after you do that, 'Save'
7. You will find .sql file in the folder u selected..
i did it...but nothing
06/18/2012 13:07 sexihunter#5
Quote:
Originally Posted by R0CK7Y View Post
did you import both of Mobs.csv and MobItems.csv first ?
import where?
06/18/2012 13:58 STIV123#6
Did u restart ur server? Lol it needs so it takes the effect.
06/18/2012 18:51 sexihunter#7
the problem was , the monsterex.sdata was missing so i found it and now is working