![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#31 (permalink) |
|
Registered Member
Join Date: Apr 2004
Posts: 4
|
I managed to get rid of all the errors related to missing folders, and all that. Now, the script won't close on it own. The system32.exe -etc... window remains open, until I close it myself. It seems to be looking for the GPS.
Any suggestions? |
|
|
|
|
|
#32 (permalink) | |
|
I amuse you?
Join Date: Dec 2003
Posts: 9,127
|
Quote:
|
|
|
|
|
|
|
#34 (permalink) | |
|
Registered Member
Join Date: Apr 2004
Posts: 6
|
Quote:
"UseThreading" on False. It does not change the functionality (Speech/GPS mapping etc), but it solves the problem;-) I realy want to thank all the people who worked on this great script; Marius, Laidback, roggerRabbit, Tpeer and ofcause Goldfndr! The script works here great on the following config: -Windows XP pro on a very old laptop (PII / 128MB ram) -Holux GM200 USB mouse, forwarded to Comport 3 (by driver) -Avaya Silver Card (Lucent/Orinoco chipset) + Car-wardrive antenna -AC/DC 12v converter to connect the latop to the carbattery Thanks again & Keep up the good work ![]() PS Due note the script is standard set to use Digle instead of mappoint. If you have Mappoint open the ns04settings.vbs in notepad and set Usemappoint to True and UseDigle to False (in line 8 and 9) Last edited by Sweex : 03-26-2005 at 09:04 AM. |
|
|
|
|
|
|
#36 (permalink) |
|
Registered Member
Join Date: Apr 2005
Posts: 1
|
Great script, its very neat! Thanks to goldfndr and everyone else who helped on this script.
I just have one question, the script uses cmd line windows, so far I only got to test it at my house (1 AP) and I get 2 cmd line windows that open, one when the NS opens and script initialize and another when I start scanning. Now when I close NetStumbler the script in them keeps going. and I have to close them manually. Not a big deal but is there anyway I could modify the script to have those windows closed automatically upon NS exit kinda like it does to MapPoint? Thanks |
|
|
|
|
|
#37 (permalink) | |
|
von Amsterdam
Join Date: Jun 2004
Location: Europe
Posts: 34
|
Quote:
Optional: Create voice wav files with http://www.research.att.com/projects/tts/demo.html fantastic stuff ![]() Cheers, mokum |
|
|
|
|
|
|
#38 (permalink) | ||
|
von Amsterdam
Join Date: Jun 2004
Location: Europe
Posts: 34
|
Quote:
Quote:
Cheers, mokum |
||
|
|
|
|
|
#39 (permalink) | |
|
Registered Member
Join Date: Mar 2005
Posts: 3
|
Quote:
make sure you've edited the ns04settings.vbs -- this has some things you can tweak. One of these is: Code:
const WavFolder = ".\WAV\" |
|
|
|
|
|
|
#40 (permalink) | |
|
Registered Member
Join Date: Apr 2004
Posts: 4
|
Quote:
|
|
|
|
|
|
|
#41 (permalink) | |
|
von Amsterdam
Join Date: Jun 2004
Location: Europe
Posts: 34
|
Quote:
Cheers, mokum |
|
|
|
|
|
|
#42 (permalink) |
|
Registered Member
Join Date: Sep 2004
Posts: 3
|
A few minor changes to script...
I have made a few minor mods to the script I thought I would share. I do not like the fact that the script updates the map with every GPS move. I like to see my car moving on the map and only refresh when it is X pixels (Yes pixels) from the center. I have changed (Snippet ends with "-End Change "):
In ns04settings.vbs (note first line for reference): 'True to centre map on vehicle - Laidback 20040706 'Removed CONST so we can change this variable if you want to only center on certain conditions -RagmanII 'Made variable so we can only center the map if your location is X pixels away from the center -RagmanII CentreVehicle = 150 -End Change Note that the CenterVehicle can be set to 1 or 0 and it would emulate the true/false condition that was originally in the script. Then change ns04mappoint.vbs (First line for reference): Dim BSSID_Signal 'need to know what pixel is the center on the map -RagmanII Dim CenterPixelX Dim CenterPixelY -End Change Then change ns04mappoint.vbs (First line for reference): Set LastLocation = ActiveMap.GetLocation(Lat, Lon, Alt) 'We need the screen coordinates for map centering calculations -RagmanII If NOT HadGPSData Then CenterPixelX = MapPointApp.ActiveMap.LocationToX(LastLocation) CenterPixelY = MapPointApp.ActiveMap.LocationToY(LastLocation) End If -End Change Further down in ns04mappoint.vbs (First line for reference): If TrackVehicle Then ' Move the visual indicator to the new location. Set Vehicle.Location = LastLocation 'use CenterVehicle as a number instead of ON/OFF to calculate distance from center of map -RagmanII If CentreVehicle > 0 Then ' If scanning or first position, center the map on the new location If ((IsScanning AND ((MapPointApp.ActiveMap.LocationToX(LastLocation)-CenterPixelX) < CentreVehicle OR (MapPointApp.ActiveMap.LocationToX(LastLocation)-CenterPixelX) > (CentreVehicle * -1) OR (MapPointApp.ActiveMap.LocationToY(LastLocation)-CenterPixelY) < CentreVehicle OR (MapPointApp.ActiveMap.LocationToY(LastLocation)-CenterPixelY) > (CentreVehicle * -1))) Or Not HadGPSData) Then UpdateCurrentLocation Lat, Lon ' by Laidback 030504 'Just in case the user changed resolutions/changed windows size/location. CenterPixelX = MapPointApp.ActiveMap.LocationToX(LastLocation) CenterPixelY = MapPointApp.ActiveMap.LocationToY(LastLocation) End If End If End If HadGPSData = True End Sub -End Change Replace all the way through the End Sub. You can use any number for the center. It is a box, not a circle, so 150 is 300 pixels wide. If you change that to 300 then the box would be 600 pixels wide and 600 tall. If you put in too big of a number then the screen will only refresh when your car is no longer seen on the map. I started all this because I wanted to be able to calculate a route and if I went off track then it would recalculate the route. With all the screen redraws it was difficult to see what route I should be on. I have that part done with one error. When you get on a highway it recalculates the route wrong. (I guess MS decided that you cant start a route from a highway, so I am redoing that part so that the route will not recalculate until you actually go off track. I know... you say use AGPS to do that. Yeah.. one problem. Speed. With the screen redraws and APGS my laptop is so slow it starts falling behind. It gets even worse with voice turned on. I could have also done some optimization but I want to complete it first with the route script. I have all the calculations in my head for completing this but I just need to find the few hours it will take to code. I also want to add voice so that when you approach a turn it will automagicaly say where to turn. Well that’s enough for now, I need to get back to my real job. BTW, I did import those changes into "20041124 - master script.zip" and they seemed to work, but I didn’t test it with my laptop so YMMV. If anyone knows of this already being done let me know. I have not found a script that will recalculate routes like what I am trying to do. Thanks! ![]() -RagManII |
|
|
|
|
|
#43 (permalink) |
|
Wireless Junky
Join Date: Aug 2003
Location: Idyllwild, CA
Posts: 7
|
This is a great script, thanks to everyone working on it. I do have a couple of questions...
1) can you run more than one mapping program at the same time with this script? 2) what is the chance that someone will add the code for TOPO? Thanks Matt |
|
|
|
|
|
#44 (permalink) | |
|
I amuse you?
Join Date: Dec 2003
Posts: 9,127
|
Quote:
There is a MapPoint Topo out? [/run google check] |
|
|
|
|
|
|
#45 (permalink) |
|
Registered Member
Join Date: Sep 2004
Posts: 14
|
Maybe it's a dumb question, but is it possible to have something like combined data with this script?
For instance: When I drive trough my street, at a certain location, I get the first bleeps from my AP (moment 1). When I pass my house, signal strenght gets lower until the signal is lost (moment 2). When I drive trough the streets around my house, it starts showing up and disappearing in the same way (for instance, moment 3 and 4). Is it possible to use this data to connect these locations, so you can draw an area where there's an actual signal from a certain SSID? This way it would be possible to identify where you 'blind spots', etc. I've seen this being done in Airmagnet: click for screenshot |
|
|
|