mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 14:16:31 +00:00
chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either. * Further Clean Up Removed Profanity * sensible grammar correction * More ZOMG! removal
This commit is contained in:
@@ -8115,7 +8115,7 @@ void Player::SendInitWorldStates(uint32 zoneid, uint32 areaid)
|
||||
data << uint32(0x6fc) << uint32(0x0); // 25 1788 gold mine (0 - conflict, 1 - horde)
|
||||
data << uint32(0x6fd) << uint32(0x0); // 26 1789 gold mine (1 - show/0 - hide)
|
||||
data << uint32(0x6fe) << uint32(0x0); // 27 1790 gold mine color
|
||||
data << uint32(0x700) << uint32(0x0); // 28 1792 gold mine color, wtf?, may be LM?
|
||||
data << uint32(0x700) << uint32(0x0); // 28 1792 gold mine color, may be LM?
|
||||
data << uint32(0x701) << uint32(0x0); // 29 1793 lumber mill color (0 - conflict, 1 - horde contr)
|
||||
data << uint32(0x702) << uint32(0x0); // 30 1794 lumber mill (show/hide)
|
||||
data << uint32(0x703) << uint32(0x0); // 31 1795 lumber mill color color
|
||||
@@ -9428,7 +9428,7 @@ void Player::RemovePetitionsAndSigns(ObjectGuid guid, uint32 type)
|
||||
|
||||
void Player::LeaveAllArenaTeams(ObjectGuid guid)
|
||||
{
|
||||
// xinef: zomg! sync query
|
||||
// xinef: sync query
|
||||
CharacterDatabasePreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_PLAYER_ARENA_TEAMS);
|
||||
stmt->setUInt32(0, guid.GetCounter());
|
||||
PreparedQueryResult result = CharacterDatabase.Query(stmt);
|
||||
@@ -10828,7 +10828,7 @@ void Player::SendInitialPacketsBeforeAddToMap()
|
||||
/// Pass 'this' as argument because we're not stored in ObjectAccessor yet
|
||||
GetSocial()->SendSocialList(this, SOCIAL_FLAG_ALL);
|
||||
|
||||
// guild bank list wtf?
|
||||
// guild bank list?
|
||||
|
||||
// Homebind
|
||||
WorldPacket data(SMSG_BINDPOINTUPDATE, 5 * 4);
|
||||
@@ -10905,7 +10905,7 @@ void Player::SendInitialPacketsAfterAddToMap()
|
||||
auraList.front()->HandleEffect(this, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT, true);
|
||||
}
|
||||
|
||||
// Fix mount shit... to tired to think, update block gets messed somewhere
|
||||
// Fix mount, update block gets messed somewhere
|
||||
{
|
||||
if (!isBeingLoaded() && GetMountBlockId() && !HasAuraType(SPELL_AURA_MOUNTED))
|
||||
{
|
||||
|
||||
@@ -1491,7 +1491,7 @@ void Player::RemoveRewardedQuest(uint32 questId, bool update /*= true*/)
|
||||
void Player::SendQuestUpdate(uint32 questId)
|
||||
{
|
||||
uint32 zone = 0, area = 0;
|
||||
// xinef: shittness fixup
|
||||
// xinef: fixup
|
||||
uint32 oldSpellId = 0;
|
||||
|
||||
SpellAreaForQuestMapBounds saBounds = sSpellMgr->GetSpellAreaForQuestMapBounds(questId);
|
||||
@@ -1515,7 +1515,7 @@ void Player::SendQuestUpdate(uint32 questId)
|
||||
|
||||
saBounds = sSpellMgr->GetSpellAreaForQuestEndMapBounds(questId);
|
||||
|
||||
// xinef: shittness fixup
|
||||
// xinef: fixup
|
||||
uint32 skipSpellId = 0;
|
||||
oldSpellId = 0;
|
||||
if (saBounds.first != saBounds.second)
|
||||
|
||||
@@ -1149,7 +1149,7 @@ InventoryResult Player::CanStoreItem(uint8 bag, uint8 slot, ItemPosCountVec& des
|
||||
if( pItem->IsBag() && pItem->IsNotEmptyBag() )
|
||||
return EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS;
|
||||
|
||||
// Xinef: Removed next bullshit loot generated check
|
||||
// Xinef: Removed next loot generated check
|
||||
if (pItem->GetGUID() == GetLootGUID())
|
||||
{
|
||||
if (no_space_count)
|
||||
@@ -1629,7 +1629,7 @@ InventoryResult Player::CanStoreItems(Item** pItems, int count) const
|
||||
if (!pProto)
|
||||
return EQUIP_ERR_ITEM_NOT_FOUND;
|
||||
|
||||
// Xinef: Removed next bullshit loot generated check
|
||||
// Xinef: Removed next loot generated check
|
||||
if (pItem->GetGUID() == GetLootGUID())
|
||||
return EQUIP_ERR_ALREADY_LOOTED;
|
||||
|
||||
@@ -2065,7 +2065,7 @@ InventoryResult Player::CanBankItem(uint8 bag, uint8 slot, ItemPosCountVec& dest
|
||||
if (!pProto)
|
||||
return swap ? EQUIP_ERR_ITEMS_CANT_BE_SWAPPED : EQUIP_ERR_ITEM_NOT_FOUND;
|
||||
|
||||
// Xinef: Removed next bullshit loot generated check
|
||||
// Xinef: Removed next loot generated check
|
||||
if (pItem->GetGUID() == GetLootGUID())
|
||||
return EQUIP_ERR_ALREADY_LOOTED;
|
||||
|
||||
@@ -3641,7 +3641,7 @@ void Player::SwapItem(uint16 src, uint16 dst)
|
||||
|
||||
if (pDstItem)
|
||||
{
|
||||
// Xinef: Removed next bullshit loot generated check
|
||||
// Xinef: Removed next loot generated check
|
||||
if (pDstItem->GetGUID() == GetLootGUID()) // prevent swap looting item
|
||||
{
|
||||
//best error message found for attempting to swap while looting
|
||||
@@ -3940,7 +3940,7 @@ void Player::SwapItem(uint16 src, uint16 dst)
|
||||
{
|
||||
if (Item* bagItem = bag->GetItemByPos(i))
|
||||
{
|
||||
// Xinef: Removed next bullshit loot generated check
|
||||
// Xinef: Removed next loot generated check
|
||||
if (bagItem->GetGUID() == GetLootGUID())
|
||||
{
|
||||
m_session->DoLootRelease(GetLootGUID());
|
||||
@@ -3958,7 +3958,7 @@ void Player::SwapItem(uint16 src, uint16 dst)
|
||||
{
|
||||
if (Item* bagItem = bag->GetItemByPos(i))
|
||||
{
|
||||
// Xinef: Removed next bullshit loot generated check
|
||||
// Xinef: Removed next loot generated check
|
||||
if (bagItem->GetGUID() == GetLootGUID())
|
||||
{
|
||||
m_session->DoLootRelease(GetLootGUID());
|
||||
@@ -5632,7 +5632,7 @@ bool Player::LoadFromDB(ObjectGuid playerGuid, CharacterDatabaseQueryHolder cons
|
||||
|
||||
_LoadDeclinedNames(holder.GetPreparedResult(PLAYER_LOGIN_QUERY_LOAD_DECLINED_NAMES));
|
||||
|
||||
//m_achievementMgr->CheckAllAchievementCriteria(); // pussywizard: ZOMG! disabled this bullshit
|
||||
//m_achievementMgr->CheckAllAchievementCriteria(); // pussywizard: disabled this
|
||||
|
||||
_LoadEquipmentSets(holder.GetPreparedResult(PLAYER_LOGIN_QUERY_LOAD_EQUIPMENT_SETS));
|
||||
|
||||
@@ -6056,7 +6056,7 @@ Item* Player::_LoadItem(CharacterDatabaseTransaction trans, uint32 zoneId, uint3
|
||||
}
|
||||
else
|
||||
{
|
||||
// xinef: zomg! sync query
|
||||
// xinef: sync query
|
||||
stmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_ITEM_REFUNDS);
|
||||
stmt->setUInt32(0, item->GetGUID().GetCounter());
|
||||
stmt->setUInt32(1, GetGUID().GetCounter());
|
||||
@@ -7587,7 +7587,7 @@ void Player::_SaveQuestStatus(CharacterDatabaseTransaction trans)
|
||||
{
|
||||
if (saveItr->second)
|
||||
stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_CHAR_QUESTSTATUS_REWARDED);
|
||||
else // xinef: what the fuck is this shit? quest can be removed by spelleffect if (!keepAbandoned)
|
||||
else // xinef: what the is this? quest can be removed by spelleffect if (!keepAbandoned)
|
||||
stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_CHAR_QUESTSTATUS_REWARDED_BY_QUEST);
|
||||
|
||||
stmt->setUInt32(0, GetGUID().GetCounter());
|
||||
|
||||
Reference in New Issue
Block a user