Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Ulrik Mikkelsen
Beginner


Joined: 06 Apr 2009
Posts: 15

PostPosted: 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?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Ulrik Mikkelsen
Beginner


Joined: 06 Apr 2009
Posts: 15

PostPosted: Fri May 04, 2012 6:10 pm   
 
Fixing a map of 89000 rooms by hand is..does not sound like a fun time.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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.
Reply with quote
Ulrik Mikkelsen
Beginner


Joined: 06 Apr 2009
Posts: 15

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net