NetStumbler.org Forums

Go Back   NetStumbler.org Forums > NetStumbler Community > Scripts
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 02-28-2005   #31 (permalink)
kiltjim
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?
kiltjim is offline   Reply With Quote
Old 02-28-2005   #32 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,127
Quote:
Originally Posted by kiltjim
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?
A new hobby?
wrzwaldo is offline   Reply With Quote
Old 02-28-2005   #33 (permalink)
kiltjim
Registered Member
 
Join Date: Apr 2004
Posts: 4
Thanks. What I should have asked is: Is there an option, or a line argument that I should change or add to get it to do it itself.
kiltjim is offline   Reply With Quote
Old 03-26-2005   #34 (permalink)
Sweex
Registered Member
 
Join Date: Apr 2004
Posts: 6
Quote:
Originally Posted by schroederzone
OK I'm trying to use the master script. But it's not working for me. I did some searching and I'm not sure what to do with this script. Do I need to edit this script? If so where. (be gentle I'm new to scripts) I've done some searching but haven't been getting any clear cut answers.

Ive been trying to run it but get this error:

Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

C:\Program Files\Network Stumbler\ns04thread.vbs(48, 24) Microsoft VBScript runt
ime error: Path not found

What have I done wrong?
Thanks
I had the same problem, but somewhere in one of the script files you can set
"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.
Sweex is offline   Reply With Quote
Old 03-30-2005   #35 (permalink)
dadaniel
Registered Member
 
Join Date: May 2004
Location: Austria
Posts: 15
Is there any solution for this problem yet?
dadaniel is offline   Reply With Quote
Old 04-03-2005   #36 (permalink)
AK_Sniper
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
AK_Sniper is offline   Reply With Quote
Old 04-06-2005   #37 (permalink)
mokum
von Amsterdam
 
mokum's Avatar
 
Join Date: Jun 2004
Location: Europe
Posts: 34
Quote:
Originally Posted by brentc
When I fire up the script, Mappoint opens up as it should, the script says it's using Microsoft Sam (Voice), a dos window opens up with the following error.

C:\Program Files\Network Stumbler\masterscript\ns04thread.vbs(48, 24) Microsoft VBScript runtime error: Path not found
Create the WAV folder [in the folder where you have the ns04master script].

Optional:
Create voice wav files with http://www.research.att.com/projects/tts/demo.html fantastic stuff

Cheers,
mokum
mokum is offline   Reply With Quote
Old 04-06-2005   #38 (permalink)
mokum
von Amsterdam
 
mokum's Avatar
 
Join Date: Jun 2004
Location: Europe
Posts: 34
Quote:
Originally Posted by kiltjim
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.
True

Quote:
Originally Posted by kiltjim
It seems to be looking for the GPS.
What leads you this conclusion?

Cheers,
mokum
mokum is offline   Reply With Quote
Old 04-22-2005   #39 (permalink)
foq99
Registered Member
 
Join Date: Mar 2005
Posts: 3
Quote:
Originally Posted by brentc
I downloaded the 20041124.zip
I made a folder under C:\Program Files\Network Stumbler\masterscript
I put the scripts in there. Then pointed NetStumbler to ns04master.vbs
I Edited the ns04settings.vbs to use MapPoint insted of DiGLE

When I fire up the script, Mappoint opens up as it should, the script says it's using Microsoft Sam (Voice), a dos window opens up with the following error.

C:\Program Files\Network Stumbler\masterscript\ns04thread.vbs(48, 24) Microsoft VBScript runtime error: Path not found

Any advice?

make sure you've edited the ns04settings.vbs -- this has some things you can tweak. One of these is:
Code:
const WavFolder = ".\WAV\"
(or something similar) Change what is in quotes to wherever your .wav files are (in your case, it should be "..\") This is what worked for me.
foq99 is offline   Reply With Quote
Old 04-23-2005   #40 (permalink)
kiltjim
Registered Member
 
Join Date: Apr 2004
Posts: 4
Quote:
Originally Posted by mokum
What leads you this conclusion?
Because every few seconds (it keeps the counter going in the command window) it says 'G P S not found' (or something similar). I know its looking for the GPS coming from NS, but NS is closed.
kiltjim is offline   Reply With Quote
Old 04-27-2005   #41 (permalink)
mokum
von Amsterdam
 
mokum's Avatar
 
Join Date: Jun 2004
Location: Europe
Posts: 34
Quote:
Originally Posted by kiltjim
Thanks. What I should have asked is: Is there an option, or a line argument that I should change or add to get it to do it itself.
No you can't, you will have to close it by hand.

Cheers,
mokum
mokum is offline   Reply With Quote
Old 05-25-2005   #42 (permalink)
ragmanii
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
ragmanii is offline   Reply With Quote
Old 06-10-2005   #43 (permalink)
mandalek
Wireless Junky
 
mandalek's Avatar
 
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
mandalek is offline   Reply With Quote
Old 06-10-2005   #44 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,127
Quote:
Originally Posted by mandalek
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
[run google check]
There is a MapPoint Topo out?
[/run google check]
wrzwaldo is offline   Reply With Quote
Old 06-12-2005   #45 (permalink)
Chillout
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
Chillout is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 08:20 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.