[[email protected]: [monopd-devel] auctions, debts, events and queuing]
Rob Kaper <[email protected]>
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
----- Forwarded message from Rob Kaper <[email protected]> ----- From: Rob Kaper <[email protected]> Reply-To: [email protected] To: [email protected] Subject: [monopd-devel] auctions, debts, events and queuing Date: Tue, 8 Jul 2003 18:38:15 +0200 User-Agent: Mutt/1.2.5.1i Message-ID: <[email protected]> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.11.1.3 This will probably be one of the longer mails sent to the list. There are some known problems with the event order for auctions and debts that need to be addressed before a 1.0 release. What happens when a player overbids in an auction? - monopd completes the auction and transfers the estate - monopd creates a debt Works fine in theory, but it has a nasty bug: the estate is transfered prematurely and can be mortgaged to get money to pay the debt. That's not what *should* happen: - monopd should create a debt - monopd transfers the estate upon debt resolution The problem is that the auction object has been deleted before the debt resolves, so monopd doesn't know what to transfer. Even if the auction where still there, it was never specifically tied to the debt. The most generic solution, IMHO, would be to allow to add a trade to a debt. Storing an auction pointer in a debt would be rather specific while trades are super flexible as they can involve practically any game object. It would require a trade extension though, to make it read-only and hidden from the wire protocol, as it is only a planned transaction and nothing that can be edited by players. When the debt resolves, the trade completes. This should fix the auction behavior without changing the wire protocol. Any input? Rob -- Rob Kaper | "They that can give up essential liberty to obtain a little [email protected] | temporary safety deserve neither liberty nor safety." www.capsi.com | - Benjamin Franklin, Historical Review of Pennsylvania, 1759 ----- End forwarded message ----- -- Rob Kaper | "They that can give up essential liberty to obtain a little [email protected] | temporary safety deserve neither liberty nor safety." www.capsi.com | - Benjamin Franklin, Historical Review of Pennsylvania, 1759 _______________________________________________ atlantik-devel mailing list [email protected] http://mail.kde.org/mailman/listinfo/atlantik-devel
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/C5QUtppIl2G1SjcRArgBAKCVT8qxNFAXYOgWye8PZ3gcNxPNhACfZ80+ VLInbWxII/mq0KSxJ9JEUJ4= =/02t -----END PGP SIGNATURE-----