[Freeciv-Dev] [bug #24316] in player_balance_treasury_units() [cityturn.c::2099]: assertion 'FALSE' failed.

2016-01-17 Thread Michal Mazurek
Follow-up Comment #3, bug #24316 (project freeciv): No, we ask not to do that because that would mean the ai-controlled kingom would kill other kingdoms, which is not the point of a test game. Unattended usually just means a work queue in the cities and workers on auto - that's what I do. ___

[Freeciv-Dev] [bug #24317] 22/22 bulbs in science

2016-01-16 Thread Michal Mazurek
URL: Summary: 22/22 bulbs in science Project: Freeciv Submitted by: akfaew Submitted on: Sat 16 Jan 2016 03:18:45 PM UTC Category: None Severity: 3 - Normal Prio

[Freeciv-Dev] [bug #24316] in player_balance_treasury_units() [cityturn.c::2099]: assertion 'FALSE' failed.

2016-01-16 Thread Michal Mazurek
Follow-up Comment #1, bug #24316 (project freeciv): I have seen this before, in a previous test game. I think it happens when players leave their kingdom unattended overnight and a couple of hundered turns pass. I don't have any more insights though. Sorry for the botched markup. ___

[Freeciv-Dev] [bug #24316] in player_balance_treasury_units() [cityturn.c::2099]: assertion 'FALSE' failed.

2016-01-16 Thread Michal Mazurek
URL: Summary: in player_balance_treasury_units() [cityturn.c::2099]: assertion 'FALSE' failed. Project: Freeciv Submitted by: akfaew Submitted on: Sat 16 Jan 2016 09:16:36 AM UTC Category: gene

[Freeciv-Dev] [bug #24312] Include "turns idle" in the .sav

2016-01-15 Thread Michal Mazurek
URL: Summary: Include "turns idle" in the .sav Project: Freeciv Submitted by: akfaew Submitted on: Fri 15 Jan 2016 08:32:32 AM UTC Category: general Severity: 2 - Minor

Re: [Freeciv-Dev] [bug #20739] Vertical lines when using Nvidia driver

2013-05-14 Thread Michal Mazurek
v. reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back reg01: base=0x08000 ( 2048MB), size= 1024MB, count=1: write-back reg02: base=0x0c000 ( 3072MB), size= 256MB, count=1: write-back reg03: base=0x0cfe0 ( 3326MB), size=2MB, count=1: uncachable It seems ok. --

[Freeciv-Dev] [bug #20808] noop AI for multiplayer games

2013-05-11 Thread Michal Mazurek
URL: Summary: noop AI for multiplayer games Project: Freeciv Submitted by: akfaew Submitted on: Sat 11 May 2013 06:04:38 PM GMT Category: None Severity: 1 - Wish

[Freeciv-Dev] [bug #20807] More discrete server logs

2013-05-11 Thread Michal Mazurek
URL: Summary: More discrete server logs Project: Freeciv Submitted by: akfaew Submitted on: Sat 11 May 2013 06:00:12 PM GMT Category: general Severity: 1 - Wish

[Freeciv-Dev] [bug #20739] Vertical lines when using Nvidia driver

2013-04-14 Thread Michal Mazurek
URL: Summary: Vertical lines when using Nvidia driver Project: Freeciv Submitted by: akfaew Submitted on: Sun 14 Apr 2013 06:17:07 PM GMT Category: client-gtk-2.0 Severity: 3 -

Re: [Freeciv-Dev] cannot compile S2.3 on gentoo amd64

2012-10-21 Thread Michal Mazurek
On Sat, Oct 20, 2012 at 11:25:36PM +0300, Marko Lindqvist wrote: > On 20 October 2012 16:16, Michal Mazurek wrote: > > > > configure:2610: checking build system type > > configure:2621: error: /bin/sh bootstrap/config.sub x86_64-unknown-linux- > > failed > >

Re: [Freeciv-Dev] cannot compile S2.3 on gentoo amd64

2012-10-20 Thread Michal Mazurek
On Sat, Oct 20, 2012 at 03:46:43PM +0300, Marko Lindqvist wrote: > On 20 October 2012 15:10, Michal Mazurek wrote: > > I'm trying to compile S2.3 on gentoo/amd64, but autogen.sh fails: > > > > [22:05:pts/4][dude@bender:~/src/freeciv:18]$ tail config.log > > C

[Freeciv-Dev] cannot compile S2.3 on gentoo amd64

2012-10-20 Thread Michal Mazurek
RNAME "freeciv" #define PACKAGE_VERSION "2.3.2+" #define PACKAGE_STRING "freeciv 2.3.2+" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 1 [22:05:pts/4][dude@bender:~/src/freeciv:19]$ -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

Re: [Freeciv-Dev] [bug #18717] Big city radius, fog of war

2012-06-19 Thread Michal Mazurek
hat it uses more of > server resources. A city with a warrior inside would have full vision radius. An empty city sees less. -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

Re: [Freeciv-Dev] Metaserver ideas

2012-04-06 Thread Michal Mazurek
On Fri, Apr 06, 2012 at 09:24:17AM +0100, Jacob Nevins wrote: > A couple of random ideas for improvements to the metaserver. I'd only like to be able to advertise a game with 126 players, which is currently not possible due to the url length limit. -- Michal

[Freeciv-Dev] [bug #19608] Number of units built

2012-04-04 Thread Michal Mazurek
Follow-up Comment #2, bug #19608 (project freeciv): But what does the "2" mean? ___ Reply to this item at: ___ Message sent via/by Gna! http://gna.org/ _

[Freeciv-Dev] [bug #19608] Number of units built

2012-04-03 Thread Michal Mazurek
URL: Summary: Number of units built Project: Freeciv Submitted by: akfaew Submitted on: Tue Apr 3 15:19:30 2012 Category: None Severity: 3 - Normal Priority: 5

[Freeciv-Dev] [bug #19471] add half-remove

2012-02-19 Thread Michal Mazurek
Follow-up Comment #2, bug #19471 (project freeciv): Does /kill remove all data structures related to the player, as well as decrease the bitfields required for the map etc? ___ Reply to this item at: ___

[Freeciv-Dev] [bug #19471] add half-remove

2012-02-19 Thread Michal Mazurek
URL: Summary: add half-remove Project: Freeciv Submitted by: akfaew Submitted on: Sun Feb 19 08:27:28 2012 Category: None Severity: 3 - Normal Priority: 5 - Norm

[Freeciv-Dev] [bug #19339] Units menu and multiple units built/turn

2012-02-04 Thread Michal Mazurek
Follow-up Comment #2, bug #19339 (project freeciv): I have tested this - it works as expected ___ Reply to this item at: ___ Message sent via/by Gna! http://gn

[Freeciv-Dev] [bug #19365] global warming causes unitwaittime

2012-01-31 Thread Michal Mazurek
URL: Summary: global warming causes unitwaittime Project: Freeciv Submitted by: akfaew Submitted on: Tue Jan 31 20:01:23 2012 Category: None Severity: 2 - Minor

[Freeciv-Dev] [bug #19339] Units menu and multiple units built/turn

2012-01-27 Thread Michal Mazurek
URL: Summary: Units menu and multiple units built/turn Project: Freeciv Submitted by: akfaew Submitted on: Fri Jan 27 19:48:54 2012 Category: None Severity: 3 - Normal

[Freeciv-Dev] [bug #19311] Did not find a cm solution in 25000 iterations

2012-01-20 Thread Michal Mazurek
URL: Summary: Did not find a cm solution in 25000 iterations Project: Freeciv Submitted by: akfaew Submitted on: Fri Jan 20 18:26:27 2012 Category: None Severity: 3 - Normal

[Freeciv-Dev] [bug #19272] The revolt_cost of a city can become negative.

2012-01-15 Thread Michal Mazurek
Follow-up Comment #3, bug #19272 (project freeciv): Why use double? 'long long int' can be used instead, it's 64-bit long. ___ Reply to this item at: ___ Messag

[Freeciv-Dev] Google Summer of Code

2012-01-08 Thread Michal Mazurek
Can Freeciv participate in GSoC? -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

[Freeciv-Dev] [bug #19256] metaserver reports wrong number of players

2012-01-08 Thread Michal Mazurek
Follow-up Comment #2, bug #19256 (project freeciv): It does not appear to have fixed the problem. Perhaps the metaserver expects a read of no more than 8192 bytes. ___ Reply to this item at: ___

[Freeciv-Dev] [bug #19256] metaserver reports wrong number of players

2012-01-08 Thread Michal Mazurek
Follow-up Comment #1, bug #19256 (project freeciv): I hope this will work, I'll test it after LT30's TC. Index: meta.c === --- meta.c (revision 20676) +++ meta.c (working copy) @@ -223,8 +223,8 @@ ***

[Freeciv-Dev] [bug #19256] metaserver reports wrong number of players

2012-01-08 Thread Michal Mazurek
URL: Summary: metaserver reports wrong number of players Project: Freeciv Submitted by: akfaew Submitted on: Sun Jan 8 15:18:18 2012 Category: None Severity: 3 - Normal

[Freeciv-Dev] [bug #19219] Client crashes with LTeX2.3 server

2012-01-08 Thread Michal Mazurek
Follow-up Comment #10, bug #19219 (project freeciv): Aczern just built A. Smith. His windows client crashed as well. Kevin, can you share your patched windows binary? As to delegation: I updated the sources and somehow WITH_AUTH got undefined...

[Freeciv-Dev] [bug #19219] Client crashes with LTeX2.3 server

2012-01-07 Thread Michal Mazurek
Follow-up Comment #8, bug #19219 (project freeciv): Yes, the ruleset was based on "multiplayer". Both me and kevin delegated to you, just use the 'take' command. ___ Reply to this item at:

[Freeciv-Dev] [bug #19253] Bug in unit_bribe_cost

2012-01-06 Thread Michal Mazurek
URL: Summary: Bug in unit_bribe_cost Project: Freeciv Submitted by: akfaew Submitted on: Sat Jan 7 07:13:20 2012 Category: None Severity: 3 - Normal Priority:

[Freeciv-Dev] [bug #19219] GTK Client crashes.

2011-12-27 Thread Michal Mazurek
Follow-up Comment #2, bug #19219 (project freeciv): Apparently, pcity->tile == NULL in: if (pcity && tile_continent(pcity->tile) == continent) { ___ Reply to this item at: __

[Freeciv-Dev] [bug #19219] GTK Client crashes.

2011-12-27 Thread Michal Mazurek
Follow-up Comment #1, bug #19219 (project freeciv): this happened to me as well (latest S2_3, gtk client): [verbatim] #0 0x1c14b3fd in is_req_active (target_player=0x80969530, target_city=0x8bd07800, target_building=0x3c0536c0, target_tile=0x0, target_unittype=0x0, target_output=0x0, target

[Freeciv-Dev] [patch #3062] Make effect_barracks allow setting veteran level

2011-11-26 Thread Michal Mazurek
URL: Summary: Make effect_barracks allow setting veteran level Project: Freeciv Submitted by: akfaew Submitted on: Sat Nov 26 15:08:45 2011 Category: None Priority: 5 - Normal

[Freeciv-Dev] [bug #19047] outdated comment in common/unit.c

2011-11-23 Thread Michal Mazurek
URL: Summary: outdated comment in common/unit.c Project: Freeciv Submitted by: akfaew Submitted on: Wed Nov 23 11:05:46 2011 Category: None Severity: 3 - Normal

[Freeciv-Dev] [patch #2935] UNIX domain socket for freeciv.

2011-11-23 Thread Michal Mazurek
Follow-up Comment #3, patch #2935 (project freeciv): freeciv.fi also uses the `tail -f` trick. UNIX sockets are a nice and useful feature. ___ Reply to this item at:

[Freeciv-Dev] [bug #18957] /wall not persistent

2011-11-20 Thread Michal Mazurek
Follow-up Comment #2, bug #18957 (project freeciv): I missed that. The problem was, that the window poped up each time you connect, instead of only just once. Two example messages that can be sent: "server will be restarted at 12:00" "server crashed, savegame from previous turn restored" __

[Freeciv-Dev] [patch #2935] UNIX domain socket for freeciv.

2011-11-20 Thread Michal Mazurek
Follow-up Comment #2, patch #2935 (project freeciv): It compiles fine for me. Can you show me the errors? ___ Reply to this item at: ___ Message sent via/by Gna

[Freeciv-Dev] [bug #19033] Add a LUA 'tick' event

2011-11-20 Thread Michal Mazurek
URL: Summary: Add a LUA 'tick' event Project: Freeciv Submitted by: akfaew Submitted on: Sun Nov 20 11:24:33 2011 Category: None Severity: 1 - Wish Priority: 5

[Freeciv-Dev] [bug #19029] Trouble saving/loading players' known territory for player indices >=40

2011-11-20 Thread Michal Mazurek
Follow-up Comment #4, bug #19029 (project freeciv): >From n1256: 6.5.7 Bitwise shift operators Syntax shift-expression: additive-expression shift-expression << additive-expression shift-expression >> additive-expression Constraints Each of

[Freeciv-Dev] [bug #19007] Player slots miscounted when saving/loading known tiles => crashes and/or players forgetting territory

2011-11-19 Thread Michal Mazurek
Follow-up Comment #7, bug #19007 (project freeciv): > For me there are odd disconnected spots of known territory This may be what I had and posted some time ago! Then I blamed it on possible sea map trade. ___ Reply to this item at:

[Freeciv-Dev] [bug #19031] Creating players from the server, before they connect

2011-11-19 Thread Michal Mazurek
Follow-up Comment #1, bug #19031 (project freeciv): The server operator at freeciv.fi creates players this way: lua create_player("playername", find.nation_type("British")) aitoggle playername ___ Reply to this item at:

[Freeciv-Dev] [bug #19031] Creating players from the server, before they connect

2011-11-19 Thread Michal Mazurek
URL: Summary: Creating players from the server, before they connect Project: Freeciv Submitted by: akfaew Submitted on: Sat Nov 19 18:16:20 2011 Category: None Severity: 3 - No

[Freeciv-Dev] [bug #19029] Trouble saving/loading players' known territory for player indices >=40

2011-11-19 Thread Michal Mazurek
Follow-up Comment #1, bug #19029 (project freeciv): Please make 'p - l * 32' into 'p % 32', it will be much clearer, and it is equivalent. And this affects games with 33 players, since for p = 32, p - l * 8 maps to 24 and overwrites another players vision.

[Freeciv-Dev] [bug #19030] gmake of trunk on OpenBSD includes postgresql with wrong path

2011-11-19 Thread Michal Mazurek
URL: Summary: gmake of trunk on OpenBSD includes postgresql with wrong path Project: Freeciv Submitted by: akfaew Submitted on: Sat Nov 19 17:47:15 2011 Category: None Severity

Re: [Freeciv-Dev] Moving Longturn patches to Lua

2011-11-19 Thread Michal Mazurek
I made a git repo for longturn from svn (about 500MB) git clone git://git.longturn.org/longturn.git -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

Re: [Freeciv-Dev] Moving Longturn patches to Lua

2011-11-19 Thread Michal Mazurek
2_4. Only the patches that substitute nation name for player name will be left. Frankly, I don't know why I was so reluctant to lua before - it seems a really great idea! -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

[Freeciv-Dev] [bug #19007] fix known map in savegame2

2011-11-18 Thread Michal Mazurek
Follow-up Comment #2, bug #19007 (project freeciv): >From what I understand, if there are a lot of players saving their vision is buggy. It seems the /remove problem uncovered a number of bugs with saving a game. ___ Reply to this item at:

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-11-17 Thread Michal Mazurek
Follow-up Comment #28, bug #18776 (project freeciv): What does this code save anyway? Map tiles without fog of war? Can't this be recreated after /load? ___ Reply to this item at: __

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-11-17 Thread Michal Mazurek
Follow-up Comment #27, bug #18776 (project freeciv): p = player_index(pplayer); l = player_index(pplayer) / 32; (p - l * 32) Can't we just use modulo here? Won't this break existing save games? If i saved using the '8' code, I cannot load using the '32' code. Well, at least if i

[Freeciv-Dev] [bug #19012] bumb event cache size

2011-11-17 Thread Michal Mazurek
URL: Summary: bumb event cache size Project: Freeciv Submitted by: akfaew Submitted on: Thu Nov 17 15:54:25 2011 Category: None Severity: 3 - Normal Priority: 5

Re: [Freeciv-Dev] Moving Longturn patches to Lua

2011-11-17 Thread Michal Mazurek
On Wed, Nov 16, 2011 at 10:38:15PM +0100, Matthias Pfafferodt wrote: > Am Mittwoch, 16. November 2011, 19:47:45 schrieb Michal Mazurek: > > On Tue, Nov 15, 2011 at 09:48:07PM +0100, Matthias Pfafferodt wrote: > > > The hardest part is the > > > transmission of the vetera

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-11-16 Thread Michal Mazurek
Follow-up Comment #24, bug #18776 (project freeciv): > [bit] = p - floor(p/32) * 8 > which limits it to values between 0 and 31. Does it? p - player index in 0..127. let p = 127. p - floor(p/32) * 8 = 127 - 3 * 8 = 103. I run just this part in a test c program. This is really weird. #includ

[Freeciv-Dev] [bug #19005] calloc can overflow

2011-11-16 Thread Michal Mazurek
Follow-up Comment #2, bug #19005 (project freeciv): fc_real_malloc will handle that, it calls sanity_check_size. Calloc only cares about overflow. The SIZE_MAX part is redundant I think, it is equivalent to SIZE_MAX < nmemb * size. It can be important on some strange platforms, but on both Intel

[Freeciv-Dev] Diplomatic ZOC

2011-11-16 Thread Michal Mazurek
With longturns 3x movement it's hard to defend against spies. Would changes to the client be required if spies had diplomatic ZOC, that would only affect other spies? -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org

Re: [Freeciv-Dev] Moving Longturn patches to Lua

2011-11-16 Thread Michal Mazurek
have 8 veteran levels? -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

[Freeciv-Dev] [bug #19006] Add a lua_blacklist setting

2011-11-16 Thread Michal Mazurek
URL: Summary: Add a lua_blacklist setting Project: Freeciv Submitted by: akfaew Submitted on: Wed Nov 16 18:43:29 2011 Category: None Severity: 3 - Normal Prior

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-11-16 Thread Michal Mazurek
Follow-up Comment #22, bug #18776 (project freeciv): I removed half the players in LTeX (idlers). The memory usage dropped by about half. I saved the game then restarted the server, and a turn was made - everything is ok. ___ Reply to this

[Freeciv-Dev] [bug #18742] Turn change resets event cache?

2011-11-16 Thread Michal Mazurek
Follow-up Comment #2, bug #18742 (project freeciv): Sorry, I forgot to answer to this - I really though I did. Thank you Jacob, indeed my ec_ options were the problem. I set: set ec_turns=9 set ec_max_size=1000 set ec_chat=enabled set ec_info=enabled Why are these values not the default? Eve

[Freeciv-Dev] [bug #18758] status popup in the way of path

2011-11-16 Thread Michal Mazurek
Follow-up Comment #1, bug #18758 (project freeciv): I agree, this sometimes is an annoyance, and I also scroll the map in such ways as to display the popup on the other side of the cursor. A slight transparency would be nice, if GTK supports it. Or perhaps display the info on the left, below the

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-11-16 Thread Michal Mazurek
Follow-up Comment #21, bug #18776 (project freeciv): It does not crash. And i tested it without your previous patches, the ones with vision - while they might have fixed something they were not the cause of my segfaults. Still, could you help me understand: 1u << (p - l * 8), which really means

[Freeciv-Dev] [bug #19005] calloc can overflow

2011-11-16 Thread Michal Mazurek
URL: Summary: calloc can overflow Project: Freeciv Submitted by: akfaew Submitted on: Wed Nov 16 08:54:10 2011 Category: None Severity: 3 - Normal Priority: 5 -

[Freeciv-Dev] [bug #18653] Upper case first letter of player name

2011-11-16 Thread Michal Mazurek
Follow-up Comment #5, bug #18653 (project freeciv): I really feel strongly that the current behaviour is bad, and should be reverted. A new reason is: I dump statistics to a database. The database does not have a user 'Akfaew', but 'akfaew'. I can use nickname, which remains 'akfaew', but won't i

[Freeciv-Dev] [bug #18993] Bug in swiss.ruleset?

2011-11-16 Thread Michal Mazurek
Follow-up Comment #2, bug #18993 (project freeciv): Huh, I didn't know that. Anyway, I created a list of nations: http://longturn.org/nations/ and it seems every nation except the Swiss have the same name in the ruleset as is the filename of the flag.

[Freeciv-Dev] Optimizing /save (I failed)

2011-11-15 Thread Michal Mazurek
t inlining functions like: int player_slot_count(void) { return (MAX_NUM_PLAYER_SLOTS); } would actually not only be faster, but also take less space. -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

Re: [Freeciv-Dev] Moving Longturn patches to Lua

2011-11-15 Thread Michal Mazurek
On Tue, Nov 15, 2011 at 10:11:58PM +0200, Marko Lindqvist wrote: > On 15 November 2011 21:52, Michal Mazurek wrote: > > a ruleset I download from dubious sources does > > not, from it's script.lua, run a file i already have on my filesystem, > > that's nasty. Even

Re: [Freeciv-Dev] Moving Longturn patches to Lua

2011-11-15 Thread Michal Mazurek
ystem, that's nasty. Even though it could just contain it, instead of dofileing it in the first place. dofile in lua is just like #include in c. I really see no harm in allowing it. -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

Re: [Freeciv-Dev] Moving Longturn patches to Lua

2011-11-15 Thread Michal Mazurek
On Tue, Nov 15, 2011 at 06:27:31PM +0100, Matthias Pfafferodt wrote: > Am Dienstag, 15. November 2011, 10:59:47 schrieb Michal Mazurek: > > On Mon, Nov 14, 2011 at 10:09:56AM +0100, Michal Mazurek wrote: > > > Can i have other files than the default.lua and scrip

[Freeciv-Dev] [bug #18855] gtk client, cities window, units supported

2011-11-15 Thread Michal Mazurek
Follow-up Comment #3, bug #18855 (project freeciv): I agree with Jacob. I dont really care for food spent on settlers, as long as the food column is >= 0, or happiness caused specifically by military units as long as the city is not in uprise, but shields/gold upkeep is most useful.

[Freeciv-Dev] [bug #18843] The setting 'trading_city' can't be modified after the game has started.

2011-11-15 Thread Michal Mazurek
Follow-up Comment #2, bug #18843 (project freeciv): I think the admin with access to the console should be able to change everything that is possible to be changed. I mean Freeciv is open source, a cheating admin can always change one flag and be able to change trading_city.

[Freeciv-Dev] [bug #18781] /save - strips everything from dot to eol

2011-11-15 Thread Michal Mazurek
Follow-up Comment #2, bug #18781 (project freeciv): I don't understand how this helps with security. Is it supposed to prevent escaping from a save directory? ___ Reply to this item at:

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-11-15 Thread Michal Mazurek
Follow-up Comment #19, bug #18776 (project freeciv): The allocated table is not always of constant size: +verbose+ int lines = player_count()/32 + 1; --- ./player.c:640: int player_count(void) ./player.c:641: { ./player.c:642: return player_slots.used_slots; ./player.c:643: } +verbose+ Should

Re: [Freeciv-Dev] Moving Longturn patches to Lua

2011-11-15 Thread Michal Mazurek
commit -a") What is curious, is that previous commits are empty: [11:24:ttyp6][dude@hopek:~/src/freeciv:76]$ git svn log -p -r 20273 [11:25:ttyp6][dude@hopek:~/src/freeciv:77]$ git svn log -p -r 20272 ------

Re: [Freeciv-Dev] Moving Longturn patches to Lua

2011-11-15 Thread Michal Mazurek
On Mon, Nov 14, 2011 at 10:09:56AM +0100, Michal Mazurek wrote: > Can i have other files than the default.lua and script.lua? I want each > functionality (auth, newcomers) to be in a separate file. I added dofile("longturn.lua") to script.lua. This is what i got: 1: lua err

[Freeciv-Dev] Moving Longturn patches to Lua

2011-11-14 Thread Michal Mazurek
th gnuplot. Freeciv already generates gifs of the map across time, plots would be a nice addition. -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

[Freeciv-Dev] [bug #18993] Bug in swiss.ruleset?

2011-11-12 Thread Michal Mazurek
URL: Summary: Bug in swiss.ruleset? Project: Freeciv Submitted by: akfaew Submitted on: Sat Nov 12 13:58:34 2011 Category: None Severity: 3 - Normal Priority: 5

[Freeciv-Dev] [bug #18979] Fix some clang analyze errors

2011-11-11 Thread Michal Mazurek
Additional Item Attachment, bug #18979 (project freeciv): File name: 0015-fix-Function-call-argument-is-an-uninitialized-value.patch Size:0 KB ___ Reply to this item at: ___

[Freeciv-Dev] [bug #18979] Fix some clang analyze errors

2011-11-11 Thread Michal Mazurek
Additional Item Attachment, bug #18979 (project freeciv): File name: 0010-add-some-assertions-in-server-unittools.c.patch Size:2 KB File name: 0011-fix-Function-call-argument-is-an-uninitialized-value.patch Size:0 KB File name: 0012-fix-Function-call-argument-is-an-uninitialized-value.patch Size:

[Freeciv-Dev] [bug #18979] Fix some clang analyze errors

2011-11-11 Thread Michal Mazurek
Additional Item Attachment, bug #18979 (project freeciv): File name: 0006-fix-possible-dereference-of-a-null-pointer-in-common.patch Size:0 KB File name: 0007-fix-Value-stored-to-type-during-its-initialization-i.patch Size:0 KB File name: 0008-fix-previous-in-common-dataio.c.patch Size:1 KB File

[Freeciv-Dev] [bug #18979] Fix some clang analyze errors

2011-11-11 Thread Michal Mazurek
URL: Summary: Fix some clang analyze errors Project: Freeciv Submitted by: akfaew Submitted on: Fri Nov 11 18:06:13 2011 Category: None Severity: 3 - Normal Pri

[Freeciv-Dev] [bug #18957] /wall not persistent

2011-11-09 Thread Michal Mazurek
URL: Summary: /wall not persistent Project: Freeciv Submitted by: akfaew Submitted on: Wed Nov 9 17:41:32 2011 Category: None Severity: 3 - Normal Priority: 5

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-11-06 Thread Michal Mazurek
Follow-up Comment #16, bug #18776 (project freeciv): 2785 p = player_index(pplayer); 2786 l = p / 32; 2787 known[l * MAP_INDEX_SIZE + tile_index(ptile)] 2788 |= (1u << (p - l * 8)); Are player indexes updated for existing players, a

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-11-05 Thread Michal Mazurek
Follow-up Comment #14, bug #18776 (project freeciv): I applied file #14319 and file #14320. ... /removed 15 players ... > /save removed Segmentation fault (core dumped) #0 0x0019925c in sg_save_map_known (saving=0x208c3b000) at savegame2.c:2787 2787known[l * MAP_INDEX_

Re: [Freeciv-Dev] S2_4 branching

2011-11-01 Thread Michal Mazurek
one game that I'm aware of with 126 human players (by the freeciv.fi people). Any chance to bump this limit some more? -- Michal Mazurek ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

[Freeciv-Dev] [bug #18768] Some tiles mysteriously revealed

2011-11-01 Thread Michal Mazurek
Follow-up Comment #2, bug #18768 (project freeciv): I am sorry about this, but it now occurs to me this might have been the effect of trading sea maps :) ___ Reply to this item at: _

[Freeciv-Dev] [bug #18885] goto changes cursor in other menus

2011-10-31 Thread Michal Mazurek
Follow-up Comment #2, bug #18885 (project freeciv): I use S2_3, which i update from time to time. Sorry, I'll post revisions also. This bug is for r20284. ___ Reply to this item at:

[Freeciv-Dev] [bug #18885] goto changes cursor in other menus

2011-10-30 Thread Michal Mazurek
URL: Summary: goto changes cursor in other menus Project: Freeciv Submitted by: akfaew Submitted on: Sun Oct 30 08:10:08 2011 Category: client-gtk-2.0 Severity: 2 - Minor

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-10-27 Thread Michal Mazurek
Follow-up Comment #8, bug #18776 (project freeciv): It still crashes, though there were no assertion failures this time. The crash is at TC, apparently during the /save phase. #0 0x001991bc in sg_save_map_known (saving=0x20c060c00) at savegame2.c:2782 2782known[l * MAP_

[Freeciv-Dev] [bug #18855] gtk client, cities window, units supported

2011-10-26 Thread Michal Mazurek
URL: Summary: gtk client, cities window, units supported Project: Freeciv Submitted by: akfaew Submitted on: Wed Oct 26 17:38:49 2011 Category: client-gtk-2.0 Severity: 1 - Wis

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-10-24 Thread Michal Mazurek
Follow-up Comment #5, bug #18776 (project freeciv): Did anyone have a chance to look at this bug? ___ Reply to this item at: ___ Message sent via/by Gna! http

[Freeciv-Dev] [bug #18843] The setting 'trading_city' can't be modified after the game has started.

2011-10-24 Thread Michal Mazurek
URL: Summary: The setting 'trading_city' can't be modified after the game has started. Project: Freeciv Submitted by: akfaew Submitted on: Mon Oct 24 12:21:08 2011 Category: None

[Freeciv-Dev] [bug #14264] wish: border walls

2011-10-05 Thread Michal Mazurek
Follow-up Comment #2, bug #14264 (project freeciv): This is dumb. We already have fortress + ZOC. ___ Reply to this item at: ___ Message sent via/by Gna! http

[Freeciv-Dev] [bug #18773] statue of liberty hack

2011-10-03 Thread Michal Mazurek
Follow-up Comment #5, bug #18773 (project freeciv): Great, this sounds good to me as well. ___ Reply to this item at: ___ Message sent via/by Gna! http://gna.

[Freeciv-Dev] [patch #2980] Spoils of war

2011-10-03 Thread Michal Mazurek
Follow-up Comment #1, patch #2980 (project freeciv): I wrote the gold spoils of war, but i honestly have no idea where to add the function calls. Here is what i got so far. (file #14196) ___ Additional Item Attachment: File name: sp.gold

[Freeciv-Dev] [bug #18781] /save - strips everything from dot to eol

2011-10-03 Thread Michal Mazurek
URL: Summary: /save - strips everything from dot to eol Project: Freeciv Submitted by: akfaew Submitted on: Mon Oct 3 09:40:21 2011 Category: None Severity: 3 - Normal

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-10-03 Thread Michal Mazurek
Follow-up Comment #3, bug #18776 (project freeciv): Version is S2.3 #0 0x001ab454 in calc_civ_score (pplayer=0x20d084000) at score.c:199 199 pcmap->player[player_index(owner)].landarea++; (gdb) bt full #0 0x001ab454 in calc_civ_score (pplayer=0x20d084000) at score.c:

[Freeciv-Dev] [bug #18773] statue of liberty hack

2011-10-02 Thread Michal Mazurek
Follow-up Comment #3, bug #18773 (project freeciv): "An alternative possibility: the Statue of Liberty could do away with Anarchy, but revolution could be prevented for the length of time that they would have been in Anarchy." I don't really understand.

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-10-02 Thread Michal Mazurek
Follow-up Comment #2, bug #18776 (project freeciv): After loading test.sav.gz: 1: Player shuffle 22 used two times 1: Failure loading savegame! The savegame cannot be loaded. Complete log: [15:17:ttyp9][longturn@spock:~/server/ltex2.3:11]$ sh ltex2.3.sh test.sav.gz

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-10-02 Thread Michal Mazurek
Follow-up Comment #1, bug #18776 (project freeciv): I managed to recreate the crash. Again I removed the players. ... remove 15 players ... > /remove "alex pancho" 2: Removing player Alex Pancho. Removed player Alex Pancho from the game. > /save test Game saved as /home/longturn/server/ltex2.3//

[Freeciv-Dev] [bug #18776] /remove perhaps faulty

2011-10-02 Thread Michal Mazurek
URL: Summary: /remove perhaps faulty Project: Freeciv Submitted by: akfaew Submitted on: Sun Oct 2 13:07:04 2011 Category: None Severity: 3 - Normal Priority:

[Freeciv-Dev] [bug #18773] statue of liberty hack

2011-10-02 Thread Michal Mazurek
URL: Summary: statue of liberty hack Project: Freeciv Submitted by: akfaew Submitted on: Sun Oct 2 07:10:18 2011 Category: None Severity: 3 - Normal Priority:

  1   2   >