Build queue date

Moderator: AlvaroSousa

Post Reply
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Build queue date

Post by ncc1701e »

There is a bug in the editor. This is not possible to put a day after 12.

Image
Attachments
builddate.jpg
builddate.jpg (13.05 KiB) Viewed 671 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Build queue date

Post by ncc1701e »

And perhaps not needed to treat February 29th. [:D]
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Build queue date

Post by AlvaroSousa »

That's because you are clicking the month.

I did it European style YY MM DD

I'm clicking it right now.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Build queue date

Post by ncc1701e »

No, both values are blocked at 12. Is it working for you?
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Build queue date

Post by AlvaroSousa »

100% working for me. That hasn't been changed in years literally.

Tell me what you are trying to do exactly so I can do the same and see.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Build queue date

Post by ncc1701e »

Well not for me and I don't find any error logs. YYYY MM DD -> MM and DD are limited to 12.

Here is the screenshot. I think this is again a problem of localization. As you can see in the screenshot, the dates are in French. I hope you are remembering this problem. It seems to be still in the editor.

Image
Attachments
buildqueue.jpg
buildqueue.jpg (54.94 KiB) Viewed 671 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Build queue date

Post by ncc1701e »

In the game, it was solved to always display English. There is an old bug thread about this.

Image
Attachments
buildqueue2.jpg
buildqueue2.jpg (40.75 KiB) Viewed 671 times
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Build queue date

Post by AlvaroSousa »

I just did the same screen, same country, same unit.... no problem.





Image
Attachments
build.jpg
build.jpg (64.18 KiB) Viewed 671 times
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Build queue date

Post by AlvaroSousa »

I have no idea why it is limiting you to 12 on the day. It literally has a range of 1-31 in the code.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Build queue date

Post by ncc1701e »

It is because of the localization of the dates for me. Are you using the old Unity library that was causing problems in the Deployment queue?
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Build queue date

Post by AlvaroSousa »

Was there an issue with the Unity version? WP1 is based on Unity 2019. Unity 2020 had a fair amount of changes that if I upgraded I would be spending a long time fixing these differences.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Build queue date

Post by AlvaroSousa »

I'll look at the code to see if I can rewrite this in a different acceptable format. It is just weird what it is doing.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Build queue date

Post by ncc1701e »

Thanks a lot. If this may help, the old bug was fixed in 1.00.09 patch:
https://www.matrixgames.com/forums/tm.asp?m=4923298
Fixed date in deployment queue
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
ncc1701e
Posts: 10717
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

Re: Build queue date

Post by ncc1701e »

Is there any possibility to add more traces to understand this problem please? Maybe an unofficial debug patch just for my computer.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Build queue date

Post by AlvaroSousa »

It has to do with the language and the date format.

The US it is MM, DD, YY
Europe it is DD, MM, YY which of course makes more sense.

I internally set the language to English in the game but your PC switches it back to French.

I looked for quite a while why it is doing this and I could never find an answer.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Post Reply

Return to “War Plan: Tech Support”