 |
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Sun Dec 10, 2006 9:11 pm
alias qwerk |
so i finally bought cmud, and i can't really use it at the moment. when i try to import my .mud file it opens it as another session, also any aliases with if statements it will output the boolean part, like
corpse 0 1 1 0
sacrifice 0 1 1 0
scan 1 |
|
|
|
 |
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Sun Dec 10, 2006 9:17 pm |
can you give an example of an alias and what you'd expect it to do. not much we can do to help without any info
CMUD should have made a pkg file out of the .mud you imported. Can you use that pkg? |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
 |
edb6377 Magician

Joined: 29 Nov 2005 Posts: 482
|
Posted: Sun Dec 10, 2006 9:58 pm |
sounds like some sort of syntax error.
|
|
_________________ Confucious say "Bugs in Programs need Hammer" |
|
|
 |
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Sun Dec 10, 2006 10:35 pm |
corpse alias:
#if (@cuse = 1) {
#if ((@bc < @blimit) and (@inject = 1) and (%ismember( @control, @controllist) > 12)) {inject corpse} {
#if (%ismember( @control, @controllist) < 10)
~corpse
sacrifice
#if (%class( bot) or %class( botarea)) {scan}
}
}
#if (%zonenum = 345) {eat honey}
#if (%class( bot) or %class( botarea)) {#if (%ismember( @control, @controllist) <= 4) {guildrun}}
sg
#if (%zonenum = 125) {get bag} |
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sun Dec 10, 2006 11:22 pm |
One quick thing:
| Zugg wrote: |
There is a much easier way to use your existing zMUD file:
1) Start a session on your mud by selecting it from the mudconnector list. But don't connect to the session yet.
2) Click the Edit Session action
3) Go to the Files tab
4) Click the Browse button and locate your existing fox.mud file. It will put fox.mud into the filename field.
5) Connect Offline and it will load and convert all of your zMUD settings. |
Should help with your import problems. |
|
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Dec 11, 2006 9:14 am |
Just to add to that, after you import run the compatibility report by choosing Tools -> Compatibility Report from the menu in the settings editor.
This will identify 95%+ of known or potential problems that may exist in the code after importing (because of CMUDs stricter scripting etc) |
|
_________________ Asati di tempari! |
|
|
 |
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Tue Dec 12, 2006 8:54 pm |
does anyone have an explanation why the 0/1's of the booleans are being appended to the commands nested within the statements?
|
|
|
|
 |
crycry Apprentice

Joined: 24 Jun 2006 Posts: 169 Location: UK - South Coast
|
Posted: Tue Dec 12, 2006 9:43 pm |
untick autoappend Chris, its probably that.
|
|
_________________ 'Life is what happens, when your too busy doing something else'
_________________
XP Pro SP2
cMud 1.24
_________________ |
|
|
 |
|
|
|