.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > Campaigns, Scenarios & Maps
Notices


Reply
 
Thread Tools Display Modes
  #131  
Old December 7th, 2017, 11:06 AM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Default Re: Height Maps

Good news, everyone!

I recently did a change so that whenever you place the grid on the map the URL on your browser location bar changes and is copy/paste compliant. What's even better is that it doesn't break the old url scheme but redirects to the new one.

The URL is now like http://www.venhola.com/maps/geo.php#...780275752547,5

where the first value in the comma separated list after hash sign (in this example 24.87101620780233,60.22780275752547,5) is longitude, second one is latitude and last one is rotation (in degrees).

The link providing "L" button still gives out the old URL format but as explained above, is turned into this new user friendly format. Enjoy, folks!
Reply With Quote
The Following User Says Thank You to dmnt For This Useful Post:
  #132  
Old December 7th, 2017, 11:35 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,488
Thanks: 3,957
Thanked 5,691 Times in 2,811 Posts
DRG will become famous soon enough
Default Re: Height Maps

The link I use is
http://www.venhola.com/maps/

and it brings me to the
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Input coordinates in WGS84

Latitude (decimal, negative = southern hemisphere)
0.0
Longitude (decimal, negative = western hemisphere)
0.0
Rotation (degrees)
0
Go!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
screen and it still functions normally for me and it seemns a bit easier for anyone to see the coordinates to enter
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #133  
Old December 7th, 2017, 11:38 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,488
Thanks: 3,957
Thanked 5,691 Times in 2,811 Posts
DRG will become famous soon enough
Default Re: Height Maps

BTW... it was your program that inspired the changes you will see to the load map screens for next patch..
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
The Following User Says Thank You to DRG For This Useful Post:
  #134  
Old December 8th, 2017, 10:33 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,488
Thanks: 3,957
Thanked 5,691 Times in 2,811 Posts
DRG will become famous soon enough
Default Re: Height Maps

A problem has developed. I tried to generate a map this morning and got an error message. I thought perhaps it was because I was using my original link but I just tried the one you provided in post 131 and the same message appears


Quote:
Something went wrong, return value 2. Process returned:
Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at contour.pl line 9.
BEGIN failed--compilation aborted at contour.pl line 9.
What is ........" the JSON module " ?
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #135  
Old December 10th, 2017, 08:16 AM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Default Re: Height Maps

Quote:
Originally Posted by DRG View Post
A problem has developed. I tried to generate a map this morning and got an error message. I thought perhaps it was because I was using my original link but I just tried the one you provided in post 131 and the same message appears


Quote:
Something went wrong, return value 2. Process returned:
Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at contour.pl line 9.
BEGIN failed--compilation aborted at contour.pl line 9.
What is ........" the JSON module " ?
Looks like I forgot to install the required modules on the Google api script. It is lacking the JSON data format handling module on the new server and can't download the contours.

I'll try to fix it right now.
Reply With Quote
The Following 2 Users Say Thank You to dmnt For This Useful Post:
  #136  
Old December 10th, 2017, 08:27 AM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Default Re: Height Maps

Should be fixed now.
Reply With Quote
The Following User Says Thank You to dmnt For This Useful Post:
  #137  
Old December 10th, 2017, 09:56 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,488
Thanks: 3,957
Thanked 5,691 Times in 2,811 Posts
DRG will become famous soon enough
Default Re: Height Maps

Not quite yet.........

Quote:

Something went wrong, return value 9. Process returned:
coords => 60.263401849049245,24.79209997529907,60.2696188170 9869,24.935376385368095,60.19253328574271,24.94941 3610829748,60.18630167767603,24.806137200760716
level => 10.000000
dx = (60.26961881709869 - 60.263401849049245)/158, 24.935376385368095 - 24.79209997529907)/158)
dy = (60.18630167767603 - 60.263401849049245)/198, 24.806137200760716 - 24.79209997529907 - .5*0.000901109497289461)/198)
Zero 60.263401849049245, 24.79209997529907
dx 3.91004279839213e-05:0.000901109497289461, dy -0.000387438047101596:6.82747272010108e-05
Corners: (0,0)=60.263401849049245 24.79209997529907 (159,0)=60.26961881709869 24.935376385368095 (0,199)=60.18630167767603 24.806137200760716

Corners: (1,1)=60.2630730616441:24.7935199142722: (159,1)=:60.2692509292656:24.9358952148439: (1,199)=:60.186360328318:24.807038310258: (159, 199)=:60.1925381959395:24.9494136108297

readline() on closed filehandle API at contour.pl line 257.
Use of uninitialized value $key in scalar chomp at contour.pl line 258.
no key set at contour.pl line 260.
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #138  
Old December 10th, 2017, 04:30 PM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Default Re: Height Maps

Quote:
Originally Posted by DRG View Post
Not quite yet.........

Quote:

Something went wrong, return value 9. Process returned:
Yeah right, forgot to put that google API key file in place.

This time it works, I promise! (at least it did download for me)
Reply With Quote
The Following 2 Users Say Thank You to dmnt For This Useful Post:
  #139  
Old December 10th, 2017, 04:45 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,488
Thanks: 3,957
Thanked 5,691 Times in 2,811 Posts
DRG will become famous soon enough
Exclamation Re: Height Maps

Confirmed now working again

Thanks

Great program.......
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #140  
Old December 29th, 2017, 11:57 AM

Grant1pa Grant1pa is offline
Corporal
 
Join Date: Jun 2012
Location: Pennsylvania, USA
Posts: 111
Thanks: 135
Thanked 124 Times in 41 Posts
Grant1pa is on a distinguished road
Default Re: Height Maps

Quote:
Originally Posted by DRG View Post
Confirmed now working again

Thanks

Great program.......
Seems like I'm having a problem downloading the .dat file. I get an error message "spmap.999.dat couldn't be downloaded". I've tried to open it in explorer as well as Edge and get the same error. It saves to my download as an IE icon file but won't open. Any ideas?

Tom
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 08:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.