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 05-14-2007   #121 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Quote:
Originally Posted by mr0815
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.
Sure. Just change the CrumbSymbol value in ns04settings.vbs. A list of pushpin symbols/values for CrumbSymbol and WEPIcon and NonWEPIcon is available and you can even create your own.

Quote:
Originally Posted by mr0815
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?
You can/should change the place value in ns04settings.vbs from the default of "Deer Park, TX". You really should look through all of the settings, as there may be others that won't fit your desired goals.
__________________
For quickest response, catch me on IRC: #wigle
goldfndr is offline   Reply With Quote
Old 05-14-2007   #122 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Quote:
Originally Posted by eureka
Microsoft VBScript runtime error.
Wrong number of arguments or invalid property assignment: "DegDirection"
Line:1 Char:1
SCode 800A01C2
Thanks for the bug report. My bad -- insufficient (zero?) testing.

In ns04speech.vbs, change line 413 (or so) from:

& strDirection(DegreesToCompass(DegDirection(OldLat, NowLat, OldLon, NowLon),TellDirection))

to:

& strDirection(DegreesToCompass(DegDirection(), TellDirection))

and that will take care of the DegDirection error. The function DegDirection is defined in ns04master.vbs without any parameters.
__________________
For quickest response, catch me on IRC: #wigle

Last edited by goldfndr : 05-14-2007 at 07:26 PM.
goldfndr is offline   Reply With Quote
Old 05-14-2007   #123 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Quote:
Originally Posted by andbad
what do you mean for "add or remove distance function"?
Between the two versions, the Distance function was moved from ns04mappoint.vbs to ns04master.vbs. It needs to be defined exactly once.

Quote:
Originally Posted by andbad
And i must to change BestSNR with a fix number?
Between the two versions, the OnScanCompleteMappoint subroutine in ns04mappoint.vbs changed from

Sub OnScanCompleteMappoint(BestSNR)

to

Sub OnScanCompleteMappoint()

and the call in ns04events.vbs changed from

If UseMappoint then OnScanCompleteMappoint BestSNR

to

If UseMappoint then OnScanCompleteMappoint

because BestSNR was changed from a passed parameter to a global variable. Therefore, any occurences of OnScanCompleteMappoint should have the BestSNR parameter added or removed so that the definition in ns04mappoint.vbs matches the call in ns04events.vbs.


In a nutshell, VBScript doesn't have optional parameters for user-defined subroutines/functions, so one must specify the defined quantity of parameters.
__________________
For quickest response, catch me on IRC: #wigle
goldfndr is offline   Reply With Quote
Old 06-01-2007   #124 (permalink)
Veritas0Aequita
Registered Member
 
Veritas0Aequita's Avatar
 
Join Date: Aug 2006
Location: Shreveport, Louisiana
Posts: 3
Goldfndr,

I started using your Scripts earlier this week and really appreciate all the hard work that has gone into making them. For the past two days, NetStumbler v0.4 and MapPoint 2006 have worked great together while stumbling around town. I did notice the map will not rotate in the direction of travel. So yesterday I changed the settings to use a default map, which was a map from the previous day of stumbling. This worked fine yesterday and was able to see both tracks and showed none of the problems I list below.

However, today while using NS with MapPoint I encountered an odd problem that I have not yet been able to figure out. I start NS from desktop with the external script 20070125.zip starting MapPoint like normal. When MapPoint finishes loading, it does not zoom in correctly to my GPS position every time I load it. When using a default set map, MapPoint will zoom partially to my GPS location, but upon further zooming manually it will go back to where it was initially zoomed to when started. It always zooms out to about 50% on the slider bar showing my set "Place" but centered on my GPS location. I was able to duplicate this every time if either delLastLoc or delLasttrack were set to false 100% of the time. With those two settings set to true it was variable. I also tried with no default map set and would get the same results. The zoom in would still be incorrect and not able to hold manual zoom.

So I decided to uninstall MapPoint, NetStumbler and delete the scripts and restarted. I then reinstalled all three and used 20060629.zip scripts. After editing the settings zoom fails to work at all in MapPoint. At startup I am able to hold the zoom level if manually zoomed in. When using the same default map as before, NS fails to load and locks up yet MapPoint loads with the mouse cursor flickering between a moving hourglass and a normal cursor icon. I am also able to manually zoom to my GPS location during all this and it stays zoomed in.

Other information:
Windows XP Service Pack 2 on a Dell D820 Latitude using an OnCourse BlueTooth-339 GPS with IPW3945ABG network adapter.
Veritas0Aequita is offline   Reply With Quote
Old 06-02-2007   #125 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
The map not rotating in the direction of travel is, I'm pretty sure, standard throughout the history of the scripts. While direction could certainly be calculated (perhaps via the Direction function), I don't know how this is done in MapPoint. I do think it's a great idea, and even said so ("Ideally, rather than centering and slipping back to center, you'd optimize for view ahead." "Figure out direction, then keep the vehicle like 50% to 75% away from margin." "But this requires algorithms."), but alas, a solution eludes me.

With regard to Zoom: the only time the script should be asserting Zoom control is when one stops scanning -- it's the various ZoomTo calls in the OnDisableScanMappoint() subroutine in ns04mappoint.vbs, only one ZoomTo is called. My guess is that the resets of the manual zooming is a side-effect of calling MapPoint through the API rather than as an application. I suggest trying one of the earlier versions of the Master Script (or a predecessor) to see if something broke, but I can't help you if it has always been "broken" (it might be a MapPoint bug).

That said, if the only thing that seems to be broken is zoom, that makes me happy that there's at least one reported success with the other functionality (something I hadn't yet seen with the 2007 version[s]).
__________________
For quickest response, catch me on IRC: #wigle
goldfndr is offline   Reply With Quote
Old 06-17-2007   #126 (permalink)
idomty1337
Registered Member
 
Join Date: Jun 2007
Posts: 2
hello. i am new in this forum and have a question: is there any script that work like that: when i start netstumbler and drive around a voice tell me if netstumbler found a wep network or an open network?
idomty1337 is offline   Reply With Quote
Old 06-17-2007   #127 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 11,532
Quote:
Originally Posted by idomty1337
hello. i am new in this forum and have a question: is there any script that work like that: when i start netstumbler and drive around a voice tell me if netstumbler found a wep network or an open network?
Why would that information be important to you WHILE you're driving?
__________________
"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 06-17-2007   #128 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,816
Quote:
Originally Posted by idomty1337
hello. i am new in this forum and have a question: is there any script that work like that: when i start netstumbler and drive around a voice tell me if netstumbler found a wep network or an open network?
Yep.. Junlygust has returned...

<sarcasm>
How could there be such a thing. That would mean a computer could speak. You think this is Star Trek ? Next you're going to tell us that people will be able to make phonecalls from their cars while driving, or that one day people will walk on the moon.. Ain't going to happen. Ever! It's against nature, the bible, and applied physics.
</sarcasm>

Now go to the first page of this thread, and read from the first message.


Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline   Reply With Quote
Old 06-17-2007   #129 (permalink)
idomty1337
Registered Member
 
Join Date: Jun 2007
Posts: 2
ive found this post

Master script for NetStumbler 0.4

i have tried to edit this like he said but when i try theres no voice.

can someone please help me
idomty1337 is offline   Reply With Quote
Old 06-17-2007   #130 (permalink)
MikeP928
Heeere's your sign!
 
MikeP928's Avatar
 
Join Date: May 2002
Location: Mexico Beach, FL
Posts: 1,156
Quote:
Originally Posted by idomty1337
ive found this post

Master script for NetStumbler 0.4

i have tried to edit this like he said but when i try theres no voice.

can someone please help me
The script will work much better when you find your shift key. Run, don't walk, to the Welcome Desk and read the posts there. Then things will make much more sense. (At least to the rest of us.)

MikeP
__________________
Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote.
-- Benjamin Franklin, 1759
MikeP928 is offline   Reply With Quote
Old 06-19-2007   #131 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Quote:
Originally Posted by idomty1337
Master script for NetStumbler 0.4
i have tried to edit this like he said but when i try theres no voice.
can someone please help me
There's a lot of text in that post. I'll assume you mean item 2, as that's the only item referring to code. That said...

There's no way that that change would block speech. Choose one:
  • You made a typo.
  • You never had speech to begin with, and the change didn't make a difference.
The change simply reduces silence between WAV files by allowing WAV files with spaces, it doesn't add sound or speech. You should revert to a copy from the .ZIP you downloaded and try again.

Assuming you have the scripts installed/configured correctly for voice, you should hear "Speech featuring ___" when they start. In fact, you can run ns04speech.vbs directly at the command line (or maybe double click it) and you should hear that. If you have UseThreading nonzero, you won't hear it until ns04thread.vbs is run; I'd recommend zero (0) for troubleshooting.

Any further assistance requires proper English, as MikeP pointed out.

(I'll bet '1337 muted the sound.)
__________________
For quickest response, catch me on IRC: #wigle
goldfndr is offline   Reply With Quote
Old 11-08-2007   #132 (permalink)
mr0815
Registered Member
 
Join Date: Sep 2005
Posts: 2
thx for the hint goldfndr.

I tried ist ince more. I created my own pushpins, but I am not able to use them in the script.
The script uses internal numbers for the pushpin symbols.
The index posted by you show these internal umbers. Changing the symbols by numbers is not a problem.
I still dont know what do do with my own pushpins. Do they have a number or not an if yes, which number is it.
Im still a bit swamped with this own pushpin thing.

I take some time during the holidays to fix the probs.
mr0815 is offline   Reply With Quote
Old 11-08-2007   #133 (permalink)
MikeP928
Heeere's your sign!
 
MikeP928's Avatar
 
Join Date: May 2002
Location: Mexico Beach, FL
Posts: 1,156
Quote:
Originally Posted by mr0815 View Post
thx for the hint goldfndr.

I tried ist ince more. I created my own pushpins, but I am not able to use them in the script.
The script uses internal numbers for the pushpin symbols.
The index posted by you show these internal umbers. Changing the symbols by numbers is not a problem.
I still dont know what do do with my own pushpins. Do they have a number or not an if yes, which number is it.
Im still a bit swamped with this own pushpin thing.

I take some time during the holidays to fix the probs.
Type much?

Or is mr081564578 just shorthand for mbolglian?

MikeP
__________________
Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote.
-- Benjamin Franklin, 1759
MikeP928 is offline   Reply With Quote
Old 01-24-2008   #134 (permalink)
Philman
Registered Member
 
Join Date: Sep 2004
Posts: 1
I've searched through the forums but I have not been able to find the blue.gif that is in Cicons. Should I just design it myself?

Also install instructions would have been helpful, though I've seem to figure most of it out.

I do however get a database error but I havn't search the forums on that yet

Phil
Philman 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 07:42 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.