SphereCommunity
Will newly added foundations and houses multis work? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56 Series (/Forum-Sphere-0-56-Series)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Will newly added foundations and houses multis work? (/Thread-Will-newly-added-foundations-and-houses-multis-work)



Will newly added foundations and houses multis work? - midikit - 01-01-2019 11:08 PM

Thank you for creating a sphereserver.

I recently saw updated foundations and houses multis.
And I saw that the script about it was updated.
I applied to the latest sphereserver build, but the house multi is moved in the multi, but when I check it through .where, it does not change the Z coordinate.
[attachment=459]
[attachment=460]
And, in the update command, it interrupts like a screenshot.
[attachment=461]

Also, foundations could not customize both 23x23 and 30x30.
Console message is
21:49:WARNING:Char UID=01b485 is trying to add item 0751 at invalid location on multi UID=040041230 using house customization menu
21:50:WARNING:Char UID=01b485 is trying to add item 0751 at invalid location on multi UID=040041230 using house customization menu
21:50:WARNING:Char UID=01b485 is trying to add item 0751 at invalid location on multi UID=040041230 using house customization menu
21:50:WARNING:Char UID=01b485 is trying to add item 0751 at invalid location on multi UID=040041230 using house customization menu
21:50:WARNING:Char UID=01b485 is trying to add item 0722 at invalid location on multi UID=040041230 using house customization menu
21:50:WARNING:Char UID=01b485 is trying to add item 0722 at invalid location on multi UID=040041230 using house customization menu
21:50:WARNING:Char UID=01b485 is trying to add item 0722 at invalid location on multi UID=040041230 using house customization menu
21:50:WARNING:Char UID=01b485 is trying to add item 0722 at invalid location on multi UID=040041230 using house customization menu

Is not the new multis work done yet?
The client is using the Enhanced Client and has all the latest updates.
And the mul folder used on the server is up to the latest update.


RE: Will newly added foundations and houses multis work? - Coruja - 01-09-2019 05:53 AM

all new houses/foundations are already added on scripts, but OSI did something weird on multi.idx file that messed all multis > 0147b (all these new houses), so sphere can't read multi.idx correctly and doesn't consider these new houses as multi

that's why it doesn't update char Z when you step inside the multi. Also that's why it think the multi area is 0,0,0,0 and show this error that you're trying to add an item at invalid location using house customization menu

honestly I have no idea how to make this thing work. I already tried to make sphere read multi.idx in a different way but it still not working


RE: Will newly added foundations and houses multis work? - darksun84 - 01-09-2019 06:42 AM

aren't the multi in multicollection.uop?


RE: Will newly added foundations and houses multis work? - Coruja - 01-09-2019 09:32 AM

taking a quick search around I found that MultiCollection.uop works like an multi.mul + multi.idx in just 1 file, and when this file is found on UO folder it should override both multi.mul + multi.idx.

using UOReader 0.8.7 I found these new multis starting on path "build/multicollection/005244.bin", where the file name is multicollection and 5244 (dec) is 0x147c (hex), which maybe confirm that MultiCollection.uop is the solution

and it's also the problem, because sphere source will need some huge rework on file reading engine to add support for this thing


RE: Will newly added foundations and houses multis work? - Coruja - 01-10-2019 10:41 AM

today I did some small changes to start the initial support for MultiCollection.uop on latest build

it's just an initial commit, because the most important thing (make sphere read the UOP file content) still missing, and honestly I don't know if someday it will work or if it will stay incomplete forever, because I never had dealt with uop/mul files. But if someone want try it, feel free to use the source code
https://github.com/Sphereserver/Source/commit/5c9d97b882e2aad735c8ebb4993a12ce77cb5d5e


This forum uses Lukasz Tkacz MyBB addons.