EA/Dice - I Found A Coding Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Red Devil

    #1

    EA/Dice - I Found A Coding Error

    The US and European kits have this:

    ObjectTemplate.networkableInfo KitInfo
    ObjectTemplate.setHasCollisionPhysics 1


    And the Chinese and MEC Kits have tis:

    ObjectTemplate.setnetworkableInfo KitInfo
    ObjectTemplate.HasCollisionPhysics 1
  • Alm()nd J()y
    Member
    • Oct 2006
    • 1209

    #2
    Re: EA/Dice - I Found A Coding Error

    Ooo, why don't you release a patch fixing it then?

    Comment

    • Red Devil

      #3
      Re: EA/Dice - I Found A Coding Error

      It would casue the Modified Content abort in MP if everybody didn't have it.

      When I fixed it locally, it stopped BF2 CTD. :)

      Comment

      • TGL|Badlizzard
        TGL Anti-Cheat Director
        • Jan 2005
        • 1380

        #4
        Re: EA/Dice - I Found A Coding Error

        Originally posted by Red Devil
        It would casue the Modified Content abort in MP if everybody didn't have it.

        When I fixed it locally, it stopped BF2 CTD. :)
        Does it prevent something in the game from working or is it just sloppy coding? I am guessing that at this point in the game they aren't worried about that kind of oversight. Unless it is the answer to a mysterious error :)

        Comment

        • lmimmfn
          Member
          • Sep 2006
          • 247

          #5
          Re: EA/Dice - I Found A Coding Error - Fixing It Locally Stops CTD

          Originally posted by Red Devil
          The US and European kits have this:

          ObjectTemplate.networkableInfo KitInfo
          ObjectTemplate.setHasCollisionPhysics 1


          And the Chinese and MEC Kits have tis:

          ObjectTemplate.setnetworkableInfo KitInfo
          ObjectTemplate.HasCollisionPhysics 1
          From decompiling the code i can see the modifier method setHasCollisionPhysics which modifies the class attribute HasCollisionPhysics is public, but also the attribute HasCollisionPhysics is public also, so either will work
          J/K btw before anyone shoots me for decompiling code, sloppy code, grrrrrr!!!!!!!!
          BTW Red Devil i would hate you testing my code :)

          Comment

          Working...