| Age | Commit message (Collapse) | Author |
|
In case of dynamic file names don't store the FILE* handle in a shared class variable but keep it only at function scope.
Valgrind log:
at _IO_un_link (genops.c:69)
by fclose@@GLIBC_2.2.5 (iofclose.c:55)
by AppenderFile::CloseFile() (AppenderFile.cpp:94)
by AppenderFile::_write(LogMessage const&) (AppenderFile.cpp:66)
by Appender::write(LogMessage&) (Appender.cpp:102)
by Logger::write(LogMessage&) const (Logger.cpp:63)
by Log::write(LogMessage*) (Log.cpp:279)
by Log::vlog(std::string const&, LogLevel, char const*, __va_list_tag*) (Log.cpp:267)
by Log::outMessage(std::string const&, LogLevel, char const*, ...) (Log.h:129)
Address 0x2a1bd2d0 is 0 bytes inside a block of size 568 free'd
at free (vg_replace_malloc.c:468)
by fclose@@GLIBC_2.2.5 (iofclose.c:85)
by AppenderFile::CloseFile() (AppenderFile.cpp:94)
by AppenderFile::_write(LogMessage const&) (AppenderFile.cpp:66)
by Appender::write(LogMessage&) (Appender.cpp:102)
by Logger::write(LogMessage&) const (Logger.cpp:63)
by Log::write(LogMessage*) (Log.cpp:279)
by Log::vlog(std::string const&, LogLevel, char const*, __va_list_tag*) (Log.cpp:267)
by Log::outMessage(std::string const&, LogLevel, char const*, ...) (Log.h:129)
|
|
Ignore "w" flag and always use "a" for log files with dynamic name since the file handle is created at every log line and "w" would delete any other logged line from previous _write() calls.
The best solution would be to overwrite only at first call and append at any other call.
|
|
This reverts commit 3fcb1bf09140e59a878911cd889d5047cf8a0ca6.
|
|
|
|
|
|
|
|
Get Unit target with the proper method instead of retrieving Object target and then casting it to Unit, possible dereferencing NULL.
Updates #11560
|
|
Handle SymTagData with inner type of SymTagPointerType.
Increase buffer sizes to avoid buffer overflows.
Avoid infinite loops by logging the children of each type only once.
Avoid too deep nesting by adding a max nesting level.
Print the address for arrays instead of just the name.
|
|
take or return quests
Closes #11269
Closes #8898
Closes #10204
Closes #11410
Closes #7053
Closes #6189
Closes #9474
|
|
Closes #9893
|
|
|
|
|
|
Closes #9671
|
|
Core: Add rest of checks from SendListInventory to BuyItemFromVendorSlot
|
|
previous commit for thread safety.
Thanks to @Shauren
|
|
ACHIEVEMENT_CRITERIA_TYPE_ON_LOGIN and criteria requirements ACHIEVEMENT_CRITERIA_REQUIRE_NTH_BIRTHDAY and ACHIEVEMENT_CRITERIA_REQUIRE_KNOWN_TITLE. Fixes anniversary achievements.
By @Schmoozerd
|
|
Updates #6298
|
|
|
|
2014_02_04_00_world_access_requirement.sql
|
|
Core/LFG: Minimum item level in Wotlk heroic dungeons
|
|
|
|
|
|
|
|
c0224dd7ca9a39034518bd7e6285702636749929 which would trigger false positives for CHAT_MSG_AFK and CHAT_MSG_DND.
|
|
Always check forced reputation ranks before any other faction check to get the reaction between 2 units.
Fixes #5790
|
|
|
|
Remove some hungarian notation for horde side version.
Closes #11035
|
|
|
|
language in say/yell/emote by sending CMSG_MESSAGECHAT using cheats.
|
|
defines __cplusplus as 199711L)
|
|
Correctly handle the return value of vsnprintf() which returns -1 if the buffer is too small http://msdn.microsoft.com/en-us/library/1kt27hek.aspx . In this case just truncate the output.
This caused a crash on character delete if Logger.entities.player.dump was enabled and set to 3.
Fixes #11539
|
|
Arena season sent to client with SMSG_INIT_WORLD_STATES opcode was not sent if Player was on a zone with id 0 on login. Initializing the zone id to -1 will always trigger UpdateZone() properly on login.
Fixes #10623
|
|
|
|
Closes #10748
Signed-off-by: Duarte Duarte <dnpd.dd@gmail.com>
|
|
Source tomrus88, Mangos
|
|
Engine should be MyISAM and not MRG_MyISAM
MySQL doesn't play nice with hex values so converted them to decimal
Closes #11537
|
|
ad8eb434c02e451effd0949aaa7d2b7999d91597. I misread 'SpellScript::m_damage' for 'SpellScript::damage'.
By @joschiwald
|
|
Also update characters_database.sql (generated by mysqldump)
|
|
`spell_custom_attr` table
`spell_custom_attr`
- `entry` uint PK
- `attributes` uint (enum SpellCustomAttributes of SpellInfo.h)
|
|
2134cb610d45727a0623741f7416a360882133fa
This fix prevents possible issues on bigendian machines. Don't use c style casts ppl, it's evul.
|
|
Fix "DoZoneInCombat called for creature that has empty threat list" error caused by DoZoneInCombat() called by IsSummonedBy() in a script before the Creature is allowed to enter combat.
|
|
Updates #6191.
|
|
acd46085d1f496657e27e0d5f823f53d466702dc
|
|
move it into spellscripts
Closes #1719
Closes #3186
|
|
Updates #11501
|
|
Updates #11501
|
|
Updates #11501
|
|
Updates #11501
|
|
Updates #11501
|
|
|