Search found 42 matches

by ulysses
Fri May 25, 2018 6:12 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

Perhaps you had a slightly out of date version of that function, and the update fixed some problem it was experiencing. Try just commenting out all of the debug lines and seeing if it still works. Very odd. I commented out all the debugging and there was no change - the tracking still works. I comp...
by ulysses
Thu May 24, 2018 6:44 am
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

Except it clearly is fast enough, since the other functions that send directions just as fast don't cause it any problems. Ah yes, true. Okay, try this. Change the doSpeedWalk function so that the for loop looks like this: for k, v in ipairs(speedWalkDir) do send(k) end I think you meant send(v) no...
by ulysses
Wed May 23, 2018 8:19 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

So, the question is, why are the debug messages not firing. So, here is a further modified version of the capture_room_info function, along with a modified event handler function. local function capture_room_info(name, exits) -- captures room info, and tries to move map to match print("Capturing Ro...
by ulysses
Tue May 22, 2018 6:03 am
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

Okay, so, for one, I notice that my code had a bit of an issue, in that the Invalid Direction messages were popping up improperly (obviously I needed some parentheses in the if statements). But, I also notice that there is NO info from the room capture function. At all. That function gets called ev...
by ulysses
Mon May 21, 2018 10:10 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

Okay, time to see if something is inexplicably failing inside the script. The plan is to make some debugging type modifications to two functions capture_move_dir and capture_room_info, so we can see if things are being properly captured or not. These functions are located together, starting around ...
by ulysses
Mon May 21, 2018 7:08 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

One potential difference is that in the doSpeedWalk function, the actual strings are being supplied via some external source, opening up the possibility that they contain some variation that isn't recognized by the capture_move_cmd function, which obviously isn't a problem when you are manually pro...
by ulysses
Sat May 19, 2018 4:57 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

And what happens if some OTHER function spams out the commands? I'm curious if this is specific to the doSpeedWalk function, or if ANY instance of numerous movement commands being sent via code causes the same problem (which, by all rights it should, since there is nothing special about the doSpeed...
by ulysses
Fri May 18, 2018 10:16 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

The trick is, there shouldn't be any difference between entering the movements manually as compared to sending them via this particular function. What happens if you just spam in directions REALLY fast? Also, what if you have some other bit of code inputing a number of movement commands for you all...
by ulysses
Fri May 18, 2018 7:59 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

So, that sort of issue suggests that there is some problem tracking movement through one or more of the rooms along the designated path (i.e. it isn't recognizing the room when you walk into it). The timing of when commands are issued shouldn't make any difference at all, as the script keeps track ...
by ulysses
Wed May 16, 2018 10:08 pm
Forum: Mudlet Mapper
Topic: Generic Mapping Script
Replies: 372
Views: 66715

Re: Generic Mapping Script

Question about speed-walking: Sometimes the glowing you-are-here pointer doesn't keep up with a speed-walk. I put a delay in which helps most of the time, but not always. At the end of the speed-walk I forced a 'find me' and that improves it most of the time if it fails mid-route, but again not alwa...