azerothcore / mod-ah-bot

AHBot for AzerothCore
http://azerothcore.org/
70 stars 82 forks source link

Bug: New Update broken #100

Closed Raz0r1337 closed 1 month ago

Raz0r1337 commented 1 month ago

Current Behaviour

Until i compile the new code (commit cb89a9d) it gives an Error.

2507 | if (itr->second.Bonding == BIND_WHEN_EQUIPPED && !Bind_When_Equipped)

Expected Behaviour

Steps to reproduce the problem

Simple clone the actual code (commit cb89a9d) and compile it.

Extra Notes

There is an P to much in BIND_WHEN_EQUIPPED If i set this to BIND_WHEN_EQUIPED it compiles correctly. Or set the Variable Name in the declaration with the extra P. I think this is the way it should be done.

AC rev. hash/commit

AzerothCore rev. 27b243e7b2aa 2024-08-18 23:02:22 +0800 (Playerbot branch) (Unix, RelWithDebInfo, Static)

Operating system

Ubunto 22.04

Custom changes or Modules

mod-playerbot mod-anticheat mod-ah-bot mod-autobalance mod-groupquests mod-solo-lfg mod-weekendbonus BreakingNewsOverride

kewinrausch commented 1 month ago

I suppose you just have to update your core. See this commit for more info.

Raz0r1337 commented 1 month ago

Oh I understand. This issue ist because i use the module mod-playerbot. It needs a custom version of the core with some code changes to work. This Fork from liyunfan1223 is a week behind the original.

Thank you. And sorry.