SphereCommunity
Custom multi problem. Only 1 item placed. [SOLVED] - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: General Discussion (/Forum-General-Discussion)
+--- Forum: UOP/Mul Editing (/Forum-UOP-Mul-Editing)
+--- Thread: Custom multi problem. Only 1 item placed. [SOLVED] (/Thread-Custom-multi-problem-Only-1-item-placed-SOLVED)



Custom multi problem. Only 1 item placed. [SOLVED] - Detergent - 11-23-2017 07:42 AM

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.


RE: Custom multi problem. Only 1 item placed. - Detergent - 11-23-2017 01:43 PM

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*


RE: Custom multi problem. Only 1 item placed. - darksun84 - 11-23-2017 05:51 PM

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.


RE: Custom multi problem. Only 1 item placed. - Detergent - 11-28-2017 07:04 PM

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=69236849462492887396

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