|
Ulrik Mikkelsen Beginner
Joined: 06 Apr 2009 Posts: 15
|
Posted: Thu May 03, 2012 5:57 pm
Issues with Map converting |
I'm trying to finally make the jump from Zmud to Cmud. However I run into an issue when trying to convert my map.
The convert seems to work fine. except for all rooms that I have scripts in it adds the word "All" at the start of the line before the room script
example:
All#TRIGGER {^You remain where you are.} {#NODIR}
In the edit it says:
AllRS#TRIGGER {^You remain where you are.} {#Nodir}
With the RS being in green
Anyone there can tell me if if there is a fix for this? |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu May 03, 2012 10:32 pm |
In CMud version 3, room scripts are no longer stored in the mapfile and any already existing there are simply ignored. You can probably write up a simplistic script that uses SQL or the %roomcom() function to empty out the Script column in the ObjectTbl table (roomcom might have been disabled now, but I don't remember), so as far as fixing the map itself goes it should be pretty painless.
Since apparently it helpfully dumped all of those out into your package file, I believe the only fix for those is to edit them by hand. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Ulrik Mikkelsen Beginner
Joined: 06 Apr 2009 Posts: 15
|
Posted: Fri May 04, 2012 6:10 pm |
Fixing a map of 89000 rooms by hand is..does not sound like a fun time.
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Sat May 05, 2012 1:07 am |
How many room scripts do you have? Do you actually have a script in every one of those 89000 rooms? You don't have to fix the map itself; all you need to do is fix the room scripts which have been copied into the map module of your mud package.
|
|
|
|
Ulrik Mikkelsen Beginner
Joined: 06 Apr 2009 Posts: 15
|
Posted: Sat May 05, 2012 10:43 am |
I do not have it in all rooms. But I do in many of them. It mostly are #NODIR triggers to prevent movement if unable to do a movement. I also have aliases in roomscripts to run depending on my location to update different settings
|
|
|
|
|
|