EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Request

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 09-02-2009, 04:27 PM
Mistal Mistal is offline
Premium Member
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Sep 2007
Server: Everfrost
Posts: 59
Default House inventory Decorator Mod

Hello everyone,

I have been a member of the site for some time now but this is my first post. Until now I have always found everything needed from the great mods / addons and items you all create. However, I have been playing on test lately with the new GU53 contents specifically that which relates to being able to load / save housing layouts of furniture etc.

Being part of the EQ2 decorators mob we are all loving this new feature as it will enable us to share designs. However there is one small fly in the otherwise perfect picnic. To recreate the layout you need to have exactly the right amount and type of items. At the moment we are making manual lists of what we use to create our designs, but I was wondering if someone could come up with something which after creating / placing furniture designs could take an inventory of everything in the house and populate a list to a text file or whatever showing the name of the item and the number of them needed.

Not being very technical myself I'm afraid I don't know how possible this is, however the information I can give you is that the files used to save the layout of the house is stored in a directory called saved_house_layouts which is currently only available in the test directory of EQ2

Any help would be sincerely appreciated here is also a link to a thread regarding this, I am also more than happy to talk to any developer directy to give the decorators / users input

http://forums.station.sony.com/eq2/p...opic_id=458157

Thank you all for your time.
Mistal
Reply With Quote
  #2  
Unread 09-03-2009, 12:07 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

Unfortunately these saved layouts are binary files, so they're not very straightforward to decode. I'm not very good at hacking binary formats, so I couldn't say how easy it would be.
Reply With Quote
  #3  
Unread 09-03-2009, 01:31 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

Send me a basic file and I'll see what I can get decoded from it and possible put together an app for you..
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #4  
Unread 09-03-2009, 03:26 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

Code:
FILE	DESCRIPTION
1	Empty Qeynos Apartment on "test" server.  (only plaintext in file)
2	\aITEM 14279688 -304353830:[Handbook of the Ironforge Exchange]\/a placed on floor near 3,0,0
3	\aITEM -9842771 453733182:[Welcome to Qeynos, Citizen! - 2nd Edition]\/a placed on floor near 3,0,-3
4	\aITEM 1946890604 1858847202:[Basic Table]\/a placed on floor near -3,0,-3
5	Item 1 rotated 1 notch, Item 2 rotated 2 notches, Item 3 rotated -3 notches
6	Item 1 made larger 1x, Item 2 made larger 2x, Item 3 made smaller 3x
7	\aITEM 1385963439 1485205880:[Basic Mirror]\/a placed on wall near floor, near 6.2,0,4.2
8	\aITEM -588523995 -2141649878:[Basic Chandelier]\/a placed on ceiling near -4.8,z,4.8
9	Item 4 made 3x larger, rotated -3; Item 5 made 3x larger rotated -3
I'm not at all interested in house decorating, but I thought I'd be helpful.
Attached Files
File Type: zip saved_house_layouts.zip (2.1 KB, 420 views)
Reply With Quote
  #5  
Unread 09-03-2009, 04:16 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

A clue that may help in decoding things -- item names are NOT stored, only the item IDs.

In related news... when we decode it, I wonder if it'll be like the character appearance profiles... IE we'll be able to override some caps and make things really big or small (until they fix it that is ).
__________________
Reply With Quote
  #6  
Unread 09-03-2009, 04:47 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

Bah, I guess I figured out the item part. Previously I tried converting the bytes that I figured were the item ID into an integer, but it didn't work. Tried it the other way around and actually found it... except it was backwards. Little vs big endian or something... I never really learned that stuff.

Surprised that it works at all considering the item IDs are signed 32bit integers... but as I said previously, I'm not much of a binary hacker. I'm sure someone else knows how to deal with the negative IDs.

The final problem is that you'll either need to get ahold of an item database(If I ask nicely, the owner of EQ2LLinks might help), or make an application to request item results from a item link website and parse the resulting webpage for the name.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:56 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI