![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
Attached is a refined version of my overhaul of the MapPoint+Speech script. I don't have MapPoint, so I'm unable to test with it, but so far it remains better (at least no worse) than the original's MapPoint-specific code. As time goes on, I hope to continue updating this message and attach further updates, moderators-willing.
If you're downloading from here, check for the last date - "ns04master.zip" should actually be named "20040918.zip". I'm keeping the old versions available in case anyone wants to perform comparisons. Changes thus far:
To-do list:
While it pays to have backups of data, after over 2100 downloads there have been few complaints. Oh, these .ZIPs don't include any icons. I'm sure you can grab some from the MapPoint+Speech thread. If you want support for your mapping program, you MUST BE WILLING TO WORK FOR IT. Saying support of this or that would be nice - well, duh. On the positive side, ns04logger (introduced 2007-01) can be really helpful for testing. Updated: 2004-09-18 ("ns04master", 13.8kB); previous (2004-09-16) had 16+2=18 views Updated: 2004-10-30, new zip file (17.8kB) (removed after 500 downloads due to limit of five attachments, attached to post #100) Updated: 2004-11-24, new zip file (20.7kB); still haven't renamed old zip file (removed after 973 downloads due to limit of five attachments, attached to post #107) Updated: 2005-06-30, new zip file (24.8kB) Updated: 2006-02-28, new zip file (32.4kB) Updated: 2006-06-29, new zip file (37.4kB) Updated: 2007-01-20, new zip file (46.7kB) (removed after 9 downloads due to five attachment limit and errata, attached to post #109) Updated: 2007-01-25, new zip file (48.7kB) Last edited by goldfndr : 06-19-2007 at 11:45 PM. Reason: Corrected logMultiple description |
|
|
|
|
|
#3 (permalink) |
|
Registered Member
Join Date: Feb 2004
Posts: 73
|
I need to get a new laptop that doesn't make NS 0.4 crash every 15 to 20 minutes. Then I could finally try all these nifty ass scripts that people are writing.
Anybody want to donate to the "by seinman a better laptop than the 150mhz crap he has now" fund?
__________________
http://www.seinman.net |
|
|
|
|
|
#4 (permalink) |
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
I've added more voice stuff: it will tell your current speed at predefined intervals, warns you if you're speeding; if you don't want to hear particular APs/peers, you can change them to a sound effect; cleanups.
Any other suggestions? I think it's ready for use, but I don't have MapPoint so I can't test that aspect of it. |
|
|
|
|
|
#7 (permalink) | ||
|
Registered Member
Join Date: Oct 2004
Posts: 8
|
Mappoint 2002 Eu
Many thanks.
Quote:
Quote:
Last edited by radiodesign : 10-10-2004 at 01:32 PM. |
||
|
|
|
|
|
#8 (permalink) |
|
Registered Member
Join Date: Oct 2004
Posts: 4
|
slight problem...
If you set mappoint=True in the ns04settings.vbs and then load the ns04master.vbs script, you get scripting error...
An Error was reported in your script Microsoft VBscript runtime error Type mismatch: cSymbol1.symbol Line: 1 Char: 1 SCode : 800A000D If you just run the ns04mappoint.vbs script, the functionality seems to be there, without the speech enhancements or other niceties. |
|
|
|
|
|
#9 (permalink) | |
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
Quote:
'Icons are branched off the script's folder What you can do to check this is to edit ns04mappoint.vbs, and just above this line: cSymbol1 = .Symbols.Add(nameDir & cSymbol1) add this line: MsgBox "I'm looking for a file named:" & vbCRLF & nameDir & cSymbol1 and that will show where it's looking. If that still doesn't show the error then please declare your cSymbol1 setting. Upon further analysis, it looks like the useCustIcon setting isn't being honoured - the custom icons are always added to MapPoint even if you don't want them. This code might work: if useCustIcon then if not FSO.FileExists(nameDir & cSymbol1) or not FSO.FileExists(nameDir & cSymbol2) or not FSO.FileExists(nameDir & cSymbol3) or not FSO.FileExists(nameDir & cSymbol4) then useCustIcon = "Unable to find the following custom icons, disabling feature:" if not FSO.FileExists(nameDir & cSymbol1) then useCustIcon = useCustIcon & vbCRLF & nameDir & cSymbol1 if not FSO.FileExists(nameDir & cSymbol2) then useCustIcon = useCustIcon & vbCRLF & nameDir & cSymbol2 if not FSO.FileExists(nameDir & cSymbol3) then useCustIcon = useCustIcon & vbCRLF & nameDir & cSymbol3 if not FSO.FileExists(nameDir & cSymbol4) then useCustIcon = useCustIcon & vbCRLF & nameDir & cSymbol4 MsgBox useCustIcon, vbCritical, nameScript useCustIcon = False else ... end if end if after making useCustIcon a non-const (gee, that whole section is non-const-able!) Can I blame Laidback? ![]() |
|
|
|
|
|
|
#10 (permalink) | |
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
Quote:
Thanks, all, for confirmation that MapPoint support wasn't broken completely! |
|
|
|
|
|
|
#13 (permalink) |
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
I've finally submitted an update - lots of new speech capabilities. Also the custom icon fix. Filename is 20041030.zip. Enjoy!
Since this update allows splitting of the speed (albeit with a kludgy delay loop), you might find it worth your while to look for some pronounced numbers - a search for "19.wav" and "90.wav" finds a few sites. Or you could record your own, or you can generate some (I used AT&T's Lauren and Audrey to create over 30 for personal use; while others have uploaded derivatives elsewhere, I don't think the demo allows redistribution). Several URLs for pregenerating WAVs are in the settings file. Of course, if you already have a sound effects library... ![]() |
|
|
|
|
|
#14 (permalink) |
|
Registered Member
Join Date: Nov 2004
Posts: 2
|
The 1030 version of the script reports "GPS Locked", but then gets into a "No GPS Fix" loop, even though Netstumbler reports a GPS position at the bottom of the screen, and the GPS Stat (SDV modded).zip version from the other thread works fine.
|
|
|
|
|
|
#15 (permalink) | ||
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
Quote:
Quote:
It's a good thing to know, because if your GPS isn't accurate you'll screw up your stats/maps (and anyone to whom you send your logs), and it might be preferable to turn off detection/logging when this occurs. What receiver do you have? I'm guessing it gives non-zero coordinates before it actually has a fix, and it seems that NetStumbler might only being paying attention to zero coordinates or dead silence for evidence of a lack of fix. |
||
|
|
|