Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-29 05:41:14



Reply to topic  [ 6 posts ] 
Import/Export Avatar Appearance 
Author Message

Joined: 2009-09-08 01:27:46
Posts: 172
Reply with quote
Meerkat Viewer apparently has a feature which allows you to import or export your avatar appearance. However, I can only use the exporting half of this feature, because Meerkat Viewer crashes for me when I try to import/upload files (but not export/download). Can this feature be incorporated into Cool Viewer?


2009-12-08 15:14:18
Profile WWW

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
seconded.


2009-12-09 14:33:00
Profile YIM WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
I had a look and the code is very dirty (it saves a "xml" file which is in fact raw text, and the permissions checking is quite rudimentary).

Beside, there is the problem with Linden Lab's future policy about third parties viewers. As of now, it is still unclear if such backup tools will be allowed or not. So working on such a feature could be a loss of time, and time is sparse for me...

So, the answer is: "perhaps in the future, but not now, and not in its current state".


2009-12-09 19:20:21
Profile WWW

Joined: 2009-09-08 01:27:46
Posts: 172
Reply with quote
Well, the crashes aren't occuring for me in meerkat 0.3, though that is still in beta I believe.


2009-12-09 19:26:20
Profile WWW

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
hmmm i see the permissions problem.


How about this (pseudocode follows):
Code:
bool export_appearance(char filename)
{
  for(iterate_over_all_attachpoints_and_clothes_layers) do write_to_xml_file(filename, attachpoint, uuid_of_attachment_or_clothing);
}

bool import_appearance(char filename)
{
  for(iterate_over_all_attachpoints_and_clothes_layers) do
  {
    objectuid = read_from_xml_file(filename, attachpoint, uuid_of_attachment_or_clothing);
    if(do_i_still_own(objectuid)) attach(attachpoint, objectuid)
  }
}



that way you could export your looks, and on import, stuff that you don't own anymore would simply be ignored.


2009-12-10 09:59:25
Profile YIM WWW

Joined: 2009-09-08 01:27:46
Posts: 172
Reply with quote
Quote:
that way you could export your looks, and on import, stuff that you don't own anymore would simply be ignored.


Which would make the feature completely useless for backing up your appearance in case of inventory loss.


2009-12-12 04:03:28
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.