Sandbox and point and click improvements

Developers and contributors can find a link to our github page and engage in development project planning here.
Post Reply
Message
Author
User avatar
kestasjk
Developer
Developer
Posts: 518
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 775
Contact:

Sandbox and point and click improvements

#1 Post by kestasjk » Sun Apr 02, 2023 2:52 am

(edit)

Hi,

The Games > Sandbox mode functionality has been finished up. You can now create sandbox games that will work the same in drop-down and point and click mode, and the create sandbox page lets you position units prior to startup:
Screenshot 2023-04-02 234121.jpg
You can control sandbox mode via the drop-down UI using the links at the bottom, and there is also a link there so people using the drop-down UI can go to the point and click UI:
Screenshot 2023-04-07 085346.jpg
You can use this are on a non-sandbox game to copy it to a sandbox game which only you can see.

The point and click UI has links to the drop-down board, the archive pages, and buttons to control sandbox mode. Votes now appear under CONTROL, which is where options to let you control the game will go:
Screenshot 2023-04-07 085643.jpg
And in the HELP section there are now several links to extra resources, as well as the lodge suspicion button, which can be used to lodge cheating requests:
Screenshot 2023-04-07 085657.jpg
Behind the scenes some changes to try and prevent the white screen of death, which I think happens when orders/units are output mid-process due to relaxing locking, and changes to multi detection, webpushr disabled as it's too annoying for now, notifying people per browser rather than per account.

Any issues please post below with a game ID / screenshot etc
2

echidna
Posts: 49
Joined: Thu Nov 24, 2022 11:40 pm
Karma: 40
Contact:

Re: Sandbox improvements, settings page, testers needed

#2 Post by echidna » Sun Apr 02, 2023 6:50 am

Yes, I volunteer. I will forward all death threats to you, is that OK?
2

learnedSloth
Posts: 132
Joined: Mon Sep 12, 2022 10:20 pm
Karma: 73
Contact:

Re: Sandbox improvements, settings page, testers needed

#3 Post by learnedSloth » Sun Apr 02, 2023 11:29 am

Obligatory Dijkstra: Testing shows the presence, not the absence of bugs.

Getting affirmation of no regressions could take forever, but if you haven't heard from testers for a while they probably haven't found anything.
1
¶ Keep thy heart with all diligence; for out of it are the issues of life.
-- Proverbs of Solomon, chapter 4, verse 23

gimix
Site Moderator
Site Moderator
Posts: 349
Joined: Tue Nov 13, 2018 8:56 am
Location: My Mountains, the highest in Europe
Karma: 343
Contact:

Re: Sandbox improvements, settings page, testers needed

#4 Post by gimix » Sun Apr 02, 2023 3:04 pm

Happy to help.
Just some questions:
  • "linked to the live db" means that one can use the environment to play regular games, while other players in the same game use the standard env?
  • could you please share a list of the new updates/fixes as soon as you release them in the test environment?
  • should we create a (rather detailed) checklist, so that the testers can mark any features that worked/didn't work for them?

User avatar
kestasjk
Developer
Developer
Posts: 518
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 775
Contact:

Re: Sandbox improvements, settings page, testers needed

#5 Post by kestasjk » Sun Apr 02, 2023 4:15 pm

learnedSloth wrote:
Sun Apr 02, 2023 11:29 am
Obligatory Dijkstra: Testing shows the presence, not the absence of bugs.

Getting affirmation of no regressions could take forever, but if you haven't heard from testers for a while they probably haven't found anything.
True, but I'm not aiming for perfection just want to avoid creating headaches for players and mods
gimix wrote:
Sun Apr 02, 2023 3:04 pm
Happy to help.
Just some questions:
  • "linked to the live db" means that one can use the environment to play regular games, while other players in the same game use the standard env?
  • could you please share a list of the new updates/fixes as soon as you release them in the test environment?
  • should we create a (rather detailed) checklist, so that the testers can mark any features that worked/didn't work for them?
Yep that's right; things you do in staging.webdiplomacy.net will apply on webdiplomacy.net

Updates are mainly polishing up sandbox mode, some point and click UI improvements to close some gaps in functionality e.g. lodging suspicions, getting help, sandbox builds/control etc

I should create a detailed checklist, but for now happy for people to play around and see if anything obvious breaks


Have to say React/TypeScript is quite nice to develop on. The lint checker is really touchy and wants the code formatted just so but it does make everything consistent, and the way you can see changes as you go is very nice.

ChatGPT 4 and copilot also is pretty crazy; it made the allocation screen way quicker to write (though it needs optimization and refactoring)


Below are pics of the main change areas:


edit: I'm noticing processing is quite slow also, too late to look into that now but interested if anyone noticed if it got worse suddenly or gradually?
Attachments
Screenshot 2023-04-03 001042.jpg
Screenshot 2023-04-02 234237.jpg
Screenshot 2023-04-02 234157.jpg
Screenshot 2023-04-02 234121.jpg

User avatar
kestasjk
Developer
Developer
Posts: 518
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 775
Contact:

Re: Sandbox improvements, settings page, testers needed

#6 Post by kestasjk » Fri Apr 07, 2023 12:19 am

Looks like we had some activity on the staging site and no-one reported any issues so I've deployed those changes and will keep an eye on it. Really like the sandbox map.. I feel like I could make variants point and click pretty easily, though I'm interested if it works well on mobile etc as it has to do a lot of pixel shading and uses mouse events

2ndWhiteLine
Bronze Donator
Bronze Donator
Posts: 69
Joined: Sun Dec 31, 2017 12:56 am
Karma: 82
Contact:

Re: Sandbox and point and click improvements

#7 Post by 2ndWhiteLine » Sat Apr 08, 2023 10:41 pm

Not a sandbox issue per se but I have no idea how to use the press feature in the postgame chat of a gunboat match without switching back to classic view.
1

User avatar
kestasjk
Developer
Developer
Posts: 518
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 775
Contact:

Re: Sandbox and point and click improvements

#8 Post by kestasjk » Sun Apr 09, 2023 4:24 am

Hmm.. when I do it with my old games I just click the button in the bottom left and the press pops up, what happens for you?

2ndWhiteLine
Bronze Donator
Bronze Donator
Posts: 69
Joined: Sun Dec 31, 2017 12:56 am
Karma: 82
Contact:

Re: Sandbox and point and click improvements

#9 Post by 2ndWhiteLine » Mon Apr 10, 2023 12:29 pm

I can select and view the press window but I'm not able to actually type in the text box.

gimix
Site Moderator
Site Moderator
Posts: 349
Joined: Tue Nov 13, 2018 8:56 am
Location: My Mountains, the highest in Europe
Karma: 343
Contact:

Re: Sandbox and point and click improvements

#10 Post by gimix » Wed Apr 12, 2023 9:11 am

Issue with game #556878 (Modern) in staging: the game page shows, I can see the preview and the large map, even go to the order history page; but it's stuck with "Loading orders...".

Also, a small detail: the staging environment is not linked to the forum, so the "If you have any new issues please post them here" link in the banner doesn't work (error 404) - the link itself is correct, once you remove the "staging." part

bonjovi
Posts: 3
Joined: Sat Oct 07, 2023 8:21 am
Contact:

Re: Sandbox and point and click improvements

#11 Post by bonjovi » Sat Oct 07, 2023 8:27 am

2ndWhiteLine wrote:
Mon Apr 10, 2023 12:29 pm
I can select and view the press window but I'm not ablemapquest to actually type in the text box.
What is this engine?

lilycollinslim
Posts: 1
Joined: Wed Dec 27, 2023 1:37 am
Contact:

Re: Sandbox improvements, settings page, testers needed

#12 Post by lilycollinslim » Wed Dec 27, 2023 1:40 am

echidna wrote:
Sun Apr 02, 2023 6:50 am
Yes, I volunteer. I will forward all death threats to you, is that OK?
I appreciate your willingness to help!

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests