Author |
Message |
Topic: Loop keeps getting aborted. |
Tarn
Replies: 7
Views: 743
|
Forum: CMUD General Discussion Posted: Thu Sep 26, 2024 5:56 pm Subject: Loop keeps getting aborted. |
So I tried that loop at one point, but it won't work. It basically spams a bunch of #Alarm loops that will fire after 2 seconds, but there's a hundred of them. It doesn't actually stall between each f ... |
Topic: Loop keeps getting aborted. |
Tarn
Replies: 7
Views: 743
|
Forum: CMUD General Discussion Posted: Mon Sep 23, 2024 7:03 pm Subject: Re: Loop keeps getting aborted. |
I have a script I wrote that basically repeats an attack as long as @botting is equal to 1.
Basically the script goes like this:
@while (@botting = 1) {
#while (@MobsToKill > 0) {
attack_func ... |
Topic: Problems with License key |
Tarn
Replies: 6
Views: 774
|
Forum: CMUD General Discussion Posted: Tue Sep 10, 2024 4:55 pm Subject: Problems with License key |
Is the OS registered in the same name as CMUD?
Not sure why that would matter, but that's what it sounds like might be the issue.
I've never had an issue like that (Win NT trough Win 11, each vers ... |
Topic: Problems with License key |
Tarn
Replies: 6
Views: 774
|
Forum: CMUD General Discussion Posted: Sun Sep 08, 2024 5:27 pm Subject: Problems with License key |
Hopefully you've gotten this taken care of?
I register so seldom sometimes I forget: the keys aren't valid indefinitely any more. You need to log into the store (separate login) and get a current ... |
Topic: adding linebreaks to #ECHO commands? |
Tarn
Replies: 2
Views: 550
|
Forum: CMUD General Discussion Posted: Sun Aug 18, 2024 9:36 pm Subject: adding linebreaks to #ECHO commands? |
Is something like
#echo foo %crlf bar
what you want?
To avoid a space before "bar" on the new line, you could use %concat |
Topic: Has this software still been maintained and updated |
Tarn
Replies: 9
Views: 5341
|
Forum: CMUD General Discussion Posted: Sun Aug 20, 2023 6:28 pm Subject: Has this software still been maintained and updated |
What do you want changed?
OK, here is the list of 2 things, 1 fix and 1 new feature, that I sent over a couple of years ago as part of an email:
1. making the CMUD icon in the taskbar change colour ... |
Topic: Has this software still been maintained and updated |
Tarn
Replies: 9
Views: 5341
|
Forum: CMUD General Discussion Posted: Sun Aug 20, 2023 6:44 am Subject: Has this software still been maintained and updated |
What do you want changed?
I did a fresh install recently- Win 11 pro, no problems at all: didn't even need to use compatibility mode. My old settings came right over.
What do you think could ge ... |
Topic: How to prevent duplicate variable creation? |
Tarn
Replies: 23
Views: 11804
|
Forum: CMUD General Discussion Posted: Mon Aug 01, 2022 1:44 am Subject: How to prevent duplicate variable creation? |
When I have a need that I think is the same as what's in your original example (loop which waits for timeouts or a prompt), I prefer to add two triggers/events/what have you:
1) a single trigger on ... |
Topic: How to prevent duplicate variable creation? |
Tarn
Replies: 23
Views: 11804
|
Forum: CMUD General Discussion Posted: Sat Jul 30, 2022 4:03 am Subject: How to prevent duplicate variable creation? |
So you think there's something different about my cmud install, compared to a normal one? That would be really good news, because I could fix it, and then I wouldn't need a workaround for the behavio ... |
Topic: temporary variable |
Tarn
Replies: 3
Views: 3284
|
Forum: CMUD General Discussion Posted: Sat Jul 23, 2022 6:18 pm Subject: temporary variable |
If you mean that you want to get rid of it when you're done using it,
#UNVAR
Or, you can create one that has only local scope within the script:
#LOCAL |
Topic: Does cmud still work under windows 11 ? |
Tarn
Replies: 6
Views: 6308
|
Forum: CMUD General Discussion Posted: Fri Jul 15, 2022 7:27 pm Subject: Does cmud still work under windows 11 ? |
Update:
Seems to be working fine with multis and with the mapper (but I just gave the mapper a quick whirl).
Only anomalies are:
1) (trivial) a few labels are too big for the space so you los ... |
Topic: accidental misclick with consequences |
Tarn
Replies: 8
Views: 6237
|
Forum: CMUD General Discussion Posted: Thu Jul 14, 2022 1:50 pm Subject: havior no |
Did this to myself recently, all of the character windows closed (not sure what I did either, but it was definitely not the minimize to tabbed window when you doubleclick the window bar behavior noted ... |
Topic: is it possible to execute keyboard commands? |
Tarn
Replies: 2
Views: 2746
|
Forum: CMUD General Discussion Posted: Sun Jul 10, 2022 5:56 am Subject: is it possible to execute keyboard commands? |
#input has a second optional parameter.
#input "this sample will be highlighted"
will put that text in the box but not select it
#input "this sample will be highlighted" 1
will put that text i ... |
Topic: Does cmud still work under windows 11 ? |
Tarn
Replies: 6
Views: 6308
|
Forum: CMUD General Discussion Posted: Thu Jun 30, 2022 10:41 pm Subject: Does cmud still work under windows 11 ? |
Update:
Short version: I'm doing fine so far:
Details:
My triggers and other settings seem to be fine.
Some of the UI formatting is a little bit off (label size next to controls)- no big d ... |
Topic: Failed Hard Drive - No license Key |
Tarn
Replies: 6
Views: 5217
|
Forum: CMUD General Discussion Posted: Mon Jun 27, 2022 1:51 pm Subject: Failed Hard Drive - No license Key |
I just did an install with a new key request about two(?) weeks ago. Logged into the store account, asked for a key, and it was there within a minute or so. |
Topic: Does cmud still work under windows 11 ? |
Tarn
Replies: 6
Views: 6308
|
Forum: CMUD General Discussion Posted: Sun Jun 26, 2022 8:52 pm Subject: Does cmud still work under windows 11 ? |
I thought it was working ok (new laptop+os, not a Win 11 upgrade from Win 10, and bringing my settings over from the old one via XML) but this morning I got a notice on open that the database was lock ... |
Topic: Nested SWITCHes |
Tarn
Replies: 10
Views: 8096
|
Forum: CMUD General Discussion Posted: Thu May 13, 2021 8:00 pm Subject: Nested SWITCHes |
We avoid the databases as that is not a completely useful module.
...
So client is currently is happy with
forall
if
but not
switch
switch
or
switch
if
Ok on the db.
So ... |
Topic: Nested SWITCHes |
Tarn
Replies: 10
Views: 8096
|
Forum: CMUD General Discussion Posted: Tue May 11, 2021 6:48 pm Subject: Nested SWITCHes |
This seems like what the database is for.
You're trying to search for a value by two fields (category like "arm" or "invis" and level).
Could you make a table with those values and then use %que ... |
Topic: Speedwalks...are not |
Tarn
Replies: 1
Views: 3327
|
Forum: CMUD General Discussion Posted: Wed May 05, 2021 12:51 am Subject: Speedwalks...are not |
I'd probably try
#DEBUGFILE
(raw logging) to confirm what's actually being sent to the server. |
Topic: Support for COM events |
Tarn
Replies: 7
Views: 14811
|
Forum: CMUD General Discussion Posted: Wed Oct 19, 2016 6:40 am Subject: Support for COM events |
It sounds like you've got a COM exe, not just a DLL with blocking calls.
CMud does have its own COM API, so you could run it from the other end... get a handle and force a command or alias to run.
... |
Topic: CMud crashes |
Tarn
Replies: 5
Views: 13325
|
Forum: CMUD General Discussion Posted: Sat Jun 18, 2016 3:32 am Subject: CMud crashes |
I have not had this problem with general windows but don't generally use the mapper.
I did not do file transfer back and forth between other machines.
In case it's relevant, my install is a full ... |
Topic: Converting Zscript to Lua |
Tarn
Replies: 3
Views: 9076
|
Forum: CMUD General Discussion Posted: Wed Mar 02, 2016 2:32 am Subject: Converting Zscript to Lua |
Lua is a scripting language.
It doesn't have things like triggers built in; that would be part of the client which then runs Lua scripts.
So are you asking how to translate the "action" portion ... |
Topic: cMUD and Javascript |
Tarn
Replies: 17
Views: 35029
|
Forum: CMUD General Discussion Posted: Sun Nov 29, 2015 5:52 pm Subject: cMUD and Javascript |
In short, you can get a handle to the CMUD application object, and through that to the current session. You can then ask the session to do various things including execute scripts.
You actually don ... |
Topic: cMUD and Javascript |
Tarn
Replies: 17
Views: 35029
|
Forum: CMUD General Discussion Posted: Sat Nov 28, 2015 6:52 pm Subject: cMUD and Javascript |
I don't understand the COM stuff. The examples I've looked at, I just don't understand. I don't know if it is something that would benefit me or not but I'll try to look into it again. I'd love t ... |
Topic: Having problems sending multiple lines to the mud |
Tarn
Replies: 11
Views: 21080
|
Forum: CMUD General Discussion Posted: Sat Nov 28, 2015 6:01 pm Subject: Re: Having problems sending multiple lines to the mud |
What would be an acceptable way to add a delay or a break between each line ? Using #wait in a huge loop like this will surely cause issues, wont it ? And i'am adamant about spamming my cmud with 50 ... |
|