[Freeciv-Dev] (PR#39783) [gui-sdl] no icon for civclient in taskbar

2007-10-17 Thread Daniel Markstedt

http://bugs.freeciv.org/Ticket/Display.html?id=39783 >

Running rc1 on an updated Ubuntu system (let me know if you want details):

In the GNOME taskbar, sdl-civserver has the generic app icon and not
our own flashy one.

Gtk-civserver on the other hand gets the correct icon.

 ~Daniel



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


Re: [Freeciv-Dev] (PR#39667) SDL Client Usability Issues

2007-10-17 Thread Daniel Markstedt

http://bugs.freeciv.org/Ticket/Display.html?id=39667 >

On 10/18/07, Christian Prochaska <[EMAIL PROTECTED]> wrote:
>
> http://bugs.freeciv.org/Ticket/Display.html?id=39667 >
>
> > [EMAIL PROTECTED] - Di 04. Sep 2007, 13:09:46]:
> >
> > There is no UI to save/load games in the SDL client. A work around is
> > to open a chat dialog and use the /save and /load commands.
> >
>
> The attached patch implements a simple "Load Game" dialog.
>

This is good news!

Found some issues testing it:

-The client crashes when there are no savegames in any datapath.
-I doesn't seem to be able to load saves from .freeciv/saves/ (which
is the standard save dir on this system) - they show up in the dialog
fine, but you try to load them the server says that it cannot find the
file. If I move the file to my home dir, it works fine.

Daniel



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


[Freeciv-Dev] (PR#36339) [SDL client] no way to save in the gui

2007-10-17 Thread Christian Prochaska

http://bugs.freeciv.org/Ticket/Display.html?id=36339 >

> [dmarks - Do 20. Sep 2007, 07:11:05]:
> 
> On 9/17/07, Pepeto _ <[EMAIL PROTECTED]> wrote:
> >
> > http://bugs.freeciv.org/Ticket/Display.html?id=36339 >
> >
> > > [dmarks - Lun. Sep. 17 08:11:29 2007]:
> > >
> > > > [dmarks - Mon Feb 19 05:36:47 2007]:
> > > >
> > > > The SDL client lacks a simple 'save' button (couldn't find one at
> > > least).
> > > >
> > > >  ~Daniel
> > > >
> > > >
> > > >
> > >
> > > I propose this simple (?) solution:
> > >
> > > In the options dialog, replace the 'Disconnect' button with a 'Save
> > > and Quit' one.
> > > Clicking it will save the game for you and then bring you to the main
> > > menu. The
> > > 'Quit' button will bring you to the main menu without saving (equal to
> > > the current
> > > effect of the 'Disconnect' button.)
> > >
> > > Thoughts?
> > >
> > >  ~Daniel
> > >
> > >
> > It should depend of is_server_running(). If is_server_running() ==
> > FALSE, there is any reason to set a button 'Save and Quit', because it
> > should fail.
> >
> >
> 
> Agreed. In that case the button should naturally be grayed out.
> 
>  ~Daniel
> 

How about this solution?

<>Index: client/gui-sdl/gui_id.h
===
--- client/gui-sdl/gui_id.h	(revision 13780)
+++ client/gui-sdl/gui_id.h	(working copy)
@@ -124,6 +124,7 @@
   ID_OPTIONS_MAP_TERRAIN_FOG_LABEL,
   ID_OPTIONS_MAP_TERRAIN_FOG_CHECKBOX,
   ID_OPTIONS_WORKLIST_BUTTON,
+  ID_OPTIONS_SAVE_GAME_BUTTON,
   ID_OPTIONS_DISC_BUTTON,
   ID_OPTIONS_BACK_BUTTON,
   ID_OPTIONS_EXIT_BUTTON,
Index: client/gui-sdl/optiondlg.c
===
--- client/gui-sdl/optiondlg.c	(revision 13780)
+++ client/gui-sdl/optiondlg.c	(working copy)
@@ -39,6 +39,7 @@
 #include "civclient.h"
 #include "climisc.h"
 #include "clinet.h"
+#include "connectdlg_common.h"
 
 /* gui-sdl */
 #include "colors.h"
@@ -2127,6 +2128,15 @@
   enable_options_button();
 }
 
+static int save_game_callback(struct widget *pWidget)
+{
+  if (Main.event.button.button == SDL_BUTTON_LEFT) {
+send_save_game(NULL);
+back_callback(NULL);
+  }
+  return -1;
+}
+
 static int exit_callback(struct widget *pWidget)
 {
   if (Main.event.button.button == SDL_BUTTON_LEFT) {
@@ -2142,7 +2152,7 @@
 void popup_optiondlg(void)
 {
   struct widget *pTmp_GUI, *pWindow;
-  struct widget *pQuit, *pDisconnect = NULL, *pBack;
+  struct widget *pCloseButton;
   SDL_String16 *pStr;
   SDL_Surface *pLogo;
   int longest = 0;
@@ -2172,39 +2182,18 @@
   pOption_Dlg->pEndOptionsWidgetList = pWindow;
 
   area = pWindow->area;
+
+  /* close button */
+  pCloseButton = create_themeicon(pTheme->Small_CANCEL_Icon, pWindow->dst,
+  WF_WIDGET_HAS_INFO_LABEL | WF_RESTORE_BACKGROUND);
+  pCloseButton->string16 = create_str16_from_char(_("Close Dialog (Esc)"), adj_font(12));
+  pCloseButton->action = back_callback;
+  set_wstate(pCloseButton, FC_WS_NORMAL);
+  pCloseButton->key = SDLK_ESCAPE;
   
-  /* create exit button */
-  pQuit = create_themeicon_button_from_chars(pTheme->CANCEL_Icon,
-pWindow->dst, _("Quit"), adj_font(12), 0);
-  pQuit->action = exit_callback;
-  pQuit->key = SDLK_q;
-  set_wstate(pQuit, FC_WS_NORMAL);
-  add_to_gui_list(ID_OPTIONS_EXIT_BUTTON, pQuit);
-  
-  area.w += adj_size(10) + pQuit->size.w;  
+  add_to_gui_list(ID_OPTIONS_BACK_BUTTON, pCloseButton);
 
-  /* create disconnection button */
-  if(aconnection.established) {
-pDisconnect = create_themeicon_button_from_chars(pTheme->BACK_Icon,
-pWindow->dst, _("Disconnect"), adj_font(12), 0);
-pDisconnect->action = disconnect_callback;
-set_wstate(pDisconnect, FC_WS_NORMAL);
-add_to_gui_list(ID_OPTIONS_DISC_BUTTON, pDisconnect);
-
-area.w += adj_size(10) + pDisconnect->size.w + adj_size(10);
-  }
-  
-  /* create back button */
-  pBack = create_themeicon_button_from_chars(pTheme->BACK_Icon,
-pWindow->dst, _("Back"), adj_font(12), 0);
-  pBack->action = back_callback;
-  pBack->key = SDLK_ESCAPE;
-  set_wstate(pBack, FC_WS_NORMAL);
-  add_to_gui_list(ID_OPTIONS_BACK_BUTTON, pBack);
-  
-  area.w += pBack->size.w + adj_size(10);
-  
-  pOption_Dlg->pBeginCoreOptionsWidgetList = pBack;
+  pOption_Dlg->pBeginCoreOptionsWidgetList = pCloseButton;
   /* -- */
   
   area.w = MAX(area.w, (adj_size(360) - (pWindow->size.w - pWindow->area.w)));
@@ -2223,29 +2212,11 @@
   widget_set_position(pWindow,
 (Main.screen->w - pWindow->size.w) / 2,
 (Main.screen->h - pWindow->size.h) / 2);
-  
-  if(aconnection.established) {
-widget_set_position(pDisconnect,
-area.x + (area.w - pDisconnect->size.w) / 2,
-area.y + area.h - pDisconnect->size.h - adj_size(10));
-
-widget_set_position(pBack,
-pDisconnect->size.x - adj_size(10) - pBack->size.w,
-area.y

[Freeciv-Dev] (PR#39667) SDL Client Usability Issues

2007-10-17 Thread Christian Prochaska

http://bugs.freeciv.org/Ticket/Display.html?id=39667 >

> [EMAIL PROTECTED] - Di 04. Sep 2007, 13:09:46]:
> 
> There is no UI to save/load games in the SDL client. A work around is
> to open a chat dialog and use the /save and /load commands.
> 

The attached patch implements a simple "Load Game" dialog.
Index: client/gui-sdl/chatline.c
===
--- client/gui-sdl/chatline.c	(revision 13783)
+++ client/gui-sdl/chatline.c	(working copy)
@@ -27,6 +27,7 @@
 
 /* utility */
 #include "fcintl.h"
+#include "log.h"
 
 /* common */
 #include "game.h"
@@ -46,6 +47,7 @@
 #include "gui_tilespec.h"
 #include "mapview.h"
 #include "messagewin.h"
+#include "pages.h"
 #include "themespec.h"
 #include "unistring.h"
 #include "widget.h"
@@ -545,7 +547,9 @@
   pBuf->size.y = pStartGameButton->size.y;
 
   pBuf->action = select_nation_callback;
-  set_wstate(pBuf, FC_WS_NORMAL);
+  if (get_client_page() != PAGE_LOAD) {
+set_wstate(pBuf, FC_WS_NORMAL);
+  }
   add_to_gui_list(ID_BUTTON, pBuf);
   pSelectNationButton = pBuf;
   
Index: client/gui-sdl/pages.c
===
--- client/gui-sdl/pages.c	(revision 13783)
+++ client/gui-sdl/pages.c	(working copy)
@@ -44,6 +44,241 @@
 static enum client_pages old_page = PAGE_MAIN;
 
 /**
+  LOAD PAGE
+**/
+
+struct ADVANCED_DLG *pLoadDialog;
+
+static int move_load_dialog_callback(struct widget *pWindow)
+{
+  if (Main.event.button.button == SDL_BUTTON_LEFT) {
+move_window_group(pLoadDialog->pBeginWidgetList, pWindow);
+  }
+  return -1;
+}
+
+static void close_load_page(void)
+{
+popdown_window_group_dialog(pLoadDialog->pBeginWidgetList, pLoadDialog->pEndWidgetList);
+flush_dirty();
+}
+
+static int exit_load_dlg_callback(struct widget *pWidget)
+{
+  if (Main.event.button.button == SDL_BUTTON_LEFT) {
+set_client_page(PAGE_MAIN);
+  }
+  return -1;
+}
+
+static int load_selected_game_callback(struct widget *pWidget)
+{
+  if (Main.event.button.button == SDL_BUTTON_LEFT) {
+char *filename = (char*)pWidget->data.ptr;
+
+if (is_server_running() || client_start_server()) {
+  char message[MAX_LEN_MSG];
+
+  my_snprintf(message, sizeof(message), "/load %s", filename);
+  send_chat(message);
+} else {
+  set_client_page(PAGE_MAIN);
+}
+  }
+  return -1;
+}
+
+static void show_load_page(void)
+{
+  struct widget *pWindow;
+  struct widget *pCloseButton;
+  struct widget *pFilenameLabel = NULL;
+  struct widget *pFirstLabel = NULL;
+  struct widget *pLastLabel = NULL;
+  struct widget *pNextLabel = NULL; 
+  SDL_String16 *pTitle, *pFilename;
+  SDL_Rect area;
+  struct datafile_list *files;
+  int count = 0;
+  int scrollbar_width = 0;
+  int max_label_width = 0;
+  
+  pLoadDialog = fc_calloc(1, sizeof(struct ADVANCED_DLG));
+
+  pTitle = create_str16_from_char(_("Choose Saved Game to Load"), adj_font(12));
+  pTitle->style |= TTF_STYLE_BOLD;
+  
+  pWindow = create_window_skeleton(NULL, pTitle, 0);
+  pWindow->action = move_load_dialog_callback; 
+  set_wstate(pWindow, FC_WS_NORMAL);
+  
+  add_to_gui_list(ID_WINDOW, pWindow);
+
+  pLoadDialog->pEndWidgetList = pWindow;
+
+  area = pWindow->area;
+  
+  /* close button */
+  pCloseButton = create_themeicon(pTheme->Small_CANCEL_Icon, pWindow->dst,
+  WF_WIDGET_HAS_INFO_LABEL | WF_RESTORE_BACKGROUND);
+  pCloseButton->string16 = create_str16_from_char(_("Close Dialog (Esc)"), adj_font(12));
+  pCloseButton->action = exit_load_dlg_callback;
+  set_wstate(pCloseButton, FC_WS_NORMAL);
+  pCloseButton->key = SDLK_ESCAPE;
+  
+  add_to_gui_list(ID_BUTTON, pCloseButton);
+
+  area.w += pCloseButton->size.w;
+
+  pLoadDialog->pBeginWidgetList = pCloseButton;
+
+  /* create scrollbar */
+  scrollbar_width = create_vertical_scrollbar(pLoadDialog, 1, 20, TRUE, TRUE);
+  hide_scrollbar(pLoadDialog->pScroll);
+
+  /* search for user saved games. */
+  files = datafilelist_infix("saves", ".sav", FALSE);
+  datafile_list_iterate(files, pfile) {
+
+count++;
+
+pFilename = create_str16_from_char(pfile->name, adj_font(13));
+pFilename->style |= SF_CENTER;
+pFilenameLabel = create_iconlabel(NULL, pWindow->dst, pFilename,
+  (WF_FREE_DATA | WF_SELLECT_WITHOUT_BAR | WF_RESTORE_BACKGROUND));
+ 
+/* store filename */
+pFilenameLabel->data.ptr = fc_calloc(1, strlen(pfile->name) + 1);
+mystrlcpy((char*)pFilenameLabel->data.ptr, pfile->name, strlen(pfile->name) + 1);
+
+pFilenameLabel->action = load_selected_game_callback;
+ 
+set_wstate(pFilenameLabel, FC_WS_NORMAL);
+
+/* FIXME: this was supposed to be add_widget_to_vertical_scroll_widget_list(), but
+ * add_widget_to_vertical_scroll_widget_list() needs the scrollbar area to b

[Freeciv-Dev] (PR#34672) City disbanded: Settlers teleported to nearest city?

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=34672 >

> [wsimpson - Mer. Oct. 17 13:36:47 2007]:
> 
> Pepeto _ wrote:
> > Tested in 2.1: The new settler is created in the settlers' homecity
> > instead of at the former city tile.
> > 
> Yes, we (the reporters) both tested in 2.1.
> 
> Are you making this assertion based on actual examination of the code?
> Where?

I just tested it to see. I posted a comment only because cafzi was
wrong, the settlers were really created.

> And neither of us (the reporters and developers) considered this priority
> 70.  Reducing to normal

Ok, as you want. It would be only easier for me to find it back when I
will begin to fix bugs.


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


[Freeciv-Dev] (PR#35075) 2.1.0 a few more bugs

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=35075 >

> [wsimpson - Mer. Oct. 17 12:24:21 2007]:
> 
> Pepeto _ wrote:
> > There is already a other ticket for this (see PR#30442).
> > 
> No, there isn't!  This was patched here!  Read the whole report.
> 
> And you mistakenly linked "by" instead of "to".  30442 doesn't refer here.

The problem of this ticket is that it is for many things, I would prefer
per makes his patch in PR#30442, so I added this link. Sorry, I missed it.

> > This problems should be fixed now.
> > 
> Did you test it?  Don't close reports until you've personally tested them.

Yes I did, or I wouldn't close this. And this bugs were reported many
other times.

> And don't "take" such reports.  You didn't fix anything.
> 
> 
> 

I "take" a report just to mark I take responsibility of closing it.


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


[Freeciv-Dev] (PR#36854) 2.1.0-beta3 setup information

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=36854 >

> [wsimpson - Mer. Oct. 17 12:57:43 2007]:
> 
> Daniel's answer was considerably more polite.
> 
> 

He doesn't answer in more than 6 months. There wasn't any other tickets
which look like this, so I guess it's a user mistake.

I really don't understand why you set it in docs queue.


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


[Freeciv-Dev] (PR#30837) Savegame with broken research amounts

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=30837 >

> [wsimpson - Mer. Oct. 17 12:35:23 2007]:
> 
> Pepeto _ wrote:
> > No problem. If it could wait so many months, it can wait some days
more :)
> > 
> Better yet, test and verify it yourself!  He provided a savegame!
> 
> 
> 

Yes, I loaded it, and he was right, his research cost was about
1700/1800. But How could I reproduce it if I don't know how it could
happen? I played some turns after, and all was right.


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


[Freeciv-Dev] (PR#20229) 2.1.0 beta 2 Windows 2000 wish list

2007-10-17 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=20229 >

As mentioned, the fact that the AI runs after a crash is confusing 
some reporters.  Not much we can do, but needs to be documented.

The other items in the wish list are still valid.



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


[Freeciv-Dev] (PR#16196) 2.0.6 Win2000 loads wrong production from savegame

2007-10-17 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=16196 >

this wasn't about the crash, it was about a possible loading 
problem in the savegame.  But as already described, the real 
problem is the AI took over and changed everything by the next 
autosave.  The only solution to this particular problem is to go 
back to the most recent autosaved game before the crash.


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


[Freeciv-Dev] (PR#14519) Tech goal cost display is broken

2007-10-17 Thread Erik Johansson

http://bugs.freeciv.org/Ticket/Display.html?id=14519 >

> [jdorje - Mon Dec 05 23:50:35 2005]:
> 
> > [chrisk - Tue Nov 01 12:57:30 2005]:
> > 
> > 
> > SVN HEAD 01 NOV 2005 GTK2
> > 
> > It doesn't take the current tech project into account.
> 
> is_tech_a_req_for_goal isn't working at the client.  I don't know why. 
> Patch wanted.
> 

Closing bug, works in 2.1RC1

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


[Freeciv-Dev] (PR#39782) Game settings UI broken (sciencebox, low prio)

2007-10-17 Thread Erik Johansson

http://bugs.freeciv.org/Ticket/Display.html?id=39782 >

I tried to change the researchcost in 2.1rc but it's called sciencebox
now. the Sciencebox UI feels strange, when you click it jumps in steps
of 100%, and when you go down to 1% it will jump to 101%, feels very
strange...

1. Go to Start new game -> Game Settings-> Technology  cost multiplier
percentage
2. change percentage with arrows
2.1. one down 
2.1. one up
6. value is 101%

Expected result: value should be 100%


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


Re: [Freeciv-Dev] (PR#34672) City disbanded: Settlers teleported to nearest city?

2007-10-17 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=34672 >

Pepeto _ wrote:
> Tested in 2.1: The new settler is created in the settlers' homecity
> instead of at the former city tile.
> 
Yes, we (the reporters) both tested in 2.1.

Are you making this assertion based on actual examination of the code?
Where?

And neither of us (the reporters and developers) considered this priority
70.  Reducing to normal



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


Re: [Freeciv-Dev] (PR#35075) 2.1.0 a few more bugs

2007-10-17 Thread Erik Johansson
On 10/17/07, William Allen Simpson <[EMAIL PROTECTED]> wrote:

> And don't "take" such reports.  You didn't fix anything.

if I  want to close bugs, because they  don't have enough information
to be handled. I do this:

1. take the bug report
2. ask for clarification from the poster
3. put on stalled
4. change priority to less than 50.

That's what we do, not sure what is done on Freeciv.
-- 
/emj

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


Re: [Freeciv-Dev] (PR#15135) surrender causes duplicate game-over

2007-10-17 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=15135 >

Pepeto _ wrote:
> Fixed, see PR#15137.
> 
While you are partly correct, the author of the ticket deliberately left
the ticket open, and posted a message to that effect.  This ticket
should only be closed by somebody after extensive testing.

And please don't "take" a ticket that you are not responsible for



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


Re: [Freeciv-Dev] (PR#30837) Savegame with broken research amounts

2007-10-17 Thread Erik Johansson

http://bugs.freeciv.org/Ticket/Display.html?id=30837 >

On 10/17/07, William Allen Simpson <[EMAIL PROTECTED]> wrote:
>
> http://bugs.freeciv.org/Ticket/Display.html?id=30837 >
>
> Pepeto _ wrote:
> > No problem. If it could wait so many months, it can wait some days more :)
> >
> Better yet, test and verify it yourself!  He provided a savegame!
>

We need a save game before this happens, this is an after the fact
save game. From my own experienced buggy save games are horrible to
debug, it's almost impossible to find out what caused the corruption..

Please correct me.

zcat /tmp/error.sav.gz |grep -e researching -e researched -e bul
name="Cizra"
bulbs_last_turn=128
researched=1808
researched_before=0
researching_name="Industrialization"
researching=37

name="Maria II"
bulbs_last_turn=128
researched=1808
researched_before=0
researching_name="Industrialization"
researching=37

name="Kemal Atatürk"
bulbs_last_turn=81
researched=217
researched_before=0
researching_name="Railroad"
researching=66

name="Tokugawa Ieyasu"
bulbs_last_turn=48
researched=217
researched_before=0
researching_name="Railroad"
researching=66

name="Stilicho"
bulbs_last_turn=0
researched=0
researched_before=0
researching_name="Pottery"
researching=64




-- 
/emj



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


[Freeciv-Dev] (PR#36854) 2.1.0-beta3 setup information

2007-10-17 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=36854 >

Daniel's answer was considerably more polite.


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


[Freeciv-Dev] (PR#35075) 2.1.0 a few more bugs

2007-10-17 Thread Daniel Markstedt

http://bugs.freeciv.org/Ticket/Display.html?id=35075 >

> [EMAIL PROTECTED] - Fri Feb 02 15:06:04 2007]:
> 
(...)
> - the game mostly crashes when I want to check something in the
> civilopedia (especially technologies, e.g. mysticism or democracy)
> - the civilopedia sometimes (or always?) confuses a wonder's
> requirement tech with its obsolence tech (e.g. the hanging gardens
> become obsolete with pottery)
> 
> can't wait for the stable version any more :-)
> 
> alec

These two sound like known bugs in the win32 client, but the reporter
hasn't made clear what client he's using so it's hard to know for sure.

 ~Daniel

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


Re: [Freeciv-Dev] (PR#30837) Savegame with broken research amounts

2007-10-17 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=30837 >

Pepeto _ wrote:
> No problem. If it could wait so many months, it can wait some days more :)
> 
Better yet, test and verify it yourself!  He provided a savegame!



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


Re: [Freeciv-Dev] (PR#35075) 2.1.0 a few more bugs

2007-10-17 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=35075 >

Pepeto _ wrote:
> There is already a other ticket for this (see PR#30442).
> 
No, there isn't!  This was patched here!  Read the whole report.

And you mistakenly linked "by" instead of "to".  30442 doesn't refer here.


> This problems should be fixed now.
> 
Did you test it?  Don't close reports until you've personally tested them.

And don't "take" such reports.  You didn't fix anything.



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


Re: [Freeciv-Dev] (PR#33538) civclient segfault when hitting Start Scenario Game

2007-10-17 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=33538 >

Fixed in PR#39364.



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


Re: [Freeciv-Dev] (PR#20125) freeciv 2.1.0 beta2 COMPILATION on INTEL mac os x

2007-10-17 Thread Erik Johansson

http://bugs.freeciv.org/Ticket/Display.html?id=20125 >

On 10/17/07, Daniel Markstedt <[EMAIL PROTECTED]> wrote:
>
> http://bugs.freeciv.org/Ticket/Display.html?id=20125 >
>
> On 10/16/07, Pepeto _ <[EMAIL PROTECTED]> wrote:
> >
> > http://bugs.freeciv.org/Ticket/Display.html?id=20125 >
> >
> > > [EMAIL PROTECTED] - Dim. Aoû. 27 19:27:32 2006]:
> > >
> > > Hello,
> > >
> > > I downloaded the source code of freeciv 2.1.0 beta2 and tried to compile
> > > it on Mac OS X 10.4.7. X, Xsource, Fink, gtk2+ etc. are installed, but I
> > > cannot get it compiled -- it looks like the configure script isn't quite
> > > aware of the Mac yet.
> > >
> > > I tried
> > >./configure --libdir=/sw/lib --libdir=/sw/lib/gtk-2.0/
> > > --includedir=/sw/include/ --includedir=/sw/include/gtk-2.0/
> > > --enable-client=xaw --with-included-gettext
> > > --includedir=/sw/include/libpng12/
> > >
> > > and it stops with
> > > checking for png_read_image in -lpng... no
> > > configure: error: Could not find PNG library (libpng).
> > >
> > > Running the (PowerPC) .dmg of beta2 works, though. Could you make the
> > > configure script foolproof for us Mac users, please?
> > >
> > > Michael
> > >
> > >
> > >
> >
> > Is it still so hard to compile it on Mac OS X?
> > Someone should write a good documentation about it? You are not the
> > first demander. Dmarks maybe?
> >
> >
>
> I have, at [[Install-OSX]]. BUT this is very much specific for my
> age-old "Panther" system - I can't be of much help to "Tiger" & Intel
> Mac users.

Yeah and a new release of MacOSX is comming so we better wait for
that. But it really isn't that hard to compile it on MacOSX just hard
to get it right, especially since X11 isn't really supported.

Erik



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


[Freeciv-Dev] (PR#36689) Loading save game fails beta3

2007-10-17 Thread Erik Johansson

http://bugs.freeciv.org/Ticket/Display.html?id=36689 >

> [pepeto - Wed Oct 17 10:12:33 2007]:
> 
> > [EMAIL PROTECTED] - Ven. Fév. 23 08:38:19 2007]:

> > I just downloaded the beta version 2.1.0-beta3.sdl (Windows version)I'm 
> > currently running on a Celeron 1.8 GHz laptop at 1024x768
resolution. XP 
> > Home SP2. System sound is off.
> > 
> > I tried changing some of the variables for a game, using the "show" and 
> > "help" commands voraciously.
> > 
> > Then when I tried to begin play, I received this notice:
> > 
> > Load civ2game-4000m.sav.gz

And if you don't want to test this again could you please tell us if you
tried to load a save game from an older version of Freeciv, and send us
that savegame.


> 
> Do you still get this this warning in more recent versions of Freeciv?
> 
> 


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


[Freeciv-Dev] (PR#37727) freeciv 2.1.0-Beta3 crash

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=37727 >

> [EMAIL PROTECTED] - Mer. Mar. 07 18:49:54 2007]:
> 
> It is highly unlikely that I am doing this correctly, but since Freeciv 
> just crashed on me (closed and triggered a Microsoft error report) I 
> thought it might be useful information.
> 
> 
> Being the neurotic person the web has made me, I did not send the file 
> to MS. However, I did have the presence of mind (a bit) to copy the file 
> it generated before it left in a huff (deleting the error file as it 
> closed).
> 
> I was playing solo in Freeciv, using ruleset2. After a dozen turns or 
> so, I used /take ...  to look at what the AI players were doing--I'm new 
> to the game and some of the play just mystifies me.
> 
> I'm running on a Compaq Presario laptop with 1.8 Celeron. Today I was 
> running the laptop and viewing on an external LCD monitor at 1280x1024. 
> There were no indications of anything malfunctioning.
> 
> It did not seem to affect Windows XP (sp2), but did terminate the 
> Freeciv program. Don't think it's relevant, but just in case, I was 
> running Litestep as a shell replacement. AVG anti-virus and firewall 
> were running. My machine is wired to a LAN here at home. One other 
> machine was on at the time, but it was not active (left on because it 
> hosts the printer).
> 
> After it closed, I show the following applications running:
> Magnifier settings
> Magnifier
> Compose: (this email)
> RT at a glance - Mozilla Firefox
> Inbox - Thunderbird
> Notepad++ (with the captured error file open)
> My Documents
> 
> At the time of the crash, the Magnifier apps were the only two running 
> in addition to the Freeciv program.
> 
> 
> 
> The error file is attached.
> 
> I hope this is helpful.
> 
> Roy Gathercoal
> 
> 

Do you still get this crash in more recent versions of Freeciv? If yes,
could you send the log messages? Or a stack trace?


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


[Freeciv-Dev] (PR#37393) Extended Latin in leader names

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=37393 >

> [per - Sam. Mar. 03 11:06:33 2007]:
> 
> On Fri, 2 Mar 2007, Daniel Markstedt wrote:
> > There's a problem with 'extended' Latin (non-ASCII) letters in leader
> > names; namely that most players can't type them, which is important
> > when using for example the /take command! Especially grave are the
> > cases where the first letter of a name is 'extended' as in Icelandic
> > "Ásgeir Ásgeirsson" or Azeri "ÿÿbülfÿÿz Elçibÿÿy".
> 
> Yes, this is a problem. The best solution may be to make all commands use 
> user name, not player name, as parameter. Though, I do not know how to do 
> that for AIs created by "aifill".
> 
>- Per
> 

Hm, then how a user could take or observe a player if this player
doesn't have a user?
This not a solution. Maybe it should be possible to use the player id?


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


[Freeciv-Dev] (PR#36854) Freeciv 2.1.0-beta3 bugs

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=36854 >

Not enough clues.


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


[Freeciv-Dev] (PR#36811) Wishlist: show number of traderoutes aside city name

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=36811 >

> [EMAIL PROTECTED] - Sam. Fév. 24 13:05:31 2007]:
> 
> It would be nice if the number of traderoutes could be shown aside the
> city name (Show traderoutes/strg-T is a bit hard to decipher)
> 
> 
> 

There is already a such feature in WarClient, this shouldn't be hard to
patch.


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


[Freeciv-Dev] (PR#30837) Savegame with broken research amounts

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=30837 >

> [EMAIL PROTECTED] - Mer. Oct. 17 09:03:25 2007]:
> 
> Ooh, it was SO long ago, I don't remember!
> I usually use SVN S2_1. I'll see if I can reproduce it with current
> S2_1, but
> this'll have to wait, because I've got school stuff coming up fast.
> 
> 
> 

No problem. If it could wait so many months, it can wait some days more :)


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


[Freeciv-Dev] (PR#36692) Bug report

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=36692 >

> [EMAIL PROTECTED] - Ven. Fév. 23 08:57:42 2007]:
> 
> Hi guys,
> 
> great work on freeciv!
> 
> I found a bug in beta3 - when a city is in disorder and I try to switch 
> to the city view, the game crashes. Not sure if it's caused only by the
> disordered city, maybe it could be also something else, but when trying
> to look at the city list, game crashes to desktop..
> 
> Hope you can fix this!
> 
> Bye,
> Jan
> 
> 
> 

Could you give more clues? What is your client (gtk+, sdl, ...)? Do you
still get this crash in newer Freeciv versions?


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


[Freeciv-Dev] (PR#36689) maybe "pplayer -> Team" bug

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=36689 >

> [EMAIL PROTECTED] - Ven. Fév. 23 08:38:19 2007]:
> 
> Sorry, I don't understand all the protocol about reporting bugs. So I 
> will send this email and hope it helps. If not, well, it didn't cost me 
> much to try and since I'm already disabled, you won't get anything by 
> breaking my knees!
> 
> I just downloaded the beta version 2.1.0-beta3.sdl (Windows version)I'm 
> currently running on a Celeron 1.8 GHz laptop at 1024x768 resolution. XP 
> Home SP2. System sound is off.
> 
> I tried changing some of the variables for a game, using the "show" and 
> "help" commands voraciously.
> 
> Then when I tried to begin play, I received this notice:
> 
> Load civ2game-4000m.sav.gz
> 1: last message repeated 3 times (total 11 repeats)
> 2: Loading rule sets
> 1: failed sanity check: pplayer->team != NULL (sanitycheck.c:525)
> 1: last message repeated 2 times
> 1: last message repeated 2 times (total 4 repeats)
> 1: last message repeated 2 times (total 8 repeats)
> 
> 
> This is close to verbatim, for some reason it wouldn't let me copy/paste.
> 
> I tried the command a couple of more times, with identical results. I 
> *expected* that when I entered the command "Load" it would go to the 
> file and copy all of the saved info into the active registers. Didn't 
> expect a snarky comment about my sanity. . .
> 
> I suspect this computer would probably have more to say about my sanity 
> than 'most anyone. Yet it is a bit rude to simply announce that I failed 
> the sanitycheck.
> 
> It is entirely possible that there is no bug here, that I simply did a 
> stupid thing trying to load in the saved game.
> 
> Yet I did try "help" and "show" with team and with pplayer. Only thing I 
> got back was a confabulated reference stating (I believe) that you can 
> set  it so that player X is on team Y. To my knowledge I did not set 
> anything about teams. I truly don't believe I saw such a setting, but I 
> have missed bigger things. . . today even. . .
> 
> While I learn this game, I am playing by myself, with AI players. So 
> there is no need for teams. . .I'm certainly not going to give the 
> SonsOfNaughtyLadies any more advantages!
> 
> Sorry, truly, if this is the wrong sort of thing to report, or I did it 
> in an unhelpful way. I do appreciate the work done by all to make the 
> open source thing work.
> 
> 
> 

Do you still get this this warning in more recent versions of Freeciv?


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


Re: [Freeciv-Dev] (PR#30837) Savegame with broken research amounts

2007-10-17 Thread Elmo Todurov

http://bugs.freeciv.org/Ticket/Display.html?id=30837 >

Wednesday 17 October 2007 11:59:17 kirjutas Pepeto _:
> http://bugs.freeciv.org/Ticket/Display.html?id=30837 >
>
> Do you still get this kind of problem in newer Freeciv versions?
> Could you send more informations about the Freeciv version you used?
> How did you got this problem:
> - with normal research?
> - with changing the current target?
> - with a caravan bonus?
> - after a diplomatic treaty?
> - with something else?


Ooh, it was SO long ago, I don't remember!
I usually use SVN S2_1. I'll see if I can reproduce it with current S2_1, but 
this'll have to wait, because I've got school stuff coming up fast.



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


[Freeciv-Dev] (PR#35075) a few more bugs...

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=35075 >

> [EMAIL PROTECTED] - Ven. Fév. 02 15:06:04 2007]:
> 
> Hi!
> 
> Here a few more bugs:
> 
> - an AI-controlled player requests me to declare war upon a player
> which is already dead

There is already a other ticket for this (see PR#30442).

> - the game mostly crashes when I want to check something in the
> civilopedia (especially technologies, e.g. mysticism or democracy)
> - the civilopedia sometimes (or always?) confuses a wonder's
> requirement tech with its obsolence tech (e.g. the hanging gardens
> become obsolete with pottery)

This problems should be fixed now.

> can't wait for the stable version any more :-)
> 
> alec
> _
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=0066
> 
> 
> 

Thank you for your report.


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


[Freeciv-Dev] (PR#34672) City disbanded: Settlers teleported to nearest city?

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=34672 >

> [EMAIL PROTECTED] - Sam. Jan. 27 11:13:35 2007]:
> 
>  I disbanded city in to settlers. Settlers unit did not appear where
> city used to be.
> There is settlers unit in nearest remaining city. I'm quite sure that
> this settlers is new one and city itself did not produce it.
> 
> 
>  - ML
> 
> 
> 

Tested in 2.1: The new settler is created in the settlers' homecity
instead of at the former city tile.


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


[Freeciv-Dev] (PR#33827) FreeCiv Goto Error

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=33827 >

> [EMAIL PROTECTED] - Mar. Jan. 16 18:52:52 2007]:
> 
> I am having repeated issues with a crash happening when I attempt to
> use the
> "Goto" command to move a unit. If I more the same unit with the keys
> then
> there is not a problem.
> 
> The defect is in the latest download - version 2.1 beta.
> 
> If you need more information please let me know.
> 
> Regards,
> 
> 
> Michael Rawlings
> 
> 
> 

I don't know what of the numerous goto crash it is linked with. But I
guess it is fixed in recent versions of Freeciv. Thank you for this report.


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


[Freeciv-Dev] (PR#33538) civclient segfault when hitting Start Scenario Game

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=33538 >

> [dmarks - Dim. Jan. 14 12:20:40 2007]:
> 
> Recent dev; GTK2 civclient crashes every time you hit "Start Scenario
> Game". Reproducible.
> 
> gdb gives:
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> 0x90007260 in strlen ()
> 
> 
> 

Do you still get this problem?


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


[Freeciv-Dev] (PR#30837) Savegame with broken research amounts

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=30837 >

Do you still get this kind of problem in newer Freeciv versions?
Could you send more informations about the Freeciv version you used?
How did you got this problem:
- with normal research?
- with changing the current target?
- with a caravan bonus?
- after a diplomatic treaty?
- with something else?


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


[Freeciv-Dev] (PR#30579) please make an account on bugtracking

2007-10-17 Thread Pepeto _

http://bugs.freeciv.org/Ticket/Display.html?id=30579 >

> [EMAIL PROTECTED] - Jeu. Déc. 21 09:15:43 2006]:
> 
> hi, please create an account on bugtracking for me.
> 
> name: ruthene
> 
> 
> 

The demander didn't insist to have an account. Seems his account was not
needed. Closing this ticket...


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