[Freeciv-Dev] [patch #2402] Retry map generation with different seed if one fails

2011-02-08 Thread Marko Lindqvist

Update of patch #2402 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2402

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #16457] Bug using enum pointers as int pointers

2011-02-08 Thread Marko Lindqvist

Follow-up Comment #4, bug #16457 (project freeciv):

 Maybe just adding -fno-short-enums or --enum_is_int in the
 compilation flags? 

That would also affect other headers we include. That could cause freeciv to
assume enum size in system library to be different from what it is in actual
library that is compiled without such flags.

___

Reply to this item at:

  http://gna.org/bugs/?16457

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #16457] Bug using enum pointers as int pointers

2011-02-08 Thread Marko Lindqvist

Update of bug #16457 (project freeciv):

  Status:  Ready For Test = None   
 Assigned to:   cazfi = None   

___

Follow-up Comment #5:

There's changes in settings.c that make Pepeto's patch so outdated its almost
useless. Almost complete rewrite is needed.

___

Reply to this item at:

  http://gna.org/bugs/?16457

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2498] Handle ai module specific setup failures

2011-02-08 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2498

 Summary: Handle ai module specific setup failures
 Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 08 Feb 2011 05:47:03 PM EET
Category: ai
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

This patch changes return value of setup function in ai module from void to
bool. Module can use this return value to indicate failure in its setup. Such
failures are handled in server code.

In typical case module setup would fail if ai module has some requirements
that freeciv server otherwise has not (and doesn't check against). As an
example, threaded ai module setup will fail if freeciv has not been compiled
against real threads implementation.



___

File Attachments:


---
Date: Tue 08 Feb 2011 05:47:03 PM EET  Name: ModSetupRetVal.diff  Size: 3kB  
By: cazfi

http://gna.org/patch/download.php?file_id=12336

___

Reply to this item at:

  http://gna.org/patch/?2498

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2417] Stub of threaded ai module

2011-02-08 Thread Marko Lindqvist

Follow-up Comment #2, patch #2417 (project freeciv):

- Updated so that applies on top of patch #2498

(file #12337)
___

Additional Item Attachment:

File name: ThreadedAi_2417-3.diff Size:3 KB


___

Reply to this item at:

  http://gna.org/patch/?2417

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2446] Launch threads for threaded ai

2011-02-08 Thread Marko Lindqvist

Update of patch #2446 (project freeciv):

  Depends on: = patch #2488


___

Reply to this item at:

  http://gna.org/patch/?2446

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2417] Stub of threaded ai module

2011-02-08 Thread Marko Lindqvist

Update of patch #2417 (project freeciv):

  Depends on: = patch #2498


___

Reply to this item at:

  http://gna.org/patch/?2417

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2352] Move ferry statistics from adv data to default ai data

2011-02-08 Thread Marko Lindqvist

Update of patch #2352 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2352

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2412] Support to write reply to file to netfile_send_post()

2011-02-08 Thread Marko Lindqvist

Update of patch #2412 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2412

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2500] Add ~/.freeciv/DATASUBDIR/scenarios to default FREECIV_SCENARIO_PATH

2011-02-08 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2500

 Summary: Add ~/.freeciv/DATASUBDIR/scenarios to default
FREECIV_SCENARIO_PATH
 Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 08 Feb 2011 08:33:42 PM EET
Category: module installer
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.3.0, 2.4.0

___

Details:

This is one of the patches I planed to make in patch #2497. See that ticket
for more detailed reasoning for this patch.

This patch adds component ~/.freeciv/DATASUBDIR/scenarios to default
FREECIV_SCENARIO_PATH, before ~/.freeciv/scenarios component.

As this enables quite important use-case for freeciv-modpack (scenarios with
their own ruleset) I think this really should go to S2_3 too. One could argue
that this goes against datafile format freeze, as .sav file installed to
~/.freeciv/2.3/scenarios for later versions would not be found by beta3 or
earlier versions by default.



___

File Attachments:


---
Date: Tue 08 Feb 2011 08:33:42 PM EET  Name: VerSpecificScenPath.diff  Size:
2kB   By: cazfi

http://gna.org/patch/download.php?file_id=12340

___

Reply to this item at:

  http://gna.org/patch/?2500

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2496] AI should not fear sea attack from irrigation

2011-02-08 Thread Marko Lindqvist

Follow-up Comment #4, patch #2496 (project freeciv):

 So, we have choice of either being afraid of rivers with any
 ruleset (and when ever enemy has any kind of ferries) or never
 being afraid of them. As latter would provide better result only
 in rare situations, I choose former.

Err.. *former* would provide better result only in rare situation, I choose
*latter*.

Updated TRUNK version (S2_3 does not need these changes, previous version is
still ok) of patch attached:
- Removed now completely obsolete is_water_adjacent_to_tile()
- Added FIXME comment about riverboat handling


(file #12341)
___

Additional Item Attachment:

File name: ExpectNoInvasionFromIrrig_2496.diff Size:2 KB


___

Reply to this item at:

  http://gna.org/patch/?2496

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2484] Choose irrigation sprite ver 2

2011-02-08 Thread Marko Lindqvist

Follow-up Comment #2, patch #2484 (project freeciv):

 You cannot assume that all rulesets have terrain named plains.

I think tileset should still have default irrigation sprite not tied to any
terrain type. All the terrains that don't have their own irrigation sprite
defined, would use that. How mine sprites are handled in this respect?

___

Reply to this item at:

  http://gna.org/patch/?2484

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2501] Avoid double encoding of server-metaserver communication

2011-02-08 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2501

 Summary: Avoid double encoding of server-metaserver
communication
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 09 Feb 2011 12:13:53 AM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

Currently strings sent from server to metaserver are encoded first in freeciv
code and then passed to libcurl which encodes them again. As a result, some
strings are distorted at metaserver end.

Attached patch removes encoding from freeciv code.




___

File Attachments:


---
Date: Wed 09 Feb 2011 12:13:53 AM EET  Name: DoubleMetaEncFix.diff  Size: 3kB
  By: cazfi

http://gna.org/patch/download.php?file_id=12343

___

Reply to this item at:

  http://gna.org/patch/?2501

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2502] Function headers to files in manual/

2011-02-08 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2502

 Summary: Function headers to files in manual/
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 09 Feb 2011 12:25:27 AM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

This patch adds all missing function headers to manual/ directory files. Also
some other comment cleanup.

Now we have patches to address function header issues in all level 1
directories (subdirs of freeciv root directory). There is no patch for modinst
source directory as it already had all function headers.



___

File Attachments:


---
Date: Wed 09 Feb 2011 12:25:27 AM EET  Name: FuncHdrsManual.diff  Size: 1kB  
By: cazfi

http://gna.org/patch/download.php?file_id=12344

___

Reply to this item at:

  http://gna.org/patch/?2502

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2427] [metaticket] Add missing function headers

2011-02-08 Thread Marko Lindqvist

Update of patch #2427 (project freeciv):

  Depends on: = patch #2502


___

Reply to this item at:

  http://gna.org/patch/?2427

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2451] Function headers to files in server/ main

2011-02-08 Thread Marko Lindqvist

Update of patch #2451 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2451

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2502] Function headers to files in manual/

2011-02-08 Thread Marko Lindqvist

Follow-up Comment #1, patch #2502 (project freeciv):

 Now we have patches to address function header issues in all
 level 1 directories (subdirs of freeciv root directory)

Not true. I forgot that ai is level 1 directory and not subdirectory of
server.

___

Reply to this item at:

  http://gna.org/patch/?2502

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2503] Function headers to files in server/generator/

2011-02-08 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2503

 Summary: Function headers to files in server/generator/
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 09 Feb 2011 01:38:12 AM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

This patch adds all missing function headers to server/generator directory
files. Also some other comment cleanup.



___

File Attachments:


---
Date: Wed 09 Feb 2011 01:38:12 AM EET  Name: FuncHdrsGenerator.diff  Size:
3kB   By: cazfi

http://gna.org/patch/download.php?file_id=12345

___

Reply to this item at:

  http://gna.org/patch/?2503

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2427] [metaticket] Add missing function headers

2011-02-08 Thread Marko Lindqvist

Update of patch #2427 (project freeciv):

  Depends on: = patch #2503


___

Reply to this item at:

  http://gna.org/patch/?2427

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #17677] NULL dereference in city sanity check debug message

2011-02-08 Thread Jacob Nevins

URL:
  http://gna.org/bugs/?17677

 Summary: NULL dereference in city sanity check debug message
 Project: Freeciv
Submitted by: jtn
Submitted on: Wed Feb  9 00:04:50 2011
Category: None
Severity: 2 - Minor
Priority: 5 - Normal
  Status: Ready For Test
 Assigned to: jtn
Originator Email: 
 Open/Closed: Open
 Release: 2.2.4,2.3.0-beta3
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.2.5,2.3.0,2.4.0

___

Details:

In city_from_wonder(), when the server wants to say something like

1: Player Vercingétorix (nb 0) has outdated wonder info for Copernicus'
Observatory (nb 44), it points to city nb 343.

it actually segfaults due to dereferencing 'pcity' when it's guaranteed to be
NULL.




___

Reply to this item at:

  http://gna.org/bugs/?17677

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #17677] NULL dereference in city sanity check debug message

2011-02-08 Thread Jacob Nevins

Additional Item Attachment, bug #17677 (project freeciv):

File name: trunk-S2_3-city-debug-msg-segfault.diff Size:0 KB
File name: S2_2-city-debug-msg-segfault.diff Size:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?17677

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2504] Update to diff_ignore

2011-02-08 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2504

 Summary: Update to diff_ignore
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 09 Feb 2011 02:19:55 AM EET
Category: bootstrap
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

I received patch which was generated using our diff_ignore file. There was a
lot of noise. diff_ignore has been practically unmaintained for a long time.
Attached patch fixes some of its problems. This doesn't even try to be
complete fix, I just fixed most obvious problems.



___

File Attachments:


---
Date: Wed 09 Feb 2011 02:19:55 AM EET  Name: DiffIgnoreUpdt.diff  Size: 954B 
 By: cazfi

http://gna.org/patch/download.php?file_id=12348

___

Reply to this item at:

  http://gna.org/patch/?2504

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2460] Qt-client pages

2011-02-08 Thread Marko Lindqvist

Follow-up Comment #1, patch #2460 (project freeciv):

- Updated against current svn and changes in patch series

(file #12349)
___

Additional Item Attachment:

File name: QtPages_2460-2.diffSize:8 KB


___

Reply to this item at:

  http://gna.org/patch/?2460

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #2488] has_thread_impl()

2011-02-08 Thread Marko Lindqvist

Update of patch #2488 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2488

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #17678] Warnings about wonders (etc) when loading S2_3 experimental savegame in trunk

2011-02-08 Thread Jacob Nevins

URL:
  http://gna.org/bugs/?17678

 Summary: Warnings about wonders (etc) when loading S2_3
experimental savegame in trunk
 Project: Freeciv
Submitted by: jtn
Submitted on: Wed Feb  9 01:40:45 2011
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: trunk r19268
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.4.0

___

Details:

After fixing bug #17677, when I load the attached savegame, created with the
experimental ruleset on S2_3, into trunk r19268, I get loads of warnings:

2: [T000 - 2011/02/09 01:13:27] in sg_load_compat() [savegame2.c::5612]: Run
compatibility function for version: 10 (save file: 3; server: 10).
[...]
1: [T219 - 2011/02/09 01:13:28] in adv_data_get() [advdata.c::732]: assertion
'adv-phase_is_initialized' failed.
1: [T219 - 2011/02/09 01:13:28] in adv_data_get() [advdata.c::732]: Please
report this message at http://gna.org/projects/freeciv/
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (8 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (7 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (7 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (8 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (9 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (11 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (8 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (10 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (13 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (12 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (11 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (14 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (12 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in city_from_wonder() [improvement.c::563]:
Player Vercingétorix (nb 0) has outdated wonder info for Copernicus'
Observatory (nb 44), it points to city nb 343.
1: [T219 - 2011/02/09 01:13:28] in city_from_great_wonder()
[improvement.c::633]: Game has outdated wonder info for Copernicus'
Observatory (nb 44), the player Vercingétorix (nb 0) doesn't have this
wonder.
1: [T219 - 2011/02/09 01:13:28] in citizens_update() [citizenshand.c::63]:
assertion 'city_from_great_wonder(pimprove) == pcity' failed.
1: [T219 - 2011/02/09 01:13:28] in citizens_update() [citizenshand.c::63]: ( 
28,   71) in Lille[12]
1: [T219 - 2011/02/09 01:13:28] in citizens_update() [citizenshand.c::63]:
Please report this message at http://gna.org/projects/freeciv/
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (11 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
last message repeated 2 times
1: [T219 - 2011/02/09 01:13:28] in sg_load_player_city() [savegame2.c::4015]:
City size and number of citizens does not match (10 != 0)! Repairing ...
1: [T219 - 2011/02/09 01:13:28] in city_from_wonder() [improvement.c::563]:
Player Vercingétorix (nb 0) has outdated wonder info for Magellan's
Expedition (nb 57), it points to city nb 184.
1: [T219 - 2011/02/09 01:13:28] in city_from_great_wonder()
[improvement.c::633]: Game has outdated wonder info for Magellan's Expedition
(nb 57), the player Vercingétorix (nb 0) doesn't have this wonder.
1: [T219 - 2011/02/09 01:13:28] in citizens_update() [citizenshand.c::63]:
assertion 'city_from_great_wonder(pimprove) == pcity' failed.
1: [T219 - 2011/02/09 01:13:28] in citizens_update() [citizenshand.c::63]: ( 
51,   45) in 

[Freeciv-Dev] [bug #17392] City size x, citizen count y for abc

2011-02-08 Thread Jacob Nevins

Follow-up Comment #7, bug #17392 (project freeciv):

I figured out my problem, and I believe it is unrelated. See bug #17677 and
bug #17678.

___

Reply to this item at:

  http://gna.org/bugs/?17392

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #17679] Autogenerated helptext speaks about veterancy levels though ruleset defines none

2011-02-08 Thread Marko Lindqvist

URL:
  http://gna.org/bugs/?17679

 Summary: Autogenerated helptext speaks about veterancy
levels though ruleset defines none
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 09 Feb 2011 06:25:51 AM EET
Category: client
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

In alien ruleset there is just one veterancy level, so gaining veterancy is
impossible. Yet autogenerated unit help has lines like:

* Will be built as a veteran in cities with appropriate training facilities
(see Barracks).
* May be promoted after defeating an enemy unit.





___

Reply to this item at:

  http://gna.org/bugs/?17679

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #17680] assertion 'vsystem-levels level' failed

2011-02-08 Thread Marko Lindqvist

URL:
  http://gna.org/bugs/?17680

 Summary: assertion 'vsystem-levels  level' failed
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 09 Feb 2011 06:35:15 AM EET
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

common/unittype.c::1127]: assertion 'vsystem-levels  level' failed.

This is with ruleset that has just one veterancy level defined, i.e., nobody
can gain more veteran levels by any means.




___

Reply to this item at:

  http://gna.org/bugs/?17680

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] message-window color

2011-02-08 Thread Shaun Savani
I am running freeciv-2.2.4 from compiled source.

I am wondering if there is anyway to change the colors of the message-window
to be light text on a dark background.

If not, I would like to just print game messages to stdout on the terminal.

The reason is that the white background of the message-window is very bright
at night.

I found that a list of all possible game messages are stored in
data/default/default.lua.

Can someone tell me where in the code these messages get generated?

Then I could just add a call to printf at that point in the code, I think.

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