Search found 405 matches
- Thu Jun 12, 2014 11:10 pm
- Forum: Howtos, FAQs and Tips & Tricks
- Topic: TIP: title your scripts - easier debugging
- Replies: 1
- Views: 2250
TIP: title your scripts - easier debugging
Just a little tip, because in all the scripts I've used from other people, I don't think I have ever seen anyone do this: To help with debugging in Mudlet, when you create a new script object, make the first line a comment with a title, either the function name, or a name for a group of functions if...
- Wed Jun 04, 2014 10:09 pm
- Forum: General Forum
- Topic: scrambled debug output
- Replies: 6
- Views: 3734
Re: scrambled debug output
For what it's worth, changing font does nothing, and today this has persisted through 6 restarts so far.
Windows 8.1
Bitstream sans vera
Courier new
Consolas
Fixedsys
Windows 8.1
Bitstream sans vera
Courier new
Consolas
Fixedsys
- Mon May 26, 2014 9:28 pm
- Forum: General Forum
- Topic: scrambled debug output
- Replies: 6
- Views: 3734
Re: scrambled debug output
For me, the latest public build, 2.1, for windows (8). but I can't reproduce it reliably. Sometimes it just happens. I restart mudlet, and it may be fixed. If not, I restart again. My font is bitstream vera sans mono.
- Sat May 24, 2014 7:53 am
- Forum: General Forum
- Topic: scrambled debug output
- Replies: 6
- Views: 3734
scrambled debug output
Has anyone seen the debug window looking like the attached screenshot?
As you can see, the text is scrambled, but if I go back through scrollback then the new text is unscrambled. But if I exit the scrollback, it changes to scrambled.
As you can see, the text is scrambled, but if I go back through scrollback then the new text is unscrambled. But if I exit the scrollback, it changes to scrambled.
- Wed Apr 23, 2014 1:31 pm
- Forum: Help Forum
- Topic: measuring parser speed
- Replies: 12
- Views: 5048
Re: measuring parser speed
getNetworkLatency() will return that value. Latency is the ping to the server that I am connected to. Two figures are displayed down there, one is network latency, the other is script execution time. I could go about using the stopwatch functions to create a debugging log, but I feel that the timin...
- Tue Apr 22, 2014 9:54 pm
- Forum: Mudlet Mapper
- Topic: (mapping script) Mudlet Mapper script for Achaea/IREs
- Replies: 241
- Views: 170900
Re: (mapping script) Mudlet Mapper script for Achaea/IREs
Question: The default behaviour of the map display, is for the map centre to be the room the character is currently in. I am wondering how I might go about having this behaviour only kick in if the entire area doesn't currently fit in the window. To explain why I would prefer to see as much of the a...
- Tue Apr 22, 2014 8:49 pm
- Forum: Help Forum
- Topic: measuring parser speed
- Replies: 12
- Views: 5048
Re: measuring parser speed
For testing scripts, I'm not really sure how to track down problem ones. It would be easier if it were my own code, as I'd know which bits are easily disabled, and even which ones are called the most or are the least well written. There is a display in mudlet (bottom right) which shows last latency,...
- Mon Apr 21, 2014 8:32 pm
- Forum: Help Forum
- Topic: measuring parser speed
- Replies: 12
- Views: 5048
Re: measuring parser speed
Leah: I wrote a script, if you have tripwire it is easy as TW has its own timing framework built in. function ctrlK() cecho("\n<yellow> Test beginning.") for i=1,1000 do feedTriggers("\nThe quick brown fox jumps over the lazy dog.\n") end cecho("<yellow> Test complete.\n&quo...
- Sun Apr 20, 2014 7:44 am
- Forum: Help Forum
- Topic: measuring parser speed
- Replies: 12
- Views: 5048
Re: measuring parser speed
Er, addition to above.
I got into a medium sized team fight today (4 vs 5) and it was better than it has been thanks to the MCCP suggestion, but there were a few moments when the text stopped flying past and went really slowly, so I definitely still need to find the problem areas and optimise.
I got into a medium sized team fight today (4 vs 5) and it was better than it has been thanks to the MCCP suggestion, but there were a few moments when the text stopped flying past and went really slowly, so I definitely still need to find the problem areas and optimise.
- Sun Apr 20, 2014 7:29 am
- Forum: Help Forum
- Topic: measuring parser speed
- Replies: 12
- Views: 5048
Re: measuring parser speed
Parsing speed implies there is a problem with the trigger speed maching. I don't think it is that - it sounds like you have issues with efficiency in your scripts. Nothing to do with Mudlet and all to do with how well you code them. I agree. Sorry, I thought I made it clear that I'm not blaming Mud...