Oleg
Oleg
So let me give an advice. Spell haste for mobs, even when accounted for by Unit::SetFloatValue(UNIT_MOD_CAST_SPEED, ...), is disallowed actually in Unit::ModSpellCastTime. Many pet/guardian spells have zero SpellFamilyName, therefore condition...
It's simply. During login, Map::CanEnter (overridden for an instance by InstanceMap::CanEnter) is not called. It is supposed to be called in Player::CheckInstanceLoginValid() by sMapMgr->CanPlayerEnter(GetMap()->GetId(), this, true); but exactly the last...
@digz6666 As to me, this is wrong. I would rather check this only condition right in Player::CheckInstanceLoginValid() using the same GetMap()->GetPlayersCountExceptGMs() as few codelines above.
@digz6666 yes, removing this whole "if" is a good thing, because this code fragment is executed at login and before the core setups some player data.
The key to a solution is the message from the log: "ERROR: Cannot bind players, no instance save available for map!" It seems that checking the bound Map in InstanceSave::UnloadIfEmpty()...
The issues in `ReputationMgr::SetAtWar(FactionState* faction` come mostly from the misunderstood flag meaning. Actually, the `FactionFlags::FACTION_FLAG_PEACE_FORCED` flag disables clientside user control over At War field at the Reputation tab, while the...
[guardians.txt](https://github.com/TrinityCore/TrinityCore/files/2280610/guardians.txt) This diff, taken against the rev. 59edf6b, was tested on a several months old core. Hunter pets get informed on the player killing a target in `Unit::Kill()`. It looks...
Looks like the [same issue](https://serverfault.com/questions/329845/how-to-forcibly-close-a-socket-in-time-wait) is hit here. The best solution proposed there is about setting [SO_REUSEADDR socket option](http://www.unixguide.net/network/socketfaq/4.5.shtml). Not quite sure where is has to be put (except SOAP...