Jump to content

mookjin

Members
  • Posts

    19
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

About mookjin

  • Birthday 01/01/1

mookjin's Achievements

Member

Member (2/3)

0

Reputation

  1. Thanks for testing nightterror! I will have a look at these problems. I don't think it shouldn't be to hard to figure it out. Blizzard is channeling on your server? Hm.. Then there must be another problem with the blizzard on my server..
  2. Unfortunately I don't know a way how to check which talent tree has the most points assigned. But this will be the best way to check the specs. I've done a workaround with checking if spells in the talent tree is available or not and then choose which rotation should be used. This are the files I'm currently using: playerbotmageai.cpp http://pastebin.com/C626yuAG playerbotmageai.h http://pastebin.com/4nAweZRF --- For me the Mage AI I've done feels good and plausible, and does quite good damage.. The only problem, in my opinion, is the one with the not appearing frostauras on the enemies.. By the way. Is the Spell "Blizzard" only bugged on my server or on yours also?
  3. Hey all, I searched in the code, where aura's from different spells where generated, but I couldn't found anything. In special I am searching for the "Fingers of Frost" or other freezing auras, I got the feeling they are not correctly working when using the playerbot. Another "problem" I have is that the Mage Spell Blizzard is not working and can' be cast on an area, but only with one single slash on a attacking creature. I guess this spell is currently not correctly working, is that also true for you? Thanks in advice!
  4. @tyrael: Thanks for all the input! I will try to implement it as good as possible! I had more free time this weekend as I thought, so I started coding on the Frost Mage and testing the Warrior and Mage against lower Levels. A view small adjustments where done and they seem to be reasonable in the lower levels But with the Frost mage... Hm.. Could it be, that there is no Fingers of Frost Aura is comming up, when the Mage is a bot ? When playing him normal I had a view proggs of Fingers of Frost. Got they same feeling about Frostbite or any other freezing Auras... When I put the Fingers of Frost Aura manually on the target ( .aura 74396 ) he is using its ice lance spell. Does anybody know where to get the IDs from Frost Aura and other Auras? I couldn't find anything about it. Here are the mage sources I tested with, if anybody would like to double check the frost mage for the strange Aura behaviour (or test any other if he would like to): PlayerbotMageAI.cpp http://pastebin.com/C626yuAG PlayerbotMageAI.h http://pastebin.com/4nAweZRF For testing make sure you are using a frost skilled mage, otherwise it should automatically select the Arcan or Fire Mage rotation. Thanks for your help in advice!
  5. @tyrael: Thanks for the Info about the frostmage and all other Stuff. Never played a mage in my life! I will implement it and post it, when finished. About the otherclasses: Thanks for the Info! When I finished the warrior and Mage I will work on them and contact you.
  6. Hey Blueboy, no need to hurry! I think both, Warrior and Mage, need a lot of work to be done. Maybe I can fix and improve a view thinks, especially for the lower levels, before you publish them. Cheers
  7. My Last Post was on Page 20 or so about choosing the rotation while getting the chosen talentspecs via known spells.. Here is what I have done: This mage is, of cause a DD, and chooses is using a simple rotation with quite good DPS at lvl 80. Of course there could be adjusted a lot, but currently I'm a bit out of time Public paste! PlayerbotMageAI.cpp: http://pastebin.com/KweiHZ2z PlayerbotMageAI.h: http://pastebin.com/YTWPmDXY I hope I have more time in the next view weeks to check the warrior against other levels.
  8. @UnkleNuke I like the Idea to configure the rotations via DB or configuration file. But this will result in a more or less complex configuration language. Due to the need of Spells, which should at best only be cast when a certain Aura is either on the target or on the bot itself. Also we have do differentiate if this char should use a prioritylist or a special fixed rotation. Currently I got a small problem, when testing a simple Shaman Elemental script. I found out, that the shaman is always going into Melee and not in to Ranged combat. Even though I reconfigured the m_combatstyle in PlayerbotAI.ccp in PlayerbotAI::PlayerbotAI and in PlayerbotAI::ReloadAI. Is there anywhere else configured that he should use COMBAT_MELEE over COMBAT_RANGED? It couldn't find it
  9. You can really expect a player to conform to a 'set' talent spec. Even with an 'ideal' talent spec it's often tweaked to taste, so it's generally better to check for single spells and ignore the passive talents, at least to start out with. That's a good idea! Would be indeed way easier. I will play around with it a bit.
  10. Here is my first, for me at lvl 80, functionally version for the Warrior AI. It holds the aggro from single targets as tank and it deals when assisting as "Furor Warrior" with two weapons good damage. Please keep in mind, that the assist is currently only working good as Furor and not as Arms-Warrior! What has to be done: - fit to lower levels - get aggro from other groupmembers What am I currently coding: Mage AI (Fire is finished; arcane I will begin shortly (maybe I do some ice stuff..), also I need to find a way to find out which talent spec the mage is currently running, and how to check whether using single target or AoE Spells) after that I will continue with the warrior! PlayerWarriorAI.cpp : http://pastebin.com/ShJ2jCm7 PlayerWarriorAI.h : http://pastebin.com/KHdiQzVh
  11. @kennumen: I thought to use it without "else if", check if there is enough rage for Heroic_Strike and other spells. Cast the Heroic_Strike and then Cast whatever Spell is next in the rotation or spellpriority. if ( ai->GetRageAmount() >= 50 && ai->CastSpell(HEROIC_STRIKE, *pTarget ) ) ai->TellMaster("Casted Heroic_Strike"); if (... ) { start rotation/spellpriority here; } @kennumen: I didn't know that, or I forgot it in the past years. Thanks for the correction! hm.. Is there any "how to" for the code boxes?
  12. @kennuman: That's a good Idea with the heroic strike before all the IF's. I will test this in my code. The Idea to make the rotation/role of the bot based on the talents set really good. Also I think it should be possible to change it, if you just want the pala to heal instead of DD (of course he could not be such a good healer due to the "wrong" talents set) @Corzarium: Had a small look over your code, and I think it could be that the problems lies in line number 196. else if (HEROIC_STRIKE > 0 && ai->GetRageAmount() > 110 && ai->GetAttackerCount() <= 2 && ai->CastSpell(HEROIC_STRIKE, *pTarget)) As far as I know (correct me anybody if I'm wrong here) All Stuff in the round brackets "( )" will be executed in an "if"-clause to check if it's true or false. So here the Spell will be executed and returns a TRUE if he has enough rage and the spell will be done. Try to change it to this, I hope that helps and stops the spamming else if (HEROIC_STRIKE > 0 && ai->GetRageAmount() > 110 && ai->GetAttackerCount() <= 2 ) { ai->CastSpell(HEROIC_STRIKE, *pTarget); out << " > Heroic Strike > "; }
  13. That's not that you're a noob. It's just I did not tell, that you had to edit your PlayerbotWarriorAI.h. At the end of that file, there is a line which should be changed from uint32 SpellSequence; to: uint32 SpellSequence,LastSpellTank; Then it should at least compile, I removed a lot from the other code. I uploaded the PlayerbotWarrior.AI.cpp I'm currently testing with to pastebin: http://pastebin.com/njrgbxza
  14. @Corzarium: I did it with a LastSpellCounter. and set the heroic strike at the end of the rotation: Here is how I made the tank rotation (includes a view debugging messages): edit: I don't know why but he is messing up my code box, that's why i quoted it..
  15. I'm currently testing a bit with standard WotLK rotations and it seems to work quite good! I changed the healing from the priest to only healing, the Warrior to just tank and the mage as firemage (if assigned the correct Roles (TANK,ASSIST, HEAL). My Mage just increased the DPS from 550 to 1300, my Warrior has no problems holding the aggro and my priest is just healing, as they should. So an relative easy solution would be to code for all classes to all needed types (dd, healer and tank) a simple rotation, that they will do what they should if all stays normal. Any special cases excluded (tank is iceblock, too many enemies..) I will start doing this with the chars I'm testing(Priest, Warrior, Paladin, Mage and Hunter [though this could be a bit tricky due to the pet] ) . Having finished them I will post the patchfile. I don't how how fast I could finish it due to limited time. But I will let you know any progress. @kennumen: I will try to keep the healerratio-aspect in mind, when coding it. @blueboy: Maybe you want to review the code once finished or in between, 'cause my codingstyle is not the best But I will comment as much as needed, so that is quite understandable.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use