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 10-21-2006   #106 (permalink)
markskinner
Registered Member
 
Join Date: Oct 2006
Posts: 1
I have tried the new script with mappoint 2006 tonight and it seems to working ok, i am only able to test this at home at the mo but i will be going out on the road tommorow to give it a better test. i will report back tommorow night with my findings.
markskinner is offline   Reply With Quote
Old 01-20-2007   #107 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Wow, I hope markskinner survived his night with MapPoint...

New version of the Master Script. A few more modules added.
  • Roadnav support!
    No longer is real time mapping limited to Microsoft MapPoint, now you have a choice. And since it has some preliminary support for OpenStreetMap, you're also not limited to the USA.
    If you already have Roadnav 0.16 with cached maps, it can work, but I highly recommend getting 0.17 beta (it is scheduled for release on 2007-02-01). 0.17 has:
    • fix for icon filenames with "$" in them
    • fix/retension for icon scaling
    • greatly improved rendering performance
    • and, of course, ability to download current TIGER maps (they'd switched from lowercase to uppercase).
    If you plan to use Roadnav then I highly recommend also downloading and installing OstroSoft Winsock Component - the Roadnav scripting engine can execute one command at the command line, but using the Telnet interface is much faster and efficient. If there are free scriptable alternatives to OstroSoft Winsock Component that you'd like supported, post a URL to the API.

  • Logger - recording and playback (no, not lumberjacks).
    If you
    • don't have MapPoint working but want to do tracking later
    • want to listen to the network names as a cure for insomnia
    • are too slowed down by the existing modules (time spent executing modules may be time lost detecting networks, this does multithreading)
    • want to run multiple instances while still supporting the modules you like
    then this is for you. If you plan to use multiple instances then I highly recommend using the NetStumbler 0.4 Helper to store/use multiple configurations. Support specifically for multiple instances should go on the existing thread (unless it's a NetStumbler 0.4 Helper support issue, then it should go on the Helper's thread.
    One other nice thing about the playback (simply run "ns04logger.vbs" at the command line) is that greatly improves module debugging/improving - no need to start NetStumbler each time if there's an error-causing log file available. It became very obvious that cp99's request for a UseGPS setting was pointless (or so I think - cp99 still hasn't replied).

  • Status - support for LCD Smartie and others.
    Inspired by supadave's code (please, no resurrecting the dead), I've added a module that writes a file with the current state that LCD Smartie (or perhaps Microsoft Windows SideShow). If you have your laptop in your backpack, you could run PalmOrb on your PalmOS-compatible PDA, like I did when I was taking a bus to training.
    There is some information on doing something similiar with a PPC, if you're interested in this and can figure out how to write an XML file (or other file) that SideShow or whatever can use, post here and I can try to write something for it.
    Why did I do this when the information is retrievable from the registry when UseDiGLE is enabled? LCD Smartie doesn't have native support for reading the registry but it does support reading files.
And of course there are the usual improvements with the possibility of having broken something.

Of course, any feedback is invited. If you're reporting a bug, please see if you can reproduce it in both the latest version and the penultimate version (so I'll know whether it's something I broke or something that might've always been broken). If you'd like something implemented (there are a bunch of other potentially scriptable programs mentioned in ns04settings.vbs:
Quote:
Future possibilities; might not ever be available; anything desired requires testing by volunteers
so see the list for some examples), I'll need cooperation.

If you like what you see here, please donate to marius. Donations might spur marius to add some additional scripting support.

I'm still at the forum's 5 attachments limit, so I've removed 2004-11-24 from the first posting after 973 "views". If anyone wants it (e.g. for comparing), I've attached it to this message.
Attached Files
File Type: zip 20041124.zip (20.7 KB, 64 views)
__________________
For quickest response, catch me on IRC: #wigle
goldfndr is offline   Reply With Quote
Old 01-21-2007   #108 (permalink)
TomSelleck
Registered Member
 
Join Date: Jan 2007
Posts: 1
I have read the entire thread. I am still getting an error when launching NS:

ns04master
CrumbSymbol is not numeric:
c:\Program Files\Network Stumbler\CIcons\blue.gif
Mappoint support deactivated.


I have MapPoint 2006 installed.
I am using the scripts from the 2007-01-20 zip. I extracted them to the c:\program files\network stumbler folder. I created a CIcons subfolder. Where do I get the files that go in the CIcons folder?
TomSelleck is offline   Reply With Quote
Old 01-25-2007   #109 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Quote:
Originally Posted by TomSelleck
I have read the entire thread. I am still getting an error when launching NS:

ns04master
CrumbSymbol is not numeric:
c:\Program Files\Network Stumbler\CIcons\blue.gif
Mappoint support deactivated.


I have MapPoint 2006 installed.
I am using the scripts from the 2007-01-20 zip. I extracted them to the c:\program files\network stumbler folder. I created a CIcons subfolder. Where do I get the files that go in the CIcons folder?
Um... let me guess, you didn't think to examine your CrumbSymbol setting? And check whether or not it was numeric? BTW, post #1 mentions Icons, you should take another look at it.

Just for the less clueful, I've added a new feature: it checks all used settings and makes sure that they're mostly valid. So TomSelleck's error should be more like this:
Quote:
Error: The following setting in "C:\Program Files\Network Stumbler\ns04settings.vbs" is invalid:

CrumbSymbol, "C:\Program Files\Network Stumbler\Cicons\blue.gif", seems to be of type "String" but it needs to be a small (<256) nonnegative number.

Mappoint support deactivated.
If there's a clearer way to word this, let me know.

A few of the oddball ones (e.g. UseThreading has a range of -2 to 2) aren't checked very well, and I'm not sure how much checking is worthwhile. Some of the files have relative paths, and some have absolute paths - I wasn't sure whether to check the scripts folder or NetStumbler's folder. Maybe in the future I'll have it check both for files that need to exist (e.g. ns04events.vbs) to reduce copies. Or maybe not. Any preferences?

There's another feature: if there's a file named ns04immed.vbs in the scripts folder, it'll be executed when Scanning is enabled or disabled (i.e. press the triangle or type Ctrl+B). This may be useful if the script is running and you want to take advantage of something or stop doing some processing without entirely clearing any "dictionaries" in memory.

There were several minor bugs that I somehow missed - feel free to compare if you'd like.

The attached file had 9 downloads before I pulled it from post #1. No telling how many more there will be.
Attached Files
File Type: zip 20070120.zip (46.7 KB, 138 views)
__________________
For quickest response, catch me on IRC: #wigle

Last edited by goldfndr : 02-06-2007 at 10:04 PM.
goldfndr is offline   Reply With Quote
Old 01-26-2007   #110 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Alas, there are a couple of minor edits to make. Line 453, which starts out as Case vbByte, needs to have the next line:
Quote:
If IsNumeric(vval) and CByte(vval) = vval Then Exit Function
changed to:
Quote:
If IsNumeric(vval) Then
If CByte(vval) = vval Then Exit Function
End If
to work properly. I don't know why I'm not able to use "and" in there, it must be a BASIC quirk.
__________________
For quickest response, catch me on IRC: #wigle
goldfndr is offline   Reply With Quote
Old 01-27-2007   #111 (permalink)
beakmyn
root\.workspace\.garbage.
 
Join Date: Aug 2003
Posts: 4,777
Quote:
Originally Posted by goldfndr
Alas, there are a couple of minor edits to make. Line 453, which starts out as Case vbByte, needs to have the next line:changed to:to work properly. I don't know why I'm not able to use "and" in there, it must be a BASIC quirk.
VB will allow to skip the endif but it's always a good idea to put them in since you never know what a Microsoft product might do.
__________________
It's not Intelligent Design, it's peer pressure.

┌──────────────────────────────┐
NS Icons Explained|et hoc genus omne
└──────────────────────────────┘
beakmyn is offline   Reply With Quote
Old 02-17-2007   #112 (permalink)
andbad
Registered Member
 
Join Date: Feb 2007
Posts: 3
hi, i have a problem
i set this script with a gps and mappoint 06 and all run done, but mappoint don't center the current position on the map (the icon of the car go out from the screen) if i set the CentreVehicle const to 0, 1 or more. If i set -1 or less, the program center me on the map, but zoom out to unacceptable view every second. I search on the forum but i found nothing.
Can i do?
Thanks (and sorry for my english)

By(t)e
andbad is offline   Reply With Quote
Old 02-21-2007   #113 (permalink)
andbad
Registered Member
 
Join Date: Feb 2007
Posts: 3
someone can help me?

By(t)e
andbad is offline   Reply With Quote
Old 02-21-2007   #114 (permalink)
beakmyn
root\.workspace\.garbage.
 
Join Date: Aug 2003
Posts: 4,777
Quote:
Originally Posted by andbad
hi, i have a problem
i set this script with a gps and mappoint 06 and all run done, but mappoint don't center the current position on the map (the icon of the car go out from the screen) if i set the CentreVehicle const to 0, 1 or more. If i set -1 or less, the program center me on the map, but zoom out to unacceptable view every second. I search on the forum but i found nothing.
Can i do?
Thanks (and sorry for my english)

By(t)e

The script is probably looking for a True or False in VB
True = -1
False = 0

Don't know about the zoom that may be a setting in your mapping program to zoom out to a certain extent to show position.
__________________
It's not Intelligent Design, it's peer pressure.

┌──────────────────────────────┐
NS Icons Explained|et hoc genus omne
└──────────────────────────────┘
beakmyn is offline   Reply With Quote
Old 02-27-2007   #115 (permalink)
reuanah
Registered Member
 
Join Date: Feb 2007
Posts: 1
MapPoint '06 Not Plotting

Greetings, I'm having a problem with Mappoint not plotting anything.

Using DeLorme BT-20, MapPoint 2006 US, and NS 0.4.0.

After configuring my GPS and enabling the UseMappoint variable in the settings VBScript, launching NS will auto-launch Mappoint fine but no WAPs are plotted and Last Location shows as the default Deer Park TX.

My coordinates are showing up in the status bar of NS, and for each discovered WAP so I believe my GPS is functioning properly.

Any ideas?

Thanks in advance.
reuanah is offline   Reply With Quote
Old 03-04-2007   #116 (permalink)
julakali
Registered Member
 
Join Date: Mar 2007
Posts: 2
Same Problem here.
No Waypoints in Mappoint 2004, although it is automatically started an i can't see any errors.
julakali is offline   Reply With Quote
Old 03-05-2007   #117 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Question to those with MapPoint: Do either of the 2006 versions work for waypoints or centering? You should be able to swap ns04mappoint.vbs 20060629 vs 2007 with the following exceptions:
  • Add or remove the BestSNR parameter to the OnScanCompleteMappoint subroutine.
  • Add or remove the Distance function.
Let me know what you find, and I'll try to dig further. Also, please enable track drawing (WriteTrack) and crumb trails (DropCrumbs), let me know if those work.


beakmyn: CentreVehicle is defined in ns04settings.vbs as:
Quote:
'0 = never, 1 = always, >1 = within square (half side), <0 = within circle (radius)
I find it a bit shocking that VB has looser syntax than VBscript. Skipping the endif! Or is that "end if" (as VBscript uses)?
__________________
For quickest response, catch me on IRC: #wigle
goldfndr is offline   Reply With Quote
Old 03-20-2007   #118 (permalink)
mr0815
Registered Member
 
Join Date: Sep 2005
Posts: 2
Hi.
I used an older version for a few month. It works quite well.
Now I installed the latest version hoping to solve a prob.
I live in a town with several tram routes. I used scanning by driving tram.
Now I want to build the routes in mappoint by dropping dots.
Is it possible to change the colour of the dots? I plan to set route 1 with red dots, route 2 with blue, and so on.
At the end i wanted to have several routes in mappoint each in a several colour.

ps: 5 minutes ago I tested the latest version. Im using a Navilock 202 and Mappoint 2004. Im living in germany but the new script sets my GPS destination to houston, texas.
The old script sets the right destination, either mappoint itself. I set NMEA as GPS protocol. Whats wrong?

thanks

Last edited by mr0815 : 03-22-2007 at 10:13 AM.
mr0815 is offline   Reply With Quote
Old 04-03-2007   #119 (permalink)
eureka
Registered Member
 
Join Date: Apr 2007
Posts: 1
Hi there, First of all ive got some odd behavior to report but i still love the script =)

First off. I got the scripts working but oddly i have to "start" the settings file before the "master" file to get it to plot on the map at all. Otherwise it dosnt seem to know whats going on.

Second. I keep getting an odd error, it dosnt seem to be too consistant, sometimes i get it every 2 sec. others it might be 5 min but either way it crashes the script and everything has to be restarted. Heres the message from the popup.

---------------------------
An Error was reported in your script.

Microsoft VBScript runtime error.
Wrong number of arguments or invalid property assignment: "DegDirection"
Line:1 Char:1
SCode 800A01C2

Heres some info about my setup.
Windows xp pro sp2 + all updates & all .net
Newest windows build of NS
Microsoft Mappoint 2004
Orinoco Gold Wireless network card
Mouse High sensitivity low power GPS.

And what i believe is the newest version of your script on the front page.
Well, like i said it seems all is going well, the voice is telling me the different aps and their status and then just out of nowhere it dies and errors out with that message. I have to close mappoint then restart the script, though the error will just come up again in a few min.

Thanks, other than that seems to be great =)
HB

Oh yeah, if you want somewhere to host your stuff i would be happy to give you a subdomain on my server to host it all? If your interested email me eureka {}at{} fusionnetwork.us
eureka is offline   Reply With Quote
Old 04-06-2007   #120 (permalink)
andbad
Registered Member
 
Join Date: Feb 2007
Posts: 3
Quote:
Originally Posted by goldfndr
Question to those with MapPoint: Do either of the 2006 versions work for waypoints or centering? You should be able to swap ns04mappoint.vbs 20060629 vs 2007 with the following exceptions:
  • Add or remove the BestSNR parameter to the OnScanCompleteMappoint subroutine.
  • Add or remove the Distance function.
Let me know what you find, and I'll try to dig further. Also, please enable track drawing (WriteTrack) and crumb trails (DropCrumbs), let me know if those work.
what do you mean for "add or remove distance function"?
Must I remove from this line:

ElseIf Distance(crumbLat, crumbLon, NowLat, NowLon) > CrumbGap Then

And i must to change BestSNR with a fix number?

Thanks a lot.

By(t)e
andbad 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 06:16 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.