Author |
Message |
Topic: sql database problems |
Stowslee
Replies: 3
Views: 6592
|
Forum: CMUD General Discussion Posted: Mon Feb 02, 2015 2:16 am Subject: sql database problems |
I personally found it to be useful to initially create the database through CMUD, then open it via SQLite in order to manipulate it. This ensures that the database is saved in the right location, and ... |
Topic: SQL Script Crashing |
Stowslee
Replies: 1
Views: 4917
|
Forum: CMUD General Discussion Posted: Thu Jan 22, 2015 12:12 pm Subject: SQL Script Crashing |
A bit of an update on this, works fine when called from the command line. However when I try to call this out of a trigger, that is when it all goes downhill and the program crashes. |
Topic: SQL Script Crashing |
Stowslee
Replies: 1
Views: 4917
|
Forum: CMUD General Discussion Posted: Wed Jan 21, 2015 11:26 am Subject: SQL Script Crashing |
So this is a fairly new aspect of CMUD for me, and I've been testing it out with excellent results. The latest piece I have been messing with works great while offline, however when connected to the M ... |
Topic: #ALARM Does nothing? |
Stowslee
Replies: 6
Views: 10572
|
Forum: CMUD General Discussion Posted: Wed Jan 21, 2015 11:21 am Subject: #ALARM Does nothing? |
Interesting, I have always utilized the brackets when using #ALARM. Is this something that is incorrect with the documentation? |
Topic: #ALARM Does nothing? |
Stowslee
Replies: 6
Views: 10572
|
Forum: CMUD General Discussion Posted: Mon Jan 19, 2015 9:45 am Subject: #ALARM Does nothing? |
When I input the following command, absolutely nothing happens. It is as though I didn't put anything through the command line. Any ideas?
#alarm {+1} {#ECHO HELLO}
0.0069 |
0.0109 | l Aetol ... |
Topic: #IF Statement returning incorrect result |
Stowslee
Replies: 4
Views: 11293
|
Forum: CMUD General Discussion Posted: Sat Dec 27, 2014 2:22 am Subject: #IF Statement returning incorrect result |
Ok so a little more testing resulted in the following:
Command line: #if (@Prone) {#ECHO TRUE} {#ECHO FALSE}
Returns the value False
If that exact same line is placed within an alias
Retur ... |
Topic: #IF Statement returning incorrect result |
Stowslee
Replies: 4
Views: 11293
|
Forum: CMUD General Discussion Posted: Fri Dec 26, 2014 5:24 am Subject: #IF Statement returning incorrect result |
That was one of the first things I checked for, there is only one variable @Prone in the system. |
Topic: #IF Statement returning incorrect result |
Stowslee
Replies: 4
Views: 11293
|
Forum: CMUD General Discussion Posted: Thu Dec 25, 2014 3:29 pm Subject: #IF Statement returning incorrect result |
I have the following line of code
#if (@Prone) {#var Status_Window_Prone "Yes"} {#var Status_Window_Prone "No"}
@Prone = 0
When this runs it give ... |
Topic: String Contains Function? |
Stowslee
Replies: 1
Views: 5619
|
Forum: CMUD General Discussion Posted: Sun Nov 30, 2014 2:04 am Subject: String Contains Function? |
I am looking to see if there is a way to check and see if a string contains a specific character.
For example:
MUD Output: ABGHI
I want to test to see if that output contains the letter "C" ... |
Topic: Trigger being created by code issue |
Stowslee
Replies: 1
Views: 5011
|
Forum: CMUD General Discussion Posted: Sat Nov 29, 2014 9:17 am Subject: Trigger being created by code issue |
I am sure it is a simple enough error that I am missing, however after going through it several times I cannot for the life of me figure out why the following alias creates a trigger "1" after use.
... |
Topic: What is your favorite feature in CMUD? |
Stowslee
Replies: 54
Views: 181928
|
Forum: CMUD General Discussion Posted: Fri Oct 07, 2011 3:39 pm Subject: What is your favorite feature in CMUD? |
Favorite feature for CMud is the same as it was for ZMud, the customer support through the forums. The people here taught me everything I know about scripting, and continue to do so. The new help file ... |
Topic: How to train cheapest skill |
Stowslee
Replies: 4
Views: 8068
|
Forum: CMUD General Discussion Posted: Fri Oct 07, 2011 1:08 pm Subject: How to train cheapest skill |
This trigger will catch the name of the skill as well as its cost, as long as it is one of the skills you want to train. To set which skills you want to train you need to set the variable @TrainThis. ... |
Topic: Toggle Button To Control a Class issues |
Stowslee
Replies: 2
Views: 6456
|
Forum: CMUD General Discussion Posted: Wed Oct 05, 2011 10:29 pm Subject: Toggle Button To Control a Class issues |
I would look into either the #CLASS command or the #T+ or #T- command. Below is an example of a script I use to handle turning on/off classes using a button.
<button type="Toggle" au ... |
Topic: Multi-State Trigger Issue |
Stowslee
Replies: 1
Views: 5274
|
Forum: CMUD General Discussion Posted: Tue Oct 04, 2011 7:56 am Subject: Multi-State Trigger Issue |
Spoke too soon, found another trigger that was in conflict. |
Topic: Multi-State Trigger Issue |
Stowslee
Replies: 1
Views: 5274
|
Forum: CMUD General Discussion Posted: Tue Oct 04, 2011 7:50 am Subject: Multi-State Trigger Issue |
Currently trying to figure out multi-state triggers, never having used them before. From what I can tell, this should work. However it fails to change the variable upon receiving the 2nd trigger. I am ... |
Topic: Priority Order in an Array |
Stowslee
Replies: 11
Views: 15545
|
Forum: CMUD General Discussion Posted: Sun Oct 02, 2011 5:17 am Subject: Priority Order in an Array |
That is exactly what I am trying to do, and each time it finds the lowest key/value pair I was "deleting" that entry so that it would find the next lowest and so on. Eventually ending up with the Diss ... |
Topic: Priority Order in an Array |
Stowslee
Replies: 11
Views: 15545
|
Forum: CMUD General Discussion Posted: Sun Oct 02, 2011 3:31 am Subject: Priority Order in an Array |
Well... ran into another seeming roadblock with this script. What I have done is created a database record @Cache. I then use a script to remove all the excess items I don't actually want to utilize w ... |
Topic: Addition in Database Records |
Stowslee
Replies: 2
Views: 5899
|
Forum: CMUD General Discussion Posted: Sun Oct 02, 2011 3:24 am Subject: Addition in Database Records |
Works perfectly now, this answers a lot of questions about some various bugs I had when switching over to CMud. |
Topic: I have forgotten how to make a multistate trigger!! |
Stowslee
Replies: 5
Views: 10043
|
Forum: CMUD General Discussion Posted: Sat Oct 01, 2011 5:10 pm Subject: I have forgotten how to make a multistate trigger!! |
Personally I use #TEMP instead of multi-state triggers. My solution to that particular code would be:
<trigger priority="39840" id="2288">
<pattern>Arcanum is ... |
Topic: Addition in Database Records |
Stowslee
Replies: 2
Views: 5899
|
Forum: CMUD General Discussion Posted: Sat Oct 01, 2011 4:24 pm Subject: Addition in Database Records |
I am trying to increment values within a database variable each time a specific trigger fires. I've tried everything I can think of to get the values inside to change, however I always end up with eit ... |
Topic: Priority Order in an Array |
Stowslee
Replies: 11
Views: 15545
|
Forum: CMUD General Discussion Posted: Sat Oct 01, 2011 4:22 am Subject: Priority Order in an Array |
Works perfectly, just have to put it all together now. And now I know you can use the ! in other areas then just != |
Topic: Priority Order in an Array |
Stowslee
Replies: 11
Views: 15545
|
Forum: CMUD General Discussion Posted: Sat Oct 01, 2011 4:09 am Subject: Priority Order in an Array |
From the two replies I think I have come up with a solution that will work. Only one question (and I may have it figured out by the time a response is posted). When looping through a database how woul ... |
Topic: Incrementing a Variable |
Stowslee
Replies: 7
Views: 13152
|
Forum: CMUD General Discussion Posted: Sat Oct 01, 2011 12:49 am Subject: Incrementing a Variable |
Glad I posted that, I have a bunch of aspects that rely on the %eval function. Thank you! |
Topic: Priority Order in an Array |
Stowslee
Replies: 11
Views: 15545
|
Forum: CMUD General Discussion Posted: Sat Oct 01, 2011 12:48 am Subject: Priority Order in an Array |
I'll try to go into greater detail.
When I check my inventory I have a trigger that collects the information regarding how many of each item I currently possess. As this rapidly changes, its a use ... |
Topic: Incrementing a Variable |
Stowslee
Replies: 7
Views: 13152
|
Forum: CMUD General Discussion Posted: Fri Sep 30, 2011 10:56 am Subject: Incrementing a Variable |
personally I always use
#var ThisVariable %eval(@ThisVariable +1) |
|