Author |
Message |
Topic: Illegal Token in Script, What am I doing wrong? |
oxseyn
Replies: 3
Views: 6595
|
Forum: CMUD General Discussion Posted: Sat Apr 14, 2012 4:32 pm Subject: Illegal Token in Script, What am I doing wrong? |
Every possible combination I could think of.
#var {//%window/test} test
Generates a syntax error. Uck, it feels like anytime I try to do anything more than extremely basic in CMUD I run ... |
Topic: Illegal Token in Script, What am I doing wrong? |
oxseyn
Replies: 3
Views: 6595
|
Forum: CMUD General Discussion Posted: Sat Apr 14, 2012 1:41 pm Subject: Illegal Token in Script, What am I doing wrong? |
This is from another thread, but I kind of buried my own question. I'm trying to have a script in a shared package that sets variables for sessions. The current example is trivial, but it's part of ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Wed Apr 11, 2012 7:10 pm Subject: How Should I Go About Multiplaying? |
The tracking is acting funky.
I can see that in each character's package, at the root level there is a LOC object (I created them). They are each populated with a location on the map.
Now, when I s ... |
Topic: Speedwalking with Delays |
oxseyn
Replies: 15
Views: 21959
|
Forum: CMUD General Discussion Posted: Wed Apr 11, 2012 4:28 pm Subject: Speedwalking with Delays |
So I just did some comprehensive documentation of the ship system. I was wrong on a few points. Here it is:
http://i.imgur.com/SE19F.gif |
Topic: Speedwalking with Delays |
oxseyn
Replies: 15
Views: 21959
|
Forum: CMUD General Discussion Posted: Wed Apr 11, 2012 2:12 pm Subject: Speedwalking with Delays |
Thanks Rehab. I'm working through your algorithm. Looks good. I'm not sure exactly how the alias/trigger system will work yet, but from what I understand so far, this is how the room layout should ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Wed Apr 11, 2012 6:06 am Subject: How Should I Go About Multiplaying? |
Thanks Matt :) That works beautifully and clears up all my confusion. If this was in the documentation somewhere and I missed it I'm very sorry.
The problem I see now is that for all my session # ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Wed Apr 11, 2012 1:48 am Subject: How Should I Go About Multiplaying? |
Supersessions never, EVER have packages associated with them and therefore cannot have windows/modules of their own. Also, individual session layout files are never used in a supersession (saved or l ... |
Topic: Making sense of Packages, Sessions, and Classes |
oxseyn
Replies: 13
Views: 18663
|
Forum: CMUD General Discussion Posted: Wed Apr 11, 2012 12:07 am Subject: Making sense of Packages, Sessions, and Classes |
It's perfectly possible to have the script in a shared package. That way if you need to edit it, you only need to change a single copy. All you need to do is make sure the variables which store the ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 9:55 pm Subject: How Should I Go About Multiplaying? |
Ok - so I'm trying all kinds of junk.
I'm very confused about how the "layout" is saved when dealing with multiple sessions.
I created a brand new session "Testing." It's got a single window whic ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 8:45 pm Subject: How Should I Go About Multiplaying? |
I just tested this again. I created a brand new session "testing." I connected to it.
I attempted to convert the window to a module, but got an error that the currently active session cannot be c ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 8:31 pm Subject: How Should I Go About Multiplaying? |
Here's a bugreport I generated from the crash that occurs when I try to load my "dummy" session first (it loads fine as long as i load the character sessions first).
date/time : 2012-04-10, 1 ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 8:26 pm Subject: How Should I Go About Multiplaying? |
Does the master session have to have a window? It had a window, but I converted it to a module ... so now it's only got a module (which contains some settings) and a map. |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 8:23 pm Subject: How Should I Go About Multiplaying? |
The syntax "//%item(%names,1)/test = 5" will not work. Cmud will not parse values on the left hand of that equation. Instead, use the #VAR syntax:
#VAR //%item(%names, 1)/test 5; #say @test ... |
Topic: Speedwalking with Delays |
oxseyn
Replies: 15
Views: 21959
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 8:21 pm Subject: Speedwalking with Delays |
There's a few more details lacking.
Yar :)
a) From any one location, can you get to more than one ship? I don't know how your mud's world is designed, but, assuming it is a set of distinct islan ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 7:59 pm Subject: How Should I Go About Multiplaying? |
I was executing that directly from a character window/session. The reason it yielded 2 was because i set it right above that to 2. I was just showing with that example that even though there was no ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 7:25 pm Subject: How Should I Go About Multiplaying? |
%item(%names, 1) = the main window of any given session
Tx.
#SAY %item(%names, 1)
Yeilds the output "2".
test = 2; #say @test
Yields the output "2'".
//%item(%names, 1)/tes ... |
Topic: Speedwalking with Delays |
oxseyn
Replies: 15
Views: 21959
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 7:14 pm Subject: Speedwalking with Delays |
Yes, this would be possible. If you can describe the specific situation in detail, we can help figure out a way to do it. There will probably be half a dozen possible ways.
Sorry, it's been a bit ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 6:34 pm Subject: How Should I Go About Multiplaying? |
You will be dealing with sessions.
Each character session is housed in a package.
That package will house the window the character data streams to.
Your master session holds the map/layout.
H ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 6:25 pm Subject: How Should I Go About Multiplaying? |
If I try to open my master session first cmud crashes. However, if I open the character sessions first, then the master session it seems fine.
Any idea what I'm doing wrong? |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 6:17 pm Subject: How Should I Go About Multiplaying? |
So, changing the "publish" setting from local only to "global" does make all the scripts contained by the nannymud module available to the character windows, however they share the variables - which d ... |
Topic: Need Help Improving my Automapper Configuration |
oxseyn
Replies: 5
Views: 9619
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 5:26 pm Subject: Need Help Improving my Automapper Configuration |
Autoconfigure may scare you, but it really is the correct way to do it. If you implement #TAG or #NOMAP settings without reconfiguring, the mapper will not correctly anticipate their actions. With e ... |
Topic: How Should I Go About Multiplaying? |
oxseyn
Replies: 22
Views: 32851
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 5:22 pm Subject: How Should I Go About Multiplaying? |
as far as the variables go, i would suggest a dbvar in a shared package, the same package could hold your prompt data and other scripts that everyone would use.
Char speciffic scripts go in that ch ... |
Topic: Need Help Improving my Automapper Configuration |
oxseyn
Replies: 5
Views: 9619
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 4:19 pm Subject: Need Help Improving my Automapper Configuration |
If at all possible, try to turn of mud side wordwrapping, not all muds allow this.
I do not think this is possible, I've tried to do it in the past without any luck :/
Next I would go about making ... |
Topic: Need Help Improving my Automapper Configuration |
oxseyn
Replies: 5
Views: 9619
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 3:46 pm Subject: Need Help Improving my Automapper Configuration |
My automapper is working for some rooms, but not all. Here's my current configuration:
Version: 214
Name Start: 0
Desc Start: 1
Desc End: 5
Exit Start: 6
Exit End: 7
... |
Topic: Portals |
oxseyn
Replies: 10
Views: 14943
|
Forum: CMUD General Discussion Posted: Tue Apr 10, 2012 3:05 pm Subject: Portals |
How would you go about disabling specific portal commands in specific rooms? |
|