Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Suggestions
➜ please get rid of the assertion check for IsConnected in wait.lua
please get rid of the assertion check for IsConnected in wait.lua
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Fiendish
USA (2,541 posts) Bio
Global Moderator |
Date
| Wed 07 Apr 2010 02:23 AM (UTC) |
Message
| I hate this line in wait.lua
assert (not (GetInfo (106) or GetInfo (107)), "Not connected to MUD")
I want to be able to use wait without being connected. This is an arbitrary check that is better done by the caller of this function than by the function itself. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,163 posts) Bio
Forum Administrator |
Date
| Reply #1 on Wed 07 Apr 2010 02:35 AM (UTC) |
Message
| Commit 44a6c59. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Fiendish
USA (2,541 posts) Bio
Global Moderator |
Date
| Reply #2 on Fri 09 Apr 2010 06:55 PM (UTC) |
Message
| Hmm...
Now that the assertion check is gone, I need to figure out why it still doesn't work when not connected to the MUD. Bleh. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #3 on Fri 09 Apr 2010 07:43 PM (UTC) |
Message
| DoAfter timers default to not "active when disconnected" in an older version. I think, though I'm probably confusing you with someone else, that you said you used 4.40? DoAfter timers default to "active when disconnected" in a later version (I can't remember the exact version), so you'll want to update. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Fiendish
USA (2,541 posts) Bio
Global Moderator |
Date
| Reply #4 on Fri 09 Apr 2010 08:09 PM (UTC) Amended on Fri 09 Apr 2010 08:11 PM (UTC) by Fiendish
|
Message
| You're thinking of someone else. I always try to use the latest version. 4.51 in this case, including some of the changes that will be in 4.52. Granted, the files I'm working on are not exactly a proper install. I'll try downloading an official installer and see if anything changes. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #5 on Fri 09 Apr 2010 09:39 PM (UTC) |
Message
| Hmm, the change I'm thinking of was to the core executable. If you've got the latest, that shouldn't be it. Maybe wait.lua uses AddTimer and sets the flag itself? I'd look into it, but I'm not on my usual computer. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Nick Gammon
Australia (23,163 posts) Bio
Forum Administrator |
Date
| Reply #6 on Fri 09 Apr 2010 11:18 PM (UTC) |
Message
| It needed another change to wait.lua (not the one you asked for hehe).
Commit 816da57. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #7 on Fri 09 Apr 2010 11:22 PM (UTC) |
Message
| I was right! *cackle* ^_^ |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
16,863 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top