Author |
Message |
Topic: MySQL revisited |
aslanthekat
Replies: 6
Views: 8313
|
Forum: CMUD General Discussion Posted: Tue Nov 06, 2012 1:53 pm Subject: MySQL revisited |
Thanks Matt and Daern.
Getting rid of %concat did seem to help a little. In fact at the start of the day it was running as good as could be expected. However, I did end up getting the "SQL Error: M ... |
Topic: MySQL revisited |
aslanthekat
Replies: 6
Views: 8313
|
Forum: CMUD General Discussion Posted: Mon Nov 05, 2012 12:52 am Subject: MySQL revisited |
I'm not using ssh at the moment. I am trying to get away from ssh and use cmuds built in functions. I had thought about the lag being because of order by, but I have tried it without the order by. ... |
Topic: MySQL revisited |
aslanthekat
Replies: 6
Views: 8313
|
Forum: CMUD General Discussion Posted: Sun Nov 04, 2012 4:16 pm Subject: MySQL revisited |
A little update about the SQL Error:
I just had it happen again. Again it was after I hadn't queried my database for a short while. Immediately after I got the error I did #print @db.connected and ... |
Topic: MySQL revisited |
aslanthekat
Replies: 6
Views: 8313
|
Forum: CMUD General Discussion Posted: Sun Nov 04, 2012 3:29 pm Subject: MySQL revisited |
I kind of wanted to reopen a topic that has been discussed a few times and has been spread out over the forum the last couple of years and make the info about this a little easier to find for other pe ... |
Topic: multiple sessions, same variable names |
aslanthekat
Replies: 2
Views: 4085
|
Forum: CMUD General Discussion Posted: Tue Sep 25, 2012 8:27 pm Subject: multiple sessions, same variable names |
I have an OnTick Event that picks a random item from a list at random times.
#exe %item( @afk, %random( 1, 3))
#ts %random( 30, 40)
It works perfectly. The only prob ... |
Topic: variable manipulation |
aslanthekat
Replies: 4
Views: 6834
|
Forum: CMUD General Discussion Posted: Thu Sep 20, 2012 5:39 pm Subject: variable manipulation |
When I do a scan I see
West (Room is dark):
(Flying) (Demonic) (Sneak) A spectral soldier turns and attacks!
North (Room is dark):
(Flying) (Demonic) (Sneak) A wraith warrior floats here.
... |
Topic: variable manipulation |
aslanthekat
Replies: 4
Views: 6834
|
Forum: CMUD General Discussion Posted: Wed Sep 19, 2012 7:27 pm Subject: variable manipulation |
Let's say I have the following
#TR (^(*)$) {#fo @list {#tempvar newline %replace(%line(),%i,"")}}
Is there a way to do this without crea ... |
Topic: formatting with MXP |
aslanthekat
Replies: 6
Views: 6297
|
Forum: CMUD General Discussion Posted: Sat Jul 28, 2012 5:45 pm Subject: formatting with MXP |
Thanks for the feedback. %lf does the same thing. I will just use more than one #mxp. |
Topic: formatting with MXP |
aslanthekat
Replies: 6
Views: 6297
|
Forum: CMUD General Discussion Posted: Sat Jul 28, 2012 2:47 pm Subject: formatting with MXP |
I'm trying to format some output using mxp. I'd like to break the output up into paragraphs with breaks.
#mxp Before you die: type <send href=':%item(%names, 1):help recall' ... |
Topic: New windows |
aslanthekat
Replies: 1
Views: 3146
|
Forum: CMUD General Discussion Posted: Fri Jul 27, 2012 11:15 am Subject: New windows |
I'd like to create 3 new windows, all three tabbed with each other, then dock the tabbed group to the right of my main session. What I want is for this to be done as I create the window, so I can do ... |
Topic: Pattern Matching: Not at beginning of a line |
aslanthekat
Replies: 2
Views: 3510
|
Forum: CMUD General Discussion Posted: Wed Jul 25, 2012 3:46 pm Subject: Pattern Matching: Not at beginning of a line |
Hey all,
Is there a way to make a trigger fire similar to matching at the beginning of a line, but match only if its NOT at the beginning of a line? Same thing for end of line.[/code] |
Topic: Coloring |
aslanthekat
Replies: 2
Views: 3948
|
Forum: CMUD General Discussion Posted: Thu Jul 12, 2012 9:00 pm Subject: Coloring |
Thanks for the reply.
I can probably write up the more complicated script. I just wanted to make sure I wasn't missing a built in function or command that would make this simple(r). If I get stum ... |
Topic: Coloring |
aslanthekat
Replies: 2
Views: 3948
|
Forum: CMUD General Discussion Posted: Thu Jul 12, 2012 8:04 pm Subject: Coloring |
Lets say my mud prompt looks something like <2900hp
But the color of my hp doesn't always stay the same <1900hp
How do I store the value of my hp in a variable, including the color? Then I ... |
Topic: Can this be done? |
aslanthekat
Replies: 4
Views: 5317
|
Forum: CMUD General Discussion Posted: Mon Jul 09, 2012 4:58 pm Subject: Can this be done? |
I swear I tried that, but lo and behold it does work.
Thanks. |
Topic: Can this be done? |
aslanthekat
Replies: 4
Views: 5317
|
Forum: CMUD General Discussion Posted: Mon Jul 09, 2012 4:39 pm Subject: Can this be done? |
I noticed that you can use string list vars in the pattern of triggers, so I was wondering...
Can I use script 1, to get the same result as script 2
1:
#tr {{@greet} tells the ... |
Topic: Can't close windows |
aslanthekat
Replies: 1
Views: 3114
|
Forum: CMUD General Discussion Posted: Thu Aug 11, 2011 2:32 pm Subject: Can't close windows |
I had my package editor open but minimized to Windows toolbar and the documentation open. I went down and right clicked on the package editor to close it and transparency is listed at the bottom, not ... |
Topic: adding entries to sqlite db |
aslanthekat
Replies: 27
Views: 31552
|
Forum: CMUD General Discussion Posted: Thu Jul 14, 2011 12:01 am Subject: adding entries to sqlite db |
So I decided to go another route. I wish I would have thought of this before. I created a ssh session and just connected to my database via shell and then I pass the data and commands back and forth ... |
Topic: adding entries to sqlite db |
aslanthekat
Replies: 27
Views: 31552
|
Forum: CMUD General Discussion Posted: Wed Jul 13, 2011 1:19 pm Subject: adding entries to sqlite db |
The problem definitely seems to be closing the connection. After executing one alias, if I remove the connection string from the second, it fires correctly and doesn't throw the invalid pointer error ... |
Topic: Countdowntimer to trigger on trigger |
aslanthekat
Replies: 5
Views: 6311
|
Forum: CMUD General Discussion Posted: Wed Jul 13, 2011 12:54 am Subject: Countdowntimer to trigger on trigger |
Trying to understand...You already have a trigger that fires every 150 seconds. When that trigger fires, you want this timer to start...
add the following to the trigger you already have
#alarm coun ... |
Topic: adding entries to sqlite db |
aslanthekat
Replies: 27
Views: 31552
|
Forum: CMUD General Discussion Posted: Wed Jul 13, 2011 12:41 am Subject: adding entries to sqlite db |
I've been throwing some things at this for the last few days and haven't had any luck. If anyone else has any suggestions I'd appreciate them. |
Topic: Countdowntimer to trigger on trigger |
aslanthekat
Replies: 5
Views: 6311
|
Forum: CMUD General Discussion Posted: Tue Jul 12, 2011 8:50 pm Subject: Countdowntimer to trigger on trigger |
#alarm countdown {-150} {do something here}
#alarm {-1} {#math time %alarm(countdown)/1000}
#BU buttontimer {@time}The first line executes y ... |
Topic: Need trigger with variables help - or alternate suggestion |
aslanthekat
Replies: 2
Views: 5071
|
Forum: CMUD General Discussion Posted: Fri Jul 08, 2011 7:59 pm Subject: Need trigger with variables help - or alternate suggestion |
If I'm understanding you correctly... It might look something like....
#TR healtrig {fair>$} {c heal CH1}
#cond healtrig {{you heal CH1|You lost your concentration ... |
Topic: Need trigger with variables help - or alternate suggestion |
aslanthekat
Replies: 2
Views: 5071
|
Forum: CMUD General Discussion Posted: Fri Jul 08, 2011 7:32 pm Subject: Need trigger with variables help - or alternate suggestion |
I think you might want to look into multistate triggers http://forums.zuggsoft.com/modules/mx_kb/kb.php?page=3&mode=doc&k=2993
Essentially, the first pattern matches and does something or not ... |
Topic: adding entries to sqlite db |
aslanthekat
Replies: 27
Views: 31552
|
Forum: CMUD General Discussion Posted: Fri Jul 08, 2011 6:30 pm Subject: adding entries to sqlite db |
using #sqlclose gives me an invalid pointer on the dcadd alias |
Topic: adding entries to sqlite db |
aslanthekat
Replies: 27
Views: 31552
|
Forum: CMUD General Discussion Posted: Fri Jul 08, 2011 5:32 pm Subject: adding entries to sqlite db |
I'm not exactly sure what the correct syntax is, but I have tried#call @mydb.close()
and
#call @mydb.closeSo it is entirely possible that I just don't know the correct syntax.
And just to ... |
|