Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VANILLA-LIST:2591] SB-SB Docking Bug and Fix



Anyone hear that?

Sounds like CVS access. 

Mike, can I interest you in write access to the CVS repository?

Quoting Michael Moore (mike@miridea.com):
> There is a bug which allows two starbases to dock.  Silly, I know, but it
> happens on base practice servers and could happen in multi-base Chaos,
> should someone ever actually play with that setting on...
> 
> To reproduce the bug, get two bases on a server.  Call them #1 and #2.  Turn
> on #1's docking permission.  Have #2 lock on to #1.  Now have #1 tractor #2.
> Voila!  When #2 is dragged close enough, they dock.
> 
> The fix is three lines added to orbit.c, and here is the diff:
> 
> 68a69,73
> >    * Two starbases can't dock: */
> >   if (me->p_ship.s_type == STARBASE)
> >     return FALSE;
> >
> >   /*
> 
> --
> Mike
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: vanilla-list-unsubscribe@us.netrek.org
> For additional commands, e-mail: vanilla-list-help@us.netrek.org

-- 
Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9