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 11-18-2004   #16 (permalink)
godrick
Registered Member
 
Join Date: Nov 2004
Posts: 2
The device is a Fortuna Clip-On (Bluetooth). Various PDA tools confirm that there is a fix and it gives 0 co-ordinates until it has a fix. Yes, the signal isn't strong, but it shows the correct place on Tomtom and Pocket Streets / Mappoint maps. Which script do I need to look in?
godrick is offline   Reply With Quote
Old 11-21-2004   #17 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
In "ns04settings.vbs", increase TellNoGPS - maybe to 20.

It appears to be doing double duty for both how often it tells you about a lack of GPS state and how it determines a lack of GPS state - I'll need to rethink that.

In other news, threading is nearly complete - just needs autostart/autostop and more testing.
goldfndr is offline   Reply With Quote
Old 11-24-2004   #18 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
New update, with speech in a separate thread. Hopefully it's Just In Time for travel (Thanksgiving and Black Friday in USA).

Currently it's enabled for debugging.

One outstanding issue is that it leaves the speech thread highly visible and only stops it if you explicitly disable Scanning. I thought that OnEnableScan and OnDisableScan would be called on startup/shutdown, but that doesn't appear to be the case; sorry!

Also, since it spawns SNDREC32 to play WAVs, I have it backing up and restoring the current Open and Close event WAVs in case you have sounds when you start/stop applications. I've no idea if this is WinXP-specific. One can save a sound scheme before testing.

Please send bug reports. I'm especially interested in whether anyone has gotten it working with DiGLE or one of Musatcha's utilities (GPSd, WiFiMapping) - I haven't yet been successful with DiGLE on my own.
goldfndr is offline   Reply With Quote
Old 12-25-2004   #19 (permalink)
FLECOM
Registered Member
 
FLECOM's Avatar
 
Join Date: Dec 2002
Posts: 36
Ok I would really love to use this script, but im having a heck of a time getting it to work...

I dropped it into my NetStumbler folder and created the Cicons and placed the icons inside of Cicons... I am using the following config...

Code:
'This file is designed to be GlobalExecute'd into the master script
'It contains all settings


'************ Master User Configurable Switches ************
'***********************************************************
'Mapping software; pick one?
UseMappoint = True	'***** Mappoint:  This overrides DropCrumbs and TrackVehicle
UseDiGLE = False	'***** DiGLE:  Free mapping utility; see WiGLE.net; also Musatcha's software


'***** Speech:  Speak names of networks in view
UseSpeech = False


'***** Sounds:  ' Non-speech audio - if using speech this may trigger if no new ssids to say
UseAudio = True


'***** SignalStrength:  MIDI obsoletes this; True if you want varying signal strength sounds
		'if using speech it might trigger if there are no new ssids to say, and UseAudio = True
UseSignalStr = True


'***********************************************************
'****************End of master switches*********************
'***********************************************************


RunDefs


'***********************************************************
'***********************************************************
if UseMappoint then
'***********************************************************
'***** Beginning of Mappoint-specific settings
'***********************************************************

		'Do you want to use a default map?
const UseDefaultMap = True

		'self explanatory - only used if UseDefaultMap is True
const DefaultMapLocation = "C:\stumbling\Map.ptm"

		'True to delete the last vehicle location and/or last track - only if using default map
const delLastLoc = True
const delLasttrack = True
When I launch NetStumbler I get the NetStumbler splash screen, MapPoint opens with the map specified in the settings. Then MapPoint starts using 100% of my CPU and NetStumbler hangs... If I kill MapPoint, NetStumbler stays frozen and i have to kill it also...

The script works fine if I disable map-point (sounds etc) but I would really like to have the live position tracking/ap's on the map working correctly
FLECOM is offline   Reply With Quote
Old 01-03-2005   #20 (permalink)
brentc
Registered Member
 
Join Date: Dec 2004
Posts: 3
Script Errors out in dos window

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?
brentc is offline   Reply With Quote
Old 01-03-2005   #21 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,138
Quote:
Originally Posted by brentc
C:\Program Files\Network Stumbler\masterscript\ns04thread.vbs(48, 24) Microsoft VBScript runtime error: Path not found

Any advice?

What version of windows? Is the script engine installed?
wrzwaldo is offline   Reply With Quote
Old 01-03-2005   #22 (permalink)
brentc
Registered Member
 
Join Date: Dec 2004
Posts: 3
Quote:
Originally Posted by wrzwaldo
What version of windows? Is the script engine installed?
Yeah sure is. I'm running WindowsXP SP2.
Never had this error with other scripts.
The odd thng is that the script that it says it can't find is exactly where t is looking.

-Brent
brentc is offline   Reply With Quote
Old 01-04-2005   #23 (permalink)
brentc
Registered Member
 
Join Date: Dec 2004
Posts: 3
I figured it out

Quote:
Originally Posted by brentc
Yeah sure is. I'm running WindowsXP SP2.
Never had this error with other scripts.
The odd thng is that the script that it says it can't find is exactly where t is looking.

-Brent
Well with other scripts thus far I have been able to run them no problem from other directories other than the base NS directory for organizatonal purpoeses. This one seems to be the exception. After puttng them in the base NS directory it all seems to work fine
brentc is offline   Reply With Quote
Old 02-02-2005   #24 (permalink)
schroederzone
Registered Member
 
Join Date: Feb 2005
Posts: 3
Quote:
Originally Posted by brentc
I Edited the ns04settings.vbs to use MapPoint insted of DiGLE
Dumb question, but how do I do this?
Sorry, don't know much about scripts. But trying to learn.
schroederzone is offline   Reply With Quote
Old 02-02-2005   #25 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 11,592
Quote:
Originally Posted by schroederzone
Dumb question, but how do I do this?
Sorry, don't know much about scripts. But trying to learn.
Uh, do what?
__________________
"One of these days, I'm going to cut you to pieces."

If you're offended by this post, please feel free to report it to one of the many helpful moderators of this forum.

Thank you.
streaker69 is offline   Reply With Quote
Old 02-02-2005   #26 (permalink)
schroederzone
Registered Member
 
Join Date: Feb 2005
Posts: 3
script error

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
schroederzone is offline   Reply With Quote
Old 02-02-2005   #27 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 11,592
Do you have Map Point installed?
__________________
"One of these days, I'm going to cut you to pieces."

If you're offended by this post, please feel free to report it to one of the many helpful moderators of this forum.

Thank you.
streaker69 is offline   Reply With Quote
Old 02-03-2005   #28 (permalink)
Swipular
Registered Member
 
Join Date: Dec 2002
Posts: 1
I just ran into this same problem.

The script is looking for the WAV directory which does not exist.

If you create a directory named WAV in your net stumbler directory the error should go away.

Swip
Swipular is offline   Reply With Quote
Old 02-06-2005   #29 (permalink)
schroederzone
Registered Member
 
Join Date: Feb 2005
Posts: 3
Thumbs up

Yep that seemd to do it. Thanks for the help.
schroederzone is offline   Reply With Quote
Old 02-13-2005   #30 (permalink)
ChumleyEX
Registered Member
 
Join Date: Jan 2005
Posts: 1
Same problem

I'm having the same problem I have tried putting this into a couple of the scripts ( I don't know what I'm doing but I'm trying. ) I have looked around and this is the only thing I'm stuck on. I try to add it to the settings script and the mappoint and I get several diffrent errors.


Quote:
Originally Posted by goldfndr
I doublechecked the code, and to me it looks right. I'm wondering if you didn't heed this line in the settings:
'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?
ChumleyEX 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:13 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.