Re: [Freeciv-Dev] (PR#33568) freeciv, gcc 4.1.1 and --enable-debug=yes

2007-01-15 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=33568 On Sun, 14 Jan 2007, Egor Vyscrebentsov wrote: Line is: if (fwrite(buf, 1, result, scan-meta.fp) 0) { so I can't decide is this freeciv problem or gcc. fwrite returns a size_t, which is unsigned. It makes no sense to check if it

Re: [Freeciv-Dev] Missing features for scenario creation

2007-01-26 Thread Per I. Mathisen
On Tue, 16 Jan 2007, Daniel Markstedt wrote: I am working on a conversion of Harlan Thompson's classic The Mongols Civ2 scenario. The project is coming along well, but there are a few features that are potentially missing: ~Nation-specific techs. For example; Chinese Wisdom is a tech that

Re: [Freeciv-Dev] (PR#34063) Miscopypasting(?) in ai/advdiplomacy.c ( AI war desire against technology leader)

2007-01-26 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=34063 On Fri, 19 Jan 2007, Andrey wrote: Does AI really worry about technology leader when starting war? Probably the following code is never called, but otherwise it is a bug: Already fixed in trunk. Will not fix for 2.1 since I fear

Re: [Freeciv-Dev] (PR#34463) [Bug] Sea barbarians inactive

2007-01-26 Thread Per I. Mathisen
On Thu, 25 Jan 2007, Marko Lindqvist wrote: Seen as global observer: Barbarian boats almost never move. If boat happens to spawn next to land, it almost never unloads units to land. Barbarian leader is in charge of the boat. He wants to go where other barbarians protect him. All the other

Re: [Freeciv-Dev] RT spam

2007-02-01 Thread Per I. Mathisen
On Fri, 2 Feb 2007, Daniel Markstedt wrote: We have over 15000 spam tickets in RT now. I take care of almost a hundred a day. This is not sustainable. Something permanent has to be done about it. As a stopgap measure, I would suggest changing the bug email address. Then we can set up an

Re: [Freeciv-Dev] State of Civworld

2007-02-05 Thread Per I. Mathisen
On Mon, 5 Feb 2007, Daniel Markstedt wrote: But that's beside the point. Freeciv 2.2 won't be out for years. Should 2.1 users be left without a map editor? It will certainly be the bane for Freeciv 2.1 as a platform for scenario creation. Can the editor code be easily backported to S2_1? The

[Freeciv-Dev] (PR#35145) Little patch for ai/advdiplomacy.c

2007-02-05 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35145 The Eiffel fix is right on target. The obsoletion check should be made with respect to the considering player, not target. The fear check should, I think, not be relative to considering player's gold, but take into account the number of

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

2007-02-05 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35075 On Fri, 2 Feb 2007, [EMAIL PROTECTED] wrote: - an AI-controlled player requests me to declare war upon a player which is already dead Fix attached. Untested but should work. - Per Index: ai/advdiplomacy.c

[Freeciv-Dev] (PR#35065) ai doesn't build harbours

2007-02-05 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35065 Committed to trunk. Thanks for your contribution! I am assuming the problem does not also exist in 2.1. - Per ___ Freeciv-dev mailing list Freeciv-dev@gna.org

[Freeciv-Dev] (PR#12232) don't allow invasions during peace treaties

2007-02-05 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=12232 I am pretty sure this one is implemented as part of PR#14548 now. Closing. ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

Re: [Freeciv-Dev] (PR#35532) function adjust_building_wants_by_effects() works in unexpected ways

2007-02-09 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35532 On Fri, 9 Feb 2007, Frank Balbach wrote: I believe the function adjust_building_wants_by_effects() may not always work as intendend (but then I might get the intention wrong). ... If the developers in charge agree with the above, I

Re: [Freeciv-Dev] (PR#30955) Freeciv lacks sound volume control

2007-02-09 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=30955 On Sat, 23 Dec 2006, Egor Vyscrebentsov wrote: Freeciv has no control of sound volume. And one even can't disable sound without restarting client (at least with 2_1). The plugin API has support for this, and at least the SDL plugin

[Freeciv-Dev] (PR#35575) Fix editor placement of units

2007-02-09 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35575 This fixes problems in the built-in map editor with placing units, where units would lose fuel, movement and/or hitpoints. It is mostly just a band-aid to ease further testing, though. - Per Index: client/gui-gtk-2.0/editdlg.c

Re: [Freeciv-Dev] (PR#35532) function

2007-02-10 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35532 On Fri, 9 Feb 2007, (Eddie_Anderson) wrote: Is this only for 2.1? If so, I'd say we should do as little changes as possible, even if it means the AI will not build harbours. I disagree. Speaking only for myself, I would welcome

Re: [Freeciv-Dev] Aircraft and fuel

2007-02-10 Thread Per I. Mathisen
On Sat, 10 Feb 2007, Marko Lindqvist wrote: We need to rethink aircraft movement points if they return automatically (just halve them?). Sounds reasonable, except for bombers who have more punit-fuel, and should keep their current movement, IMHO. What happens if player no longer controls

[Freeciv-Dev] (PR#35641) Unit transport loading cleanup

2007-02-10 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35641 This patch * Removes the second parameter to find_transporter_for_unit(), which is already known. * Adds function could_unit_load() which checks if a given transporter could add a unit as cargo, were it on the same tile. * Since

[Freeciv-Dev] (PR#35642) Make air units use refuel bases

2007-02-10 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35642 There looks like there is a mistake in the recent generalized base code that makes air units check for the no-hp-loss flag instead of the refuel flag. Patch should fix this. (ATM this should have no effect, since hp-loss-flag bases ==

[Freeciv-Dev] (PR#35646) Remove unsafe terrain

2007-02-10 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35646 This patch removes all unsafe terrain, both the unsafe terrain flag (currently unused, used to set for glaciers, but was removed since it was annoying) and unsafe ocean for triremes. Instead, triremes simply cannot travel into an ocean

[Freeciv-Dev] (PR#10021) infinite loop in autosettlers?

2007-02-10 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=10021 [jdorje - Fri Jul 28 06:52:22 2006]: Anyone have a patch for this? Attached. - Per Index: server/settlers.c === --- server/settlers.c (revision 12614) +++

Re: [Freeciv-Dev] (PR#35646) Remove unsafe terrain

2007-02-10 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35646 On Sat, 10 Feb 2007, Christian Knoke wrote: This patch removes all unsafe terrain, both the unsafe terrain flag (currently unused, used to set for glaciers, but was removed since it was annoying) and unsafe ocean for triremes.

[Freeciv-Dev] (PR#12232) don't allow invasions during peace treaties

2007-02-10 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=12232 I have updated Jason's patch, and integrated it with recent (in Freeciv time) treaties work. Unless I have forgotten something, this should complete the treaties changes for 2.2 (and 2.1?). - Per Index: server/unithand.c

Re: [Freeciv-Dev] Re: Generated files

2007-02-11 Thread Per I. Mathisen
On Sat, 10 Feb 2007, Jason Short wrote: I figure people nowadays are more likely to have python on their system than autotools, and they need autotools to make use of a repository check out. So you want the generated files to be distributed with 'make dist' but not included in SVN? Yes,

Re: [Freeciv-Dev] (PR#35646) Remove unsafe terrain

2007-02-11 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=35646 On Sat, 10 Feb 2007, Marko Lindqvist wrote: Is the coastline check at the end of a (goto) move or performed for every step a trireme might take? Every step. This is too harsh for triremes. It is a bit harsh. They can transport

Re: [Freeciv-Dev] Aircraft and fuel

2007-02-11 Thread Per I. Mathisen
On Sat, 10 Feb 2007, Jason Short wrote: One weird situation is if you fly a bomber out from a carrier to hit a spot 12 tiles away...then move the carrier in the other direction 9 (or however many is the maximum) tiles. Then at the start of the next turn (it does happen at the start right?) the

Re: [Freeciv-Dev] 2.0.9

2007-02-12 Thread Per I. Mathisen
On Sun, 11 Feb 2007, Jason Short wrote: I'm going to wait until tomorrow for beta3. There may be some other patches that can be committed to S2_1 in the meantime. I think PR#12232 should go in first. This is your patch, which I have updated for the new treaty system, BTW. - Per

[Freeciv-Dev] (PR#9887) AI defense code

2007-02-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=9887 This patch implements Greg's brilliant defense calculation algorithm which is explained in this ticket. Unlike the current code, it takes into account unit cost, firepower and hitpoints. The downside is that it is more CPU intensive. The

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

2007-03-03 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=37393 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

Re: [Freeciv-Dev] (PR#37321) Veteran status

2007-03-03 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=37321 On Sat, 3 Mar 2007, Marko Lindqvist wrote: I definitely want veteran status to remain in my games. Same here. It is the option that seems the most fun, and that is the whole point, isn't it? So, anyone care to make a patch? ;-) -

Re: [Freeciv-Dev] (PR#37436) [Patch] Base UnitFlag requirements

2007-03-03 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=37436 On Sat, 3 Mar 2007, Marko Lindqvist wrote: Remove hardcoded unit type flag requirements for building base. Instead ruleset defined UnitFlag requirements are used. As flag Airbase no longer has any hardcoded behavior, it is renamed as

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

2007-03-04 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=37393 On Sat, 3 Mar 2007, Daniel Markstedt wrote: Wouldn't the obvious solution be to simply use the /take command with nation names, instead of player names? Nation names differ depending on the server's locale, so the command must be

Re: [Freeciv-Dev] (PR#37592) Project directions

2007-03-06 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=37592 On Mon, 5 Mar 2007, (Eddie_Anderson) wrote: Since this discussion last summer, I've been thinking some more about what Freeciv could be. I've reached a few tentative conclusions. Some of the changes are simple; some are

[Freeciv-Dev] (PR#15097) air units only autoroute to my cities (or allies)

2007-03-07 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=15097 My version of the allow-aircraft-to-goto patch. It allows movement anywhere as long as we have movement points to return, and allow attacks, even suicidal ones. Of course, it is still not perfect, since for example fighters cannot goto

Re: [Freeciv-Dev] (PR#37592) Project directions

2007-03-07 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=37592 On Wed, 7 Mar 2007, (Eddie_Anderson) wrote: I have been thinking along these lines myself, inspired a great deal by the way the board game Settlers of Catan manages the victory condition. Good idea. Many times the designers of

Re: [Freeciv-Dev] (PR#37980) [Patch] Server decides if wall gfx should be drawn

2007-03-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=37980 On Sun, 11 Mar 2007, Marko Lindqvist wrote: First step toward fixing #37977. Server decides if wall gfx should be drawn and sends that information to client. This does change how Great Wall effects appear. Previously client knew that

Re: [Freeciv-Dev] (PR#38028) 2.0.9 STABLE cannot join games

2007-03-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=38028 On Mon, 12 Mar 2007, Lauri Uotinen wrote: FreeCiv stable release 2.0.9 cannot join games. It crashes instantly as you try to join a game. Verified with four different clients. The Linux version seems to be unaffected by this. So

Re: [Freeciv-Dev] (PR#38165) Bug in 2.1.0-beta3

2007-03-15 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=38165 On Wed, 14 Mar 2007, [EMAIL PROTECTED] wrote: I found a bug in the 2.1.0-beta3: spies are always executed when trying to establish an embassy, even if they haven't been in any contact with the enemy. I quickly checked the source

Re: [Freeciv-Dev] (PR#38208) 2.1_beta3 frontier are not imported from 2.08 game

2007-03-15 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=38208 On Thu, 15 Mar 2007, alain Baeckeroot wrote: A game saved in 2.0.8 is open in 2.1_beta3 = all the frontier are lost, land control is limited to city. = settlers can go nearly everywhere and mess up things ;). At each turn the land

Re: [Freeciv-Dev] (PR#38029) City refresh without side effects

2007-03-15 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=38029 I have tested the new trade route algorithm on some games, and it looks to be quite a good match in results. I want to commit it. Any objections? Anyone want to playtest it first? - Per

Re: [Freeciv-Dev] FR: knowlege base about changes that affected all gui-*

2007-03-16 Thread Per I. Mathisen
On Fri, 16 Mar 2007, Egor Vyscrebentsov wrote: Now I can't find a way to _easy_ get information about changes in the code, that affected gui-specific code, from one date up to other. Does this work for you? [EMAIL PROTECTED] freeciv]$ svn log client/gui-sdl --limit 50 - Per

Re: [Freeciv-Dev] (PR#38311) 2.1_beta3 air attack does not work ?

2007-03-18 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=38311 On Sat, 17 Mar 2007, alain Baeckeroot wrote: A game imported from 2.0.8, then played enough to get cruise missiles and bombers. None seem to work: - i can move them to my cities or allied cities - i can never attack boats, earth

Re: [Freeciv-Dev] (PR#38411) error in data file crashes system

2007-03-25 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=38411 On Sun, 18 Mar 2007, Roy Gathercoal wrote: I just discovered (after four frustrating days of trying just about everything I could think of) that if one of the variables in the data file is too long, the entire Freeciv system crashes.

[Freeciv-Dev] (PR#38372) [Bug] AI tries to trade unreachable techs

2007-03-27 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=38372 Patch. Untested. - Per Index: ai/advdiplomacy.c === --- ai/advdiplomacy.c (revision 12880) +++ ai/advdiplomacy.c (working copy) @@ -125,7 +125,8 @@ { int bulbs,

[Freeciv-Dev] (PR#39318) Test from RT

2007-03-31 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39318 Ignore me. - Per ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

[Freeciv-Dev] (PR#39319) Test of new report interface 2

2007-03-31 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39319 Perhaps if we use bugs.freeciv.org? - Per Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian W.

Re: [Freeciv-Dev] (PR#39321) bugs.freeciv.org has invalid bug email address

2007-04-01 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39321 On Sun, 1 Apr 2007, Lauri Uotinen wrote: The page http://bugs.freeciv.org/ has an invalid email address [EMAIL PROTECTED] instead of [EMAIL PROTECTED] Changed. I am waiting for the admin of our freeciv.org email server to update his

Re: [Freeciv-Dev] (PR#39323) bad border configuration

2007-04-03 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39323 On Mon, 2 Apr 2007, Jason Dorje Short wrote: The attached screenshot shows it. Do you have a bigger screenshot with more tiles shown? You can use the editor to place an AWACS there if need be ;) - Per Debugging is twice as hard

Re: [Freeciv-Dev] (PR#39342) 2.1.0-beta4 border vs. fog of war

2007-04-20 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39342 On Fri, 13 Apr 2007, Jason Short wrote: Not drawing borders under FOW is an interesting solution. If someone will make a patch for it we can test it out and see if it's playable. Given how much FoW you usually have, this will make

Re: [Freeciv-Dev] (PR#39323) bad border configuration

2007-04-20 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39323 On 4/4/07, Jason Dorje Short [EMAIL PROTECTED] wrote: Here's a shot from later in the game. The city of Kobe is the original source of the borders; the others were added later. You can see the 'bad' ocean tile is closer to Kobe than

Re: [Freeciv-Dev] (PR#39349) Another bugwad (bribing, irrigation, goto, ships, tech, courthouse, peace)

2007-04-21 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39349 Please post each bug in a separate ticket. It is difficult to handle multi-bug reports. On Fri, 20 Apr 2007, Nathan Currier wrote: version: 2.0.9-beta3-gtk2 Why are you playing the beta version? Unable to bribe units (says diplomat

Re: [Freeciv-Dev] (PR#39359) [patch] Don't overwrite CFLAGS

2007-04-26 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39359 On Thu, 26 Apr 2007, Bastiaan Jacques wrote: The attached patch fixes a bug which would cause the passed CFLAGS to be overwritten when GCC is used. The old CFLAGS is readded a bit later in the same file. What problem does this patch

Re: [Freeciv-Dev] (PR#39359) [patch] Don't overwrite CFLAGS

2007-04-27 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39359 On Thu, 26 Apr 2007, Bastiaan Jacques wrote: The old CFLAGS is readded a bit later in the same file. What problem does this patch solve? The problem is that the old CFLAGS are added 300 lines after they are removed. So they are not

Re: [Freeciv-Dev] (PR#39362) On marines attacking a city with city walls from water

2007-05-11 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39362 On Mon, 30 Apr 2007, Alexander Sayenko wrote: While playing several games, I noticed that an ironclad can crash a fortified musketeer quite easily, while marines fail against the same muskeeter. The city has no coastal defense, but it

[Freeciv-Dev] (PR#39126) Nuke bug

2007-05-11 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39126 So the nuke cursor is meant to work as a goto? Do you have a savegame to show the problem for 2.0? I do not understand the nuke all your cities in a click comment for 2.1. ___ Freeciv-dev

[Freeciv-Dev] (PR#39129) 'Unassigned' bug

2007-05-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39129 Committed in 12935 and 12936. However, there seem to be several other bugs related to /cut in 2.1 and above, although they seem client-side or have to do with missing updates. Would nice if someone could go through the various

Re: [Freeciv-Dev] (PR#39359) [patch] Don't overwrite CFLAGS

2007-05-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39359 On Sat, 28 Apr 2007, Bastiaan Jacques wrote: Well, --with-sdl-prefix works, unless you are using the sdl client. Because in the SDL client, SDL includes are included like #include SDL/larlar.h while in the SDL audio code they're

[Freeciv-Dev] (PR#39358) vote in pregame

2007-05-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39358 This will be rather hard to fix in 2.0, but will work in 2.1 and trunk because we redesigned voting there so that it only is available while the game is running. Unless someone volunteers to backport the 2.1 voting system, we should

[Freeciv-Dev] (PR#15169) cannot claim my own island - cannot found cities in enemy borders

2007-05-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=15169 I'm going out on a limb here and setting this ticke to 'resolved'. I think the borders system is working fine now in this respect - if you feel otherwise, please open up a new ticket with concrete problems and suggestions for how to

[Freeciv-Dev] (PR#11243) diplomacy allows you to trade for units transporting foreign units

2007-05-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=11243 As far as I can tell from the code, this could only ever happen with allied units that are camped in a city you come to own. So the problem is just that you cannot unload AI controlled, allied units from your transports. That is another

[Freeciv-Dev] (PR#7080) Proposed rules changes

2007-05-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=7080 This patch combines some suggested rules changes in this ticket that I think are good, and not yet implemented. Changes are: * Trireme and Carrier can no longer (accidentially) attack land units. * Frigates can no longer transport

[Freeciv-Dev] (PR#39343) 2.1.0-beta4 team numbers

2007-05-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39343 [EMAIL PROTECTED] - Fri Apr 13 11:32:08 2007]: a small glitch that sometimes leads to confusion when setting up teams: server terminal: team john 1 Player john set to team Team 2. Patch. - Per Index:

[Freeciv-Dev] (PR#17435) 2.1.0-beta1: generator connects continents

2007-05-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=17435 [EMAIL PROTECTED] - Wed Oct 11 08:31:24 2006]: Think I found what was causing this, somehow a T_UNKNOWN check got in the mapgen is_near_land function since Freeciv 2.08. Don't think T_UNKNOWN has any place in the generator code and

[Freeciv-Dev] (PR#13882) AI wants me to declare war with someone I've never met

2007-05-12 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=13882 [jdorje - Tue Sep 06 02:28:45 2005]: The AI keeps pestering me to declare war on these two civlizations. (Their names are given by player name not nation name, so with 30 nations it took a while just to figure out who they're

Re: [Freeciv-Dev] (PR#39365) 2.1.0b4 random number seed not saved correctly

2007-05-13 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39365 On Sat, 12 May 2007, William Allen Simpson wrote: Locally, I added a LOG_VERBOSE call with line numbers; found one problem, so far. Could be LOG_DEBUG instead, should this be added to the source? Attached patch committed. Hope this

Re: [Freeciv-Dev] (PR#39354) Bug in tech_is_available

2007-05-13 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39354 On Tue, 24 Apr 2007, Eric Fitzgerald wrote: There is a bug with tech_is_available such that when you have a tech who's root_req is itself and you assign the tech with a nations init_tech the server fails on an assert failure. The

Re: [Freeciv-Dev] (PR#39329) replace email for submitting bugs

2007-05-13 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39329 I wrote another patch (this for trunk), that point people at the bugs URL instead of putting the email address where spam spiders can pick it up. That means we ought to improve the bugs.freeciv.org front page a bit, though. Right now

[Freeciv-Dev] editor queue in RT

2007-05-13 Thread Per I. Mathisen
On Fri, 2 Mar 2007, Marko Lindqvist wrote: Until we get new bugtracker, someone should add new queue 'Editor' to RT. Done. - Per ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

Re: [Freeciv-Dev] (PR#23095) Goto with mulitple units crash

2007-05-13 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=23095 On Thu, 2 Nov 2006, book wrote: 1. Load the included save game 2. Use right mouse button to select all the units in Genova 3. use Goto to place them somewhere (not in a city) .Crash It no longer crashes. But it also does not

Re: [Freeciv-Dev] (PR#39368) pregame: aifill and vote

2007-05-14 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39368 On Mon, 14 May 2007, Pepeto _ wrote: In pregame, you can create votes, but you cannot use /vote. And more, if you The vote passes before it exists :) I don't know if the main problem is you can ask vote in pregame You should not be

Re: [Freeciv-Dev] Ogre3D UI?

2007-05-16 Thread Per I. Mathisen
On Tue, 15 May 2007, James Supancic wrote: I am thinking about working on an Ogre3D GUI for freeciv. I've been looking over the code in freeciv/freeciv/client/gui-* and think I might be able to develop something nice. My question is, if I develop it, will it be accepted? I noted that freeciv

Re: [Freeciv-Dev] (PR#39370) 2.1.0b4 city vision radius too small

2007-05-17 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39370 On Wed, 16 May 2007, William Allen Simpson wrote: One of the nuisances (compared to the commercial games) is the limited vision radius of the city itself. ... When the city is founded, it still has only 1 radius vision. That's

Re: [Freeciv-Dev] (PR#39354) Bug in tech_is_available

2007-05-17 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39354 On Wed, 16 May 2007, Eric Fitzgerald wrote: To reproduce: Create a new tech (call it anything you want). Make this tech have a root_req set to itself (thus not researchable). Try to assign the tech to a nation through init_tech. I

[Freeciv-Dev] (PR#8398) Re: Bug: cease-fires can't be extended

2007-05-17 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=8398 I think the proper solution to this problem is that ceasefires do not count down, but can be broken at any time by any government without penalty. ___ Freeciv-dev mailing list

Re: [Freeciv-Dev] (PR#8398) Re: Bug: cease-fires can't be extended

2007-05-18 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=8398 On Thu, 17 May 2007, William Allen Simpson wrote: Per I. Mathisen wrote: I think the proper solution to this problem is that ceasefires do not count down, but can be broken at any time by any government without penalty. I disagree

Re: [Freeciv-Dev] Ogre3D UI?

2007-05-18 Thread Per I. Mathisen
On Wed, 16 May 2007, William Allen Simpson wrote: This would be wonderful! I actually looked at doing it 18+ months ago, but decided it would be too much for me. It would need data support for elevations (and depths), among other things. See http://freeciv.wikia.com/wiki/OpenGL - Per I

Re: [Freeciv-Dev] (PR#39370) 2.1.0b4 city vision radius too small

2007-05-19 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39370 On Sat, 19 May 2007, William Allen Simpson wrote: Building civ1 cities didn't reveal unexplored areas! So, my version with the configuration line is better for backward compatibility. I do not see why we should worry about that. It

[Freeciv-Dev] (PR#8398) Patch to remove ceasefire countdown

2007-05-19 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=8398 This patch removes the countdown for ceasefire, and so fixes the request in this ticket. It also makes ceasefire breakable by Republic and Democracy, and adds some extra text for armistice in the client. - Per Index: server/srv_main.c

[Freeciv-Dev] (PR#11508) New toy: The antimatter bomb

2007-05-19 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=11508 I refreshed this patch because I needed it for testing. Turns out it is somewhat harder to turn terrain into ocean in the more recent code, since we do not really have an 'ocean' tile anymore (there could be several). So I just

Re: [Freeciv-Dev] (PR#39375) map.generator = 3

2007-05-20 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39375 On Sat, 19 May 2007, Pepeto _ wrote: Should I work on it to try to improve the generation of the map? That would be great! - Per ___ Freeciv-dev mailing list Freeciv-dev@gna.org

Re: [Freeciv-Dev] svn problems [was (PR#39367) 2.1.0b4 nation

2007-05-20 Thread Per I. Mathisen
I've been trying for many hours to checkout S2_1, and got these errors: Problems with the svn repository are usually due to network glitches at gna.org, and there is nothing we can do about it. Just wait a little and the problem should go away. - Per

Re: [Freeciv-Dev] current trunk compile failure(s)

2007-05-20 Thread Per I. Mathisen
On Sun, 20 May 2007, William Allen Simpson wrote: I've been waiting around several days to see whether somebody fixes this? registry.c: In function `section_file_save': registry.c:816: error: `BUG_URL' undeclared (first use in this function) You need to rerun ./autogen.sh Newer versions of

Re: [Freeciv-Dev] (PR#39378) RFE hut dynamic rules

2007-05-25 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39378 On Thu, 24 May 2007, William Allen Simpson wrote: The hut rules are currently static in unittools.c unit_enter_hut(). I will soon commit a patch to move the hut rules into lua scripts, where they can be made unique for each ruleset.

Re: [Freeciv-Dev] (PR#39377) RFE rivers on tile edges

2007-05-25 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39377 On Thu, 24 May 2007, William Allen Simpson wrote: Currently, rivers only occur in the center of tiles. For civ 3 4, rivers appear along the edges of tiles, watering multiple adjacent tiles. Rivers between tiles, rather than in the

[Freeciv-Dev] Generalizing the rules

2007-05-25 Thread Per I. Mathisen
On Sat, 19 May 2007, William Allen Simpson wrote: Indeed, my suggestion was *NOT* that the old functionality go away, but that it should not be hard-coded -- a simple knob I proposed be added to allow civ34 behavior. Although I've only been on the mailing list for 18 months or so, and rarely

Re: [Freeciv-Dev] Permission to make freeciv headers standard C/C++ compatible.

2007-06-04 Thread Per I. Mathisen
On Sun, 3 Jun 2007, James Supancic wrote: I'm working on a C++ GUI for freeciv. I need to make some calls into the C component of client. The problem I'm running into is that the freeciv header files are neither standard C or C++ compatible. For example: typedef enum a b; enum a { A, B };

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

2007-06-09 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39389 On Sat, 9 Jun 2007, William Allen Simpson wrote: Presumably, all debugging takes place with language support off? All LOG_ERROR, LOG_VERBOSE and LOG_FATAL messages should be without translation. Is there a standard practice for

Re: [Freeciv-Dev] (PR#39390) S2_1: SDL client compile fails

2007-06-10 Thread Per I. Mathisen
On Sun, 10 Jun 2007, Daniel Markstedt wrote: --enable-client=sdl \ Fails with: gui_main.c: In function `print_usage': gui_main.c:202: warning: implicit declaration of function `gettext' gui_main.c:202: error: `BUG_EMAIL_ADDRESS' undeclared (first use in this function) My fault. Fixed

[Freeciv-Dev] (PR#39391) Warnings in lua code

2007-06-10 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39391 cc1: warnings being treated as errors ltable.c: In function ‘luaH_mainposition’: ltable.c:108: warning: cast from pointer to integer of different size ltable.c:110: warning: cast from pointer to integer of different size make[5]: ***

Re: [Freeciv-Dev] (PR#39391) Warnings in lua code

2007-06-10 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39391 On Sun, 10 Jun 2007, Jason Short wrote: On 6/10/07, Per I. Mathisen [EMAIL PROTECTED] wrote: How should we fix these? Modify lua code in repository, or try to upgrade it to a more recent lua version? Would upgrading help? Anyone

Re: [Freeciv-Dev] (PR#39391) Warnings in lua code

2007-06-11 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39391 On Sun, 10 Jun 2007, Vasco Alexandre da Silva Costa wrote: What version of gcc/platform are you using? I don't get these errors... I use Fedora 7. [EMAIL PROTECTED] ~]$ gcc --version gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)

Re: [Freeciv-Dev] (PR#39391) Warnings in lua code

2007-06-11 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39391 On Sun, 10 Jun 2007, William Allen Simpson wrote: But since getting various reports of warnings turning into fatal errors, probably should upgrade the entire lua package. Anyone know which version we have in our repository? It does

Re: [Freeciv-Dev] (PR#39385) RFE: Buy column on Cities report

2007-06-11 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39385 On Mon, 11 Jun 2007, William Allen Simpson wrote: And now the debate: Could this be pulled up into 2.1 at this late date? It was a more of a bug fix than a mere enhancement, and on that basis alone, I'm in favor. The question

Re: [Freeciv-Dev] (PR#39394) Rigid border rules in S2_1

2007-06-15 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39394 On Fri, 15 Jun 2007, William Allen Simpson wrote: Ulrik Sverdrup wrote: Proposed change: make borders in S2_1 a little less rigid, by allowing tiles to change hands when new sources are drastically closer than the old owning source.

Re: [Freeciv-Dev] (PR#39394) Rigid border rules in S2_1

2007-06-16 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39394 On Sat, 16 Jun 2007, Ulrik Sverdrup wrote: Not for me, certainly. I think it works fine as it is. ... I can understand if this is too late. I'm hoping that these strange borderline cases should not pose any problem for the game and

Re: [Freeciv-Dev] (PR#39394) Rigid border rules in S2_1

2007-06-16 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39394 On Sat, 16 Jun 2007, William Allen Simpson wrote: The question: Is the fortress bug (you can build fortresses on enemy territory) important. Should it be fixed for 2.1? Yes. All bugs should be fixed... In this case, my opinion is

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

2007-06-16 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39389 On Sat, 16 Jun 2007, William Allen Simpson wrote: Guest wrote: ... but i don't think any freelog() message should be translated. Am awaiting Per's decision on that matter. I do not really have much of an opinion on whether

[Freeciv-Dev] (PR#39394) fix for claiming borders in friendly territory using fortress

2007-06-17 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39394 Patch attached. - Per Index: server/unittools.c === --- server/unittools.c (revision 12996) +++ server/unittools.c (working copy) @@ -739,7 +739,8 @@

Re: [Freeciv-Dev] (PR#39393) diplocost fails to work if you research nothing

2007-06-17 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39393 On Wed, 13 Jun 2007, Erik Johansson wrote: The server option Diplocost is broken, when you exchange tech and have your tech set to NONE you never get any tech penalty. This is a small patch that fixes this. It is fixed in warserver.

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

2007-06-17 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39400 On Sun, 17 Jun 2007, Christian Knoke wrote: SVN 17 JUN 2007 Please post revision number :) Can you see if this is fixed by my latest commit to trunk? - Per ___ Freeciv-dev mailing

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

2007-06-17 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39400 On Sun, 17 Jun 2007, Christian Knoke wrote: Please post revision number :) Revision 12999. :) Can you see if this is fixed by my latest commit to trunk? No, it isn't. Surely it must now have a different error message, at least,

Re: [Freeciv-Dev] (PR#39401) r12999 trunk compile fails with new tolua

2007-06-17 Thread Per I. Mathisen
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39401 On Sun, 17 Jun 2007, William Allen Simpson wrote: api_gen.c:11:21: tolua++.h: No such file or directory I think I fixed this now. Please test again (make sure recompile is forced). - Per

  1   2   >