The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tildata!
Author Message
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #1
Tildata!
How can i make a tiledata ML version works properly when merged in a tiledat HS/SE version?

I mean...i had the Eriminator mul files, coz i'm using her map (uo-pixel.de), Eri mulfiles are setted for ML so index of her tiledata reach a maximum of 0x3FFF.

HighSeas and Stygian Abyss tiledatas reach a maximum of... 0xBFFF.

I merged the 2 art.mul/art.idx (the original from HS/Sa and the custom of eri) and i got also a merged tiledata.

The result is:
- if i put the merged files just like that, everything is fucked up.
- if i put the merged ART files and the old tiledata everything is ok.

How can i make my tildata work (i mean, with threshold up to 0x3FFF) with merged files? what's the logic behind?
coz i also tried to cut the tiledata infos of eri original tiledata and 'paste/replace' in the first 0 to 0x3FFF index of the new merged tiledata, but doesn't work....
and i have no clue.

Code:
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Size = 26, Pack = 1)]
       private unsafe struct OldLandData : LandData.IRawData
       {
           private uint       _Flags;
           private ushort     _TexID;
           private fixed byte _Name[20];
than items
old data
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Size = 37, Pack = 1)]
       private unsafe struct OldItemData : ItemData.IRawData
       {
           private uint       _Flags;
           private byte       _Weight;
           private byte       _Quality;
           private ushort     _Miscdata;
           private byte       _Unk1;
           private byte       _Quantity;
           private ushort     _Animation;
           private byte       _Unk2;
           private byte       _Hue;
           private byte       _StackingOff;
           private byte       _Value;
           private byte       _Height;
           private fixed byte _Name[20];
new data
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Size = 41, Pack = 1)]
       private unsafe struct NewItemData : ItemData.IRawData
       {
           [MarshalAs(UnmanagedType.U8)]
           private TileFlag   _Flags;
           private byte       _Weight;
           private byte       _Quality;
           private ushort     _Miscdata;
           private byte       _Unk1;
           private byte       _Quantity;
           private ushort     _Animation;
           private byte       _Unk2;
           private byte       _Hue;
           private byte       _StackingOff;
           private byte       _Value;
           private byte       _Height;
           private fixed byte _Name[20];
(This post was last modified: 11-07-2013 08:43 PM by Crusader.)
11-07-2013 07:54 PM
Find all posts by this user Like Post Quote this message in a reply
wuffel
Apprentice
*

Posts: 28
Likes Given: 0
Likes Received: 4 in 2 posts
Joined: Mar 2012
Reputation: 1



Post: #2
RE: Tildata!
I would give uofiddler + cvs-export/import a chance. Smile
11-12-2013 11:03 AM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #3
RE: Tildata!
i solved, and made a tutorial in the tutorial section Tongue
11-12-2013 09:58 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)