Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8725) /take doesn't work from the client
Home

[Freeciv-Dev] Re: (PR#8725) /take doesn't work from the client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8725) /take doesn't work from the client
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 May 2004 20:59:16 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8725 >

On Wed, May 12, 2004 at 08:02:33PM -0700, Jason Short wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8725 >
> 
> James Canete wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=8725 >
> > 
> >>[jdorje - Wed May 12 21:29:11 2004]:
> >>
> >> From the client chatline, I can't "/take foo".  I must "/take myname 
> >>foo".  This is bad.
> > 
> > IIRC this is only if the client has hack.
> 
> Why would that make a difference?  Because only clients with hack can 
> use the two-parameter form?

yes. if you have hack, you can force other users to take other players.

> >  Perhaps /take should assume
> > myname if there is only one parameter?
> 
> For requests from the client, yes.

shouldn't be so bad. you just need to check that caller != NULL.
console should always have to pass two parameters.

-mike




[Prev in Thread] Current Thread [Next in Thread]