Forged Alliance Forever Forged Alliance Forever Forums 2019-07-16T22:24:22+02:00 /feed.php?f=3&t=17773 2019-07-16T22:24:22+02:00 2019-07-16T22:24:22+02:00 /viewtopic.php?t=17773&p=176385#p176385 <![CDATA[Re: Can't Upload Map - 500 Error]]> Statistics: Posted by Dirtierdragoooon — 16 Jul 2019, 22:24


]]>
2019-07-16T22:01:49+02:00 2019-07-16T22:01:49+02:00 /viewtopic.php?t=17773&p=176384#p176384 <![CDATA[Can't Upload Map - 500 Error]]> I get this message after trying to upload: (I had to delete most of the message cause this forum states "Your post looks too spamy for a new user, please remove off-site URLs.)
Spoiler: show
springframework.web.client.HttpServerErrorException$InternalServerError: 500 Server Error
...(HttpServerErrorException.java:79)
...(DefaultResponseErrorHandler.java:99)
...(DefaultResponseErrorHandler.java:79)
...(JsonApiErrorHandler.java:31)
...(OAuth2ErrorHandler.java:84)
...(ResponseErrorHandler.java:63)
...(RestTemplate.java:777)
...(RestTemplate.java:735)
...(OAuth2RestTemplate.java:128)
...(RestTemplate.java:669)
...(RestTemplate.java:444)
...(FafApiAccessorImpl.java:544)
...(FafApiAccessorImpl.java:290)
...(Native Method)
...(Unknown Source)
...(Unknown Source)
...(Unknown Source)
...(AopUtils.java:343)
...(JdkDynamicAopProxy.java:206)
...(Unknown Source)
...(MapUploadTask.java:86)
...(MapUploadTask.java:30)
...(Unknown Source)
...(Unknown Source)
...(Unknown Source)
...(Unknown Source)
...(Unknown Source)


I manually entered in ACU units in the .save file, just like in Gap of 64 ACUs. The old client, not Downlord's, had no problem with it. Hopefully it's unrelated to ACU units. Which looks like this:
Spoiler: show
['ARMY_11'] = {
personality = '',
plans = '',
color = 0,
faction = 0,
Economy = {mass = 0, energy = 0},
Alliances = {},
['Units'] = GROUP {
orders = '',
platoon = '',
Units = {
['INITIAL'] = GROUP {
orders = '',
platoon = '',
Units = {
['UNIT_7200'] = {
type = 'uel0001',
orders = '',
platoon = '',
Position = {102.50, 70.28, 337.50},
Orientation = {0.00, 4.825829, 0.00},
},
['UNIT_7267'] = {
type = 'url0001',
orders = '',
platoon = '',
Position = {109.50, 69.95, 712.50},
Orientation = {0.00, 3.193946, 0.00},
},
['UNIT_7265'] = {
type = 'ual0001',
orders = '',
platoon = '',
Position = {97.50, 70.04, 865.50},
Orientation = {0.00, 3.202673, 0.00},
},
['UNIT_7297'] = {
type = 'xsl0001',
orders = '',
platoon = '',
Position = {400.50, 77.10, 816.50},
Orientation = {0.00, 1.658065, 0.00},
},
},
},
},
},
PlatoonBuilders = {
next_platoon_builder_id = '0',
Builders = {},
},
},


I've worked on this for like 12 hrs building the map markers and stuff and then making sure there were no breaks in the code and any other errors. I'm still thinking and trying. Oh, and it also runs fine when testing it under another map name. All markers and units are there. Just uploading is Error 500. I'm sure I labeled the files and everything right.

Statistics: Posted by Dirtierdragoooon — 16 Jul 2019, 22:01


]]>