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 01-26-2003   #1 (permalink)
MrEcho
Registered Member
 
Join Date: Jan 2003
Posts: 28
Ns1/summary to text file MP2k2 can read

Ive made a java file that will convert the summary of a NS1 file to a text file that MapPoint 2002 can inport and map out your AP's.

It does: Latitude, Longitude, SSID, MAC, WEP

just type: java nsmp (not nsmp.class) -h
on how to use it.
It will also tell you what to do after the out.txt file is made.

Also .. delete the out.txt file before making a new one or it will just add it to the out.txt file thats already there.

Just post your questions here about it.

http://www.thenidus.net/Local_Map.gif

The files

Last edited by MrEcho : 01-27-2003 at 11:43 AM.
MrEcho is offline   Reply With Quote
Old 01-27-2003   #2 (permalink)
MrEcho
Registered Member
 
Join Date: Jan 2003
Posts: 28
Has anyone tested it yet?
Any weird errors? or things you would like to see added?
MrEcho is offline   Reply With Quote
Old 01-27-2003   #3 (permalink)
CompWerks
Registered Member
 
CompWerks's Avatar
 
Join Date: Jan 2003
Posts: 3
Just gave it a shot and I have a .ns1 file with ap's and gps data but your java app is saying there is no ap's with gps data and now I'm getting an array index out of bounds error on the same file.
CompWerks is offline   Reply With Quote
Old 01-27-2003   #4 (permalink)
MrEcho
Registered Member
 
Join Date: Jan 2003
Posts: 28
It says to use the Summary of the NS1 file.... not the NS1 file it self.
MrEcho is offline   Reply With Quote
Old 01-28-2003   #5 (permalink)
CompWerks
Registered Member
 
CompWerks's Avatar
 
Join Date: Jan 2003
Posts: 3
Sorry - didn't notice that.

Looks like it's working now.
CompWerks is offline   Reply With Quote
Old 03-27-2003   #6 (permalink)
lala
Registered Member
 
Join Date: Sep 2002
Posts: 5
from your Java thing i did a PHP thing to convert you line in to one that works in oziexplorer and waypoint +

(where in is the out from the java thingie)
Code:
<?

$filename = $SCRIPT_PATH . "/in.txt";
$text = file("$filename"); 
while(list($linenum,$data) = each($text)) { 
if($datas = explode(",",$data)) { 

$linenumb = $linenum+1;
echo "<small><small>In data_________";
echo "$datas[0]  $datas[1]  $datas[2]  $datas[3]  $datas[4]  "; 

$filenameout = $SCRIPT_PATH . "/out.txt";
$fp = fopen ("$filenameout","a+"); 
$out1 =  "WP";
$commer =  ",";
$out3 =  "D";
$date = "";
$time = "";



$content =  "$out1$commer$out3$commer  $datas[2] $commer $datas[0]$commer $datas[1]$commer $date $commer $time $commer $datas[2]\r\n" ;
fwrite ($fp, $content); 
fclose ($fp);
echo "<br><i>Out Data________";
echo $content ;
echo "<br></i>";
} else { 
echo "ERROR doing SOMETHING :( "; 
} 
} 
?>
lala is offline   Reply With Quote
Old 03-28-2003   #7 (permalink)
MrEcho
Registered Member
 
Join Date: Jan 2003
Posts: 28
Nice work.
I thought about doing it in PHP also .. but I was over at a friends house when I made that java code

Java and WarDriving on the same laptop ... damm I love laptops.
__________________
My local area: http://www.thenidus.net/Local_Map.gif
MrEcho is offline   Reply With Quote
Old 06-09-2003   #8 (permalink)
O'Neill
Registered Member
 
O'Neill's Avatar
 
Join Date: Jun 2003
Posts: 2
I made a little program myself as well. Its writen in VB and the only thing you have to do is drag a TXT-summary file on the executable and drop it there. It will generate a WarDrive.txt file in the directory where the executable is located.

You can link MapPoint Data-set to this file. The only thing you have to do after updating the WarDrive.txt (by dropping a new summary file on the executable) is update the recordset in MapPoint. It works great.

Click here to download.
O'Neill is offline   Reply With Quote
Old 06-09-2003   #9 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,002
O'Neill, why did you duplicate a known program? The idea is a good one, but you're almost two years behind Mother's Stumbverter.

Before you spend more time on what be a wasted wasted effort, and duplicate any other existing programs, I'd suggest you read the FAQ thread. All the converters are listed there. I'll add your's to the list.
__________________
Thorn
Sex and Violence. You can't enjoy one, if you don't survive the other. (And that works both ways...)
Thorn is offline   Reply With Quote
Old 06-10-2003   #10 (permalink)
O'Neill
Registered Member
 
O'Neill's Avatar
 
Join Date: Jun 2003
Posts: 2
I made it before I was active in this forum. I made the program and afterwards I thought how to use the scripting in NetStumbler then I come to this forum.

But thanks for the tip.
O'Neill 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 10:53 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.