|
dbosst Apprentice
Joined: 15 Jun 2010 Posts: 121
|
Posted: Fri Jun 25, 2010 6:03 pm
[3.20] %query inside OnRoomEnter event breaks slow walking |
I believe this bug might be some what related to my comments on:
http://forums.zuggsoft.com/forums/viewtopic.php?t=34619
Related to that topic above, and in this one, it seems putting the problematic code in a separate thread solves the issue (using the %query in a #thread works around the issue)
http://paste-it.net/public/z703fac/
The problem is:
If you have a simple %query inside OnRoomEnter slow walking to a room will (once in a while) not step to the next room automatically, if I hit enter and get a second prompt then it will continue stepping, but if I do nothing during the slow walk it will just abort the slow walk after timeout.
Important is in the script debugging log I noticed the first time it "breaks" the slow walk and does not step to the room, the OnWalkEnd event gets fired, when it definitely has not finished the slow walk (there are still directions in the queue, and the slow walking aborted message pops up after that). There is no reason I can think of why the OnWalkEnd is getting raised from doing a %query; if I remove the %query from the OnRoomEnter (even if that is its only line), it fixes it, and also putting it in #thread %query fixes it. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Jun 25, 2010 11:14 pm |
Btw, I am not doing any mapper fixes right now. Once the Public Version of TeSSH is released you might want to bump this and your other posts when I start working on mapper bugs again.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|