Commit Graph

392 Commits

Author SHA1 Message Date
Mike Primm
627cef720c Towny fixes - multiple areas on multiple worlds per town 2011-08-24 22:11:31 -05:00
Mike Primm
da32c2f0bd Add server-side generation of faces : fixes face accessory issues, IE8 2011-08-24 00:51:54 -05:00
Mike Primm
074952265f Add customstyle settings for per-region style, nation style for Towny, lots for Residence 2011-08-22 22:16:38 -05:00
Mike Primm
75d7068fbf Fix regionstyle attributes for region outlines and fill 2011-08-22 10:31:27 -05:00
Mike Primm
d349a76660 First pass of Towny region support 2011-08-22 01:17:28 -05:00
Mike Primm
82b0f2c4cd Fix naming on Residence regions, make infowindow setting control popup content again 2011-08-21 15:57:21 -05:00
Mike Primm
55dc6397e1 Fix logic on scroll buttons 2011-08-17 01:00:32 +08:00
Mike Primm
4616f6a5be Fix window resize exception - Leaflet expects 'map' at top level... 2011-08-16 08:08:59 +08:00
Mike Primm
c9494a312d Fix exception if initial update has stale logoff for player+chat 2011-08-15 21:10:44 +08:00
Mike Primm
5b7ad0f4c9 Fix IE exceptions from debug code, canvas calls 2011-08-15 10:10:08 +08:00
Mike Primm
1aa3d07e6a Fix break in namedTile during integrate of updated Leaflet 2011-08-15 04:49:42 +08:00
Mike Primm
042544f22e Reapply updated Leaflet patch 2011-08-14 14:59:53 +08:00
Mike Primm
9f4df9a76e Switch to using continuousWorld option in newer Leaflet - saves on override 2011-08-14 13:12:58 +08:00
Mike Primm
0bc760230f Update Leaflet (lots of fixes) 2011-08-14 13:12:58 +08:00
Mike Primm
d008548306 Add support for JPEG encoding option for HDMaps 2011-08-12 14:48:52 +08:00
Mike Primm
6616b3eae5 Add poly2d region support back to WorldGuard 2011-08-10 20:47:14 -05:00
Mike Primm
a5e3f36d97 Fix IE8 - missing indexOf(), if you can believe that.... fix is per
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/IndexOf
2011-08-10 18:07:59 -05:00
FrozenCow
f5f9c3bb31 Use shift, not pop, for queue. 2011-08-10 23:32:33 +02:00
FrozenCow
91b9b456b5 Added tile queueing. 2011-08-10 22:39:57 +02:00
FrozenCow
fdbce8df36 Only handle cuboid regions. 2011-08-10 15:14:48 +02:00
Mike Primm
c865ecb673 Remove default leaflet attribute 2011-08-03 21:33:53 -05:00
Mike Primm
132bfc539b Handle Leaflet freak-out on removed layers during tile load, clean up panning 2011-08-03 21:14:15 -05:00
Mike Primm
bffc56dd20 Fix blit back to original - stop fuzzy webkit browsers 2011-08-03 13:18:53 -05:00
Mike Primm
64bd846115 Fix map center consistency on map changes 2011-08-03 10:21:29 -05:00
Mike Primm
1d0b28c069 Fix defaultzoom: 0 not working 2011-08-03 08:13:59 -05:00
Mike Primm
091752aaae Drop accessory face overlay - hardly seems used and causes white faces 2011-08-03 00:40:53 -05:00
Mike Primm
ee790f86ed Fix marker position logic and zoom range calculation on Kzed and Flat 2011-08-02 21:51:00 -05:00
Mike Primm
257b1c37f1 Fix zoom on KzedMap when bigworld=false 2011-08-02 16:10:04 -05:00
Mike Primm
40e2b1eb4d Fix bigworld on kzed and flat 2011-08-02 10:48:04 -05:00
Mike Primm
e08a2d4407 Fix background color support, provide blank tile to fix refresh junk 2011-08-02 00:07:17 -05:00
Mike Primm
0bbcf6510e Make IE sane 2011-08-01 23:21:36 -05:00
Mike Primm
37c9d4b9cd Update leaflet 2011-08-01 21:03:43 -05:00
Mike Primm
17af53ee1f Band-aid playermarkers on IE8 2011-08-01 18:31:04 -05:00
Mike Primm
2fa68b2992 Force z-order for map to prevent components winding up behind it 2011-08-01 09:11:58 -05:00
FrozenCow
05f09f7bb4 Fixed image of popup close button. 2011-07-31 22:24:28 +02:00
Mike Primm
95c9520cc9 Clean up player marker transitions to/from visible map 2011-07-31 12:41:01 -05:00
Mike Primm
29e42137c9 Fix autopan on chatbaloons - can be off now :) 2011-07-29 14:28:29 -05:00
mikeprimm
181e3dccbd Merge pull request #345 from mikeprimm/master
Fix nesting on residence subzones
2011-07-29 08:32:09 -07:00
Mike Primm
95128df6b9 Fix nesting - iterating over areas versus residences 2011-07-29 10:30:59 -05:00
FrozenCow
5bf8010bbb Fixed styling and owner/member texts of regions. 2011-07-29 17:16:27 +02:00
Mike Primm
47194defca Add support for Subzones (1 tier) 2011-07-29 09:50:50 -05:00
Mike Primm
4824388c6b Update zoom range to match selected map 2011-07-28 23:51:53 -05:00
Mike Primm
6d66d45d43 Fix compass with new UI 2011-07-28 00:43:13 -05:00
Mike Primm
d483eb1e6f Fix Residence support in updated UI 2011-07-27 22:42:55 -05:00
Mike Primm
08192df906 Various map update fixes (keeping zoom, center on map change, repaint) 2011-07-27 21:27:35 -05:00
FrozenCow
5aa961388d Removed unnecessary !important from css. 2011-07-27 19:49:43 +02:00
FrozenCow
bea269e8df Fixed zoomin/out icons again. 2011-07-27 19:34:42 +02:00
FrozenCow
0abc944c6e Added logo-component. 2011-07-27 18:51:26 +02:00
FrozenCow
e90087390a Fixed flatmap. 2011-07-27 17:07:28 +02:00
FrozenCow
ce00242253 Made use of mapzoomout+mapzoomin on all maptypes + simplified the client code of the individual maps. 2011-07-27 16:49:49 +02:00
FrozenCow
4f75bf691a Fixed nightday and making use of options.mapzoomin and options.mapzoomout. 2011-07-27 16:49:49 +02:00
FrozenCow
9f19ccf50c Removed old comments. 2011-07-27 16:49:49 +02:00
FrozenCow
2242c0643b Added/upgraded jquery as a local file and moved js and css to their directories. 2011-07-27 16:49:49 +02:00
FrozenCow
31b849683a Upgraded leaflet to latest version. 2011-07-27 16:49:48 +02:00
FrozenCow
5a5fa147d3 Removed some debug messages. 2011-07-27 16:49:48 +02:00
FrozenCow
b944b3b729 Fixed previous maptype/layer being visible in the background. 2011-07-27 16:49:48 +02:00
FrozenCow
90acf73976 Added regions-compatiblity with old configuration. 2011-07-27 16:49:48 +02:00
FrozenCow
51457464c2 Made zoom-in/out for changing tilesizes look better. 2011-07-27 16:49:48 +02:00
FrozenCow
369317ea45 Added styling to regions (thereby also changing the configuration a bit, editing HTML in configuration is not possible anymore) 2011-07-27 16:49:48 +02:00
FrozenCow
0fb56c95bb Reworked Residence to work with Leaflet (and new regions-structure). 2011-07-27 15:50:08 +02:00
FrozenCow
fd542d2b33 Fixed chatballoons for Leaflet. 2011-07-27 15:39:22 +02:00
FrozenCow
8ba8bcfc59 Added worldguard support for Leaflet. 2011-07-27 15:39:22 +02:00
FrozenCow
48683b972a Removed comment. 2011-07-27 15:39:22 +02:00
FrozenCow
eaf6ecde26 Fixed tabs. 2011-07-27 15:39:22 +02:00
FrozenCow
cce30da6be Removed old commented code. 2011-07-27 15:39:22 +02:00
FrozenCow
fc3c5be36c Removed debug. 2011-07-27 15:39:22 +02:00
FrozenCow
8b40a9761b Fixed hdmap tiling and LocationToLatLng 2011-07-27 15:39:22 +02:00
FrozenCow
674b92003c Added (proper) initial Leaflet support. 2011-07-27 15:39:22 +02:00
Mike Primm
c135a669a8 Add updated Residence support (2.3.z) 2011-07-26 23:07:20 -05:00
Mike Primm
e1160f623f Add retry count to updates request - don't show red until 3rd miss 2011-07-26 16:24:04 -05:00
Mike Primm
5a9c28ae27 Add support for 'defaultmap' setting in configuration.txt 2011-07-25 21:16:42 -05:00
Mike Primm
5ad9d7bf90 Add smallplayerfaces option for playermarkers component 2011-07-22 02:34:35 -05:00
Mike Primm
a878ce7cd1 Improve progress messages, make sure HDMaps that share render only render once 2011-07-22 01:42:10 -05:00
Mike Primm
559f251d50 Add mapzoomin attribute, to adjust zoom in levels beyond native tile resolution 2011-07-21 23:25:59 -05:00
Mike Primm
ee3f07c6cd Add support for compass rose in all 8 cardinal directions 2011-07-21 02:50:29 -05:00
Mike Primm
eb87231926 Fix scroll buttons in player list 2011-07-13 16:05:08 -05:00
Mike Primm
c5c699ae61 Fix worldtomap conversion 2011-07-10 23:12:24 -05:00
Mike Primm
874bf9da8d Fix marker/player world-to-map coordinate transform in hdmap.js 2011-07-09 18:04:42 -05:00
Mike Primm
02329673b2 Add adaptive zoomout levels for HDMaps, change zoomout processing to handle it properly 2011-07-09 17:01:40 -05:00
Mike Primm
898f4a6740 Handle bigmap versus bigworld, allows HDMap to be big-map-style independent of bigworld setting. Add bigmap setting on KzedMap and FlatMap too. 2011-07-09 15:51:32 -05:00
Mike Primm
225b348154 Get day/night workding with HDMap 2011-07-05 23:24:25 -05:00
Mike Primm
961eb17536 Fix zoom-out coordinate consistency on HDMaps 2011-07-04 10:18:05 -05:00
Mike Primm
630759c87b HD renderer prototype 2011-07-04 09:28:06 -05:00
Mike Primm
faceab68f1 Fix WorldGuard regions support to include WG5 polygon support 2011-06-29 00:43:39 -05:00
Mike Primm
edf898ae1a Fix "center" processing - broke it with URL args change :< 2011-06-27 20:38:26 -05:00
Mike Primm
752a076236 Add default icon for Biome maps 2011-06-26 22:36:17 -05:00
Mike Primm
3720c2adf7 Add support for URL-based parameter to override initial world, map, zoom, and center coordinate settings 2011-06-26 22:05:43 -05:00
Mike Primm
d63db655d8 More tuning on zoom-out, fix zoomout on bigworld on iso-maps 2011-06-24 02:46:16 -05:00
Mike Primm
f722c6fdc8 Finish zoom out on normal and 'bigworld' mode, fix marker coordinates 2011-06-23 00:53:56 -05:00
Mike Primm
8e102446fe First pass UI support for extra zoom out levels 2011-06-22 16:43:41 -05:00
Mike Primm
bec1108fa1 Settable zoom out code - incomplete prototype 2011-06-22 08:27:21 -05:00
mikeprimm
095f7b5338 Make IE happy (or, at least, suck much less) by providing a valid background color! 2011-06-15 11:45:59 -07:00
mikeprimm
8b730dc543 Merge pull request #215 from mikeprimm/master
Prevent chat balloons being shown when speaking player is not on currently shown world
2011-06-14 15:59:15 -07:00
Mike Primm
dc74901638 Clean up linefeed changes... 2011-06-14 17:57:51 -05:00
Mike Primm
0cf7b4be9b Add alternate directory structure to better support huge worlds 2011-06-13 21:43:02 -05:00
FrozenCow
b19d8f8745 Fixed urls for php and aspx proxies. 2011-06-13 23:37:35 +02:00
Mike Primm
f802c1d889 Prevent broken JSON when http://jsonip.appspot.com/ is over quote or
broken.
2011-06-12 21:33:36 -07:00
Mike Primm
397f97800c Add image for default skylands surface map 2011-06-12 17:36:06 -07:00
zeeZ
274cddd9ff Don't wrap whitespace in player names 2011-06-08 22:49:35 +08:00
Mike Primm
867c31573e Remove icon position flicker on first load/player add 2011-06-03 09:51:41 -05:00
Mike Primm
38163133cb Have per-world control of sending player position and health, prevent
player icon flicker on addplayer (even when not on world or position
is obfuscated)
2011-06-03 08:42:24 -05:00
Mike Primm
6a50b2ebcd Add background color support per map, add skylands template default 2011-06-03 03:24:21 -05:00
Mike Primm
2d0b2ef63d Hide player positions when on disabled worlds, add sendposition flat
to ClientComponent to avoid leaking position data, even when markers
are off, fix problem with stale player marker positions during/right
after map changes
2011-06-03 00:39:21 -05:00
Mike Primm
18896eeac0 Fix web to server chat on standalone - make chat.js use config.sendmessage 2011-06-02 15:41:09 -05:00
Mike Primm
7f662b2b1a Properly stringify chat input, so that we wind up with value JSON (doublequote, and others) 2011-06-02 15:15:46 -05:00
Mike Primm
d0e66d7e35 Replace "?0" with "?<currentmilliseconds" on default tile URLs to fix browser cache issues between reloads 2011-06-02 13:14:38 -05:00
Mike Primm
4b30fff8a7 Add meta tags for Apple mobile devices - full screen layout works nice 2011-05-30 11:05:21 -05:00
Mike Primm
09e1ebc972 Add 'sidebaropened' option to auto-pin sidebar 2011-05-30 09:56:10 -05:00
Mike Primm
c00bd077cb Add support in web UI for automatic day/night cycle when night-and-day
set for a given map.
2011-05-29 17:24:46 -05:00
FrozenCow
e4e0d68537 Formatted config.js. 2011-05-26 14:16:34 +02:00
FrozenCow
d1a8c40248 Added ability to set each url individually. 2011-05-26 13:54:08 +02:00
Mike Primm
38dd39d75f Fix spacing on player markers to correct health/armor layout 2011-05-25 12:29:21 +08:00
FrozenCow
d44c3620cc Fixed errorous css with Opera (thanks Lycano!) 2011-05-22 22:04:43 +02:00
Mike Primm
fe25cb6a0f Fix player faces when aliases being used, and strip color from player
display names sent to web UI
2011-05-23 03:23:11 +08:00
zeeZ
3fd511a8d1 Added armor (merged from zeeZ). 2011-05-22 16:28:26 +02:00
Mike Primm
06785be5f3 Fixes for alias/nicknames in web UI (esp handling player icons),
HeroChat fixes
2011-05-21 23:58:48 -05:00
Mike Primm
4fb1ddf49a Fix for skins on players with nicknames - send up account name as well
as display name.
2011-05-21 00:59:08 -05:00
zeeZ
6bea667659 Optionally add player health bars to map markers. 2011-05-19 01:53:08 +02:00
zeeZ
c2d596e433 Recenter map only on projection change. 2011-05-19 01:35:09 +02:00
zeeZ
0caa655095 Default zoom in config or 0. 2011-05-17 13:34:54 +02:00
Mike Primm
0ffc825b05 Re-merge the nether render support, and update race condition fixes 2011-05-14 23:25:59 -05:00
zeeZ
491e88f745 Fixed kzed map scrolling on higher zoom levels 2011-05-14 20:54:10 +08:00
zeeZ
7ff33f04a0 (Optionally) set map center in web config, automagically pan there on map change. 2011-05-14 12:40:59 +02:00
mikeprimm
31584804aa Fix zoom so that markers are placed properly 2011-05-14 12:40:26 +02:00
Mike Primm
1e3ceed5d7 Add zooming to flat map (why not? :) ) 2011-05-13 10:59:06 +02:00
zeeZ
619485212d First iteration of weather icons 2011-05-10 12:51:52 +02:00
FrozenCow
b66be7a47c Merge remote-tracking branch 'kilandor/master' 2011-05-07 00:04:05 +02:00
FrozenCow
c4e1362274 Added another way to specify configuration file. 2011-05-06 23:18:46 +02:00
zeeZ
5f32f8fb99 Added Google Maps API version selection to fix map changes 2011-04-28 16:58:30 +02:00
Jason Booth
b3ccd203c8 Added some info
Fix for spam warning for php(Thanks for bug report flames)
2011-04-13 20:23:24 -05:00
Jason Booth
8e59f37995 Initial Support for Regions system on dynmap
Included Worldguard support(default)
Also residence support(incomplete)
2011-04-13 19:58:25 -05:00
zeeZ
8d5f081cdf Compass style based on map type. Hacky because widgets have classes, not IDs 2011-04-09 08:24:52 +02:00
zeeZ
553a956949 Flipped flat map so North is up 2011-04-08 21:40:16 +02:00
FrozenCow
d53b3bc340 Added HighlightTileRenderer (thanks in part to rockNme2349) 2011-04-07 15:46:50 +02:00
FrozenCow
ad33ef79d9 Fixed up.php. 2011-04-05 23:25:11 +02:00
FrozenCow
b47bbee4e8 Cleaned up join/quit messages (not being send as chat messages) 2011-04-05 22:58:46 +02:00
FrozenCow
e1e13df4b2 Removed redundant configuration values and made use of customizable join/quit messages. 2011-04-05 22:30:43 +02:00
FrozenCow
445f37475a Added php proxy. 2011-04-03 17:15:19 +02:00
FrozenCow
0dca8d9cfe Fixed a incompatiblity with FF3 (and others). 2011-04-02 00:52:24 +02:00
FrozenCow
060f4641d4 Added option for digital clock to timeofday. 2011-03-31 16:00:47 +02:00
FrozenCow
f93eb8dcbc Changed clocks to be components. 2011-03-31 15:53:42 +02:00
FrozenCow
1cda538eef Dynamically load javascript files of components. 2011-03-31 13:06:34 +02:00
FrozenCow
6622db1b2c Simplified component-creation, dropping IE8 compatibility. 2011-03-31 12:54:32 +02:00
FrozenCow
6eface57ae Separated playermarkers to a component. 2011-03-31 12:44:42 +02:00
FrozenCow
7464e5b809 Separated chatbox to a separate component (into different files). 2011-03-31 12:32:27 +02:00
FrozenCow
9a09cace54 Separated chat-balloon-code to a component. 2011-03-29 23:42:56 +02:00
FrozenCow
0b421209a2 Small fix for invalid http response of updates. 2011-03-29 01:16:52 +02:00
John Du Hart
064f911f5a Mised the maps API URL 2011-03-26 00:15:54 +01:00
John Du Hart
3c094ec87d Implemented protocol-relative URLs (this is tested) 2011-03-24 18:32:43 +01:00
FrozenCow
2be0cd3671 Added initial work for 'componentizing' client-side. 2011-03-21 20:46:53 +01:00