[Freeciv-Dev] [patch #1271] Featured text: simulate Book's colors

2009-09-01 Thread pepeto

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

 Summary: Featured text: simulate Book's colors
 Project: Freeciv
Submitted by: pepeto
Submitted on: Tuesday 09/01/2009 at 17:04
Category: general
Priority: 3 - Low
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.2.0

___

Details:

The patch add 2 extras arguments to the following functions:
* notify_conn()
* vnotify_conn()
* notify_player()
* notify_embassies()
* notify_team()
* notify_research()
to determine with what colors they should be displayed (foreground and
background).

The colors I added for the events are the default ones Book made for the
current warclient.  The next step would be to add links into those messages.




___

File Attachments:


---
Date: Tuesday 09/01/2009 at 17:04  Name:
trunk_simulate_warclient_colors.diff.gz  Size: 41kB   By: pepeto

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

___

Reply to this item at:

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

___
  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 #14168] unable to create a new game

2009-09-01 Thread anonymous

Follow-up Comment #2, bug #14168 (project freeciv):

I tried this with 5 players with a map of 2000 tiles (map size = 2). I think
it should be possible to create 5 start positions on a map with 2000 tiles.
Sometimes I can create a game with 30 players with the same settings in a map
of 1000 tiles. It seems, the count of players does not effect the chance of
successfully creating the game.

In older versions (i.e. 2.1.5) I was allways able to create games with 30
players in maps of 1000 tiles.

___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14168] unable to create a new game

2009-09-01 Thread Matthias Pfafferodt

Follow-up Comment #3, bug #14168 (project freeciv):

Could you try this starting a separate server? I think the server sends an
error message but the client does not display it and this message would help
to identify the problem ...

I can also most of the time start a game with size 1 and 30 ai players. But
from time to time I get the error message listed below.

___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14168] unable to create a new game

2009-09-01 Thread Marko Lindqvist

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

 I tried this with 5 players with a map of 2000 tiles (map size
 = 2). I think it should be possible to create 5 start positions
 on a map with 2000 tiles.
 Sometimes I can create a game with 30 players with the same
 settings in a map of 1000 tiles. It seems, the count of players
 does not effect the chance of successfully creating the game.

Sure player count affects probability to find suitable spot for all. But many
other things affect that too. The fact that map generator crashes quite often
with certain kind of parameters is a known bug and severe one. We should do
something to it before 2.2 release at least.

 In older versions (i.e. 2.1.5) I was allways able to create
 games with 30 players in maps of 1000 tiles.

There were other bugs in map generation that have been fixed since 2.1.5.
Unfortunately, fixing those bugs made this one more likely to happen. Mainly
these changes are about making separate islands really separate. Previously
map generator was combining islands that should be separate and thus made it
easier to find island big enough for all players.

___

Reply to this item at:

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

___
  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 #1252] cleanup of load_ruleset_game()

2009-09-01 Thread Matthias Pfafferodt

Follow-up Comment #5, patch #1252 (project freeciv):

as requested I created an updated patch:

cleanup of load_ruleset_game()

* define min/max/default values for most ruleset settings
* define the standard values for all ruleset settings in
  game.h using 'RS_*'
* add secfile_lookup_int_default_min_max() function which
  uses the min/max value if the ruleset setting is out of
  range
* move definition of ruleset_error to the head of the
  ruleset.c file
* repair definition of SLOW_INVASION
* add error handle for registry functions

Please consider to delete line 302 in game.c:

  game.info.slow_invasions= RS_DEFAULT_SLOW_INVASIONS;

I will follow up with a patch to use a generalized error
handling function within registry.c

The min/max values are only estimated by myself. Please
check these values.

(file #6550)
___

Additional Item Attachment:

File name: 0001-cleanup-of-load_ruleset_game.patch Size:31 KB


___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1272] generic registry_error() function

2009-09-01 Thread Matthias Pfafferodt

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

 Summary: generic registry_error() function
 Project: Freeciv
Submitted by: syntron
Submitted on: Dienstag 01.09.2009 um 23:55
Category: general
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.2.0

___

Details:

see summary

depends on patch #1252



___

File Attachments:


---
Date: Dienstag 01.09.2009 um 23:55  Name:
0002-generic-registry_error-function.patch  Size: 4kB   By: syntron

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

___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14070] Helptext for F_SHIELD2GOLD

2009-09-01 Thread Matthias Pfafferodt

Follow-up Comment #2, bug #14070 (project freeciv):

updated patch; changes:

* adapt the help text
* coding style cleanup

(file #6552)
___

Additional Item Attachment:

File name: 0001-Helptext-for-F_SHIELD2GOLD.patch Size:1 KB


___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14229] delete duplicated code

2009-09-01 Thread Matthias Pfafferodt

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

 Summary: delete duplicated code
 Project: Freeciv
Submitted by: syntron
Submitted on: Mittwoch 02.09.2009 um 00:15
Category: general
Severity: 2 - Minor
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.2.0

___

Details:

see summary



___

File Attachments:


---
Date: Mittwoch 02.09.2009 um 00:15  Name: 0001-delete-duplicated-code.patch 
Size: 660B   By: syntron

http://gna.org/bugs/download.php?file_id=6553

___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1252] cleanup of load_ruleset_game()

2009-09-01 Thread Matthias Pfafferodt

Follow-up Comment #6, patch #1252 (project freeciv):

the function ruleset_error has to be changed to send a
notification to all clients ...

___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14230] add new server state S_S_SAVEGAME to prevent changing of the ruleset after a savegame was loaded

2009-09-01 Thread Matthias Pfafferodt

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

 Summary: add new server state S_S_SAVEGAME to prevent
changing of the ruleset after a savegame was loaded
 Project: Freeciv
Submitted by: syntron
Submitted on: Mittwoch 02.09.2009 um 00:20
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: None

___

Details:

at the moment it is possible to change the ruleset
after a savegame was loaded. This will result in
strange error messages.

This patch adds a new server state S_S_SAVEGAME,
which is equivalent to S_S_INITIAL but changing
the rulesetdir is not allowed.

Two functions are added:

bool inline server_state_pregame(void)
- TRUE for pregame server states
   (S_S_INITIAL and S_S_SAVEGAME)

bool inline server_state_started(void)
- TRUE for started games
   (S_S_RUNNING and S_S_OVER)

all uses of server state (S_S_*) were checked. I hope
that I did not miss anything ...

Please consider this patch for 2.2



___

File Attachments:


---
Date: Mittwoch 02.09.2009 um 00:20  Name:
0002-add-new-server-state-S_S_SAVEGAME-to-prevent-changin.patch  Size: 16kB  
By: syntron

http://gna.org/bugs/download.php?file_id=6554

___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1252] cleanup of load_ruleset_game()

2009-09-01 Thread Marko Lindqvist

Follow-up Comment #7, patch #1252 (project freeciv):

 the function ruleset_error has to be changed to send a
 notification to all clients ...

No. It would be potential security issue if remote clients get error messages
quite internal to server.

___

Reply to this item at:

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

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


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


Re: [Freeciv-Dev] (PR#40853) Freeciv crash

2009-09-01 Thread François Marlier

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

I put the new package at 
http://aegipan.free.fr/freeciv/repository/Freeciv_2.1.9_RC1_OSX_SDL_UB.dmg
looks like ftp.freeciv.org is not responding anymore.

cheers

françois

Le 24 août 09 à 20:37, François Marlier a écrit :


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

 I got a 2.1.9 SDL version running, just need to bundle it, will then
 send it asap

 cheers,

 françois

 Le 17 août 09 à 17:47, Ben a écrit :


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

 Hi Daniel,

 I'd love to test the 2.1.9, unfortunately, the last precompiled
 package for MacOSX is 2.1.6. Should I open a bug about that ?

 Regards,
 Benoit

 On Sun, Aug 16, 2009 at 16:46, Daniel Markstedtmarkst...@gmail.com
 wrote:

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

 Hi Benoit,

 Thanks for the crash report. However, this bug tracker has now been
 closed. If you can still reproduce the problem in version 2.1.9,
 please
 go here to report the bug:

 https://gna.org/bugs/?func=additemgroup=freeciv

 Regards,

 Daniel





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




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




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