partySkill not working in ai manual?

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
SkyeFlowers
Noob
Noob
Posts: 5
Joined: 10 Nov 2012, 09:05
Noob?: No

partySkill not working in ai manual?

#1 Post by SkyeFlowers »

Topic. The bot uses the partySkill configs while it's in ai mode on, but not while in ai mode manual. Any way to make it so partySkill works in manual mode?

here's a snip of it, all written the same way

partySkill Blessing {
lvl 10
target_whenStatusInactive Blessing
notWhileSitting 1
manualAI 2
notInTown 0
}

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: partySkill not working in ai manual?

#2 Post by EternalHarvest »

Looks like that, processPartySkillUse and processMonsterSkillUse are for unknown reason in automatic AI only section, while processAutoSkillUse is not. Probably should be just moved to the right place in AI::CoreLogic::iterate.

SkyeFlowers
Noob
Noob
Posts: 5
Joined: 10 Nov 2012, 09:05
Noob?: No

Re: partySkill not working in ai manual?

#3 Post by SkyeFlowers »

Is that all on your end? If so, when do you think it will be usable? Thanks for the response :)

Actually I have that file open... just adding that in the code will fix it?

Benchmark::begin("AI (part 1.4)") if DEBUG;
Benchmark::begin("ai_autoItemUse") if DEBUG;
processAutoItemUse();
Benchmark::end("ai_autoItemUse") if DEBUG;
Benchmark::begin("ai_autoSkillUse") if DEBUG;
processAutoSkillUse();
Benchmark::end("ai_autoSkillUse") if DEBUG;
Benchmark::begin("ai_partySkillUse") if DEBUG;
processPartySkillUse();
Benchmark::end("ai_partySkillUse") if DEBUG;

Benchmark::end("AI (part 1.4)") if DEBUG;
Benchmark::end("AI (part 1)") if DEBUG;

like that in there

SkyeFlowers
Noob
Noob
Posts: 5
Joined: 10 Nov 2012, 09:05
Noob?: No

Re: partySkill not working in ai manual?

#4 Post by SkyeFlowers »

This worked - couldn't attack in manual for some reason. switch ai on, then ai manual and works like a charm

Locked