[Freeciv-Dev] (PR#14262) Updated Ancients Modpack

2007-06-17 Thread Daniel Markstedt

URL: http://bugs.freeciv.org/Ticket/Display.html?id=14262 

Made a 'stable' release based on Benedict's updated version and my own
2.0.2 version. Includes a modified 'ft' iso tileset.

Limited playtesting shows no obvious bugs or crashes.

Grab it from ftp:

ftp://ftp.freeciv.org/freeciv/contrib/modpacks/ancients/ancients-2.1.0-1.tar.bz2

 ~Daniel

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#39399) 2.1 Ancients modpack bug

2007-06-17 Thread Daniel Markstedt

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39399 

Freeciv-2.1.0-beta4 on WinXP; while testing the Ancients modpack for
2.1 
(ftp://ftp.freeciv.org/freeciv/contrib/modpacks/ancients/ancients-2.1.0-1.tar.bz2)
I keep getting these server messages:


1: Turlough O'Connor's Tara(32,26) [s5 d1282 u4 g0] Falling back -
didn't want to build soldiers, workers, caravans, settlers, or
buildings!
1: Harun al-Rashid's Dubayy(28,47) [s2 d6 u0 g0] Falling back - didn't
want to build soldiers, workers, caravans, settlers, or buildings!
1: Alaric's Warszawa(33,16) [s6 d356 u0 g0] Falling back - didn't want
to build soldiers, workers, caravans, settlers, or buildings!

etc.

 ~Daniel



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#39400) 2.1 beta doesn't compile

2007-06-17 Thread Christian Knoke

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39400 


SVN 17 JUN 2007

Making all in tolua
make[3]: Entering directory
/mnt/room2/home/chris/freeciv/svn/freeciv/dependencies/tolua'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../dependencies/lua/src
-I../../dependencies/lua/include -I../../dependencies/lua/src/lib -Wall
-Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -DLOCALEDIR=\/usr/local/share/locale\
-DDEFAULT_DATA_PATH=\.:data:~/.freeciv:/usr/local/share/freeciv\
-g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -fsigned-char -MT tolua_event.o -MD -MP -MF
.deps/tolua_event.Tpo -c -o tolua_event.o tolua_event.c; \
then mv -f .deps/tolua_event.Tpo .deps/tolua_event.Po; else rm -f
.deps/tolua_event.Tpo; exit 1; fi
In Datei, eingefügt von tolua_event.c:17:
tolua_event.h:18:21: tolua++.h: Datei oder Verzeichnis nicht gefunden
In file included from tolua_event.c:17:
tolua_event.h:20: error: Syntaxfehler before void
tolua_event.h:20: error: Syntaxfehler before '*' token
tolua_event.h:21: error: Syntaxfehler before int
tolua_event.h:21: error: Syntaxfehler before '*' token
tolua_event.h:22: error: Syntaxfehler before void
tolua_event.h:22: error: Syntaxfehler before '*' token
tolua_event.c:18:21: tolua++.h: Datei oder Verzeichnis nicht gefunden
[...]
tolua_event.c: Auf höchster Ebene:
tolua_event.c:444: error: Syntaxfehler before void
tolua_event.c:444: error: Syntaxfehler before '*' token
tolua_event.c:445: Warnung: no previous prototype for
olua_moduleevents'
tolua_event.c: In Funktion »tolua_moduleevents«:
tolua_event.c:446: error: ' undeclared (first use in this function)
tolua_event.c: Auf höchster Ebene:
tolua_event.c:456: error: Syntaxfehler before int
tolua_event.c:456: error: Syntaxfehler before '*' token
tolua_event.c:457: Warnung: no previous prototype for
olua_ismodulemetatable'
tolua_event.c: In Funktion »tolua_ismodulemetatable«:
tolua_event.c:459: error: ' undeclared (first use in this function)
tolua_event.c:463: Warnung: implicit declaration of function
ua_tocfunction'
tolua_event.c:463: Warnung: Vergleich zwischen Zeiger und Ganzzahl
tolua_event.c: Auf höchster Ebene:
tolua_event.c:472: error: Syntaxfehler before void
tolua_event.c:472: error: Syntaxfehler before '*' token
tolua_event.c:473: Warnung: no previous prototype for
olua_classevents'
tolua_event.c: In Funktion »tolua_classevents«:
tolua_event.c:474: error: ' undeclared (first use in this function)
tolua_event.c:510: error: UA_REGISTRYINDEX' undeclared (first use in
this function)
make[3]: *** [tolua_event.o] Fehler 1
make[3]: Leaving directory
/mnt/room2/home/chris/freeciv/svn/freeciv/dependencies/tolua'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
/mnt/room2/home/chris/freeciv/svn/freeciv/dependencies'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory /mnt/room2/home/chris/freeciv/svn/freeciv'
make: *** [all] Fehler 2

-- 
Christian Knoke* * *http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#39400) 2.1 beta doesn't compile

2007-06-17 Thread Christian Knoke

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39400 

Du schriebst am 17. Jun um 06:06 Uhr:
 
 URL: http://bugs.freeciv.org/Ticket/Display.html?id=39400 
 
 On Sun, 17 Jun 2007, Christian Knoke wrote:
  SVN 17 JUN 2007
 
 Please post revision number :)

Revision 12999. :)

 Can you see if this is fixed by my latest commit to trunk?

No, it isn't.

Christian

-- 
Christian Knoke* * *http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#39402) observe crash while SELECT_RACES_STATE

2007-06-17 Thread Pepeto _

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39402 

In 2.0, when a user join and start observing while SELECT_RACES_STATE, his 
client crash because ruleset infos are not sent:
0: Cannot find any palace building
0: Cannot find any land defend building
civclient: unittype.c:89: get_unit_type:  l'assertion « id = 0  id  200 
 id  game.num_unit_types » a échoué.

I propose:
diff -aurd freeciv-2.0.9/server/stdinhand.c test/server/stdinhand.c
--- freeciv-2.0.9/server/stdinhand.c2007-02-10 03:06:30.0 +0100
+++ test/server/stdinhand.c 2007-06-17 22:21:40.0 +0200
@@ -2803,8 +2803,14 @@
 send_diplomatic_meetings(pconn);
 send_packet_thaw_hint(pconn);
 send_packet_start_turn(pconn);
+  } else if (server_state == SELECT_RACES_STATE) {
+send_packet_freeze_hint(pconn);
+send_rulesets(pconn-self);
+send_player_info(NULL, NULL);
+send_packet_thaw_hint(pconn);
   }

+
   cmd_reply(CMD_OBSERVE, caller, C_OK, _(%s now observes %s),
 pconn-username, pplayer-name);

Sorry for the french messages.

_
Windows Live Messenger sur i-mode™ : dialoguez avec vos amis depuis votre 
mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/

diff -aurd freeciv-2.0.9/server/stdinhand.c test/server/stdinhand.c
--- freeciv-2.0.9/server/stdinhand.c	2007-02-10 03:06:30.0 +0100
+++ test/server/stdinhand.c	2007-06-17 22:21:40.0 +0200
@@ -2803,8 +2803,14 @@
 send_diplomatic_meetings(pconn);
 send_packet_thaw_hint(pconn);
 send_packet_start_turn(pconn);
+  } else if (server_state == SELECT_RACES_STATE) {
+send_packet_freeze_hint(pconn);
+send_rulesets(pconn-self);
+send_player_info(NULL, NULL);
+send_packet_thaw_hint(pconn);
   }
 
+
   cmd_reply(CMD_OBSERVE, caller, C_OK, _(%s now observes %s),
 pconn-username, pplayer-name);

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] trunk lua mess

2007-06-17 Thread Per Inge Mathisen
I tried unsucessfully to update trunk to latest lua and tolua versions. 
For some reasons I could not figure out, tolua generated a bad api_gen.c, 
and the makefile did not regenerate this file for me and thus alert me to 
the problems before I had already committed the changes. Even 'make 
maintainer-clean' did not clean out these files.

So I had to roll back the repository to the state before I started the 
upgrade. This generates some unfortunate svn noise, and William's r13000 
is gone. I am really sorry about that.

Speaking of r1300, I would very much like to see it go in in smaller 
chunks which are easier to manage when debugging using svn.

Also, while on the topic of api_gen.c|h, I do not see why these 
automatically generated source files are in the repository? All the tools 
required to generate them are already in the repository.

   - Per

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#39386) cleanup tilespec.c

2007-06-17 Thread William Allen Simpson

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39386 

The rather different code in S2_1 was difficult to compare without
straightening it, too.  This makes the differences more apparent, and
hopefully will assist debugging recent reports of load failures in
certain configurations.

Committed S2_1 revision 13003.



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#39389) BUG: technology/advance name translation

2007-06-17 Thread William Allen Simpson

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39389 

Combined with (PR#39386) cleanup tilespec.c in hopes of debugging recent
reports of tile load failures in certain configurations.

The freelog removal of translation (in most cases) should clarify the
file and rule names as they are loaded.

There are no new strings to be translated.  (Many obscure error messages
are no longer used.)

Committed S2_1 revision 13003.



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#39397) Freeciv 2.1 Beta crashes on New Game or Load Game

2007-06-17 Thread William Allen Simpson

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39397 

Christian Knoke wrote:
 svn update
 ./autogen.sh
 make
 su -c make install
 civclient
 
 ~$ which civclient
 /usr/local/bin/civclient
 
Thank you, very helpful.  The major difference between your test and my test:
I'm running in the build directory with ./civ, not an install directory.

However, when I make install (in my local test directory), there are still
no errors in loading rulesets.  The civclient won't execute civserver, while
civserver doesn't seem to find ~/.freeciv/saves, but those are probably
different issues  Both load the rulesets!

So, I've updated the verbose logging.  If you would kindly update to r13003,
run with verbose, and post the log (or a relevant excerpt), that should
pinpoint any problems.

civserver --log server.log --debug 3
civclient --log client.log --debug 3



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev