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
➜ Lua
➜ can't download dropbox public links
can't download dropbox public links
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #15 on Wed 30 Jul 2014 08:06 PM (UTC) |
Message
| Maybe it's in his Windows/System32 directory. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Victorious
(89 posts) Bio
|
Date
| Reply #16 on Thu 31 Jul 2014 02:15 AM (UTC) |
Message
| Yup, its already in my windows/system32 directory. I think my version of the dll is different from the one you include Fiendish, because when I copied the one from my windows/system32 directory into the mushclient folder, it worked fine with screen readers. | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #17 on Thu 31 Jul 2014 04:19 AM (UTC) |
Message
| Interesting. Can you send it to me somehow? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #18 on Thu 31 Jul 2014 05:14 AM (UTC) |
Message
| |
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #19 on Thu 31 Jul 2014 05:46 AM (UTC) |
Message
| Yeah but I want the file. :) |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Ruthgul
(18 posts) Bio
|
Date
| Reply #20 on Thu 31 Jul 2014 06:49 AM (UTC) Amended on Thu 31 Jul 2014 10:46 AM (UTC) by Ruthgul
|
Message
| Thank you for this thread. I was having a similar issue and the answers here have been very helpful.
About llthreads, it can be linked statically, so it doesn't require the MSVCR100.dll file. I managed to do so by following the instructions here:
http://www.rhyous.com/2010/09/16/avoiding-the-msvcr100-dll-or-msvcr100d-dll
(The resulting .DLL is bigger, around 180k, but yet smaller than MSVCR100.dll.)
I recompiled/linked llthreads and luasec to work with lua5.1.dll, and they seem to be doing fine on the tests I've run so far. | Top |
|
Posted by
| Victorious
(89 posts) Bio
|
Date
| Reply #21 on Thu 31 Jul 2014 08:56 AM (UTC) |
Message
| File description Microsoft® C Runtime Library
Type Application extension
File version 10.0.40219.325
Product name Microsoft® Visual Studio® 2010
You can get this at https://dl.dropboxusercontent.com/u/2138237/msvcr100.dll | Top |
|
Posted by
| Victorious
(89 posts) Bio
|
Date
| Reply #22 on Thu 31 Jul 2014 11:30 AM (UTC) |
Message
| Since we can now check whether a thread has completed its job, the next step for me was to try to create something like a wait.lua that would allow you to pause execution and resume it when a thread completed. My attempts were pretty far from successful though :( | Top |
|
Posted by
| Ruthgul
(18 posts) Bio
|
Date
| Reply #23 on Thu 31 Jul 2014 11:35 AM (UTC) |
Message
| I got this working with the vanilla version of llthreads, which doesn't support thread:alive(). I make a list of files that require to be updated, based on a Dropbox file that has a list of current versions, and queue/download them ok.
I can share the code if you want, though it's not necessarily pretty. It uses global variables and a timer.
I'm pretty sure there's a more elegant solution, which of course is eluding me. :) | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #24 on Thu 31 Jul 2014 03:05 PM (UTC) Amended on Thu 31 Jul 2014 03:24 PM (UTC) by Fiendish
|
Message
|
Ruthgul said:
I got this working with the vanilla version of llthreads, which doesn't support thread:alive(). I make a list of files that require to be updated, based on a Dropbox file that has a list of current versions, and queue/download them ok.
Are you polling file timestamps/hashes, or do you only work with files that contain their own version information? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Ruthgul
(18 posts) Bio
|
Date
| Reply #25 on Thu 31 Jul 2014 04:54 PM (UTC) |
Message
|
Fiendish said:
Ruthgul said:
I got this working with the vanilla version of llthreads, which doesn't support thread:alive(). I make a list of files that require to be updated, based on a Dropbox file that has a list of current versions, and queue/download them ok.
Are you polling file timestamps/hashes, or do you only work with files that contain their own version information?
At this moment I'm rewriting the scripts, so we're in transition.
The old version is very primitive. It only supports plugins that include 2 functions, called via CallPlugin(), to check which files the plugin uses. So users needs to run an alias to update a particular plugin, or all of them, and the script doesn't check if the files in my Dropbox are actually newer.
For the new version, I'm keeping the modification timestamps in a text file in my Dropbox (auto-generated by a script every X minutes). The new script detects which plugins are outdated by checing the date_modified field in the XML header of plugins vs those timestamps. I still haven't decided how to handle other files (modules, images, etc.). For now, they're all updated, brute-force, but I'll probably use hashes when I get to that stage.
Also, I rebuilt llthreads.dll, and it's 72 kbytes, statically linked (so it doesn't require msvcr100.dll.) I had toggled some stuff for testing, which made the file bigger. | 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.
77,142 views.
This is page 2, subject is 2 pages long:
1
2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top