Ouch. We can just make them long integers. Ant, would you mind taking care of this and posting it to the CVS? It might need to be done in the routines for...
... Hash: SHA1 ... actually, you want 'long long' (which is 64 bit) but MIGHT not be supported on any given platform. A simpler (and shorter term) fix would ...
An unsigned long should be good, no? 4billion? Sure we eventually risk overflow, but a unit with that much study SHOULD crash the freeking game. ;) -Az...
... Hash: SHA1 ... Well, it's a signed long now, so the unsigned long (ie, unsigned int) was my 'simple short-term' suggestion :) Yes Az, both a long and an...
A question for those folks who are actually running a game: How much bandwidth per turn does it take actually running a game of Atlantis? Just in case I was...
... suitably large units. ... Why not just do the division first? It doesn't make any difference, ie. a*b/c = a/c*b. So: int tempdays = (umen * days) /...
... umen should never be zero, thus umen/students will never be zero. The previous section should handle that and make sure all teach targets are valid and...
Ah yes. So, as JT metioned to me on IRC, we use a float for the division and floor() the results (which returns a double). How does this look? float...
... You probably want to floor tempdays after the multiplication, otherwise you run into the same problem that you had with the ints, ie. floor(0.8*100) !=...
Hi, Anthony & Az. ... No. 1) umen/students is integers, and conversion to float will after divide. 2) if float classfraction = float(umen)/students floor(0.9)...
... Hash: SHA1 This is to make it very clear that I do not accept cheaters in any of my games. The faction 'Endymion (596)' being run from the email address ...
... Sad, but it has to be done. Due to the lack of good cryptography though (ie. signed public keys), there's always room for doubt, particularly when people...
This falls under the category of Atlantis ettiquette and ethics. An article on this subject for ATA (and the player's documentation) is needed. I'll work on ...
... Hash: SHA1 ... Even there, there is nothing stopping someone from generating different public keys. What you need is actually a good and WIDESPREAD trust ...
... Hash: SHA1 ... Personally, I think it's stated quite clearly in the game rules. "Each player is allowed to play one and ONLY one faction at any given...
... This is easy to skim over and miss. It is not exactly clear, and I've never quite thought that this was sufficient. Clearly the engine will "allow" it. If...
In Grelth, Nexus cities and default work orders are both enabled. It appears, however, that units in the Nexus--but not elsewhere--that don't actually...
... Could this possible be related to the following line from rules.cpp: 1, // DEFAULT_WORK_ORDER ? Not sure what sets exactly but looks like it sets weither...
... The ones with queued movement make sense, as they actually did have orders even though you hadn't given them any - they were still busy with the last lot...
... Hash: SHA1 ... If you look in game.cpp line 63 (in the function Game::DefaultWorkOrder) you will see the problem. It explicitly skips the nexus. The...
... After an off-list chat with JT, it seems that 1/4 of a MB per player per week is approximately what Wyreth and Realms use (with 170 and 68 players...