Debian Codegraph @

NEWS

raw
1 0.10.4
2 ------
3
4 - rework I/O handling to fix a race condition on pending close sockets
5
6 0.10.3
7 ------
8
9 - documentation cleanup
10 - use libtoolize instead of libtool
11 - update to modern autoconf style
12 - exit if systemd socket configuration is not properly configured (Accept=yes
13 instead of Accept=no (default))
14 - use std::shuffle instead of the deprecated std::random_shuffle
15 - rework listener error handling to export errno value
16 - add strerror() in various error messages, properly set systemd ERRNO value
17 for sd_notify calls
18
19 0.10.2
20 ------
21
22 - fixed systemd socket activation support
23
24 0.10.1
25 ------
26
27 - reworked a little bit game logic to cleanup some bugs on player
28 disconnection event
29
30 0.10.0
31 ------
32
33 - new metaserver, reworked the way monopd register to metaserver
34 - sockets are now not blocking for writing as well, reworked socket code to
35 handle non blocking socket
36 - metaserver registration process is not blocking as well, except for DNS
37 lookup but we cache the result and we forbid to resolve the metaserver host
38 if a game is in progress
39 - don't wait client handshake before sending game updates anymore, it allows
40 clients to lurk for new games without identifying themselves, useful so
41 metaserver don't need to identify for example
42 - removed deprecated server to client messages: <updategamelist/>,
43 <playerupdate/> master attribute, <commandlist/>, legacy <configupdate/>
44 protocol
45 - removed deprecated client to server commands: .Ta$1 and .gp
46 - reworked <display/> messages so reconnecting players get display history
47 - added roll button (.r) to <display/> messages
48 - using TCP_CORK/TCP_NODELAY in a smart way to reduce game latency without
49 affecting too much TCP throughput
50 - reworked messages order to prevent chicken and eggs problems in clients,
51 like sending <cardupdate/> messages after client knows in which game
52 it is to prevent message drop
53 - using libmuparser instead of libmath++
54 - added turnorder property to playerupdate message, allows clients to sort
55 player list by player turn order
56 - reworked games and players handling, better detection when players are
57 voluntarily lefting a game
58 - fixed many bugs when players are leaving while an action is in progress,
59 most of them ended up with a frozed game
60 - reworked main loop so we don't spin on checking event timeout anymore
61 - now using UTF8-CPP library, fixed all string length checks/truncate
62 and we are now checking if input is valid UTF8
63 - gameupdate status is now a global property, it allows client to display
64 games which are in progress, adding a little bit activity in the game
65 lounge
66 - improved spectator support, specator support is production ready, allow
67 spectators by default
68 - added gameupdate turn property, this way clients can join a game
69 as spectator in order to participate if the game was just started
70 - added gameupdate canbewatched property, true if player can spectate
71 the game
72
73 0.9.8
74 -----
75
76 - fixed CVE-2015-0841: off-by-one error in network code
77 - check for libsystemd in preference to libsystemd-daemon
78 - fixed a lot of typographical and grammatical errors
79 - fixed systemd unit file example: it is not allowed to create a stand-alone
80 Description field, moved to [Unit] section
81
82 0.9.7
83 -----
84
85 - bugfix: wrong estate was chosen when selling an estate, the current estate
86 was chosen instead of the player-selected estate
87 - bugfix: fixed bind() on Mac OS X and probably some others
88
89 0.9.6
90 -----
91
92 - DOC: added User and Group stanzas in systemd service unit-file as a hint for
93 packagers
94 - bugfix: fixed broken formats on x86_64, %ld on int instead of %d
95 - bugfix: fixed XML escaping for "You do not have enough money to buy this
96 property, B & O Railroad costs 200."
97 - API: added gameid attribute to the new configupdate protocol
98
99 0.9.5
100 -----
101
102 - added systemd documentation to extra dist
103 - fixed CXXFLAGS and CFLAGS passed through environment variable
104
105 0.9.4
106 -----
107
108 - applied Debian patches against monopd
109 - merged libcapsinetwork into monopd
110 - applied Debian patches against libcapsinetwork
111 - bugfix: infinite loop when a game is ending
112 - fixed all compilation warnings, added -Werror and -Wextra to compilation flags
113 - added IPv6 listener support
114 - added systemd support for readiness notification protocol
115 - added systemd support for socket activation
116
117 0.9.3
118 -----
119
120 - bugfix: try and resolve all debts for a player on income (#83274)
121 - require libCapsiNetwork 0.3.0 which solves an issue with unlocatable
122 symbols
123 - Valgrind inspired bugfixes
124 - improved syslog notifications
125
126 0.9.2
127 -----
128
129 - Valgrind inspired bugfixes improving stability.
130 - Switch to unixcode.org domain so some future day I can ditch the
131 monopd.net proliferation.
132 - Properly transfer estates of players bankrupted after disconnect.
133 - Once auction is in state Sold or above, don't allow any more bids.
134
135 0.9.1
136 -----
137
138 - bugfix: properly reenable canbejoined attribute for games in progress
139 allowing spectators
140 - bugfix: update turn for bankrupt players even if no debts were solved.
141 - bugfix: properly clear player socket when players disconnect
142
143 0.9.0
144 -----
145
146 - API: require .n as part of handshake
147 - API: removed updateplayerlist, has been deprecated since 0.7.0
148 - API: deprecated updategamelist for gameupdate
149 - API: .gk command for master to kick/boot players from game back to lounge (#52631)
150 - API: playerupdate master bool attribute moved to gameupdate master int
151 (playerid) attribute
152 - API: configupdate has changed behavior using property system
153 - API: support spectators watching games in progress
154 - API: master can upgrade spectator to participating player (#54347)
155 - client config option: automate taxes (#54538)
156 - 30s timeout for clients not completing a handshake (requires libcapsinetwork 0.2.4)
157 - bugfix: exit gracefully when listen port cannot be bound (requires libcapsinetwork 0.2.5)
158 - bugfix: properly handle debts and estate transfers for auction
159 - bugfix: games are properly removed from memory when all players are disconnected
160 during auction without bids, or tax dialog
161 - bugfix: under some debt resolutions, player property hasdebt was not set
162 to false when it should have (#67594)
163 - bugfix: don't escape XML characters for setDisplay, it escapes internally (#68931)
164 - bugfix: clear buttons when ending turn manually
165
166 0.8.3
167 -----
168
169 - bugfix: don't put money in freeparking-like estates when collectfines is
170 not enabled when resolving debts
171 - use properties for location= and directmove=, synchronizes jailed= and
172 location= xml (#65830)
173 - ignore client in setTokenLocation when the token is already at the
174 specified location
175 - added debug info
176 - valgrind fixes
177 - fixed possible race condition in setPlayerToken
178
179 0.8.2
180 -----
181
182 - bugfix: don't create debts for total amount on payeach card (#60986)
183 - bugfix: don't end turn on trade resolvement when clients are moving, during auction or tax dialog
184 - bugfix/API: included revision for trades to avoid accidental accept of changed trade
185 - bugfix: communicate player token in sendClientList (when new player joins game)
186 - bugfix: restore hasdebt to 0 when all debts are resolved
187 - use property system to relay player's game attribute
188 - inform about players on connect automatically, otherwise clients won't
189 know about other players while not in a game
190 - some spectator fixes (spectator support still experimental, clients are
191 not recommended to build a GUI for this yet)
192
193 0.8.1
194 -----
195
196 - compilation fixes for FreeBSD, Debian and gcc 3.3
197 - bugfix/API: communicate player bool properties hasdebt,canauction
198 - bugfix: remove tradeobject when targetplayer is null, not just when target
199 is current owner
200 - bugfix: fixed crash when accepting a trade resulted in a debt
201 - bugfix: don't pass go on "go back three spaces" card
202 - bugfix: prevent duplicate player names
203 - bugfix: don't create debt for bankrupt players on "payeach"
204 - new config option/API: allow estate sales
205
206 0.8.0
207 -----
208
209 - use UTF-8 for config files
210 - gameproperty framework, with automatic wire updates, specific targets
211 supported
212 - players with no game can now chat
213 - bugfix: don't include bankrupt players in "payeach" transactions
214 - bugfix: don't end turn when unmortaging unless there's a debt
215 - bugfix: clear buttons after tax choice
216 - bugfix: only register to meta server when identity is defined
217 - bugfix: update turn when player leaves running game
218 - bugfix: don't hold auctions when all players have 0 assets (improbable,
219 but not technically impossible)
220 - bugfix: player's turn ends after auction completes just like it does when
221 buying the regular way
222 - new config option: double pass money on exact landing
223 - new config option: shuffle card decks before taking card
224 - new config option: bank provides unlimited amount of houses/hotels
225 - new config option: player in jail gets no rent
226 - new config option: rentmath for cards
227
228 0.7.0
229 -----
230
231 - API: updateplayerlist is now deprecated for playerupdate
232 - API: add cleartext=bool and clearbuttons=bool to display
233 - API: new playerupdate attributes: host=string, image=string, master=bool and game=int
234 - API: support for choosable player images/tokens .pi
235 - API: deleteplayer tag
236 - CONFIG: icon support in config file, requires clients to have appropriate icons
237 - CONFIG: startmoney is configurable
238 - CONFIG: houses/hotels are configurable
239 - show new game button after a game has ended
240 - bugfix: load game templates even when config file isn't installed
241 - bugfix: change master attribute before sending playerupdate when creating a game
242 - bugfix: init Auction::m_highBidder in constructor
243 - bugfix: proper check for housePrice in Player::buyHouse
244 - bugfix: don't mess with auction events when on unsuccessful bid
245 - bugfix: allow building *houses* when max hotels reached
246 - bugfix: change player name in game description
247 - bugfix: only set edit=1 for master in configupdate
248 - bugfix: unmortgage estates thatare sold to the bank on bankruptcy
249
250 2002-12-24 (monopd-0.6.2)
251 ----------
252
253 - SECURITY: use vsnprintf instead of vsprintf, fixes buffer overflow for .n
254 command and possibly other input as well
255 - fixes in sending messages when deleting trade objects
256
257 2002-11-09 (monopd-0.6.1)
258 ----------
259
260 - send estateupdate money attribute in full update
261 - added syslog support for info, warnings and errors
262 - bankrupt disconnected players after a timeout
263 - avoid dereference of 0 debt when bankrupting
264 - don't have token timeout for disconnected players
265 - CONFIG: add jailpayamount to config instead of hardcoded
266 - clear display widgets when game ends
267 - bugfixes against crash and possible infinite loop in setTokenLocation
268 - more robust turn handling
269
270 2002-10-24 (monopd-0.6.0)
271 ----------
272
273 - code cleanups
274 - trade gameplay behavior fixes
275 - API: replaced joinedgame with correct use of <gameupdate> tag
276 - avoid possible race condition for Game::sendFullUpdate() call
277 - game now properly ends when only one player is left
278 - give owned cards to creditor or bank when a player goes bankrupt
279 - gcc 3.2 compilation fixes
280 - updated DESIGN document
281 - deleting tradecomponents in trade deconstructor no longer crashes
282 - CONFIG: Card::jailcard is now separated into Card::outofjail bool and
283 Card::canbeowned bool, to allow for different types of ownable cards in the
284 future
285 - support for trading of jail cards
286 - API: cardupdate message to inform clients of text on cards they own,
287 plus owner= attribute to replace playerupdate's outofjailcards=
288 - API: new command .Tc to add cards to trade
289 - API: tradecard message in tradeupdate
290 - inform trade players of new players getting involved
291 - API: notify disability to join game when size == MAX in gameupdate (games
292 in updategamelist now have canbejoined boolean attribute)
293 - API: clientid in client message is now playerid, playerid no longer reset
294 at game startup, so a game does not necessarily have players 0 through n.
295 - API: clientid in updateplayerlist message is also merged into playerid
296 - API: group attribute in estateupdate sends groupid now, not name, groupid
297 attribute added to estategroupupdate
298 - API: merged estatedisplay with display
299 - CONFIG: add passmoney to estate configs (for multiple go's)
300 - CONFIG: move min/max players to config file
301 - ported to libcapsinetwork 0.2.0
302 - API: moved newturn message to playerupdate attribute hasturn
303 - remove Cards+Estates from Trades when owner changes (bankruptcy/trade/card usage)
304 - API: allow for reconnect with .R
305 - handle passing of estates elegantly
306 - CONFIG: remove nexutil and nextrr with advancetonextof=groupname,
307 estategroups must be defined before cards now
308
309 2002-07-29 (monopd-0.5.0)
310 ----------
311
312 - if you are insolvent on third roll of the dice in jail it doesn't end the turn right
313 - correctly move player to destination on successful jail roll
314 - allow players to go "back" (leaving a game)
315 - valgrind fixes, including huge memory leak in escapeXML
316 - free parking target for estates (cards/jail/taxes)
317 - game configuration
318 - free parking: collect fines
319 - auctionsEnabled
320
321 2002-07-15 (monopd-0.4.3)
322 ----------
323
324 - fixed negative payeach card actions
325 - fixed tax choice breakage in commands
326 - estate defaults in game init are now also set for last estate
327 - fixed rentmath for utilities
328 - cmdline arg for running on different port than config specifies (for debugging)
329 - Game::findNext methods now include current estate in search
330 - when player has to leave jail but has no money and owes bank, roll/jail
331 flags are not restored upon debt payment
332 - chance 3 back -> tax -> turn ended?
333
334 2002-07-11 (monopd-0.4.2)
335 ----------
336
337 - client can choose between incremental and full updates
338 - when player owes $50 to each other player, the debt collector is set to
339 NULL (Bank) and players never get their $50
340 - when we collect $50 from all other players, their solvency is not checked at all!
341 - 10%/200 ends turn
342 - 10%/200 is not protected for hasTurn
343 - 10%/200 buttons should only go to hasTurn
344 - use ${HOUSES} in configuration, that's much nicer
345 - ~Game crashes every now and then
346 - many gcc 3.1 compile fixes
347 - fixed many iterators that could've crashed
348
349 2002-07-09 (cap)
350 ----------
351
352 - libmath++ includes are now in math++, require 0.0.3 or later :/
353 - gameboard .conf's rentmath now uses ${VAR} instead of plain VAR
354
355 2002-07-07 (cap)
356 ----------
357
358 - clients can request full update
359 - payEach handles debts and solvency correctly
360
361 2002-07-04 (cap) (monopd-0.4.1)
362 ----------
363
364 - fixed Makefile.am to include the READMEs at make dist, arghl
365 - fixes more mem leaks
366 - trades are now protected from non-participants
367 - added <display/> to API so clients can reset certain widgets
368
369 2002-07-03 (cap) (monopd-0.4.0)
370 ----------
371
372 - fixed many memory leaks in Game class
373
374 2002-06-30 (cap)
375 ----------
376
377 - monopd automatically resolves debts when you are solvent again after
378 mortgaging, selling houses or trading.
379 - removed duplicate auction status=0 message
380 - finally support for 10%/200$ dialog!
381 - more run-time variables can be used in dynamic rentmath expressions: DICe,
382 GROUPOWNED and HOUSES
383
384 2002-06-29 (cap)
385 ----------
386
387 - send display notification when player is sent to jail
388
389 2002-06-28 (cap)
390 ----------
391
392 - added usercount to monopigator
393 - fixed memory leaks and other stuff valgrind noticed
394
395 2002-06-27 (cap)
396 ----------
397
398 - Bugfix: creating an invalid game with .gn and then starting it no longer
399 crashes the server
400 - boardconfig API created
401 - API: updategamelist now sends both name and gametype for gameconfigs
402
403 2002-05-15 (cap)
404 ----------
405
406 - added general game properties to the configuration, more verbose game
407 descriptions in protocol
408
409 2002-05-01 (cap)
410 ----------
411
412 - monopd now requires libCapsiNetwork 0.1.0 or later
413
414 2002-04-30 (cap)
415 ----------
416
417 - added support for dynamic rent calculation, railroads/airports have been
418 ported to it. we now require libmath++, so there will be no 0.3.1 as this is
419 definitely a new feature worth 0.4.0 in the future
420
421 2002-04-29 (cap) (monopd-0.3.0.tar.gz)
422 ----------
423
424 - load game configs from install data dir
425 - make install completely works now, updated README
426 - config file is now a -dist which doesn't overwrite, updated
427 README.monopigator
428 - monopd port configurable from monopd.conf
429 - removed stringstream stuff, older gcc's don't seem to like it
430
431 2002-03-30 (cap)
432 ----------
433
434 - API: introduced estategroupupdate
435 - API: gameupdate status started is now start
436
437 2002-03-22 (cap)
438 ----------
439
440 - new config group EstateGroups active and used
441 - parsing properties: price, housePrice, color, bgColor
442 - API: groupid=<int> now replaced by group=<string> in estateupdate
443 - API: chancejailcard=<bool>,ccjailcard=<bool> replaced by outofjailcards=<int> in playerupdate
444 - API: removed type=<string> from estateupdate and config completely
445 - cards are now dynamic
446 - generic Board property for bgColor
447
448 2002-02-28 (cap)
449 ----------
450
451 - auctionupdate API change: type is deprecated, edit/new are implied.
452
453 2002-02-01 (cap)
454 ----------
455
456 - bugfix: don't allow unowned estates to be traded
457
458 2001-12-19 (cap)
459 ----------
460
461 - C++ has bools, so use them.
462 - Player::canMaintain is deprecated, we've had Estate::canBeMortgaged and
463 friends for a while now
464 - Replacing commandlist with:
465 - playerupdate can_roll can_buyestate
466
467 2001-12-18 (cap)
468 ----------
469
470 - Atlantic theme update, support for comments in config files.
471 - Multi-player trade updates and bugfixes.
472
473 2001-12-17 (cap)
474 ----------
475
476 - Trades are no longer limited to two persons.
477
478 2001-12-14 (cap)
479 ----------
480
481 - Removed --theme argument, theme can now be given as argument for .gn,
482 allows clients to choose any game
483
484 2001-11-15 (cap)
485 ----------
486
487 - Moved a lot of responsibility to Game::addPlayer, makes rest of code
488 cleaner and more logical. Fixed updateplayerlist bug from TODO.
489 - Go to jail no longer uses hardcoded estateId 10.
490
491 2001-11-11 (cap)
492 ----------
493
494 - Added color and bgColor to estates. Allows clients to build dynamic
495 gameboards.
496 - Bugfix for chance/cc cards that give money.
497
498 2001-10-17 (cap)
499 ----------
500
501 - Completed isSolvent/pay merge into payMoney (has built in check, returns
502 true if payment succeeded or false if it doesn't) and addMoney (always
503 true).
504 - Added compile date of server to version string. Have to figure out a way
505 to automatically do this in CVS but not for releases.
506
507 2001-10-11 (cap)
508 ----------
509
510 - More C code (read: chars) turned into C++ (read: strings), if there's
511 going to be both a C and C++ server why not make the C++ one real C++
512 instead of hybrid
513
514 2001-10-10 (cap)
515 ----------
516
517 - API change: can_be_unmortgaged and can_be_mortgaged in estateupdate are
518 replaced by can_toggle_mortgage, .m and .u commands have been replaced by
519 .em command (toggle estate mortgage)
520 - Stringified some more stuff
521 - Added Player::addMoney method for easier cash management, prepared
522 payMoney method which will eventually replace isSolvent() and pay()
523
524 2001-09-08 (odinhuntr)
525 ----------
526
527 - Added sellhouseprice to Estate/initial estateupdate/config file
528 - Fixed up commandlist sending a little bit
529 - seems like i did something else too; i forget :p
530
531 2001-09-01 (odinhuntr)
532 ----------
533
534 - Fixed a segfault bug with trading (forgot some parameters to ioInfo)
535 - Added a Player::getStatus() method; Player::status() is kind of sloppily
536 encapsulated
537 - Fixed a bunch of unnecessary messages
538 - Fixed the oddities with passing-go money not being updated right off by
539 adding the playerupdate directly into Player::pay().
540 - Encapsulated a bunch of other IO, too.
541 - Fixed two jail-related bugs; rolling enabled when paying to leave jail
542 and ability to end turn while jailed removed.
543 - Added some better checking for the commands in the beginning of
544 commands.cc.
545 - Encapsulated EscapeXML() into Player::name() and Game::description().
546 - Added type="foo" attribute to <estateupdate/>
547
548 2001-08-31 (odinhuntr)
549 ----------
550
551 - Became the autoconf ninja I so desperatly wanted last night. conf/
552 directory is installed correctly now :p
553
554 2001-08-30 (odinhuntr)
555 ----------
556
557 - Fixed retarded behavior of escapeXML (strcatting to a newly allocated,
558 non-zero-terminated char * is bad)
559 - Started with some autoconf stuff, but we need an autoconf ninja to get
560 the conf directory to $(prefix)/share/conf :p On the up note, one
561 can now use the MONOPD_DATA #define as the prefix directory when
562 haxoring on the monopd code.
563
564 2001-08-29 (odinhuntr)
565 ----------
566
567 - Fixed auction crash bug. I officially hate vectors.
568
569 2001-08-28 (odinhuntr)
570 ----------
571
572 - Atlantic config file there, really rudimentary theme loading
573 - Lots of little cleanups
574
575 2001-08-17 (odinhuntr)
576 ----------
577
578 - escapeXML(string) works
579
580 2001-08-10 (odinhuntr)
581 ----------
582
583 - Fixed small bug in Estate::canBuyHouses()
584
585 2001-08-09 (odinhuntr)
586 ----------
587
588 - Let clients know about estate prices and rents on initial estateupdate
589 flood
590 - Fixed & --> | bug, games are playable again
591 - Fixed Player::status() -> Player::clientStatus() bug, ditto
592
593 2001-08-08 (odinhuntr)
594 ----------
595
596 - Fixed the trade vector-deletion bug
597
598 2001-08-07 (odinhuntr)
599 ----------
600
601 - Squashed a bunch of miscellaneous annoying little bugs.
602
603 2001-08-06 (cap)
604 ----------
605
606 - implemented registerMonopigator()
607 - many C to C++ changes (libCapsiNetwork CVS or upcoming 0.1.0 is now
608 required!)
609 - merged client and player classes
610
611 2001-08-04 (cap)
612 ----------
613
614 - Moved IO functions outside User class (User::io_writegame would now be
615 Game::ioWrite).
616 - Moved User class to Client class
617
618 2001-08-02 (cap) (monopd-0.2.0.tar.gz)
619 ----------
620
621 - Disconnected players are _not_ deleted from the game anymore but simply
622 marked as bankrupt. This fixes some bugs and is a first step to add
623 support for clients to reconnect and continue.
624 - Made many of the setBla() and bla() methods inlined.
625 - Many, many if (player->user()) checks. Moved merging of player and user
626 class up to first TODO item for 0.3 (I will also redo IO stuff then by
627 taking it out of the User class).
628 - Updated version to 0.2, prepping for release.
629
630 2001-07-31 (cap)
631 ----------
632
633 - Removed Auction::m_ready, it was not really necessary and broke token
634 movement timeouts since setReady was never set there. Instead, the event
635 is created upon the first bid instead of the creation of the auction.
636
637 2001-07-31 (odinhuntr)
638 ----------
639
640 - Added Game::estateUpdate(Estate *), sends a full estateupdate of
641 the given estate and all estates in the same group to all players.
642 - Added <display/>, fixed bankruptcy thing (i hope).
643 - Working on bug list.
644 - AUCTIONS DONE.
645 - Auction fixups, *JAIL BUG SQUASHED*, some other stuff that I forget :p
646
647 2001-07-30 (odinhuntr)
648 ----------
649
650 - Implemented most of auction system. Still to do: pause game during
651 auction, allow bidding, handle what happens when nobody bids.
652
653 2001-07-30 (cap)
654 ----------
655
656 - bugfix: "Advance to.." cards land player on estate
657 - bugfix: Timeout events land player on estate, timeouts re-enabled
658 - bugfix: Removing timeout event from vector when all token movements are
659 already confirmed.
660 - bugfix: mortgaging/selling houses possible when there's a debt to settle
661 - bugfix: turns ends after bankrupty, even when player had doubles
662
663 2001-07-29 (odinhuntr)
664 ----------
665
666 - API written. God, I hate documentation.
667
668 2001-07-28 (cap)
669 ----------
670
671 - Disabled token movement timeout as long as it's broken
672
673 2001-07-28 (odinhuntr)
674 ----------
675
676 - XML fixes (tradeupdates not sending tradeids, reversed logic for deciding
677 which playerid to send for a player element of a tradeupdate)
678
679 2001-07-27 (odinhuntr)
680 ----------
681
682 - Fixed annoying bug where tradeupdate accept toggles would lie about
683 which playerid was toggling (three args given to four printf args
684 expected is Bad Juju (tm))
685
686 2001-07-26 (odinhuntr)
687 ----------
688
689 - Changed to can_buy_houses and can_sell_houses.
690 - Send house price on initial estatelist, <estateupdate houseprice="150"/>.
691
692 2001-07-26 (odinhuntr)
693 ----------
694
695 - Added a can_be_improved attribute to estateupdate, stuck it in where
696 appropriate, added Estate::canBeImproved(player *).
697
698 2001-07-24 (cap)
699 ----------
700
701 - Keeping EstateVec pointer of Game in Estate class, moved estate related
702 methods (groupSize, min/maxHouses etc) to Estate class
703 - Keeping User parent pointer in Player class
704 - Attributes changes in estateupdate allowing more lazy client updates:
705 can_be_owned (replaces ownable)
706 can_be_mortgaged (new)
707 can_be_unmortgaged (new)
708 - *Major* variable cleanup/naming conventions
709 - updateplayerlist now supports type=del and has full support for attribute
710 master
711
712 2001-07-19 (cap)
713 ----------
714
715 - Updated trading XML as discussed on list.
716 <tradeupdate type="new|edit|accepted|completed" tradeid="tradeid"
717 actor="playerid">
718 Types new and edit can contain:
719 <player playerid="playerid" accept="1|0" money="int"/>
720 <estate estateid="estateid" included="1|0"/>
721 When all accept, we send type accepted, the necessary estate/playerupdates
722 and then type completed.
723
724 2001-07-18 (odinhuntr)
725 ----------
726
727 - Added <tradeupdate type="completed"/> and deallocated trade upon success
728
729 2001-07-15 (odinhuntr)
730 ----------
731
732 - Changed .Tc$1 to .Tr$1 'cause that's what was in the TODO :p
733 - Finished off player checks for trading
734
735 2001-07-15 (odinhuntr)
736 ----------
737
738 -Trading!
739
740 .Tn$1: trade with player $1
741 .Te$1/$2: add estate $2 to trade with id $1
742 .Tm$1/$2: offer $2 money to trade with id $1
743 .Tc$1: cancel trade $1
744 .Ta$1: accept trade $1
745
746 <tradeupdate tradeid="0" playerid="1" type="add|del|money|new" estateid="2"
747 value"3" accept="4"/>
748 tradeid is the trade's internal ID tag.
749 playerid is the player making the change.
750 estateid is the estate for trade.
751 accept is 1 or 0, depending on whether the player has accepted the
752 most recent tradeupdate. (this is reset upon any change, the player
753 must re-accept if anything is changed.) .Ta$1 toggles this.
754 type:
755 add: add an estate.
756 del: delete and estate.
757 new: this is a new trade.
758 money: player is offering an amount of money specified by 'value.'
759
760 - Jailcards not added yet.
761
762 2001-07-13 (cap, Friday the 13th commits)
763 ----------
764
765 - cloned maxHouses to minHouses, even build rule now effective for both
766 building and selling houses/hotels
767 - various cleanups
768 - encapsulated newTurn into Game class
769 - token movement timeouts working, after timeout server sends playerupdate
770 towards final location with directmove=1. Clients should act upon this
771 immediately and should notice themselves and cancel whatever animation they
772 were displaying
773 - added jailed, chancejailcard and chestjailcard attributes to
774 <playerupdate>, values 1 and 0
775 - cleaned up API, newClass/delClass create and delete instance,
776 addClass/removeClass only manipulate existing pointers
777
778 2001-07-12 (cap)
779 ----------
780
781 - updated documentation
782 - event loop should be more stable now
783 - added command .Te#:# to toggle estates within a trade
784 - better implementation of vector deletes, other cleanups
785
786 2001-07-11 (odinhuntr)
787 ----------
788
789 - fixed tax bug (luxury tax taxed an uninitialized value)
790 - added minimum house requirement on same-color estates
791
792 2001-07-08 (cap, live from LinuxTag)
793 ----------
794
795 - most commands disabled during token movement
796 - tax $200 _or_ 10% preparations
797 - prepared class and some commands for trades
798
799 2001-07-06 (cap, live from LinuxTag)
800 ----------
801
802 - Some bugfixes (checking for NULL u->game entries, moving generic checks
803 towards the command parser)
804 - Implemented generic event system.
805 - Min/max players configuration.
806
807 2001-07-01 (cap)
808 ----------
809
810 - Implemented generic event system.
811 - Min/max players configuration.
812
813 2001-07-01 (cap)
814 ----------
815
816 - API changes: .c -> .jc
817 .pj -> .jp
818 .r -> .jr (normal roll can no longer be used to leave jail)
819 .bh -> .hb
820 .s -> .hs
821 - Completed bankrupty actions (selling houses, transferring properties, etc)
822
823 2001-06-29 (cap)
824 ----------
825
826 - Chance/CC out of jail cards are removed from pile when player receives
827 them and are returned to pile when player uses them.
828 - Player no longer goes bankrupt automatically when unable to pay debt.
829 Player has opportunity to settle debt first (mortgaging, selling houses)
830 and then pay off the debt collector with .po or to declare bankrupty
831 manually.
832 - Leaving jail command change to .pj
833 - Sending some more info on startgame which should clean up client displays
834 for property ownerships (they need to support it anyway, in case a
835 property get sold)
836 - Tweaked many info messages.
837 - Correct calculation of rent after chance/cc cards which say "pay double
838 rent / pay ten times rent".
839
840 2001-06-26 (cap)
841 ----------
842
843 - Bugfixes.
844 - New command to declare bankrupty: .D, sends playerupdate with bankrupt="1"
845 attribute and is automatically called when player is in debt while not
846 solvent.
847
848 2001-06-24 (cap)
849 ----------
850
851 - All chance/cc cards are now supported except advance to next util/RR!
852 - Houses/hotels can be sold back to the bank with command .s# (where # is
853 estateid)
854
855 2001-06-21 (cap)
856 ----------
857
858 - Added mortgaged attribute to estateupdate. Clients can now actually parse
859 results of (un)mortgage commands .m and .u!
860
861 2001-06-20 (cap)
862 ----------
863
864 - Bugfix: unset PLAYER_CANROLL when sending to jail
865 - Collected Player modifications for jailing into Player::toJail()
866 - Buying houses is supported! Added atrribute houses to <estateupdate>,
867 changed .b to .be (buy estate) and added .bh (buy house, argument
868 estateid))
869 - Rolling not possible when clients are still moving
870 - No extra turn when leaving jail after doubles
871 - Mortgaged estates no longer collect rent
872 - Mortgaged estates do not counted as owned: no building or rent doubling
873 for groupmates.
874 - Bugfix: buildings require all properties to be unmortaged, rent
875 calculation is _not_ affected (except for mortgaged estate itself).
876
877 2001-06-19 (cap)
878 ----------
879
880 - Changed game name into description (makes more sense) and issued separate
881 command for it (.gd) so the master can change the description.
882 - Prepared some stuff for Chance/CC jailcards.
883
884 2001-06-19 (odinhuntr)
885 ----------
886
887 - Fixed a segfault (checking u->game->status without checking u->game isn't
888 null)
889 - Added game names, use .gnGamename, returns <game id=moo name=Cool
890 players=moo/>
891
892 2001-06-19 (cap)
893 ----------
894
895 - Some bugfixes regarding throwing doubles
896 - Clients get a unique client ID in welcome message <client clientid="1"/>
897 - <updateplayerlist> now sends full info (clientid, name, host)
898 - Added destination enum (toUser, toGame, toAll) for User::io_info and
899 User::io_error
900 - Even more messages turned into XML including playerupdate ((un)mortgages).
901 - Chance and Community Chest cards that give or take static amounts of money
902 are working! And so are the pay per house/hotel ones!
903
904 2001-06-18 (cap)
905 ----------
906
907 - Bugfix: double count must be reset after being sent to jail.
908 - Added Player::solvent() function to separate money checking from
909 Player::pay()
910 - B & O Railroad -> B &amp; O Railroad. Change is currently in config file,
911 I guess we should transform it ourselves before sending as XML?
912
913 2001-06-17 (cap)
914 ----------
915
916 - Set version to pre-0.2.0
917
918 2001-06-17 (cap) (monopd-0.1.0.tar.gz)
919 ----------
920
921 - Happy birthday Katy. Love, Rob.
922 - Changed estateupdate: id is now estateid, new attribute name (for init).
923 - Cleaned up code here and there.
924 - Changed intro string into XML and prepared it for clientid/connection
925 cookie.
926 - Playerid's are 0-indexed now (or should be).
927 - Joinedgame no longer contains playerid attribute: client message can
928 contain playerid, so that clients know their own playerid.
929 - When master leaves, next player becomes master.
930 - Added type=edit for updategamelist to edit a current item.
931 - Playerlist message is now updateplayerlist: types are "full", "add", "del"
932 and "edit", just like updategamelist. Final attribute no longer exists.
933 - Set version to 0.1.0, packaged snapshot.
934
935 2001-06-16 (cap)
936 ----------
937
938 - Added group definition for estates and rent is doubled when all
939 properties of a group are owned but without houses.
940 - player shuffle (temporarily) disabled.
941 - Added directmove=1 for landing on 'to jail' message.
942 - Added playerupdate after paying rent.
943 - Bugfix: token movement confirmation is ignored when server doesn't expect
944 it.
945 - Bugfix: passing Go gives 200 again (I pretended it did with the token
946 confirmation code, but never actually gave it!).
947
948 2001-06-15 (odinhuntr)
949 ----------
950
951 - Changed rest of messages to XML format
952 - Added vsprintf functionality to User::io_*
953 - Changed uses of said functions to use the new functionality when possible
954 - Fixed some spelling :p
955 - Added a User::io_info() (like io_error())
956
957 2001-06-14 (odinhuntr, merged into HEAD branch by cap)
958 ----------
959
960 - Added ".d" for disconnect client->server
961 - Changed most barewords errors to XML messages. Gotta add vsprintf()
962 functionality to User::io_*.
963
964 Note: I (cap) did not merge in the disconnect changes, I would like further
965 discussion on implementation first. Furthermore, since you probably have
966 files from both branches mixed out, please backup your changes and do a
967 clean checkout so your next commits builds on current tree and goes into 1.x
968 instead of 1.1.1.x ?
969
970 2001-06-11
971 ----------
972
973 - Imported monopd to Sourceforge CVS. Hurrah.
974 - Added playerid attribute to <msg type="chat"/>, author attribute is kept
975 for backwards compatibility.
976
977 2001-06-10
978 ----------
979
980 - Only master can start game, master=1|0 attribute added to playerlist.
981 - Correct rent on utilities (value of dice now stored in Game class).
982 - Tax estates functional.
983 - Player leaves jail on doubles.
984
985 2001-06-10 (monopd-snapshot-2001-06-10-0251.tar.gz)
986 ----------
987
988 - Bugfix: added missing newline after </monopd> when landing Free
989 Parking and Go To Jail.
990 - Bugfix: passing Go should not mark clients as non-moving
991 - Bugfix: removed protocol breaking newline after "thrown into jail".
992
993 2001-06-05
994 ----------
995
996 - Added reference to gtkmonop in README
997 - directmove=1 added to ToJail estate playerupdate
998 - playerlist final=1|0 instead of true|false
999
1000 2001-06-05 (monopd-snapshot-2001-06-05-0510.tar.gz)
1001 ----------
1002
1003 - Added chat function. Commands still all start with . so anything that
1004 doesn't is a chat message. Server sends: <msg type="chat"
1005 author="playername" value="chatmsg"/>
1006 - Removed "end of turn" non-XML message, it's no longer necessary because of
1007 the <newturn> message.
1008 - Community chest and chance cards are read from config file and printed to
1009 client. However, the cards do not actually work yet.
1010 - Players are shuffled upon game start.
1011 - Lots of internal changes for Estate. Should not affect behavior much
1012 - Playerupdate now uses playerid as attribute instead of id.
1013
1014
1015 2001-06-01 (monopd-snapshot-2001-06-01-0302.tar.gz)
1016 ----------
1017
1018 - Added <movetoken> XML message, which replaces playerupdate for
1019 token movements. (but not for updates in money, name and other none
1020 animated stuff)
1021 - Added .t command for clients to acknowledge token movements. Clients now
1022 *must* confirm the new location of their token after each
1023 animation/update, so that the server can send the appropriate messages
1024 "Passed Go, +200" at the right time.
1025 - Added <msg type="standby"> message type, which is used to inform clients
1026 that the server is waiting for other clients to finish display updates
1027 before continuing to send info.
1028
1029 2001-05-27 (monopd-snapshot-2001-05-27-0342.tar.gz)
1030 ----------
1031
1032 - Added joinedgame XML message, informs clients of playerid.
1033 - Added newturn XML message, informs clients of playerid with turn.
1034
1035 2001-05-08 (monopd-snapshot-2001-05-09-0446.tar.gz)
1036 ----------
1037
1038 - Many more messages turned into XML.
1039 - Playerupdate sent after purchase as well.
1040 - Bugfix: moved user deletion away from cmd_outro and into socket_handler
1041
1042 2001-05-08 (monopd-snapshot-2001-05-08-0317.tar.gz)
1043 ----------
1044
1045 - Confirmation for setting name is now XML.
1046 - Confirmation/denial for joining and creating game is now XML.
1047 - Bugfix for segmentation fault in .gs command while game pointer was NULL.
1048 - Upon starting a game, "playerupdate" commands are sent.
1049 - Players get unique id (valid within game).
1050 - Dice result message is now XML.
1051
1052 2001-05-07 (monopd-snapshot-2001-05-07-0313.tar.gz)
1053 ----------
1054
1055 - Playerlist now includes final boolean ("true" or "false"). This aids
1056 clients, because they might need to take different actions, for example
1057 KMonop needs to update a Listview during config but create portfolio
1058 widgets once the playerlist is final.
1059 - Playerlist (final) is automatically sent when game is started.
1060
1061 2001-05-03 (monopd-snapshot-2001-05-03-0422.tar.gz)
1062 ----------
1063
1064 - Bugfix: segmentation fault when deleting a user with a NULL pointer as
1065 game.
1066
1067 2001-05-03 (monopd-snapshot-2001-05-03-0123.tar.gz)
1068 ----------
1069
1070 - Playerlist is now broadcasted to all players.
1071 - Added player hostname to playerlist.
1072 (monopd now requires libcapsi_network-snapshot-2001-05-03-0123.tar.gz)
1073
1074 2001-05-02 (monopd-snapshot-2001-05-02-0351.tar.gz)
1075 ----------
1076
1077 - Added command to list players in game, .gp
1078 - Bugfix: when user gets deleted, it also removes player from game and
1079 deletes game is no more players are in it.
1080
1081 2001-04-28
1082 ----------
1083
1084 - API decision: messages are separated by newlines. Syntax within a message
1085 is yet unspecified, although it will probably use a subset of XML.
1086 - gamelist is printed in tiny XML.
1087
1088 2001-03-12
1089 ----------
1090
1091 - turn-based game, .r only allowed on players turn [Milestone I bugfix]
1092 - complete redesign of user, game, player and ownership relations
1093 - separate class for estate entities, names and prices from file
1094 - to_jail property for estates
1095 - buying properties and collecting rent are supported in the game, however
1096 there are no commands in the API yet to buy properties. unowned properties
1097 are automatically bought at the moment.
1098 - game requires >=2 players
1099
1100 2001-03-07
1101 ----------
1102
1103 - Simple server with very limited capabilities:
1104 - creating a game
1105 - joining a game not yet in progress
1106 - starting a game