[Release] shStudio 0.7.5

10/28/2014 20:42 ilie321#136
request for new version: remove extension for 3dc and dds and 3do from text field when adding new weap/ gear . the program knows there should be a file type . in this way is easier to edit copy paste :D Also if i load dds file same name to be copied automatically to 3dc or 3do field in general is same name no need to open and search for file or even copy paste :D. thank you for your great work
EDIT: bugs 7.5.2
1 Load archive open 3DO file try 'save as' got force close
2 save eft file not working


ideea : 3do/3dc and dds can be shown in a drop down list when adding new item/gear In this way is easy to change the dds file and see the result if you dont have the correct one. it will be nice to update the 3D preview when you get change line event for drop down list.
11/12/2014 20:05 _Diavolino_#137
Hello,
one question about editing skill, like i see [Only registered and activated users can see links. Click Here To Register...] you are using some ShortCut as wval kptm etc what is the way to using them ? as %wval% %ktpm% etc ?

i dont tested yet in game, but when i use skill.sdata in python, it display the shortcut and not value...

Could you explain me that way please ?

Regards, and thank you for precision :)
11/12/2014 20:07 ilie321#138
hey check this [Only registered and activated users can see links. Click Here To Register...] last posts. i think it is a small problem with making patch after data file was build with shstudio. I also tried same patch on data file build with v7.5 and with v7.5.2 and the result was different .
11/12/2014 21:58 castor4878#139
@Diavolino

Quote:
one question about editing skill, like i see HERE you are using some ShortCut as wval kptm etc what is the way to using them ? as %wval% %ktpm% etc ?"
indeed I didn't document this point ...

the skill editor uses *1* text field for the skill name, and *1* text field for the description.
a 9-level skill will have up to 9 different names ("Foo lv1", "Foo lv2", ...) and up to 9 different description ("Does xxxx by 3 pts", "Does xxxx by 7 pts", etc).

The skill names are generated from the given name and the " Lv#" pattern (where # stands for the numerical level).
The skill descriptions are generated from the provided template and the actual values of the level; the following tags (coded on 4 chars by % prefix & postfix) are used:

%abv1% value of ability 1
%abv2% value of ability 2
%abv3% value of ability 3
%kptm% keepTime (the figure in descr. is a time in seconds)
{kptm} keepTime (the figure in descr. is a time in minutes)
[kptm] keepTime (the figure in descr. is a time in hours)
%wval% weaponValue
%lmhp% limitHP
%atrg% attackRange
%aprg% applyRange
%scvl% successValue (% in 0..100)
%dmhp% DamageHP
%dmsp% DamageSP
%dmmp% DamageMP
%tdhp% TimeDamageHP
%tdsp% TimeDamageSP
%tdmp% TimeDamageMP
%adhp% AddDamageHP
%adsp% AddDamageSP
%admp% AddDamageMP
%hlhp% HealHP
%hlsp% HealSP
%hlmp% HealMP
%thhp% TimeHealHP
%thsp% TimeHealSP
%thmp% TimeHealMP

edit: the keep-time values read in dialog fields and stored in sdata or DB KeepTime column are always in seconds. re-edit: except when it contains a number of hours.

each of these tag will be replaced by the value of the corresponding field for the given level.

Quote:
when i use skill.sdata in python, it display the shortcut and not value...
because you used these tags as data of the skill.sdata file itself; ie we used it/them in the description text field of the dialog (as shown in the posted screen shot) but it doesn't work this way.

if one types-in these tags in the (actual) description, all tags will be lost upon first use: when the file is saved the descriptions of *all* (not unused) levels are generated; there isn't 8 regular levels plus one "oh-btw-this-level-is-for-my-own-stuff-(and-templates)", there is 9 "identicals" (but values) levels.

the editor uses an external file (.ini format) to store the parametrized descriptions of each skill, if the file is found, it is used to generate the description, otherwise the description should *not* be updated ... but they are :(
since the template file was not finalized and some (boring) cases not handled, I removed the loading of the template file and display the descr. of the first level in the dialog; as a side effect, descriptions are updated with that string, meaning that all levels will use the same description.

The script menu currently defines a tool to export descriptions, I will add a "load & restore" tool to allow the loading from an external skill.sdata file and the restoration of the descr.
The use of templates or the preservation of original descr. will also have to be added to next release.
11/12/2014 22:11 _Diavolino_#140
Will try it :p

Great explanation !

Regards, (and pretty much easier to use for the skill *_*)

EDIT : a point in more, i dont see a possibilitie to change the damage Hp Mp or SP as sustain doom for exemple... and when i try to passed via raw view "ok" or "cancel" are block i need to click the cross to close windows and validation are not allowed.

just to know if its normal

Thank You again
11/13/2014 03:57 castor4878#141
Quote:
i dont see a possibilitie to change the damage Hp Mp or SP as sustain doom for exemple...
editor '61' (typeDetail - noted "Family" - 61, stnding for "Periodical Debuff") is indeed bugged, it should display the "damage over time" fields, they are missing.

Quote:
when i try to passed via raw view "ok" or "cancel" are block i need to click the cross to close windows and validation are not allowed.
indeed the "small editor" (used when screen-width is smaller than 1600 px and when 3 levels are edited - format 4 file) does NOT move the scroll-bar *scrolling panel* at right offset; save your file to format 5 (with File / Save As item), edit it, and save it back as a episo 4 file.

the handling of formats has been changed in (coming) 7.5.3 version; the use of "Save As" option was inefficient
11/21/2014 13:35 castor4878#142
The release 0.7.5.3 is added today.

Bug Fixes:
- NpcQuest.sdata Editor: fixes related to insertion / removal of new NPCs & to creation of new NPC.
- ITM, MLT: fixes creation & edition when file is read from archive
- Correction on several skill editors.
Changes:
- the "Save As" item of the "File" menu is removed.
o the format of the file is now chosen with the menu-item "Tools" / "Format" / one of available formats (for files supporting several formats).
o a copy of a given file can be obtained by a drag-n-drop of that file from the workspace window (the main tree-list) to an explorer window or the desktop.
Adds:
- Grades list in Items.sdata editor
- Insertion of files within an archive: drag the files from an explorer window, hold down Ctrl + Shift keys and select (highlight) the recipient directory in the workspace tree-list.
- Insertion of files within a World: drag a file (.smod or .wav) from the workspace tree-list to a World editor (the right recipient node is auto-highligthed).
(drag-n-drop is initied by right-click on item, or left-click on item's icon)
- Parametrized description of toon skills.

Cf. 1st post of the thread for further information and download links.
11/21/2014 16:24 _Diavolino_#143
AWESOME *,..,*
11/21/2014 18:36 wallerus#144
Grades added to Item.SData, nice! Still some work to go before I completely remove ShStudio from my PC, but it's getting there. Really appreciate the hard work Castor.
11/21/2014 21:31 _Diavolino_#145
ShStudio... the first one ?
hmmm if its the case We can not compare them utility anymore ^^
one is adressed to Fully the usage of your workspace in all situation
the other one is for ponctual use but same here there is no sense to keep the old :D

and yeah i profite of your point to make one Big Appreciation to The work of Castor ! we can put only one thanks...but durable one !
11/21/2014 22:52 [UA]Upgrade#146
Create one please, that would be within the description of the object was detected in Russian .
11/22/2014 20:22 _Diavolino_#147
@Castor,
Hello :)
is it possible that the last version does not created workspace ?
i means i update us client, i want to created a workspace, menu -> New ->selection and NOTHING it just show the window from studio as you open one workspace without nothing in...
I take the previous version, and its working.
just lety me know if its from me or there is something.

EDIT : it seems to be with ALL client i tested 2 private and not possible to create new workspace.

Thank You Much

EDIT (precision): after editing some mantle, the number Country/Class of Priest / MAGE & Hunter / Assassin is still changing after validation *** So Editor when you are manage the cape of these classes keep in eye that when you modify it to change the category of Class back to All Light and All Fury and to dont touch anymore if not you should changing it back and if you forget Mage and Assassin cant wear the mantle in game***
-----------------------------------------------------
An other point about 3DC files, i see that we can select many 'point'/id correspondant to the files in question, this is nice but when i clic on HIDE only the first one of the list get "F".

Do you have one solution to remove some part of that file but in mass ?
Like you select the list and HIDE or delete xD

but i think you can provide better explanation than mine ... please

and Thank You for your patience ^^

EDIT 2 :

There is problem with "save as" with Binary Monsters not working... its volontary maybe. but was to tell
11/24/2014 06:12 stepupnlose#148
i cannot open any mlx files on any of the versions, im running W7 Ultimate, if you can let me know how to fix this issue it would be greatly appreciated
11/24/2014 06:20 Mark.Teal1982#149
found a problem with the script output for the cash.sdata this is what i get from the script output

TRUNCATE TABLE [PS_GameDefs].[dbo].[ProductList]
INSERT INTO [PS_GameDefs].[dbo].[ProductList] values ('Lvl 15 Warrior - Guard Set','FreeWarGuardSet',0,32007,4,33007,1,35007,1,3 6007,1,31001,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
INSERT INTO [PS_GameDefs].[dbo].[ProductList] values ('Lvl 15 Hunter - Assassin Set','FreeHunSinSet1',0,35092,1,36092,1,33092,1,32 092,4,31085,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)

but it is missing the column number before the name for the package name like so

TRUNCATE TABLE [PS_GameDefs].[dbo].[ProductList]
INSERT INTO [PS_GameDefs].[dbo].[ProductList] values (1,'Lvl 15 Warrior - Guard Set','FreeWarGuardSet',0,32007,4,33007,1,35007,1,3 6007,1,31001,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
INSERT INTO [PS_GameDefs].[dbo].[ProductList] values (2,'Lvl 15 Hunter - Assassin Set','FreeHunSinSet1',0,35092,1,36092,1,33092,1,32 092,4,31085,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)

otherwise it gives a error to the sql and the script wont run
11/24/2014 13:17 _Diavolino_#150
@Step,
Regarding to the mlx file, they should first to be clean, to inserated them close to the *.mlt file in Data Character and in each folder of class DeathEater Elf Human and Vile
Then to open the right workspace and it should working same without definite any server...
I am using 7 ultimate there is no way with that just i think one problem of coordination of your files.
I propose you some clean mlx to download just Fusion and replace the existing one in Character.


@Mark,
I just compare my results there is something wrong with you because,

i got the right result
Quote:
FROM LAST EDITION
TRUNCATE TABLE [PS_GameDefs].[dbo].[ProductList]
INSERT INTO [PS_GameDefs].[dbo].[ProductList] values ('Premium package','PK_primm0001',3999,100075,1,100001,1,100 002,1,100003,1,100004,1,100043,1,100053,1,100056,1 ,100049,1,100081,1,100045,1,100046,1,30246,1,30247 ,1,30248,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
Quote:
FROM OLD EDITION
TRUNCATE TABLE [PS_GameDefs].[dbo].[ProductList];
GO
INSERT INTO [PS_GameDefs].[dbo].[ProductList] values ('Large Exp Removal Pill ','AC_100046_1',0,44213,5,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0)
The things is that, this Number correspondt to the raw the line who is not server in Shaiya, the raw serve to the indexation nothing else. And here i just execute the last script and its working perfectly,
However, what is the MSSQL version that you use ?
One Nubness could tell you if you are using version <2008 R2 x64,
Quote:
Uninstall SQL Server 2005 and install a newer version. SQL Server 2008 R2 or SQL Server 2012 are much better.
I personally like SQL Server 2008 R2, whereas Philipp for example prefers 2012, it's just a question of taste.
with one BIG WTF you are Doing but He doesnt tell ! xD
personnaly i was on 2008 r2 afteerr turning in 2012, and look pretty nice :p

other option is to post the current error that you got :) and to help Castor to investigate to your problem you should post your Qury SQL to understand better :) POST it and we could try it in our workspace.

Regard,

[Only registered and activated users can see links. Click Here To Register...]