Announcement

Collapse
No announcement yet.

basic unrealscript bugs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    basic unrealscript bugs

    from class vehicle (function unpossessed)
    if ( Health > 0 && !bDeleteMe )
    {
    if ( bWasPlayer && bAutoTurret && (AutoTurretControllerClass != None) )
    {
    Controller = None;
    NewController = spawn(AutoTurretControllerClass);
    if ( NewController != None )
    NewController.Possess( Self );
    }
    }
    this causes "accessed none" bugs if a turret destroyed.
    fix:
    if ( Health > 0 && !bPendingDelete )
    {
    if ( bWasPlayer && bAutoTurret && (AutoTurretControllerClass != None) )
    {
    Controller = None;
    NewController = spawn(AutoTurretControllerClass);
    if ( NewController != None )
    NewController.Possess( Self );
    }
    }
    from class onsvehicle (function died)

    if ( (bRemoteControlled || bEjectDriver) && (Driver != None) && (Driver.Health > 0) )
    {
    C.Unpossess();
    C.Possess(Driver);
    if ( bEjectDriver )
    EjectDriver();

    Driver = None;
    }
    here driver cannot leave 'cause vehicle has no controller so if bejectdriver it causes very ugly bug.
    a way to fix:
    if ( (bRemoteControlled || bEjectDriver) && (Driver != None) && (Driver.Health > 0) )
    {

    if ( bEjectDriver )
    EjectDriver();
    else
    {
    C.Unpossess();
    C.Possess(Driver);
    }
    Driver = None;
    }
    i hope that someone at epic read this and fix that bugs in a next patch

    #2
    Try using [code] tags if you want someone to understand your post.
    Also: Don't expect any patch for UT2004 anymore.

    Comment


      #3
      no patch for ut2004 anymore?
      y u think it?

      Comment


        #4
        Because UT3 is being released in a few months?

        Comment


          #5
          few haha...

          Comment


            #6
            Yes few: Two Weeks(tm)

            Comment


              #7
              2 weeks? lol
              ok but these things very annoying.

              Comment


                #8
                /me sighs
                It's so sad that all the new guys miss the point of "Two Weeks"

                Comment


                  #9
                  I thought it was November/07:

                  http://utforums.epicgames.com/showthread.php?t=558281

                  Note he edited the post 5 days ago.

                  Comment


                    #10
                    Whatever they say, Mark Rein's infamous "(at least) two weeks from now" quote will stick in UT2003 fans' heads forever. It's the AYB of the UT franchise.

                    Comment

                    Working...
                    X