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-nmm6 (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-nmm6 (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-nmm6 (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
Armor and Multi's showing as just worldgems.
Author Message
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #1
Armor and Multi's showing as just worldgems.
Since updating Sphere after 2 years to move to Linux, some armor and houses broke, complaining about:
Code:
Setting new id for base type i_deed_cabin_log_2story not allowed

The armor was fixed by deleting the DEFNAME and putting the DEFNAME in place of the 04xxx ITEMDEF.

Deeds however did not work like that, to get the deed to work I left the DEFNAME where it was, and changed the ITEMDEF to some random text.

Next, is getting the Multis to show. I cant seem to get that to work! It is not showing anything at all... Just a worldgem. If i change the DEFNAME and ITEMDEF like other items, it still doesnt work.

Code:
[ITEMDEF 0406e]
DEFNAME=i_multi_house_wood_thatched_small
Name=Small Wood House Thatched Roof
TYPE=T_MULTI
VALUE=46000
CATEGORY=Multis
SUBSECTION=Houses
DESCRIPTION=Small Wood House Thatched Roof
MULTIREGION=-3,-3,3,4
COMPONENT=i_door_wood,0,3,7
COMPONENT=i_sign_brass_2,2,4,5


Is there something I can do so I dont have to go through all my armor and change it and randomly find all these invisible things??

Thanks

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-08-2013 11:41 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #2
RE: Armor and Multi's showing as just worldgems.
Code:
[MULTIDEF 06e]
DEFNAME=i_multi_house_wood_thatched_small
NAME=Small Wood House Thatched Roof
TYPE=t_multi
VALUE=43800
CATEGORY=Multis
SUBSECTION=Houses
DESCRIPTION=Small Wood House Thatched Roof
MULTIREGION=-3,-3,3,4
COMPONENT=i_door_wood,0,3,7
COMPONENT=i_sign_brass_2,2,4,5
DUPELIST=06f

Notice... its a MULTIDEF... and notice the 04000 is removed (subtracted?).
(This post was last modified: 01-08-2013 02:02 PM by RanXerox.)
01-08-2013 02:01 PM
Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #3
RE: Armor and Multi's showing as just worldgems.
Thanks RanXerox, I will give that a go later Smile

So much has changed since I ran this server 2 years ago, going to take some time to port the scripts Sad

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-08-2013 07:57 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #4
RE: Armor and Multi's showing as just worldgems.
It took me a few days to convert the basics... and many many weeks of stumbling upon the little things that didn't report errors in the logs o_O

Once you understand the changes, you will come to the same conclusion that the changes are very beneficial.
01-09-2013 02:26 AM
Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #5
RE: Armor and Multi's showing as just worldgems.
Worked perfectly, also I got the deeds working by just removing the duplicate DEFNAME. Must have been editing local files before! (the most frustrating thing!)

ULTIMA ONE
The modern, sphere powered Ultima Online server
01-09-2013 06:41 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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