Results 1 to 9 of 9

Thread: Cod2 server crashing

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    The segfault message points to this function:

    PHP Code:
    BOOL __cdecl BG_IsWeaponValid(int a1int a2)
    {
      
    bool v2// bl
      
    bool v3// cl
      
    int v4// eax
      
    BOOL result// eax

      
    v2 a2 >= && a2 <= bg_iNumWeapons;
      
    v3 0;
      if ( (*(
    _DWORD *)(a1 * (a2 >> 5) + 1348) >> (a2 0x1F)) & )
        
    v3 v2;
      
    v4 bg_weaponDefs[a2];
      if ( *(
    _DWORD *)(v4 132) || a2 == *(char *)(a1 1365) || a2 == *(char *)(a1 1366) || a2 == *(_DWORD *)(v4 876) )
        
    result v3;
      else
        
    result 0;
      return 
    result;

    The address 80ebf71 points to:
    PHP Code:
    if ( *(_DWORD *)(v4 132) || a2 == *(char *)(a1 1365) || a2 == *(char *)(a1 1366) || a2 == *(_DWORD *)(v4 876) ) 
    Are you running any mods? On what kind of specifications does your server run?
    Last edited by Mitch; 18th August 2020 at 18:51.

  2. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    kung foo man (19th August 2020),v1rto (19th August 2020)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •