NetStumbler.org Forums

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

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-18-2004   #121 (permalink)
thost71
Registered Member
 
Join Date: Jun 2004
Posts: 20
Quote:
Originally Posted by Laidback
I always got a line to my starting position...from, well, see pic!
Got around it by adding this line -
'If lastLat = "" AND lastLon = "" Then Exit Sub'
in the 'bail out' section of the 'Trackdraw Sub'

Strange that nobody else has said they got that!!
I was getting it also, but didn't think about trying to fix it - I just deleted the lines as they appeared. I like your solution better.
thost71 is offline  
Old 06-18-2004   #122 (permalink)
Laidback
Laidback Stumbler
 
Laidback's Avatar
 
Join Date: Aug 2002
Location: Madrid
Posts: 65
Quote:
Originally Posted by thost71
I was getting it also, but didn't think about trying to fix it - I just deleted the lines as they appeared. I like your solution better.
__________________
Laidback

Laidback Carputer
Laidback is offline  
Old 06-19-2004   #123 (permalink)
xtra
Registered Member
 
Join Date: May 2004
Posts: 4
the script works great. what about adding the street name in the speech?
xtra is offline  
Old 06-20-2004   #124 (permalink)
Claas
Registered Member
 
Claas's Avatar
 
Join Date: May 2004
Location: Germany
Posts: 24
Quote:
Originally Posted by Laidback
Download the latest and try again
OK - have done it (ns04mappoint_v0021-smt-3.txt). Same error. Now in line 542.
What I also see:
a) When no AP is reachable the track is painted correct
b) But I don't see the track vehicle (small car in red circle)
(When I start Map&Point single and choose show "Track position" then I see the track vehicle)
c) But I see my actual position as the end of the black track line
d) When I then reach an AP I get the error

When I disable in the script: show "TrackVehicle" I get the same error.
When I disable in the script ALL switches in the section "Mappoint" but the first (UseMappoint) I also get the error.

What I suspect:
There is something wrong with my Map&Point installation. So the script can not set pushpins.

Now I recognise this:
a) When I start Map&Point single I can not set pushpins. Nothing happens when I choose a pushpin and click on the map.
b) And: When I choose "Find a location" and enter Country, Street and Postcode and select "Find" then Map&Point shows me the correct location - BUT when I choose "OK" (to set a pushpin) then 15 seconds nothing happens - and then Map&Point exits.

So I will report you when I have made a clean installation and I am able to set pushpins in Map&Point.
Claas is offline  
Old 06-20-2004   #125 (permalink)
Claas
Registered Member
 
Claas's Avatar
 
Join Date: May 2004
Location: Germany
Posts: 24
Quote:
Originally Posted by Claas
So I will report you when I have made a clean installation and I am able to set pushpins in Map&Point.
Have found the error. I have to install "Microsoft Data Access Components (MDAC) 2.8" (perhaps this is a component of ".NET update" of Windows XP, which I not have installed).

I thank you very much for your help and patience.

Here another small suggestion:
When your script opens MapPoint the program window of MapPoint is placed in the middle of the screen. In script http://dragonneo.com/~raht/TrackNS-snr-plot.vbs the program window of MapPoint is always placed in the lower right corner of the screen, but high enough to see the NS line which shows the GPS data of NS. I think this script is doing this by this part:

if KeepMPInFront then
' Cheesy way to get screen size - Max MP, then get window size, then restore window
oMP.WindowState = 0
ScrX = oMP.Width
ScrY = oMP.Height
oMP.WindowState = 2
' Set MP window location and size
MPl = int(ScrX * .33) ' 1/3 from left
MPt = int(ScrY * .25) ' 1/4 from top
oMP.Width = ScrX - MPl - 10
oMP.Height = ScrY - MPt - 25 ' clear the NS status bar
oMP.Left = MPl
oMP.Top = MPt
end if

I think: Nice feature - you do not have to move the program window of MapPoint to the right place where you can see NS (fullscreen) in the background and MapPoint in front.
Claas is offline  
Old 06-20-2004   #126 (permalink)
Laidback
Laidback Stumbler
 
Laidback's Avatar
 
Join Date: Aug 2002
Location: Madrid
Posts: 65
'Version 00:22 190604 - Laidback
'Add custom Icons
'If opening default map you can remove the last vehicle location
'If opening default map you can remove the last vehicle track


First, I've made the script so you can use four custom icons for AP & Peer, wep'd & non wep'd. The icons live in the 'cicons' folder inside the network stumbler folder. Unzip the attached file and I have included some icons but you can use any you like! If you keep the same names you don't have to change the script.

Also, I've added options to remove the 'last vehicle location' and 'last track' if you're opening a default map. I haven't really tested the 'open default map' thing, how does it work when it finds an AP already on the map??

Anyway, stumble on...
Attached Images
File Type: jpg Image1.jpg (23.9 KB, 497 views)
Attached Files
File Type: zip V0022.zip (10.6 KB, 385 views)
__________________
Laidback

Laidback Carputer

Last edited by Laidback : 06-20-2004 at 09:02 AM. Reason: Added piccy
Laidback is offline  
Old 06-20-2004   #127 (permalink)
Laidback
Laidback Stumbler
 
Laidback's Avatar
 
Join Date: Aug 2002
Location: Madrid
Posts: 65
Quote:
Originally Posted by Claas
Here another small suggestion:
When your script opens MapPoint the program window of MapPoint is placed in the middle of the screen. In script http://dragonneo.com/~raht/TrackNS-snr-plot.vbs the program window of MapPoint is always placed in the lower right corner of the screen, but high enough to see the NS line which shows the GPS data of NS. I think this script is doing this by this part:

if KeepMPInFront then
' Cheesy way to get screen size - Max MP, then get window size, then restore window
oMP.WindowState = 0
ScrX = oMP.Width
ScrY = oMP.Height
oMP.WindowState = 2
' Set MP window location and size
MPl = int(ScrX * .33) ' 1/3 from left
MPt = int(ScrY * .25) ' 1/4 from top
oMP.Width = ScrX - MPl - 10
oMP.Height = ScrY - MPt - 25 ' clear the NS status bar
oMP.Left = MPl
oMP.Top = MPt
end if

I think: Nice feature - you do not have to move the program window of MapPoint to the right place where you can see NS (fullscreen) in the background and MapPoint in front.

Try this....& let me know

Edit: You'll need to click settings button first & add netstumbler location..see settings.jpg
Attached Images
File Type: jpg Settings.jpg (16.8 KB, 419 views)
Attached Files
File Type: zip MapStumbler.zip (16.0 KB, 265 views)
__________________
Laidback

Laidback Carputer

Last edited by Laidback : 06-20-2004 at 08:59 AM.
Laidback is offline  
Old 06-20-2004   #128 (permalink)
Bondesson
Registered Member
 
Join Date: May 2004
Posts: 16
Thank you Laidback for a great script.

The script is now constructed so that the AP-icon will be located where I last saw it. Perhaps you could add a function that will move the AP-icon to the place where I had the highest SNR for that particular AP.
Bondesson is offline  
Old 06-21-2004   #129 (permalink)
Laidback
Laidback Stumbler
 
Laidback's Avatar
 
Join Date: Aug 2002
Location: Madrid
Posts: 65
Quote:
Originally Posted by Bondesson
Thank you Laidback for a great script.

The script is now constructed so that the AP-icon will be located where I last saw it. Perhaps you could add a function that will move the AP-icon to the place where I had the highest SNR for that particular AP.
Hmmm, You're right! Why didn't I see that??

You need V00:23
Attached Files
File Type: zip V0023.zip (10.8 KB, 305 views)
__________________
Laidback

Laidback Carputer
Laidback is offline  
Old 06-22-2004   #130 (permalink)
mushrew
Registered Member
 
Join Date: Jun 2004
Posts: 3
Quote:
Originally Posted by Laidback
Hmmm, You're right! Why didn't I see that??

You need V00:23
If I backtrack over the same street with a different .ns1 file open, the APs seem to get duplicated on the map. Any way around this?

//edit: i guess even if i reopen the same map and ns1 file the same AP will be written twice on the map instead of being updated.

Last edited by mushrew : 06-22-2004 at 01:07 AM.
mushrew is offline  
Old 06-22-2004   #131 (permalink)
thost71
Registered Member
 
Join Date: Jun 2004
Posts: 20
Quote:
Originally Posted by mushrew
If I backtrack over the same street with a different .ns1 file open, the APs seem to get duplicated on the map. Any way around this?

//edit: i guess even if i reopen the same map and ns1 file the same AP will be written twice on the map instead of being updated.
That's because the script keeps track of all APs it finds while running. Each time it starts up, it creates a new (empty) list.

Checking the map for an existing AP is possible, but not reliable. I have some previous experience using MPs FindPushpin method - it sucks. If it finds more than one pushpin which it thinks might match, it returns the same answer as if none were found. In my experience, it does this about 10% of the time, which is unacceptable. The bugger is that it finds more than one possible match even if there's one exact match and some that aren't even close. It's the biggest problem I've encountered working with MP (which is all the VB experience I have [very very little]) and really blemishes an otherwise great app.
thost71 is offline  
Old 06-23-2004   #132 (permalink)
Laidback
Laidback Stumbler
 
Laidback's Avatar
 
Join Date: Aug 2002
Location: Madrid
Posts: 65
Quote:
Originally Posted by thost71
That's because the script keeps track of all APs it finds while running. Each time it starts up, it creates a new (empty) list.

Checking the map for an existing AP is possible, but not reliable. I have some previous experience using MPs FindPushpin method - it sucks. If it finds more than one pushpin which it thinks might match, it returns the same answer as if none were found. In my experience, it does this about 10% of the time, which is unacceptable. The bugger is that it finds more than one possible match even if there's one exact match and some that aren't even close. It's the biggest problem I've encountered working with MP (which is all the VB experience I have [very very little]) and really blemishes an otherwise great app.
I've been looking into this as well, I think I've found the procedure to import the APs into the script......going to test it today!
__________________
Laidback

Laidback Carputer
Laidback is offline  
Old 06-23-2004   #133 (permalink)
Hellvis
Registered Member
 
Join Date: Jun 2004
Posts: 3
Serwus !

Does anybody have such a script for german users ?
German APs don't sound pretty good spoken in english way.

Thx,
habedere ,Hellvis

South-Bavaria
Hellvis is offline  
Old 06-23-2004   #134 (permalink)
Claas
Registered Member
 
Claas's Avatar
 
Join Date: May 2004
Location: Germany
Posts: 24
Quote:
Originally Posted by Hellvis
Does anybody have such a script for german users ?
German APs don't sound pretty good spoken in english way. South-Bavaria
Download and install German speaker files for windows XP; e.g.:
http://www.bytecool.com/voices.htm
(There are exist ONLY two German speakers as freeware; one male, one female)
Configure one of the two German speakers to be your default voice.
Then change the script with German message text. Works for me.
Also: South-Bavaria
Claas is offline  
Old 06-23-2004   #135 (permalink)
Laidback
Laidback Stumbler
 
Laidback's Avatar
 
Join Date: Aug 2002
Location: Madrid
Posts: 65
Quote:
Originally Posted by mushrew
If I backtrack over the same street with a different .ns1 file open, the APs seem to get duplicated on the map. Any way around this?

//edit: i guess even if i reopen the same map and ns1 file the same AP will be written twice on the map instead of being updated.
Updated so it can import pushpins from default map, So no more dupes!

If you have a lot of pushpins on your map it will take extra time to start up while importing them but once done it shouldn't affect the script. Took around 3 1/2 mins to import 2876 pushpins from a saved Stumverter map on my desktop pc!
Attached Files
File Type: zip V0024.zip (11.1 KB, 331 views)
__________________
Laidback

Laidback Carputer
Laidback is offline  
Closed Thread


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 11:39 AM.


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.