Jump to content

wraitii

WFG Programming Team
  • Posts

    3.395
  • Joined

  • Last visited

  • Days Won

    75

Posts posted by wraitii

  1. Mythos, you made me do it today.:P

    My best map ever:

    Nile%20River.png

    Updated the map. Shallows are removed. River now flows South-North. And many other changes. Unfortunately, new path algorithm will not make it to Alpha-9 as it can cause unusual game crashes.

    Gee, that's really good for a random map algorithm. I only have one playability concern: the players seem to have unbalanced resources (ie the bottom left one has more nearby wood) which I think should be avoided as much as possible in random maps.

    Perhaps the players could start more into the desert?

  2. Okay, so here's the fixed version. I think the next update will be in more time, since it seems like whatever I will add now has to be fairly significant.

    This fixes many insidious bugs in many things, but mainly the defense and the attacks. As a result, Marilyn works overall better ate defending, and at attacking too.

    I've also slightly updated the queuemanager: things that have been in the waiting queues for more than 30 seconds will gradually become more important, and this helps reducing a phenomenon I encountered which was "in the endgame, Marilyn builds no citizen soldiers and few villagers".

    Did a few further testings, on Serengeti... Fixed a house building bug by the way. Marilyn generally behaves on par or better than qBot. On Oasis, Marilyn/Hellenes vs qBot/Persians is won by Marilyn in about 30 minutes. The other way around is perhaps more to the advantage of qBot, but it appears qBot behaves better with the Persians, while Marilyn does pretty much the opposite.

    On most other maps, I expect the results to be about the same, with perhaps a slight advantage for Marilyn. On maps where animal are a threat, Marilyn is the clear winner.

    Download link

    Oh, and I've figured git out, too. I'll get the qBot from SVN and play against it (couldn't manage to compile SVN, but with a very benign tweak svn qBot should work on alpha 8).

    edit:darn, forgot to check out a debug in plan_building.js ... Search for "obstructionradius" and remove the debug.

    Marilyn.zip

  3. Actually, I tried yesterday, but I ran into a problem... I think I'll try to figure it out later on though, because it could indeed be useful.

    I've discovered a really crazy amount of bugs in my defense manager and my economic managers, that should now be fixed, so I think I'll do some testing and release another version... Then try to test against the SVN, and use git.

    I also did a few changes to the queue, basically: after 30 seconds, queues raise in importance with time (ie older queues are given priority)

  4. Okay, some more bugfixing... Apparently there was a problem with javascript interpreting my variables as pointers, and a few stuffs I forgot to do in the tactics manager.

    There are still a few bugs left when the attack manager can't find a path to the enemy, but those should basically only happen after said enemy's death so not a serious problem.

    The tactics manager (ie battle manager) is now designed so that units will only change target once their former target is dead (works much better).

    Did some more testing on Sahel Watering Holes, the map being crowded with elephants and nasty fauna... And Marilyn is definitely much stronger than qBot on that map, thanks to the new "animal killing" capability she has. She always defeated qBot (or both qBots, actually, but in this case they simply annihilated each other) in under 30 minutes (and it was basically over after 25).

    edit: see below

  5. This is reasonable but this should be made very clear, probably with a warning popping up if you pick them on a naval map. Also playing with random civs is pretty common so the random civ selector would also need to be aware of this.

    This. This this this. It's okay if they don't have a warship, as long as they're slightly stronger on land... But then you absolutely need to make a "random for sea maps" options.

  6. Okay, so I worked most of the day on Marilyn... I think it did some good... I've seen it once crush qBot in 25 minutes, but that seemed to have been a lucky strike... Overall, she's now much more resilient, and again, I've laid ground for further upgrades

    New stuff (basically):

    -fixed Fortresses building improperly.

    -Houses are now far away and more concentrated.

    -Attack Plans can now continue during an attack, or be used properly by the defense manager.

    -The Defense manager is overall more efficient, and able to detect attacks better. I've also laid grounds for different types of attack recognition, though it's not yet implemented.

    -Ability to take care of annoying animals attacking citizens. To playtest this, check out Sahel Water Holes: Marilyn deals with the elephants (particularly true for player 3). This makes her MUCH more efficient than qBot on this particular map.

    -Attack plans keep their tactics manager over several turns. Thus they should work better, I'm not sure what effect if has but it can only be good.

    -refined a few stuffs in the queues to make everything easier, and made Marilyn build units for plans by batch of 3 and not 1

    -Added a few stuffs here and there.

    edit: see post below.

    Overall, I did a few test drives, and I'm finding Marilyn much more resilient against the mighty qBot (alpha 8). She's more rarely defeated and I've seen fairly clear victories. On maps where animals are threat, she will now be much better than qBot.

    There's a lot of tweaks to do (she builds too many fortresses, for example, and more importantly: making the defense manager understand that attacks too far away should not be pursued.), but I think I'll be able to actually add some stuffs in the next days (early scouting, raiding against villagers, this sort of things).

  7. I just ran a quick test with recent svn on Oasis II (qBot Carthagians, Marilyn Hellenes). The game segfaulted (without a useful error message) before the game was finished, but it looked like Marilyn got the upper hand towards the end. qBot had the better start but its attacks were too uncoordinated and slowly Marilyn gained ground.

    Thanks for the report.

    The error is actually fixed, it had something to do with counterattacks when all units are dead.

    I'm upgrading the defense manager for now, using a defcon system. Also, a few economic stuffs.

  8. Design choice then, no problem, I'm merely worried that it might break choosing random civilization on multiplayer... Perhaps you could set a "random", "random with boats (ie not iberians" option. Of course, since random maps are barely existing right now, it's not the hugest concern.

  9. I just noticed a fairly serious issue with the economic manager that caused it to concentrate much less on food than it should. Something about my "maxperfield" parameter working and not my "maxpertree". Anyways, this made Marilyn very easily defeated in the long game.

    I'm also updating my tactics manager to be usable over several turns instead of having to be reconstructed each turn, and a few other stuffs in defense.

    edit: looked at the svn updates since Alpha 8... Can't see anything that would cause such an issue.

    Edit: okay, this is worth another upload. here's the latest version:

    Download

    Changes are that Tactics is now usable over many turns (the defense manager uses it), and fixing a few balancing problems with the economy manager.

    In the games I tried on Oasis (qbot vs Marilyn, with both playing both sides ( tested twice each configuration )), Marilyn is now superior to qBot in basically every aspect, but she's not that much of an attacker, so the game is pretty much a stalemate.

    Edit2: actually, another update: I incorporated some of the svn-qBot changes, and mainly I optimized a lot the "reassignidleworker" function, so you should not experience any lag spike.

  10. I have the folder. :) You are only testing on Alpha 8 though. There have been changes to the API since Alpha 8, I believe. Someone correct me if I'm wrong.

    Ah indeed, perhaps this has changed, I'll give a look.

    (darn developers developing :) )

    Edit: I don't see any of that particular code having changed... Seems like qBot does the same. Quantumstate, any idea?

  11. You're going to say I do this a lot, but here's a penultimate update (the last for the day, rest assured :) ).

    I've started tackling the attack problem. It's still a very early development, but I implemented a class for dealing with inter army fighting (very-very basic for now), which should serve as a framework for further progress.

    I changed a few stuffs in the way Marilyn attacks: she will now do one or two early raids, and will retaliate if you attack her and she's still got a standing army.

    edit: see below for latest download.

    I did a few tests against qBot (on Oasis, though , but I think Marilyn is, if anything, more adaptable), and while she isn't way stronger, she's got the upper hand:

    -qBot craves for more food, but this might be civ-specific, and anyway Marilyn collected much more wood, stone and metal than qbot.

    -qBot built more units, but lost more too (again, I think this is civ specific)

    -qBot lost more buildings (including a town centre), and Marilyn regularly managed to send units in his base while qBot couldn't.

    Any remarks and testing will be appreciated :)

  12. Getting access to at least the "high level pathfinder" for a set of entities would be nice... Sending armies could be dealt with more easily, analyzing the map can likely be done easier with the current AI API.

    (I'm thinking for example some sort of A* function that would return a path, possibly every x "cells" or at each turn.)

    I forgot about the UnitAI stuff. It would really be useful, particularly to know which unit is attacking who.

  13. I'm not using the SVN version of 0 A.D., but marilyn ought to be compatible... It pretty much started as my take on qBot while I was on Holidays, and I've basically spent two months tweaking stuffs to make it about as good as qbot with a few underlying architectural changes.

    I'm doing this both for fun and to try to improve qbot while Quantumstate is not working on it... I've basically developed this my way, but it appears all the ideas I'm trying to implement are going in the way of what Quantumstate wrote above, namely the "attack managers", which I implemented on my own as attack plans (whilst not having read that he wanted to do so, too, funnily enough). Chokepoints I intend to do too.

    My biggest design change has been a few stuff in the Queues managers, the defense system (which I implemented separately for readability), attacks and the building of dropsites.

    I plan on making further changes, and perhaps someday change the economic aspect a bit.

    I'm also making Marilyn more suitable for the day technologies arrive.

×
×
  • Create New...