JavaScript pages

We will be glad to answer your questions, and we will appreciate any suggestion for this forum.

Postby Finnster » Thu Nov 19, 2009 3:04 pm

Hi, one last question. When using the street scanner, I enter the co-ordinates and it starts to scan but it never seems to leave the starting set of co-ordinates. It just scans the same area over and over and doesnt find any streets. I'm sure Im doing something wrong, just dont know what.

thanks

Finnster
 
Posts: 4
Joined: Thu Nov 12, 2009 1:15 pm

Postby Cloudberry » Thu Nov 19, 2009 6:00 pm

Finnster wrote:Hi, one last question. When using the street scanner, I enter the co-ordinates and it starts to scan but it never seems to leave the starting set of co-ordinates. It just scans the same area over and over and doesnt find any streets. I'm sure Im doing something wrong, just dont know what.

There are two street scanners, a simple single scan on the page Get Streets and a complex area scanner on the page Search Streets.

You want to use Search Streets. To use it you must enter at least a start point and a stop point. They should be a lot more than 100,000 steps apart (one search area is 100,000 x 100,000). For example:

Start lower left lng/lat: -740000000/407000000
Stop upper right lng/lat: -739000000/408000000

This example will (at least now) find:

Thu, 19 Nov 2009 17:56:52 UTC Current search lng/lat: -740000000/407000000
$000,000,132,000 -739051785/407145195 "60th Ct"
$000,000,150,000 -739099790/407124250 "Amory Ct"
$000,000,155,000 -738940645/407115920 "65th Ln"
$000,001,363,000 -738930567/407115032 "65th Pl"
$000,001,691,000 -738962406/407198440 "65th St"
$000,000,253,000 -739542693/407245987 "Dobbin St"
$000,000,212,000 -739461738/407209863 "Newton St"
$000,000,100,000 -739312134/407289388 "Meeker Avenue Exit"
$000,000,169,000 -739242543/407273100 "Clinton Ave"
$000,000,258,000 -739161963/407279488 "55th Rd"
$000,000,129,000 -739132267/407229387 "57th Pl"
$000,000,203,000 -739187885/407237805 "Galasso Pl"
$000,000,490,000 -739103252/407288023 "Judge St"
$000,000,118,000 -739038710/407299463 "53rd Dr"
$000,000,123,000 -739094560/407235660 "Melvina Pl"
$000,000,132,000 -739038245/407260832 "Pedestrian Ovps"
$000,001,350,000 -738993024/407264107 "62nd St"
$000,001,226,000 -738958751/407209366 "66th St"
$000,000,218,000 -738953321/407238020 "Brown Pl"
$000,000,132,000 -739386040/407478600 "Orchard St"
$000,000,114,000 -739376910/407483855 "West St"
$000,000,145,000 -739522575/407594085 "Road 6"
$000,000,367,000 -738947112/407644195 "68th St"
$000,000,849,000 -738947391/407651530 "74th St"
$000,000,181,000 -739262400/407732390 "26th Rd"
$000,000,599,000 -739133148/407786515 "26th St"
$000,001,047,000 -739143271/407786735 "Ditmars Blvd"
$000,000,150,000 -739951767/407973847 "Cove Ln"
$000,000,172,000 -739942942/407965496 "Riverview Cir"
$000,000,122,000 -739940925/408056525 "Albert Pl"
$000,000,100,000 -739970620/408081010 "Baar Pl"
$000,000,200,000 -739954150/408007385 "Bergen Ridge Rd"
$000,000,370,000 -739959628/408013730 "Columbia Ter"
$000,000,118,000 -739995670/408089343 "Heindel Ave"
$000,000,100,000 -739991495/408092180 "Heindel Pl"
$000,000,141,000 -739966295/408057065 "Hillcrest Rd"
$000,000,170,000 -739957363/408058383 "Marks Pl"
$000,000,180,000 -739929740/408087516 "Pine St"
$000,000,100,000 -739941490/408059645 "Short Pl"
$000,000,156,000 -739900575/408097471 "Thompson Ln"
$000,000,205,000 -739955783/408042083 "Wall St"
$000,000,100,000 -739829930/408082377 "Adams Ct"
$000,000,100,000 -739859945/408097054 "Hancock Ct"
$000,000,100,000 -739827838/408085117 "Jefferson Ct"
$000,000,100,000 -739843677/408091076 "Nelson Ct"
$000,000,100,000 -739836301/408088193 "Penn Ct"
$000,000,100,000 -739838205/408085828 "Rutledge Ct"
$000,000,100,000 -739845447/408088386 "Smith Ct"
$000,000,100,000 -739853882/408091350 "Stockton Ct"
$000,000,100,000 -739862050/408094040 "Thorton Ct"
Search completed, restarting script...
User avatar
Cloudberry
 
Posts: 39
Joined: Thu Oct 08, 2009 7:24 am

Postby Finnster » Fri Nov 20, 2009 1:17 pm

Once again Cloudberry, thanks!

I will give this one a shot.

much appreciated.
Finnster
 
Posts: 4
Joined: Thu Nov 12, 2009 1:15 pm

Postby Cloudberry » Sat Nov 21, 2009 10:55 am

New version #0015 of the Cloudberry MCS JavaScript pages:

http://cloudberry.byethost11.com/mcs/

Only one major change in version #0015: I added the page Public Info, that will show info about other players, their streets, income, taxes, etc.

Exemple output for user FLR7, currently number 7 on the Global Leaderboard (I do not know him/her, just a good example for this script of an already public known player):

Nickname: flr7
Level: 6
Location: Cu00f4te-d'Or, Bourgogne, France
Score: $1,585,439,394,000
Money: $327,376,756,000
Number of streets: 14
Income if no hazards: $76,245,688,000
Income due to hazards: $70,659,932,000
Tax: $19,077,911,000 (27%)
Net income: $51,582,021,000

Street #1: 283282290/528821225 "u042055"
Length: 2092 (est. no. "Sky High Tower" loc.)
Value: $120,865,548,000 ($81,398,000 street only)
Rent: $7,589,139,000 ($8,139,000 street only)
Bank sell payment: $60,432,774,000
Offers: 0
Residential: 1902
Bonus: 0
Hazard: 0
If sold gross income: $63,070,793,000
If sold tax: $15,136,750,000 (24%)
If sold net income: $47,934,043,000 (keep street or lose $3,647,978,000)
6 - Green House: 38
7 - City Centre Cottage: 6
11 - Nova Tower Block: 5
12 - Polyhedron Plaza: 10
13 - The Grid Building: 4
15 - Nori Place: 2
33 - Spiral Luxe: 14
20 - Opaque Overlook: 36
34 - Revolving Restaurant: 190
28 - Brouette Tower: 36
29 - Blemith Centre: 13
30 - Graduating Megastructure: 255
31 - Sky High Tower: 134
35 - Stairway To The Future: 207
32 - Monopoly Tower: 952
...cut...
User avatar
Cloudberry
 
Posts: 39
Joined: Thu Oct 08, 2009 7:24 am

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron