Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7206) Leader names
Home

[Freeciv-Dev] Re: (PR#7206) Leader names

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ggracian@xxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7206) Leader names
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Tue, 6 Jan 2004 12:19:42 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Tue, Jan 06, 2004 at 08:57:37AM -0800, Per I. Mathisen wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7206 >
> 
> On Tue, 6 Jan 2004, Genevieve Gracian wrote:
> > > On Tue, 6 Jan 2004, Genevieve Gracian wrote:
> > > > In recent versions, the leader names are reduced with the 3 first
> > > > characters (+ possible one space character) after the players choose
> > >
> > > Recent versions of 1.14.x or CVS HEAD?
> >
> > oops, sry. In cvs head.
> >
> > >
> > > > Also, several players can set the same leader name.
> > >
> > > But this is not new, is it?
> >
> > In 1.14.0 and 1.14.1, the server answers:
> > Another player already has the name 'xxx'.Please choose another name.
> > when trying to set an existing leader name.
> 
> Could this be caused by the delta patch, perhaps? I cannot think of
> anything else that might have touched this code lately.
> 
> Raimar?

Fixed. Patch attached.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "With a PC, I always felt limited by the software available.
   On Unix, I am limited by my knowledge."
    -- Peter J. Schoenster <pschon@xxxxxxxxxxxxxxxxx>

Index: client/packhand_gen.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/packhand_gen.c,v
retrieving revision 1.1
diff -u -u -r1.1 packhand_gen.c
--- client/packhand_gen.c       2003/12/06 19:23:50     1.1
+++ client/packhand_gen.c       2004/01/06 20:16:48
@@ -8,6 +8,10 @@
 
 
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "packets.h"
 
 #include "packhand_gen.h"
Index: common/generate_packets.py
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/generate_packets.py,v
retrieving revision 1.3
diff -u -u -r1.3 generate_packets.py
--- common/generate_packets.py  2003/12/06 19:23:50     1.3
+++ common/generate_packets.py  2004/01/06 20:16:49
@@ -1489,6 +1489,10 @@
     f=my_open("../server/hand_gen.c")
     f.write('''
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "packets.h"
 
 #include "hand_gen.h"
@@ -1535,6 +1539,10 @@
 
     f=my_open("../client/packhand_gen.c")
     f.write('''
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "packets.h"
 
Index: server/hand_gen.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/hand_gen.c,v
retrieving revision 1.1
diff -u -u -r1.1 hand_gen.c
--- server/hand_gen.c   2003/12/06 19:23:51     1.1
+++ server/hand_gen.c   2004/01/06 20:16:50
@@ -8,6 +8,10 @@
 
 
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "packets.h"
 
 #include "hand_gen.h"

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