Author |
Message |
Topic: Looping happening where it shouldnt |
Anrok
Replies: 2
Views: 5870
|
Forum: CMUD General Discussion Posted: Wed Jan 06, 2016 11:42 am Subject: Looping happening where it shouldnt |
Ok, I'm a dumbo, for some reason I got it into my head that whatever CMUD outputs itself, like #show or #print doesn't get matched in a pattern, well darn!
/Topic |
Topic: Looping happening where it shouldnt |
Anrok
Replies: 2
Views: 5870
|
Forum: CMUD General Discussion Posted: Wed Jan 06, 2016 10:47 am Subject: Looping happening where it shouldnt |
Hey guys, made a very basic script, but for some reason it started throwing LOOP errors for other scripts when it activates or simply locking up CMUD!
This is the ingame pattern:
--------------- ... |
Topic: Having problems sending multiple lines to the mud |
Anrok
Replies: 11
Views: 21129
|
Forum: CMUD General Discussion Posted: Sat Nov 28, 2015 5:45 pm Subject: Having problems sending multiple lines to the mud |
It could be, i'll use #wait for now and watch out for any potential problems, and as always, thanks for your help Shalimar. |
Topic: Having problems sending multiple lines to the mud |
Anrok
Replies: 11
Views: 21129
|
Forum: CMUD General Discussion Posted: Sat Nov 28, 2015 1:43 pm Subject: Having problems sending multiple lines to the mud |
Add in an exceedingly short pause?
#LOOP 50 {
#WAIT 50
say %i blahblahblahyackityshmackity
}
You might not notice the 50 milliseconds, but will the server?
Yep, even 10ms #wait fixes the i ... |
Topic: Having problems sending multiple lines to the mud |
Anrok
Replies: 11
Views: 21129
|
Forum: CMUD General Discussion Posted: Sat Nov 28, 2015 11:06 am Subject: Having problems sending multiple lines to the mud |
Well I just tried mudlet for myself with the following alias
for i=1,50 do
send ("say "..i.. " blablablalafljsdkfsdlkfjsdflkdsjflksjfslkfjsdlfjsdlfsjfdslkfjslfjsklfjsdlfjslfjsfklsjflsjfslkfjsdfslk ... |
Topic: Having problems sending multiple lines to the mud |
Anrok
Replies: 11
Views: 21129
|
Forum: CMUD General Discussion Posted: Sat Nov 28, 2015 10:43 am Subject: Having problems sending multiple lines to the mud |
Tried turning off MCCP compression, it looks like I was able to get more lines in and the messages would go through more often than with MCCP enable, but overall it's still broken and not really usabl ... |
Topic: Having problems sending multiple lines to the mud |
Anrok
Replies: 11
Views: 21129
|
Forum: CMUD General Discussion Posted: Sat Nov 28, 2015 8:03 am Subject: Re: Having problems sending multiple lines to the mud |
I've spent about 40 minutes now trying to change different prefs including anti-spam and word-wrap settings to no avail.
Any ideas what is causing this?
Speculation:
It wouldn't surprise m ... |
Topic: Having problems sending multiple lines to the mud |
Anrok
Replies: 11
Views: 21129
|
Forum: CMUD General Discussion Posted: Sat Nov 28, 2015 7:45 am Subject: Having problems sending multiple lines to the mud |
odd... try using a loop to do it?
#LOOP 50 {say %i blahblahblah}
In the example above, I am using #Loop 50 {say % blabla} to do it
If the message is short then the command goes through, all 50 ... |
Topic: Having problems sending multiple lines to the mud |
Anrok
Replies: 11
Views: 21129
|
Forum: CMUD General Discussion Posted: Fri Nov 27, 2015 10:17 pm Subject: Having problems sending multiple lines to the mud |
Hey guys, ran into a weird problem tonight, after a certain number of characters, my cmud starts cutting the commands that it sends the mud and only sends one of the few last ones, and sometimes even ... |
Topic: Having problems capturing first line that comes right after prompt |
Anrok
Replies: 13
Views: 19819
|
Forum: CMUD General Discussion Posted: Thu Nov 19, 2015 10:31 pm Subject: Having problems capturing first line that comes right after prompt |
I have not been noticing any posting issues like that, no...
As for the script section of the trigger, %1 is fine to use, it should never appear in the pattern, regex or not
I take my hat off to ... |
Topic: Having problems capturing first line that comes right after prompt |
Anrok
Replies: 13
Views: 19819
|
Forum: CMUD General Discussion Posted: Thu Nov 19, 2015 9:37 pm Subject: Having problems capturing first line that comes right after prompt |
Thats an issue of priority, give the new trigger that you made with my code a lower number, so it fires before the old one you made.
That setting is located at the bottom of the trigger in the settin ... |
Topic: Having problems capturing first line that comes right after prompt |
Anrok
Replies: 13
Views: 19819
|
Forum: CMUD General Discussion Posted: Wed Nov 18, 2015 5:24 pm Subject: Having problems capturing first line that comes right after prompt |
Alright, so as long as there are no obvious solutions and it's the mud itself that's at fault (supposedly), i've decided to incorporate yet another 2 step workaround:
<trigger priority="99" case ... |
Topic: Having problems capturing first line that comes right after prompt |
Anrok
Replies: 13
Views: 19819
|
Forum: CMUD General Discussion Posted: Wed Nov 18, 2015 4:43 pm Subject: Having problems capturing first line that comes right after prompt |
get rid of the asterisk in your trigger. just (%w) will capture the single word (e.g. "goblin") which should be enough for the system. The asterisk is making the trigger capture EVERYTHING prior to ... |
Topic: Having problems capturing first line that comes right after prompt |
Anrok
Replies: 13
Views: 19819
|
Forum: CMUD General Discussion Posted: Wed Nov 18, 2015 10:08 am Subject: Having problems capturing first line that comes right after prompt |
Here is raw data from debugger without script code.
12:56:12.982p | 901hp 927ma 361mv>
12:56:18.177p | say bla<CR><LF>
12:56:18.177p | kill kobold<CR><LF>
12:56:18.692 ... |
Topic: Having problems capturing first line that comes right after prompt |
Anrok
Replies: 13
Views: 19819
|
Forum: CMUD General Discussion Posted: Wed Nov 18, 2015 9:19 am Subject: Having problems capturing first line that comes right after prompt |
Hi guys, I had this problem for an eternity now and have usually resorted to workarounds, but today i need to force the issue and I hope someone can help me out as the problem seems to be pretty basic ... |
Topic: Getting weird line breaks with MXP enabled, please help. |
Anrok
Replies: 2
Views: 4814
|
Forum: CMUD General Discussion Posted: Fri Jan 04, 2013 7:00 pm Subject: Getting weird line breaks with MXP enabled, please help. |
I tried changing all the settings in CMUD and Mud settings to no avail, does anyone have any idea what could be causing this ?
Here is a page with mxp off
Settlestone's Well
This is an extre ... |
Topic: #read and %1 expansion |
Anrok
Replies: 2
Views: 4444
|
Forum: CMUD General Discussion Posted: Thu Jan 06, 2011 1:16 am Subject: #read and %1 expansion |
Taken from the help file:
READ examples
#REA mud.txt
Read the file mud.txt line by line and execute each line as if you had typed it manually.
#FILE 1 mudlist.txt
#READ 1 10
rea ... |
Topic: Part of the script got magically deleted |
Anrok
Replies: 14
Views: 16732
|
Forum: CMUD General Discussion Posted: Tue Jan 04, 2011 9:45 pm Subject: Part of the script got magically deleted |
My new .pkg is 120kb lighter as a result too.. |
Topic: Part of the script got magically deleted |
Anrok
Replies: 14
Views: 16732
|
Forum: CMUD General Discussion Posted: Tue Jan 04, 2011 9:43 pm Subject: Part of the script got magically deleted |
Ok, deleted the folder, created a new connection, closed cmud, put the XML file inside the new folder which was created by cmud. Connected to the new session using default settings, went to file and d ... |
Topic: Part of the script got magically deleted |
Anrok
Replies: 14
Views: 16732
|
Forum: CMUD General Discussion Posted: Tue Jan 04, 2011 9:12 pm Subject: Part of the script got magically deleted |
Im pretty sure there is something wrong with how layouts work, i never seem to be able to get them to work exactly right, tabbing them onto each other manually just doesnt want to get saved and if i t ... |
Topic: Part of the script got magically deleted |
Anrok
Replies: 14
Views: 16732
|
Forum: CMUD General Discussion Posted: Tue Jan 04, 2011 3:39 pm Subject: Part of the script got magically deleted |
If i had a trigger deleted like that is it likely that it will happen again ? should i do a fresh install and import from an xml ? |
Topic: Part of the script got magically deleted |
Anrok
Replies: 14
Views: 16732
|
Forum: CMUD General Discussion Posted: Tue Jan 04, 2011 3:31 pm Subject: Part of the script got magically deleted |
The way i try to remove a second .pkg file is by right clicking it in the package editor and selecting remove package. |
Topic: Part of the script got magically deleted |
Anrok
Replies: 14
Views: 16732
|
Forum: CMUD General Discussion Posted: Tue Jan 04, 2011 3:29 pm Subject: Part of the script got magically deleted |
Good thing is that i do constant back-ups to different locations, however there is no way to know when some trigger or an alias or an event gets deleted unless i use it constantly and if i dont see th ... |
Topic: Part of the script got magically deleted |
Anrok
Replies: 14
Views: 16732
|
Forum: CMUD General Discussion Posted: Tue Jan 04, 2011 1:56 pm Subject: Part of the script got magically deleted |
Ok so what other triggers can my cmud delete without me knowing about it ? It's a good thing i had a check for every step of that trigger as its pretty complex so i easily identified the problem. If t ... |
Topic: Part of the script got magically deleted |
Anrok
Replies: 14
Views: 16732
|
Forum: CMUD General Discussion Posted: Tue Jan 04, 2011 1:43 pm Subject: Part of the script got magically deleted |
There is something terribly wrong when it comes to loading packages and then trying to separate them again.. |
|