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
}
partySkill not working in ai manual?
Moderators: Moderators, Developers
-
- Noob
- Posts: 5
- Joined: 10 Nov 2012, 09:05
- Noob?: No
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: partySkill not working in ai manual?
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.
-
- Noob
- Posts: 5
- Joined: 10 Nov 2012, 09:05
- Noob?: No
Re: partySkill not working in ai manual?
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
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
-
- Noob
- Posts: 5
- Joined: 10 Nov 2012, 09:05
- Noob?: No
Re: partySkill not working in ai manual?
This worked - couldn't attack in manual for some reason. switch ai on, then ai manual and works like a charm