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
Migration to 56d
Author Message
Mulambo
Apprentice
*

Posts: 22
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 0

Dark Paradise

Post: #1
Migration to 56d
blah blah blah and again, we heard it milion times... Tongue

I'm working on our shard towards migration, since I've got some time to play with sphere.

So far I've figured this:
all scripts:
- replace ontrigger= with on=@
- replace plot, buyvalue, sellvalue (since we use them) with TAGs
- replace STRVAL with EVAL
BOOKs:
- replace [BOOK ID] with [BOOK b_ID]
NPCs:
- replace [ID] with [CHARDEF ID] or with [CHARDEF c_ID] for characters with ID above 0400
- add npcresstock and create events and populate them with right values
- replace ATT=x-y with DAM=x,y
- replace FOODTYPE with new values for .56d
GUMPs:
- replace [GUMP ID] with [DIALOG d_ID]
- replace ONBUTTON= with ON=
ITEMs:
- replace [ID] with [ITEMDEF ID] or with [ITEMDEF i_ID] for items with ID above 04000
- add create events and populate them with right values
- replace DEF with DEFNAME
MENUs:
- replace [ITEMMENU ID] with [MENU m_ID]
NAMEs:
- replace [GROUP_NAME] with [NAMES GROUP_NAME]
NEWBIE:
- replace [SKILL_NAME] with [NEWBIE SKILL_NAME]
SPEECHes:
- replace [ID] with [SPEECH spk_ID]
TEMPLATEs:
- replace [ID] with [TEMPLATE tpl_ID]
TRIGGERs:
- replace [TRIG ID] with [TYPEDEF ID]

WORLDSAVE:
- replace WORLDCHAR and WORLDITEM with new IDs (c_ID / i_ID)
- replace OBODY with new IDs (c_ID)
- replace PLOT, BUYVALUE, SELLVALUE with TAGs

So far I've got to loading scripts, loading accounts (lots of warning with PRIV fix 01000), loading worldsave (garbage collector deletes mounts, since they have wrong ACTION or something).
For testing purposes I havent worked with maps and use only 1 map region, so characters can move.
I know I will need to change lots of equipment, because they have checks on skills, plots and some else stuff and I will need to move them from ON=@EQUIP to ON=@EQUIPTEST.
I've trouble with custom mounts, since when I unshrink them, they die and MULTIs are deleted.

If you want any more feedback about migration or have some ideas about mounts (I think it is probably because of TDATA) or multis you can share them.

BTW first tries showed me a lots of errors, that gave me good idea about some duplicities and bugs on 51a, that old sphere didnt put to logfiles.

TL;DR: another topic about updating .51a

Wars come and go, but my soldiers stay ethernal.

I broke the dam

Czech Shard Dark Paradise
01-18-2018 04:38 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Mulambo's post
DJANGO
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2020
Reputation: 0



Post: #2
RE: Migration to 56d
Thank you very much for the initiative
01-19-2020 09:58 PM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #3
RE: Migration to 56d
English: So, if you manage to upgrade Dark Paradise to a new version of sphere and then upgrade to UO, it will be great. You are the second oldest shard in our country. I keep my fingers crossed for you.

Czech: Tak, pokud se vám podaří Dark Paradise převést na novou verzi sphere a potažmo i přejít na vyšší verzi UO, to bude super. Jste druhý nejstarší šard u nás v republice. Držím vám palce.
01-20-2020 03:15 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #4
RE: Migration to 56d
trust me... your better off starting over
fresh worldfile, vanilla new sphere

if you have buildings you want to save, what i did is export them to a txt file
then put them back in the new sphereworld file

go through and convert your scripts one at a time
items,chars,gumps,triggers

Dragons of Time 2000-2020
http://dragonsoftime.com
02-08-2020 11:40 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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