Author Topic: Turn tracking mod for play-by-email  (Read 928 times)

0 Members and 1 Guest are viewing this topic.

« on: June 20, 2011, 04:47:55 AM »

Version

2.0Gold

Short description:

the mod should keep track of the turns in a play-by-email game.

a header should be created for a special kind of thread (game thread) where the players will have to upload a file.

a notification will be sent by email to the next player with the attached file.

the main feature of the mod will be to calculate the average time per PBEM turn (in the respective thread/game) and to show it in the header of the thread (this should be 'stickied' on every page of the thread) as well as the average time per PBEM turn since registration (to be displayed on the profile of the player and maybe on the postbits)

this mod was made for tForum version b0.94.1.2 which is no longer developed.

here's an example of how it looks like:

http://forums.civ.org.pl/viewtopic.php?TopicID=6314

Detailed description

- new button (NEW PBEM) in forum view placed between 'NEW TOPIC' and 'NEW POLL'

- the button will open a form much like 'NEW POLL' form

- the 'Game details' box - similar to the 'Question' box in 'NEW POLL' will have the following options:

- Type of game (input type - text)

- Mode (input type - text)

- Status (input type - 4 changeable options: Waiting for players / Running / Paused / Finished) - only in 'Running', the mod will calculate the times for the users.

- Max.players (input type - numeric)

- Additional Info (input type - very long text) - will generate the body of the first post of the thread

- Expected turn rate (input type - text)

- Players/Factions (3 fields: slot - numeral / player - search box for user / faction - input type text) - this will fill in the first 2 columns in the table you see in the header of the thread here

the 'Game details' box will generate the table you can see in this link if you click once on the 'MORE' button. the factions will be ordered by the 'slot' and there should be a delete button for each faction.

- CMN (input: search box for user)

- the 'Game setup' box - similar to a second 'Question' box in 'NEW POLL' will have the following options exactely the same options like those in the table you open in this link if you click twice on the 'MORE' button (input type for all fields - text).

- the output thread has to be similar to the one in this link with some small changes i will mention bellow.

- 1st:  'Game Name:' will be the name of the thread

- 2nd: 'MORE' and 'LESS' buttons - revealing / hidding the details mentioned above

- 3rd: 'Turn tracker' - it's just a title

- 4th: 'Current Game Date: MY 21' -  text followed by a two digits number representing the number of turns elapsed (will increment by 1 after each time the turn pases by the first faction in the table - faction in slot 1)

- 5th: the table with the following heder: slot / player / faction / has turn (yes/no + time elapsed since notification sent) / Avg.time per PBEM turn (avg of time elapsed from the notification sent till upload of a new save)

- 6th: download current save (link to the uploaded save - zip only)

- 7th: Do revert (the posibility to change the uploaded save) - option available only for the players in the game and the CMN

(this will recalculate the time elapsed for the last player that had the turn previously and will reset the clock for the player that has the turn)

- 8th: 'Next turn (can only be zipped):' followed by the 'choose file' button the little window to display the file name and the 'send' button. pushing the 'send' button will automatically send a notification to the email of the next player in the turn order with the file attached.

The turn tracker should be 'stickied' on every page of the 'NEW PBEM' thread.

Additional feature:

new field in the player's profile (with the possibility to reset the field and also to show it in the postbits) with the average turn time of the user since registration

i'll be around if you need more details..