Page 1 of 2

Development Updates

Posted: Sat Mar 16, 2019 1:44 am
by jmo1121109
I'm going to keep this thread updated with the latest code changes. It will be a global announcement for now, but if interest seems low it will be changed to not show everywhere.

The thread will be locked here to keep it clean but if you have questions please don't hesitate to ask them on the Feedback section of the forum. ... m.php?f=17

The full list of code changes is always available at Recent Changes

Not Started = Black
In Progress = Blue
Done = Red

Development Initiatives
  1. Update the new search tool "show only joinable games to filter out "pre-start" games
  2. Update the new search tool to allow searching on users you've played games with and to search any user and see all their games. This will involve putting a link on profiles of other users that you visit called "see games in common" which will redirect you to the search tool with the right filters selected to see your games in common with that person.
  3. Get games that start in X days or phases that will process in X days to show the exact hours:minute time they'll process.
Eventually: (not happening soon, but eventually)
  1. Changes to the CD/NMR system to reduce/remove missed turns as a problem
  2. Redesign game create page to be more user friendly and no hidden options in advanced.
Wish List:
  1. Point and click
  2. Game swap (built in account sitting)

Re: Development Updates

Posted: Sat Mar 16, 2019 1:54 am
by jmo1121109
Recent Updates:

2019-02-28 (over a week or two)
Complete redesign of all moderator tools, fixing multiple moderator tool bugs to let mods better handle various issues and to catch cheaters faster. For obvious reasons no additional details will be given here, only mentioned to let everyone know a lot of development is ongoing.

Fixed the bug that made the join button vanish on live games that had the last person leave/get banned

New "Search" tool available on main menu, details available here: viewtopic.php?f=5&t=1338

  1. Game Search text updated options from "Hours per phase" to "Time per phase" since not all phases are in hours.
  2. Hover over on Game Search - Joinable tab now clarifies it only shows public game results.
  3. Joinable search tab on Game Search query was fixed so it no longer approximates the game count wrong. Please note though, that this game count is not per user, it is calculated for the entire site. What this means is users may still see less games in that tab then approximated if they are in some of the games which have open spots, since you cannot join a game you're already in. So this is better, but still flawed design wise (baby steps).

Re: Development Updates

Posted: Sat Mar 16, 2019 5:58 pm
by jmo1121109

All games will now show the following for the next process time instead of a limited date/time display.

Day of Week, hh:mm PM/AM, Day# MM
or if the date is more then 30 days in the past or future
Day of Week, hh:mm PM/AM, Day# MM YYYY

This will do the following:
  1. Show the real start time of live games setup days in advance so people know what time to be online
  2. Show the exact time a game finished
  3. Show at what time in the past a stuck Wait-for-orders game should have processed.
You will likely see a javascript error the first time you refresh if you had tabs open, it will go away after that. It's just because your browser cache's some of the files changed. If it does not go away right away you may need to clear your cache.

This change was largely done by bo_sox48, which marks his first significant code change for the site! Thanks bo!

Re: Development Updates

Posted: Sun Mar 17, 2019 7:11 pm
by jmo1121109
Search page now has a section called "Search Games by User" which allows you to enter a userID and see all of the finished games that user has been in. If you check the "Show games the user and I have in common" it will limit the results to games you two have in common.

"Game Search Options" checkbox "Show only joinable public games?" now filters out "Pre-Start" games.

Re: Development Updates

Posted: Thu Mar 21, 2019 12:47 am
by jmo1121109
  1. Add Classic and Variant stats to the profile page.
  2. Fix username to wrap on left column of profile for small phone displays.
  3. Fix moderator disclaimer link to wrap on small phone displays.
  4. Add hover over that explains what the different "ranks" mean...somewhat, at least more then now.
Please note that the changes to the profile stats are a band aid to the fact that they're terrible. I'm planning a more in-depth stats page with actual breakdowns by ranked/unranked, anon/non anon, each variant etc.

Re: Development Updates

Posted: Fri Mar 22, 2019 1:29 am
by jmo1121109
  1. Restyle FAQ to allow more then 1 open question
  2. Update FAQ info, there were a lot of wrong answers on it.
  3. Update to have links to new forum
  4. Update HoF to be restyled
  5. Update HoF to highlight you in red if you're on the list.
  6. Update HoF to comma separate large point amounts (sorry European members)

Re: Development Updates

Posted: Sat Mar 23, 2019 1:58 am
by jmo1121109
  1. New page added to the site under help
  2. New page added to the site under help
  3. Rules page redesigned with minor content updates
  4. Credits page redesigned with updated content (round of applause for bo_sox48 for this commit, thanks bo!
  5. Help page updates

Re: Development Updates

Posted: Sat Mar 30, 2019 2:23 am
by jmo1121109

  1. Updated settings page to be restyled, prevented browsers from auto populating password into the password field and not the password confirmation field, and added a link to the new forum settings if you have a new forum account.
  2. Restyled the datc tests page
  3. Restyled the developer info page
  4. Restyled the intro to diplomacy page.
  5. Various small content fixes on all the above listed pages.

Re: Development Updates

Posted: Sun Mar 31, 2019 1:45 am
by jmo1121109
  1. Remove broken image from emails from gamemaster
  2. Add table styling to RR profile page
  3. restyle user search
  4. Add comma separation to long numbers on profile page.

Re: Development Updates

Posted: Sat Apr 06, 2019 9:42 pm
by jmo1121109
  1. Profile Style cleanup
  2. Move Existing Stats to clickable elements
  3. Add 3 more stat sections
  4. Add 3 more functions to user object to support the 3 new stat sections
    mobile wrapping fixes.

Re: Development Updates

Posted: Sun Apr 07, 2019 9:07 pm
by jmo1121109
  1. Search page "Search Games by User" section now allows search by username or userID thanks to Squigs44. Thank you for your first site contribution Squigs44!
  2. Search page "Search Games by User" section now runs faster for people who have hundreds of games (my bad on the initial slow query). From 3.4 seconds to .04 seconds.
  3. Home page should load .2 seconds faster due to a query speed increase.

Re: Development Updates

Posted: Sat Apr 20, 2019 4:15 am
by jmo1121109
bo_sox48's changes:
Rewrote, formatted, and styled points/scoring systems page, fixed links from other pages

Squig's changes:
Fixed game name uniqueness/length bug

My changes:
Add Chaos
Prevent Game Stats Overflow (make home page pretty if you're in a chaos game)

  1. Fix user registration bug that ignored all radio button user options on account creation.
  2. Fix multiple styling bugs on user registration
  3. Remove page by page styled submit buttons for the new default button
  4. Update Register page to add warning to avoid personal information in username and to keep username appropriate.
my changes:
Allow 1 automatic pause of all games for players who have completed at least 10 games and have not used an automatic pause in the last 6 months. Adds a mod tool to reset the time if a player presents a valid excuse or the option to ban members from using this tool at all. Mods can see on the profile page if a member qualifies for an automatic pause or not. This tool pauses the games and then emails the moderator team so they can follow up and post an explanation in the game chat.

Squig's changes:
Creates 2 global variables in global/defintions.php that controls all versioning for all js and css files.
(jmo's to english translation for everyone, Squigs made it so that every time we make changes to styling you shouldn't have to empty your cache to see it anymore!!!)

  1. Remove unused css elements
  2. Standardize all site buttons
  3. Fix various formatting issues in code
bo_sox48's changes:
Basic dropdown header, opens and closes on clicks for desktop and mobile

my updates:
  1. Add a donations page
  2. Restyle help page
  3. clean up menu
  4. adjust faq and dev pages
  5. incriment css version
bo_sox48's updates:
Menu to green color

Re: Development Updates

Posted: Sat Apr 20, 2019 4:20 am
by jmo1121109
We've had a pretty significant amount of development work over the past couple weeks. And not just from myself, but now from bo_sox48 and squigs44. Not all of it may be as flashy as the new menu or adding Chaos, but it's all helping the site catch up and keep it running smoothly for everyone. So a big thanks to Squigs and Bo for their recent contributions.

If you like the work we're doing and want to help the site out please consider checking out the new donations page at the bottom of the "Help" section of the menu and contributing to the site if you are able.


Re: Development Updates

Posted: Sat Apr 20, 2019 6:59 pm
by jmo1121109

bo_sox48's changes:
Updating the site rules to have an inclusive section for teachers and students explaining options for classroom use.

squigs44's changes:
Updated the Hall of Fame on the site to have an all time and a last 6 months section. So you can now see how you fare against everyone points wise, or just those who've visited in the last 6 months.

Re: Development Updates

Posted: Sun Apr 28, 2019 2:23 am
by jmo1121109

bo_sox48's changes:
  1. Fix bug that resulted in NMR being recorded if someone clicked "Ready" on all hold orders.
  2. Disable old pm system and add direct links to profiles to send pm's via the new system for anyone who has a forum account

Re: Development Updates

Posted: Sun May 12, 2019 7:23 pm
by jmo1121109
Excused Missed turns added to the site and RR updated. See ... f=5&t=1551 for more information on what that included.

Other bug fixes and changes included in that release were:
  1. Bug on how the display in games showed grey backgrounds was fixed
  2. game create join time is no longer synced to phase length, all games now have a default join time of 7 days.
  3. Increased the max join time for a game from 10 days to 2 weeks.
  4. Fixed RR parameter so you can't make a game with a higher RR requirement then your RR
  5. updated RR requirement to default to 80 OR your RR minus 1 if your RR is below 80 from a previous set value of 0.
  6. set invite code fields to not auto fill with some password managers.
  7. made someone delaying the game post in the global chat of the game letting everyone know
  8. made someone delaying the game post in your home page notifications "Game phase extended due to missing orders by at least one country."
  9. made getting an unexcused missed turn send you a notification telling you how many more you have until you're temporarily banned and encourages you to be more reliable
  10. Gave mods tools to give or take excused missed turns for 1 or all players in a game.
  11. Gave mods tool to forgive specific missed turns.
  12. game create now has clickable green question marks with popup's to explain what different game creation options mean/do.

squigs44's changes:
Updating the site notices, panic mode notice, and maintenance mode notices to pull from the database instead of the main config file which means admins can now update the banner without server access and updating the banner will no longer disrupt live games. Admins now get a preview of the banner before turning it on to remove the risk of breaking the site with the banner updates as well.

My changes:
Adopting squigs44's changes to work with the new forum.

bo_sox48's changes:
Updating the content in the FAQ to be far more useful and in depth then ever before. It now actually answers common questions.

squigs44's and e.m.c^42's change:
Update color schema for Chaos map to avoid having multiple countries very similar in color.

And a big shout out to e.m.c^42 for his first contribution

My changes:
  1. Make home page notifications about a user missing a turn highlighted in red to draw attention to the need to be more reliable
  2. add game search and hall of fame into the menu
  3. rename "Game Listings" to "New Games" in the menu to avoid confusion
  4. update styling with minor changes on the contact us, detailed search, and user search pages of the site.

Re: Development Updates

Posted: Mon May 13, 2019 12:53 am
by jmo1121109
Squigs44 and I spending an hour making the green buttons have the green color show up on iphone's. You're welcome apple users.

Re: Development Updates

Posted: Wed May 15, 2019 1:37 am
by jmo1121109

My changes:
  1. Updated some text on game displays to make it all fit better on phones. No in-game messaging --> No Messaging, etc. Removed "Normal"/"long"/"very long" descriptors from game length as these weren't accurate anyway. The normal didn't actually reflect the most common being 48-72.
  2. Fixed a variety of bugs in mod tools and adjusted tools to make their use more clear to incoming mods.
  3. Gave Game Directors the power to add/take excused missed turns in games they are set as the GD for.
squigs44's changes:
  1. Updated the number of messages that show up in the game to 50 from 20. Order archive is still 30 per page.
  2. A log is now made with a ton of useful information whenever mods cancel games. A big help for cheating investigations.
  3. Added a reason if you are not allowed to join a game explaining if you are temp banned, your RR is too low, or you need more points.
  4. Increased the amount of points a game can have in the pot from a max of somewhere between 32 and 64 thousand to around 8 million. On that note if anyone wants to join me in a 2 million bet game please jump in (

Re: Development Updates

Posted: Thu May 16, 2019 3:51 am
by jmo1121109
  1. Updated missed turn logic to no longer give "same period excused" for people in live games. If someone has 4 unexcused missed turns in a live game all 4 will count against you. This is to prevent people from abusing the system to retake positions they have CD'ed to have an unlimited number of delays without penalty.
  2. Various mod tool updates and cleanup.

Re: Development Updates

Posted: Sun May 19, 2019 3:30 am
by jmo1121109
  1. Update the checks for if a user is temp banned to be instant and not cached in member objects. Which should prevent people from continuing to take over their position when they've been temp banned by keeping a window of the game open in a browser during live games.
  2. Update login page and forgot my password to be more clear
  3. Fix temp bans to show if they were mod or system done
  4. Add reason to temp bans so mods can investigate when players appeal
  5. Clarify messaging to temp banned members so they know to contact mods with questions
  6. Fix problem where someone retaking over their own position in a game would leave that game showing up as having a "joinable" spot in the live game feed and in the joinable search tab.
If you notice problems please report them to the mods asap as this change set was extensive.