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
Custom multi problem. Only 1 item placed. [SOLVED]
Author Message
Detergent
Apprentice
*

Posts: 3
Likes Given: 1
Likes Received: 2 in 2 posts
Joined: Nov 2017
Reputation: 0



Post: #1
Custom multi problem. Only 1 item placed. [SOLVED]
EDIT: I got it all figured out and working. Scroll down to my 3rd post and I explain how I got it working.

Hi, having a bit of a problem with custom multis.
When I place down the multi ".add m_testmulti" I can see the entire multi on my cursor but when I place it down, only a single block is added. (The block appears to be a item from the multi)

Code:
[MULTIDEF 080]
DEFNAME=M_TestMulti
NAME = Sewer 21010
TYPE=t_multi
//VALUE=1
//REGIONFLAGS=region_flag_nobuilding
MULTIREGION=-7, -7, 8, 8

Client version - 7.0.15.1 patch51
Sphere version - Whatever the latest version is here in the downloads (as with script pack)


add m_testmulti I see it on my cursor
[Image: 09bca1af35a04e146713d9032ff8350f.png]
click and this is what I get
[Image: 05db07ae7f6feef8e12422fed3b6e619.png]


I'm new to all this so let me so ill explain all the steps I took to get to this problem because I have no idea where I went wrong.
1. I created the multi in CentrED
2. Jumped onto my server and used .extract filename.txt
3. imported that "filename.txt" into UOFiddler and saved it
4. Moved the new "multi.idx" & "multi.mul" into my UO install location
5. Made the script for the multi
6. Booted up my server and tried to place it down

And help would be much appreciated.
(This post was last modified: 11-28-2017 07:10 PM by Detergent.)
11-23-2017 07:42 AM
Find all posts by this user Like Post Quote this message in a reply
Detergent
Apprentice
*

Posts: 3
Likes Given: 1
Likes Received: 2 in 2 posts
Joined: Nov 2017
Reputation: 0



Post: #2
Shocked RE: Custom multi problem. Only 1 item placed.
Ok I figured it out.

When importing my sphere extract file to UOFiddler, it imports with EVERYTHING invisible...
Noticed a little drop down menu with a "invisible" check box and every single item in my multi was checked as invis =O
[Image: 4efbf326876fe0a0b70665d3aa9b2114.png]

I selected a few tiles, unchecked the invis and saved it. Sure enough they showed up in game.
[Image: 7a8c2ff1f074c9037be93feef2611db0.png]

Now I got new questions.
Obviously, first question is how do I make everything not invisible? Other then selecting each item and unchecking the invis box =P

2nd question has to do with what sphere extracts as a file:
6 version //<------------------
0 template id //<--------------
-1 item version //<------------Are these 4 lines important? UOFiddler need them?
276 num components //<-----
2199 -5 -7 0 0
300 -5 -6 0 0
244 -5 -6 5 0 //I'm guessing these numbers = Item, X, Y, Z, Invis?
If thats true, then why does extract make everything 0 for invis *Sad face*
(This post was last modified: 11-23-2017 01:52 PM by Detergent.)
11-23-2017 01:43 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Detergent's post
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Custom multi problem. Only 1 item placed.
The four numbers are the position of the item inside the multi (left,top,right,bottom)

I was wrong Big Grin , in .wsc the last number means the color of the item.
(This post was last modified: 11-23-2017 06:19 PM by darksun84.)
11-23-2017 05:51 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
Detergent
Apprentice
*

Posts: 3
Likes Given: 1
Likes Received: 2 in 2 posts
Joined: Nov 2017
Reputation: 0



Post: #4
RE: Custom multi problem. Only 1 item placed.
I got it all working and figured out now. I'll summarize everything I did below.
UO Client 7.0.15.1 (Patch 51)
UOFiddler v4.6 +Multi Editor plugin
Sphere Version 0.56d-Nightly


.Extract in sphere gives you a file looking something like this.
8671 7 8 0 0
12901 7 9 0 0
8672 7 9 0 0

But UOFiddler wants it like this.
21DF 7 8 0 1
3265 7 9 0 1
21E0 7 9 0 1
The item#s in hex and the last digit (color) needs to be 1 (No color change).
0s at the end makes it invisible.

I could only imagine how tedious it would be to change everything by hand so I asked a good friend of mine if he could help.
He quickly responded with this neat little tool he made for me!
I also have his permission to share it so here you go if anyone needs.
http://s000.tinyupload.com/?file_id=6923...2492887396

Just put that program in the same folder as your extractname.txt file and run it. Type the name of the file you want to convert and it will give you a new converted file, ready to import into UOFiddler.
No empty lines, and delete the top 3 lines like in the image below.
[Image: a8d62bb9cf14b2786952980b22f87a7d.png]

Hope this helps. Enjoy Bye
(This post was last modified: 11-28-2017 07:12 PM by Detergent.)
11-28-2017 07:04 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Detergent's post
Post Reply 


Forum Jump:


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