Hi, It seems the "Reinforce" order in Risk somehow crashes tpserver-cpp. The order is composed fine, as I'm getting an "ok" frame from the server, yet when it's processed internally in the server, it crashes. Here's the debug output:
2008-08-14 22:44:55 < Info > End Of Turn started 2008-08-14 22:44:55 < Debug > Now processing orders of type: "Colonize" 2008-08-14 22:44:55 < Debug > Now processing orders of type: "Reinforce" 2008-08-14 22:44:55 < Debug > Now processing orders of type: "Move" 2008-08-14 22:44:55 < Debug > Starting a Move::doOrder on Alfirk. tpserver-cpp> tpserver-cpp: move.cpp:175: virtual bool RiskRuleset::Move::doOrder(IGObject*): Assertion `target' failed. Aborted Why does it say that it starts a Move, when the order is clearly a Reinforce? (order type: 1, order param type: 1, integer field in param: the amount of troop reinforcements, order id: the id of the planet to be colonized, order slot: -1). I've got the Move order working, and it sure is different than this one. PS -- on a somewhat related note, I can't get Colonize working as well (joining Iwanowitch in this). But that belongs in the other thread... Thanks guys! -- Victor. Truth is greater than ten goats (Nigerian proverb).
_______________________________________________ tp-devel mailing list [email protected] http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
