|
donnybaker Newbie
Joined: 08 Jul 2007 Posts: 3
|
Posted: Sun Jul 08, 2007 10:04 pm
Newbie question |
I've tried searching the forums and manual, but I can't find anything on my question -
I have a couple of questions, actually.
First, is there a way to create standalone functions that aren't called by triggers specifically? Is that what "Aliases" are for?
And my original question - I've started creating triggers and such on my laptop. Before I buy this, am I able to have more than one copy of CMud (one on my laptop, one on a desktop) with one license? And if so, is it possible to copy the triggers and all that between machines so both clients have the same information for a session?
Thanks |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sun Jul 08, 2007 10:14 pm |
At the moment, there isn't really a way to create standalone functions. The next version, 2.0, will add "real" functions, with a #return command like you'd expect. Until then, the way they're usually done is either with aliases or with events. I prefer events because that way it's impossible to accidentally call one from the command line, but it still gets up my nose a little bit. Might be best just to wait :)
|
|
|
|
donnybaker Newbie
Joined: 08 Jul 2007 Posts: 3
|
Posted: Mon Jul 09, 2007 12:05 am |
Thanks for the quick reply. I can get by with aliases or events for now, I think, I just wondered if I was missing something.
I guess the more important question to me now is the copying issue - if I have to rewrite everything I do on my current PC when I move to my new PC, I'll have to forego purchasing and testing for a while, I guess. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Jul 09, 2007 12:18 am |
Well, you won't have to rewrite anything, the old methods will all still work. You might just find the new functions more convenient - I certainly will. Unless you meant preserving the actual files, in which case there are a myriad of options, one of which is native to CMUD - the Package Library.
|
|
|
|
donnybaker Newbie
Joined: 08 Jul 2007 Posts: 3
|
Posted: Mon Jul 09, 2007 12:26 am |
Yeah, I meant re-typing more than re-writing, I guess. Basically, I have the trial version I just downloaded on one PC, but I don't usually play the MUD from this PC, so I was hoping to take the triggers and stuff I already wrote and move them to my main PC where I play my MUD. I hadn't tried the Package Library, I thought it was more to share packages, but I think I can figure out how to make a local package and then move that to my other PC and open it there. I think.
Thanks again |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Jul 09, 2007 12:40 am |
The package library is only available if you've purchased CMUD, but any triggers you've already made should already be saved where you can get to them - probably in My Documents\My Games\CMUD\Mudname\Mudname.pkg. This pkg file should be all you have to transfer (though you might want to keep other files, like the .xly layout files, the .tbz toolbar files, the .mdb map files and the .zfg map config files. Maybe also cmud.ini. You could even just copy the whole My Games\CMUD folder.) You can check where the main package file for each session is by rclicking on that session and choosing edit session. On the files tab, you can see the path for the main package file. You can also see the full path for any package file from the package editor - just click the package properties button on the package toolbar and it'll be at the bottom.
|
|
|
|
Bombadill Newbie
Joined: 25 Jul 2007 Posts: 3
|
Posted: Wed Jul 25, 2007 5:45 am Another newbie question |
I'm interested in buying the new cMUD version and trying to evaluate it first. First of all, I used one very old version of zMUD. To be able to convert all map files I had to download the latest version of zMUD and then installed cMUD and it converted all maps correct. I was afraid it shouldn't work because each zone I had started with room nr 1 on my old zMUD and each room needs an unique nr. But when I installed the new zMUD version in converted it correct :)
The reason I want to start using cMUD is that it seems faster then zMUD but so far I'm totally wrong. Most of the stuff is really slow. When I'm walking in one of the mud with full text (brief) it takes about 3sec to walk from one room to another. Does anyone know if I have to turn something off to make this work faster?
I have about 9k rooms in my map. About 90 triggers and about 300 aliases. Does this slows it down? I use a trial version right now and will buy it if I can make it as fast as it was before or faster. |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Wed Jul 25, 2007 1:55 pm |
The triggers, depending on what they are, could slow you down. The aliases shouldn't matter.
The mapper could also be slowing you down. You aren't in map mode are you? Also people have had issues with the map being docked. Try undocking it if it is docked.
Have you ran the compatibility report? I know it runs when you import your settings. What I mean is have you fixed the issues, if any, that it had with your settings? |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jul 25, 2007 5:13 pm |
Quote: |
Before I buy this, am I able to have more than one copy of CMud (one on my laptop, one on a desktop) with one license? And if so, is it possible to copy the triggers and all that between machines so both clients have the same information for a session? |
Yes, you can use CMUD on more than one computer (laptop, desktop) without a problem. You can easily copy the *.PKG file for your session from one computer to another so that both machines have the same session scripts. Or, with the registered version, you can add your package to the shared package library and then download it from the shared library on your other computer. This lets you use the shared package library as a repository for your scripts so that you can access them from any computer.
Bombadill: Normally, you should create your own topic in the forum for new questions...otherwise it's hard to support the original poster. The mapper for CMUD was directly ported from zMUD and has not been fully integrated into CMUD and doesn't have any of the speed improvements of CMUD. I am planning to rewrite the mapper for CMUD later this year. |
|
|
|
Bombadill Newbie
Joined: 25 Jul 2007 Posts: 3
|
Posted: Wed Jul 25, 2007 8:28 pm |
Arminas: I'm in 'follow' mode and not 'map' mode if thats what you meant? I even closed the map window and it is still slow.
I've tried with the map undocked and I don't notice any difference. I'm not sure how to check the compatibility reports after it has been processed. I had some issues to convert directly from my old zMUD version to cMUD but when I converted from old zMUD to new zMUD it had no problems that I noticed. And no problem to convert from new zMUD to cMUD. If there was any issues, how do I find that list?
Zugg: Sorry, some forums want users to use old posts and I wasn't sure. Do you want me to start an own topic for this?
The thing is, when I downloaded the new version of zMUD and it converted all old files. The new zMUD version was as slow as the new cMUD. Its not playable as it is now. Eg, when I write 'who' (list all online player on this mud) it takes 5sec to get the list on 20 people. And when I write 'look' (to check the room) it takes about 5sec. With my old version all these things came instant. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed Jul 25, 2007 8:53 pm |
I'm going to assume you are not having network issues or the like.
Are you doing this with the package editor open? If you have a lot of variables etc, CMUD respond more slowly because as it updates the variables it needs to update the package editor display. Try closing the package editor to see if that helps.
You should also check to see if you have any errant or runaway triggers, as this is not typical behavior.
To check the Compatibility Report, from the Package Editor go to File --> Compatibility Report. |
|
_________________ Asati di tempari! |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Wed Jul 25, 2007 8:54 pm |
Well, it sounds like you have narrowed it down to a trigger issue then.
Disable triggers. Either click the gun icon or click on options at the top and Uncheck enable triggers.
Then see if the slowness goes away.
To run the compatibility report again you need to Click settings then click file and finally click compatibility report.
Finally yes you should start your own thread when you have a new question unless you can tell for sure that your issue is the same one the original poster is having. When in doubt start a new thread.
Edit: heh, Ninja'd by Tech this time.
Yes I forgot to mention the editor being open can cause slowness as well! |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Bombadill Newbie
Joined: 25 Jul 2007 Posts: 3
|
Posted: Wed Jul 25, 2007 9:11 pm |
Tech: I ran Compatibility Report -> No problems found.
Arminas: I disabled all triggers and everything worked FAST!!! :)
Now I have to go through the triggers and check if any of them doesn't work so good.
Thanks for all the help. Now I can buy the cMUD version after getting it to work. |
|
|
|
|
|