Jump to content

[1.298] CRoomManager::CreateRoom() input crashes


  • You cannot reply to this topic
1 reply to this topic

#1
twostars

twostars

    KO Guru

  • GateKeeper
  • Others:Donator, Snoxd server contributor
  • 6,040 posts
Two of them in this handler.

00486C7A    ^\EB 81         JMP SHORT 00486BFD
00486C7C    90              NOP

00486BFD      83C4 24       ADD ESP,24
00486C00    83FB 1E         CMP EBX,1E
00486C03    77 05           JA SHORT 00486C0A
00486C05    8945 FC         MOV DWORD PTR SS:[EBP-4],EAX
00486C08    EB 73           JMP SHORT 00486C7D
00486C0A    E9 2D020000     JMP 00486E3C

00486C8B      83C4 0C       ADD ESP,0C

00486C94  ^\E9 4FFFFFFF     JMP 00486BE8

00486BE8    0FB74C33 04     MOVZX ECX,WORD PTR DS:[ESI+EBX+4]
00486BED    83F9 10         CMP ECX,10
00486BF0    77 18           JA SHORT 00486C0A
00486BF2    E9 A2000000     JMP 00486C99

As for 1.310, it's already patched.

#2
twostars

twostars

    KO Guru

  • GateKeeper
  • Others:Donator, Snoxd server contributor
  • 6,040 posts
Updated to include missing stack cleanup. You'll want to repatch.