mangosArchives / Mangos-One-server-old

This repo has been moved to https://githubs.com/mangosone/server
http://getmangos.eu/
GNU General Public License v2.0
95 stars 54 forks source link

Crash After win Arena match #59

Closed overy closed 12 years ago

overy commented 12 years ago

Hello, after you win in Arena match server still writes in console random number and it makes the server frozen:

2012-09-06 23:22:41 SET JUST_DIED 2012-09-06 23:22:41 Aura 36 now is remove mode 0 2012-09-06 23:22:41 Aura 10 now is remove mode 0 2012-09-06 23:22:41 Aura 33 now is remove mode 4 2012-09-06 23:22:41 DealDamageHealth1 2012-09-06 23:22:41 --- Winner rating: 1500, Loser rating: 1500, Winner change: 16, Loser change: -16 --- 2012-09-06 23:22:41 rating change: -16 2012-09-06 23:22:41 rating change: 16 2012-09-06 23:22:41 rating change: 1 2012-09-06 23:22:41 rating change: 34 2012-09-06 23:22:41 rating change: 34 2012-09-06 23:22:41 rating change: 0 2012-09-06 23:22:41 rating change: 1346966540 2012-09-06 23:22:41 rating change: 2 2012-09-06 23:22:41 rating change: -144656896 2012-09-06 23:22:41 rating change: -14639500 2012-09-06 23:22:41 rating change: -14639496 2012-09-06 23:22:41 rating change: -14639488 2012-09-06 23:22:41 rating change: 8959116

etc.

Tested with 2 alli and 2 horde characters in ranked arena match. I cant made Crashlog because server still run but in cycle. OS: Windows 7 Rev: 1686, 1665

Ok problem solved: in void BattleGroundMgr::BuildPvpLogDataPacket(WorldPacket* data, BattleGround* bg) are two cycle For

"for (uint8 i = 1; i >= 0; --i)" problem is in unsigned int ... change to int8 solve this freez I found this chance in rev: 1636

Salja commented 12 years ago

Must be fixed in [s1709]