Pages

Wednesday, March 30, 2011

DotA Allstars 6.70c AI Test, Tuskarr

Here you can see my first tests of Tuskarr`s basic AI. He is doing very good despite the rough code.



His Walrus Punch was a big problem because it crashed the game 100% when used. We tried to fix it but the skill is rewritten and you may experience bugs (extra critical hits) with it. Either rewritten or 100% crash on use. Some of the skills are just not AI map compatible. Some of them are Kunkka`s Tidebringer, Storm Spirit`s Overload and etc.

19 comments:

  1. Quite a work you did PBMN. Nice.

    But i don't understand why the skill must rewritten, and why some skill not compatible with AI Map?

    ReplyDelete
  2. What is the reason of the crashes? Some infinite loops? Before the crashes in released ai maps I always notice a CPU peak of 1 or 2 seconds (i7 q720).

    ReplyDelete
  3. Well i first noticed those skills in BMP`s blog. He was talking about crashing and rewriting skills. I asked him about those skills when he appeared recently on PD forums. Apparently the fact that dynamically created triggers have an event type EVENT_PLAYER_UNIT_ATTACKED which is destroyed in the next function, causes problems with the existing AI script... crashes 100%. Tiny`s WarClub, Gyro`s FlakCannon, Ursa`s Overpower and Enrage, Walrus Punch and many other. Thanx to Sebra WarClub, FlakCannon and WalrusPunch were rewritten.

    ReplyDelete
  4. So, this event trigger AI to use skill when it was attacked? And because of that it crash?

    And rewrite here you mean some skill was modified a bit to avoid crash?

    Sorry for asking a lot PBMN...

    ReplyDelete
  5. We believe it crashes because of massive creating and destroying of triggers. The rewriting makes 1 global trigger which takes care of the attacked events of that particular unit.

    ReplyDelete
  6. If you are interested i can always show u a sample code

    ReplyDelete
  7. You know, actually i didn't know about programming a lot. What i know is some very simple programming, using "if" parameter. You must know what i mean since you are working this kind of stuff.

    I like to see some kind of code (i like programming, but didn't have time to learn it cause of my studies) if you like.
    So maybe i cannot help you at all...

    I'm very sorry before, but yes, i like to see some code even it didn't change anything..

    ReplyDelete
  8. Old overpower code:
    http://pastebin.com/GiAC0itT

    New fixed code by BMP:
    http://pastebin.com/5u52hpG5

    Copy and paste in JassCraft to see a better syntax highlighting.

    ReplyDelete
  9. So sorry to hear this :( I hope you are going to rewrite it,I believe in your imba skills :D

    ReplyDelete
  10. Феникс будет создан? Виндраннер будет переделена?

    ReplyDelete
  11. Hey PBMN, I just want to say that you did a great work with the 6.69AI, so much win in this map :D, and this Invoker !!!! <3

    Thank you very much, keep it up dude, you're so cool !

    ReplyDelete
  12. OK, thanks for the code..

    I cannot change anything, but i will learn something from this code, for sure..

    ReplyDelete
  13. wow, nice progress, hope it come as son as posible. good work.

    ReplyDelete
  14. at a pace you will soon catch up IceFrog :)

    ReplyDelete
  15. that code looks like simplified java o.o

    ReplyDelete
  16. A feedback for morphling:
    In the original map, when morphling cast "Waveform" he can also do other things. For exemple he can move, tp, or cast "Adaptive Strike" and even use item like "dagger".
    But in the version 6.69c ai beta he can't do anything when he casts "Waveform", would you please change this in 6.70ai or in the standard version of 6.69ai?
    Thanks a lot for all your great work. Btw, your map is well appreciated in China. Here is the Chinese version of 6.69c ai:
    http://dota.sgamer.com/201103/download-detail-693.html

    ReplyDelete
  17. We tweaked Morph a little for 6.70c AI.

    ReplyDelete