Jon Atkins
658344a832
additional message asking users to direct their 'show more portals' issues towards niantic
2015-04-04 01:05:30 +01:00
Jon Atkins
2e906b41f0
as well as 9000 and 36000, allow the interbediate 18000 when detecting map tile params
...
this value was live for a short period of time, and they may revert back to it
2015-04-03 22:35:05 +01:00
Jon Atkins
b4f9c3e2fe
add some initialisation for deciding if to use detected tile params or those embedded in the code
...
console warnings when it fails to detect values from stock, or the internal defaults don't match
disable show-more-portals plugin if it would result in more requests - damn niantic!
2015-04-03 21:20:36 +01:00
Jon Atkins
e2cd19a9c3
commit missing MIN_ZOOM
2015-04-03 21:13:49 +01:00
Jon Atkins
3e7724afe6
first pass at changing map tile params for latest site update
2015-04-03 20:50:10 +01:00
Joseph Verburg
c6750a2615
Full mission support, uses proper requests and data to provide a mission interface just like the normal intel map. There are a few extras:
...
- Mark finished/visited waypoints.
- Mark finished missions.
- Allow event hooks :).
- Show portal status(level and health)
2015-04-03 14:12:10 +02:00
imsaguy
f6246f840c
Basic style edits
...
This is just to cleanup the code to follow proper coding styles.
2015-03-31 15:33:11 -05:00
Jon Atkins
5845c37daf
change tile loading delays to zero. stock intel doesn't wait, and the current tile params for further out zooms need a large number of requests, making any delays here add up quickly
2015-03-28 18:32:40 +00:00
Jon Atkins
96190be481
extract TILES_PER_EDGE and ZOOM_TO_LEVEL from stock intel
...
Niantic have been tweaking the values after server overload during Shonin - I expect them to change again...
2015-03-28 18:27:06 +00:00
Jon Atkins
a169176bad
map params adjusted due to server overload of shonin anomaly
2015-03-28 16:27:48 +00:00
Jon Atkins
e7a136ec04
bump version after release
2015-03-20 23:33:11 +00:00
Jon Atkins
7e7622584d
website: update for 0.22.1 release
2015-03-20 21:33:15 +00:00
Jon Atkins
5e8ddb2344
move portal entity array decoding into one place, and share the code for the common array elements
...
TODO: move link and field entities into here too
2015-03-20 20:54:44 +00:00
Jon Atkins
5298c98fdd
minor api change for chat callbacks, and plugins fixed to use the new changes
...
(which broke after today's niantic site update anyway)
2015-03-20 20:53:45 +00:00
fkloft
d98546a173
fix chat after intel change
2015-03-20 21:30:52 +01:00
Jon Atkins
c5b068eda1
ignore portals returned in the map data that are below the portal level requested
...
this shouldn't be needed - the stock intel map completely ignores these so they shouldn't be returned - but since niantic added mission portals to the map they bypass all portal level filtering code, for some reason
2015-03-12 21:33:22 +00:00
Jon Atkins
522ef34f77
earth radius: change leaflet and leaflet-draw to use the radius value used by the s2 geometry library
...
this library is used in the ingress backend, so distance calculation, etc are far closer if we use the value from that
2015-03-12 20:47:05 +00:00
Jon Atkins
1dae89b4bc
mission plugin: initial basic highlighter
...
debug highlighter: remove unknown_10/11 highlighters - not needed any more
2015-03-12 20:26:53 +00:00
Jon Atkins
2f67616c5d
unknown_10/11 flags - renamed to the mission status they represent
2015-03-12 20:26:15 +00:00
Jon Atkins
d96ee8de50
distance-to-portal: fix case where current location is not set
2015-03-09 00:04:55 +00:00
Jon Atkins
7157eceae3
distance-to-portal plugin: integrate with portals list
2015-03-09 00:02:29 +00:00
Jon Atkins
052d208783
increase latlng to guid cache size
2015-03-07 16:55:01 +00:00
Jon Atkins
dd9f053ed3
Merge pull request #952 from eidyia/pr-guidCacheHWMbug
...
Eliminate CPU churning on cache highwater check
2015-03-07 16:38:54 +00:00
eidyia
fe19227839
Eliminate CPU churning on cache highwater check
...
On older machines loading high portal dense areas this check is
using 70-90% of CPU in Object.keys(cache).length, leading to
resource starvation, and refresh times up to 10 times longer.
The LRU cache high-water mark is checked every time we receive portal
state from the intel servers to see if we need to do GC. In
my case this peaks out 500-1000 portal adds per second on
an aging laptop with the existing code with chrome-unstable,
and minimal IITC plugins. GC itself (ignoring v8 GC) was only
taking 15ms, amortized to about 15usec a portal.
Unforutnately the Object.keys(cache).length check was taking
2-3ms each portal add, and 70-90% of the main thread was spent
there, grinding older machines to a halt.
I've just added a counter to track adds to the cache, and am
updating it with the real cache size on GC (the two checks
are almost always identical in higher density areas, and
won't lead to performance issues if cache adds are over-
estimated).
Effects:
- pushPortalGuidPositionCache goes from using the majority
of CPU when loading dense areas to almost nothing.
- Older machines can actually view western europe without
grinding the browser to a halt.
- the cache itself is now hitting GC_LIMIT in less than
100ms on my old laptop. (I think increasing GC_LIMIT
to 80,000 and GC_KEEP to 40,000 is going to put less
load on the Javascript engine GC, and have the cache
be useful still, but I left that out of the PR as it's
slightly more subjective)
- v8's GC is being slammed slightly less often than normal
(it's still thrashing, but this isn't the main culprit)
The patch has been tested by about half a dozen people
using different blends of IITC plugins on both Chrome,
Firefox and across different OSs and with very different
hardware. Reports ranged from minor to (more often) huge
improvements in load speed and responsiveness in high
density areas.
2015-03-08 03:01:54 +11:00
Jon Atkins
b6c89c9575
tooltip tweaks - slightly cleaner this way, i think
2015-03-05 18:56:23 +00:00
Jon Atkins
54a6861aef
code to easily disable botguard, if desired
...
not recommended for general use, but can be good for occasional troubleshooting
2015-03-05 18:55:28 +00:00
Jon Atkins
cabe7692fe
tweaks to shonin shards
2015-03-05 18:54:53 +00:00
Jon Atkins
4336c2b29c
Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
2015-03-05 18:49:14 +00:00
fkloft
e9d6436260
Support shonin shards
...
Fixes #951
2015-03-05 19:38:07 +01:00
Philipp Schaefer
9b530753d3
iitcm: update views on app start
2015-03-04 21:45:52 +01:00
Jon Atkins
55529c938e
indentation, and dead code removal
2015-03-04 01:03:55 +00:00
Jon Atkins
22ef6a62a1
indentation fix
2015-03-04 01:03:30 +00:00
Jon Atkins
3b96ed49ea
radius scaling less extreme - reduced scale increase on mobile, reduced scale decrease when zoomed out
2015-03-03 21:05:42 +00:00
Jon Atkins
ece5dac26f
portal markers: tweaks to the sizes used for different levels
2015-03-03 20:49:49 +00:00
Jon Atkins
58b9d1c7d3
hide ownership plugin: use core IITC function to get style, rather than hard-coding the parameters
2015-03-03 20:24:40 +00:00
Jon Atkins
6148ec4258
should have been local variables - no point in polluting the global namespace
2015-02-28 19:43:02 +00:00
Jon Atkins
5756db7623
oops - change new plugin @id firld
2015-02-28 05:15:16 +00:00
Jon Atkins
ef7640de6a
debug highlighter plugin: a place for experimental/temporary highlighters
...
currently, highlighters for the unknown_10/11 flags recently added to the portal data
2015-02-28 04:47:03 +00:00
Jon Atkins
b42b19b983
player tracker: guess player levels integration: remove special case for L8, as in the earlier commit for guess player levels - this plugin does it's own formatting
2015-02-27 02:03:43 +00:00
Jon Atkins
b42fbe8574
guess-player-levels - remove special case for level 8 - since the new levels, 8 is the min guessed level, not the final level limit
...
of course, given all activity is based on L8 and lower gear, it'll never guess any higher...
2015-02-27 01:14:26 +00:00
Jon Atkins
92bbf1ec15
bump version numbers after release
2015-02-27 01:14:11 +00:00
Jon Atkins
caccfdf642
website: announcement post of new release
2015-02-27 00:50:36 +00:00
Jon Atkins
1afc04b45c
player tracher search - ignore leading @ character, to give reasonable behaviour when used like the old search system
2015-02-27 00:26:50 +00:00
Jon Atkins
2b932d4c69
bump version to 0.22.0 due to major search overhaul in this release
2015-02-27 00:09:28 +00:00
fkloft
dd007c4015
Increase search result font size on mobile
2015-02-27 00:28:51 +01:00
fkloft
189f57afdd
Fix bug with search
...
invalidateOptionsMenu was called way too often because setLoadingState would fire on every console message
2015-02-27 00:28:51 +01:00
Jon Atkins
7be1575e50
also set 'unknown_11' for map data, as well as portal details
2015-02-26 22:32:31 +00:00
fkloft
fb5c38662f
Fix portal details after stock intel change
2015-02-26 22:19:40 +01:00
Jon Atkins
a0e539d6ca
jquery: update to the latest version available on google
2015-02-25 13:34:56 +00:00
Jon Atkins
0ce0a22c1b
Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
2015-02-23 19:18:07 +00:00