Register for your free account! | Forgot your password?

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

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

Advertisement



Data tool crash on specific offsets.

Discussion on Data tool crash on specific offsets. within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
Thunder-Forge's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 79
Received Thanks: 72
Question Data tool crash on specific offsets.

Greetings.
I was experimenting with bone structures, 3do files, offsets, and came across a strange (consistant) bug in LPH's data tool or maybe my hands are just curved... Either way, here is the issue. A non-shaiya 3do file, trying to bind it into hand properly, so it is not floating around requires offset editing, after several attempts, noticed that whenever i try to enter exact coordinates according to bone structure, data file tool comes up with the same error, and so far the only way of "fixing" it, is to change the offset by 0.001 in either direction, which is not really noticable, yet annoying at times. In some cases this appears on rotations and scalings as well, which can be very frustrating. Haven't tried compiling a client with said files, only importing so far. Did a search, but nothing really came up. Any ideas?

Error log
Thunder-Forge is offline  
Old 10/02/2014, 17:19   #2
 
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 391
This error is not caused by the Data File Tool. It's caused with converting offsets from foreign files using tools such as the 3DoC tool we have access to. It's due to the build in limitations on scale/rotation of certain items (weapons in your case)

These are the problems you get when taking a game's file and trying to force it into another game.
Truth1010 is offline  
Old 10/02/2014, 20:00   #3
 
Thunder-Forge's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 79
Received Thanks: 72
Quote:
Originally Posted by Truth1010 View Post
These are the problems you get when taking a game's file and trying to force it into another game.
That's obvious and expected, i was just wondering why those exact points, because i can move/scale/rotate pretty much unlimited in every other direction.
Thunder-Forge is offline  
Old 10/02/2014, 20:26   #4
 
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 391
Seems to be no set 'rule' as to why. Sometimes it's the offset being out by 0.001, other times it's the rotation being out by a small amount.

I would assume that each "type" of weapon has set limits that it must be placed into for it to work. But where to see those limits, or how to test what they are, seems out of my knowledge.
I too noticed the same error through DataFileTool with scaling/rotating/moving the designs.
Truth1010 is offline  
Old 10/02/2014, 22:21   #5
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,450
The data file tool doesn't care if the file you're importing is a Shaiya model, a picture of Hitler or a **** video. There's probably a bug in the application, it happens.

Suggestions:
  1. Remake your client and try to import again. If that fails:
  2. Download (which is known to have some bugs as well) and try it out, it may be able to do it.
nubness is offline  
Old 10/02/2014, 23:23   #6
 
Thunder-Forge's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 79
Received Thanks: 72
Trying to import directly gives this error.

Compiling a new client with files goes fine, but crashes the sgraphic as soon as character screen starts loading in.
Thunder-Forge is offline  
Old 10/02/2014, 23:42   #7
 
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 391
I'm just going to assume you are using the 3DoC tool to 'convert' the files into a useable format.. what i found with that is, if you move the 'camera' view of the item in that tool, before or after you set offsets etc. then you'll get the error, regardless of the points you use. Again, it must be a limit to the individual file, but where/why is unknown.
Truth1010 is offline  
Old 10/03/2014, 00:01   #8
 
Thunder-Forge's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 79
Received Thanks: 72
Quote:
Originally Posted by Truth1010 View Post
what i found with that is, if you move the 'camera' view of the item in that tool, before or after you set offsets etc. then you'll get the error, regardless of the points you use.
Yes, at first i had same suspicion, but even not touching the camera at all gives the same results. Only reason i can figure out so far is that you are not allowed to move offsets past inner bone structure points, otherwise it interferes with animation files. Noticed this with claws explicitly, and it's impossible to move them closer to body, as by default they are bound closer to upper side of palm than fist.

It seems as the claw bindpoint is not exactly in middle of fist, but rather off, just the graphics of handle are adjusted to fit it.
Thunder-Forge is offline  
Old 10/03/2014, 01:11   #9
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,357
Thank nubness, I failed to understand what could be the issue with "LPH's data tool" when it comes with "bone structures, 3do files, offsets".

indeed, LPH data tool didn't transform garbage into meaningful data when you pack (*NOT* compile) some,
and indeed, a .3DO do *NOT* contain any bone, and a position is NOT an offset.

that said, the client never crashes because of a shift of 0.001 of one point, OOH, it always crashes if the .3DO stream is invalid.
can you open the .3DO your shStudio ? it will be succesfully opened by shaiya client *even* if your sword is 352 meters long and located at 147 meters of the toon that handles it.
can not open with shStudio ? you probably forgot to set the right type when you save it.
castor4878 is offline  
Old 10/03/2014, 01:36   #10
 
Thunder-Forge's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 79
Received Thanks: 72
Quote:
Originally Posted by castor4878 View Post
can you open the .3DO your shStudio ? it will be succesfully opened by shaiya client *even* if your sword is 352 meters long and located at 147 meters of the toon that handles it.
That's the thing, making a sword half across the map and flying is absolutely no issue. Done it, had lols, moved on. My theory was that it might be because file is placed over some of these points in hands, but more educated conclusions are welcome.

You say offset is not a position, sorry i just adopted the term used in converter, since it's what it does.
Thunder-Forge is offline  
Old 10/03/2014, 01:59   #11
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,357
an "offset" is (usually) used the define the distance between a specific location (very usally in a 1D sequence) and a fixed origin (such as the begining of a file).
dealing with 3D geometry, we prefer position or location or coordinates.
but my point was to explain why I didn't understand the 1st post, and especially not to teach a vocabulary lesson.

your pict displays the bones of the .3DC files (all .3DC contains the all the bones of the full skeleton); a .3DO file doesn't contain bone, all its vertices (3D points) are relative to "one" point of the hand (for weapons), there is no evidence that this point is one of the bone of the hand or a (kind of) barycenter of the vertices defining the hand.
castor4878 is offline  
Reply

Tags
data, error, lph, offset, tool


Similar Threads Similar Threads
[HELP] Data File Tool
07/03/2014 - Shaiya PServer Development - 0 Replies
Hi, question about Data File tool, I modified a Character data, but now, I don't remember what I have modified, so I don't want to right click > Import etc, do you know other way to do ? Like just delete the Character data and put the new one ? Please, need answer fast...
[BIg-HELP!] Crash Data/monster
12/17/2013 - Metin2 Private Server - 0 Replies
Hi, I have a very big problem. (problem with data/monster) My problem is : Example my pet: http://i.imgur.com/mHPBTBi.png The folder is : redthief2_officer_young1
Data Tool
12/07/2013 - Shaiya Private Server - 5 Replies
hi, i have a question, have anyone a sh studio version for opening the item sdata and Monster sdata from US or DE Shaiya?
Data Tool
12/16/2011 - Shaiya Private Server - 1 Replies
hello guys does anybody know how to make a folder in data tool in the folder dungeon in world? when i do the _ like say i wanted to put dungeon_1 it would put dungeon1 like does anybody know how? thank you. :)



All times are GMT +1. The time now is 16:28.


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.