Re: [Freeciv-Dev] Metaserver errors
I changed the settings list sent to the metaserver, but I doubt it can cause troubles in the metaserver (patch #2092). Else, there is still problems when the metaserver strings contains characters like '\' or '', there are no escapes, and the server list cannot be interpreted by the clients. Pepeto Le mardi 16 novembre 2010 à 09:15 +0200, Marko Lindqvist a écrit : Is someone testing some modifications to code handling metaserver connection? Metaserver has been reporting some suspicious errors. Please let me know if you are doing some modifications to the Freeciv code that may explain this, so I know this is not attack against metaserver. I can also provide those error messages to help find problems in your code. - ML ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
Re: [Freeciv-Dev] Metaserver errors
I don't know what is a GET variable list. Please check server/meta.c on trunk, or http://svn.gna.org/viewcvs/freeciv/trunk/server/meta.c?r1=18294r2=18293pathrev=18294 I may have missed a fc_url_encode() in meta_insert_setting(). That's probably the problem? Pepeto Le mardi 16 novembre 2010 à 10:47 +0200, Marko Lindqvist a écrit : On 16 November 2010 10:35, Pepeto pepet...@gmail.com wrote: I changed the settings list sent to the metaserver, but I doubt it can cause troubles in the metaserver (patch #2092). Are they sent as GET variables? At least some errors are related to overlong GET variable list... - ML ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
Re: [Freeciv-Dev] Metaserver errors
After some inspection it is obvious that this is not caused by Freeciv, but by some spambot. From some URL it has found out that metaserver takes server_port variable and now it tries to send its spam message as value to that variable hoping that it would get somehow published. This is not a critical problem (as spam messages are not getting through) but quite a nuisance anyway. - ML ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17089] error loading old savegames (startpos)
URL: http://gna.org/bugs/?17089 Summary: error loading old savegames (startpos) Project: Freeciv Submitted by: syntron Submitted on: Dienstag 16.11.2010 um 10:59 Category: general Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: svn18451 Discussion Lock: Any Operating System: None Planned Release: 2.3.0 ___ Details: after bug #13803 old savegames can't be loaded anymore if they have a player with a wrong nation (happens quit often!): # ./ser -f m005p010+0001.sav.gz Encodings: Data=UTF-8, Local=UTF-8, Internal=UTF-8 This is the server for Freeciv version 2.2.99-dev You can learn a lot about Freeciv at http://www.freeciv.org/ 2: Loading rulesets. 2: Sergio Osmena has been added as Hard level AI-controlled player. 2: William Henry Harrison has been added as Hard level AI-controlled player. 2: Marechal Deodoro has been added as Hard level AI-controlled player. 2: Ray Bradbury has been added as Hard level AI-controlled player. 2: John Diefenbaker has been added as Hard level AI-controlled player. 2: Recaredo I has been added as Hard level AI-controlled player. 2: Constantine has been added as Hard level AI-controlled player. 2: Seni Pramoya has been added as Hard level AI-controlled player. 2: Gorthaur has been added as Hard level AI-controlled player. 2: Maurits has been added as Hard level AI-controlled player. 2: Attila has been added as Hard level AI-controlled player. 1: No nation found! 1: in nation_of_player() [nation.c::430]: This function has NULL nation argument. 1: in nation_of_player() [nation.c::430]: assertion 'nation_check(pplayer-nation, log_do_output_for_level_at_location(LOG_ERROR, nation.c, 430), nation.c, __FUNCTION__, 430)' failed. 1: Please report this message at http://gna.org/projects/freeciv/ 1: in nation_plural_translation() [nation.c::167]: This function has NULL nation argument. 1: in nation_plural_translation() [nation.c::167]: assertion 'nation_check(pnation, log_do_output_for_level_at_location(LOG_ERROR, nation.c, 167), nation.c, __FUNCTION__, 167)' failed. 1: Please report this message at http://gna.org/projects/freeciv/ 1: Gorthaur had invalid nation; changing to . 2: Now accepting new client connections. For introductory help, type 'help'. The debug output: #0 0x7f591c2c99e5 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x005896af in fc_assert_fail (file=0x5f832a nation.c, function=0x5f8d50 nation_of_player, line=430, assertion=value optimized out, message=0x0) at log.c:476 level = LOG_FATAL #2 0x004f2ba6 in nation_of_player (pplayer=0x10f3670) at nation.c:430 __FUNCTION__ = nation_of_player #3 0x004f2d29 in nation_plural_for_player (pplayer=value optimized out) at nation.c:186 No locals. #4 0x004d6240 in game_load_internal (file=value optimized out) at savegame.c:5261 pplayer = 0x10f3670 _pslot = 0xa86130 worked_tiles = value optimized out loaded_players = value optimized out i = 8 k = value optimized out game_version = value optimized out tmp_server_state = value optimized out rstate = {v = {772277029, 1552936796, 1167570002, 1828173409, 4202898714, 2752651463, 1049242946, 487720806, 3594510812, 3646547102, 2384710542, 3248968601, 3824154425, 3179744660, 3698448063, 2430281609, 3805947667, 2813765618, 3832268600, 2098391196, 1535992005, 138300, 2559844334, 2163910758, 2427116820, 2455097486, 718658764, 3059809664, 1651428400, 3211217148, 3265291924, 453608653, 316156917, 281935603, 958436717, 1347315728, 779272565, 1877275220, 1663715292, 1942218477, 1584460360, 990327900, 3289615203, 3691130707, 1448569018, 1707754564, 3339348545, 3445866352, 556684927, 4079786966, 3481698700, 1226878619, 3124853297, 3605799211, 3849006087, 1400991845}, j = 7, k = 38, x = 6, is_init = true} string = value optimized out improvement_order_size = 68 technology_order_size = 89 civstyle = value optimized out scen_text = value optimized out improvement_order = 0xfe43a0 technology_order = 0xfe45d0 special_order = 0x0 base_order = 0x0 num_base_types = 0 savefile_options = 0xa98d90 startoptions spacerace2 rulesets diplchance_percent worklists2 map_editor known32fix turn attributes watchtower rulesetdir client_worklists orders startunits turn_last_built improvement_order technolo... bval = false pentry = value optimized out __FUNCTION__ = game_load_internal #5 0x004d8407 in game_load (file=0xa860a0) at
[Freeciv-Dev] [bug #17015] Would like to have Go Home command for units
Update of bug #17015 (project freeciv): Assigned to: pepeto = None Planned Release: 2.3.0 = ___ Follow-up Comment #6: Too much work for 2.3.0. ___ Reply to this item at: http://gna.org/bugs/?17015 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17007] Complex goto to connect with road/rail/irrigate/mine/farmland in one go
Update of bug #17007 (project freeciv): Assigned to: pepeto = None ___ Reply to this item at: http://gna.org/bugs/?17007 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17006] build rail/farmland with a single command, connect farmland
Update of bug #17006 (project freeciv): Assigned to: pepeto = None ___ Follow-up Comment #3: It is very complicate to get this working, as long as Farmland is not considered as an unit activity. Moreover, Railroads and roads are handled as a similar way, and it would require huge changes to separate them. As the Gtk2 client doesn't handle right the shortcuts conflicts, it seems quite impossible to get this in 2.3.0. ___ Reply to this item at: http://gna.org/bugs/?17006 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16905] Goto and do XXX for caravans
Update of bug #16905 (project freeciv): Assigned to: pepeto = None Planned Release: 2.3.0 = ___ Follow-up Comment #2: Too much work for 2.3.0. ___ Reply to this item at: http://gna.org/bugs/?16905 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [task #7231] S2_3 translatable string freeze
Update of task #7231 (project freeciv): Dependency Removed: = bugs #17015 ___ Reply to this item at: http://gna.org/task/?7231 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [task #7231] S2_3 translatable string freeze
Update of task #7231 (project freeciv): Dependency Removed: = bugs #17006 ___ Reply to this item at: http://gna.org/task/?7231 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16905] Goto and do XXX for caravans
Update of bug #16905 (project freeciv): Severity: 3 - Normal = 1 - Wish Priority: 5 - Normal = 1 - Later ___ Reply to this item at: http://gna.org/bugs/?16905 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17082] Connecting roads/railroads/irrigations is broken
Update of bug #17082 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/bugs/?17082 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [task #7229] S2_3 datafile format freeze
Update of task #7229 (project freeciv): Status:None = Done Percent Complete: 0% = 100% ___ Reply to this item at: http://gna.org/task/?7229 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2206] execute_orders() changes
URL: http://gna.org/patch/?2206 Summary: execute_orders() changes Project: Freeciv Submitted by: pepeto Submitted on: mardi 16.11.2010 à 11:43 Category: general Priority: 3 - Low Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: ___ Details: The attached patch changes that: * Orders such has disband, establish trade route or help building wonders doesn't require moves left to be executed. * Building bases or other infrastructures when it has been done by another unit previously doesn't cancel the unit orders, it just ignore it. ___ File Attachments: --- Date: mardi 16.11.2010 à 11:43 Name: 0006-Execute-orders-cleanup.patch Size: 6 ko By: pepeto http://gna.org/patch/download.php?file_id=11230 ___ Reply to this item at: http://gna.org/patch/?2206 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16905] Goto and do XXX for caravans
Update of bug #16905 (project freeciv): Depends on: = patch #2206 ___ Reply to this item at: http://gna.org/bugs/?16905 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17090] Last iterator can be processed many times in pf_map_iterate()
URL: http://gna.org/bugs/?17090 Summary: Last iterator can be processed many times in pf_map_iterate() Project: Freeciv Submitted by: pepeto Submitted on: mardi 16.11.2010 à 11:45 Category: general Severity: 2 - Minor Priority: 3 - Low Status: Ready For Test Assigned to: pepeto Originator Email: Open/Closed: Open Release: trunk, S2_3 Discussion Lock: Any Operating System: None Planned Release: 2.3.0 ___ Details: When the iteration has been completed (all tiles have been processed), calling pf_map_*() will process the last iterator again and again, as many times those functions are called. Fix attached. ___ File Attachments: --- Date: mardi 16.11.2010 à 11:45 Name: 0005-pf_map_iterate-end-handling.patch Size: 1 ko By: pepeto http://gna.org/bugs/download.php?file_id=11231 ___ Reply to this item at: http://gna.org/bugs/?17090 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17089] error loading old savegames (startpos)
Update of bug #17089 (project freeciv): Status:None = Ready For Test Assigned to:None = pepeto ___ Additional Item Attachment: File name: trunk_S2_3_load_invalid_nations.diff Size:0 KB ___ Reply to this item at: http://gna.org/bugs/?17089 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17079] Help text wrong, I think
Update of bug #17079 (project freeciv): Category:None = general Status: Confirmed = Ready For Test Assigned to:None = pepeto Planned Release: = 2.3.0 ___ Additional Item Attachment: File name: trunk_S2_3_helpdata_governor.diff Size:0 KB ___ Reply to this item at: http://gna.org/bugs/?17079 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [task #7231] S2_3 translatable string freeze
Update of task #7231 (project freeciv): Depends on: = bugs #17079 ___ Reply to this item at: http://gna.org/task/?7231 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17065] Server boolean options cannot be correctly set
Update of bug #17065 (project freeciv): Status: Confirmed = Ready For Test Assigned to:None = pepeto ___ Additional Item Attachment: File name: trunk_S2_3_server_option_bool_set.diff Size:0 KB ___ Reply to this item at: http://gna.org/bugs/?17065 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17042] in look_for_charge() [aiunit.c::851]: assertion '0 def' failed
Update of bug #17042 (project freeciv): Status:None = Ready For Test Assigned to:None = pepeto ___ Additional Item Attachment: File name: trunk_S2_3_look_for_charge.diff Size:0 KB ___ Reply to this item at: http://gna.org/bugs/?17042 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17040] Observers can attempt to change city production
Follow-up Comment #1, bug #17040 (project freeciv): I cannot reproduce. What is your real state: global observer or player observer? How do you change production? Editing the worklist city? Using the change production button? Using the clipboard stuff? From the city report? ___ Reply to this item at: http://gna.org/bugs/?17040 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17031] Small maps corrupt save files
Follow-up Comment #6, bug #17031 (project freeciv): I have miss-understood what you said. However, I think the best way would be to allow the savegame to restore the previous settings. PS: I don't understand why xsize * yxisze must be = 1000. ___ Reply to this item at: http://gna.org/bugs/?17031 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17031] Small maps corrupt save files
Follow-up Comment #8, bug #17031 (project freeciv): I thought it was set to avoid maps of size 0. However, there is probably no reason to keep it. ___ Reply to this item at: http://gna.org/bugs/?17031 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17089] error loading old savegames (startpos)
Update of bug #17089 (project freeciv): Assigned to:None = pepeto ___ Follow-up Comment #2: sorry; I did not want to reset this ticket ... ___ Reply to this item at: http://gna.org/bugs/?17089 ___ 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 #2068] reformat 'show ...'
Update of patch #2068 (project freeciv): Status: Ready For Test = Done Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/patch/?2068 ___ 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 #2157] add message for units with population cost
Update of patch #2157 (project freeciv): Status: Ready For Test = Done Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/patch/?2157 ___ 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] memory requirement (statistics)
After the increase of the number of players and the map size I did plan a check of the memory requirement of the different freeciv versions. I finished this now and the attached pdf files shows some results. The first two pages show the RAM used by the server as listed by pmap. A savefile with the default settings and aifill = X, map size = Y at turn 100 was loaded. Only one value of X or Y was changed while the other was set to 10. The requirements increase fro release to release; but with 2.3 it goes down for bigger maps. I also tested a game with aifill 100 and mapsize 100 - the server allocates up to 900MB RAM! The last two slides show the size of the savegame. For small number of players and map sizes is is OK. But increasing these numbers the size of the savegame increases and, if both are set to 100 the uncompressed savegame reaches a size of over 100MB. For such savegames the time needed to compress the data is significant. For the client, the memory consumption is increased from 1.14 to 2.2 (xaw to gtk2). After that, nearly no change is visible. The client uses up to 500MB, mostly for the graphical toolkit. If there are questions please ask. -- Matthias Pfafferodt - http://www.mapfa.de Matthias.Pfafferodt at mapfa.de freeciv_memory.pdf Description: Adobe PDF document ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2161] check for ai handicap H_MAP in is_wet()
Update of patch #2161 (project freeciv): Status: Ready For Test = Done Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/patch/?2161 ___ 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 #17010] clear the event cache only for new games
Update of bug #17010 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/bugs/?17010 ___ 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] [task #7232] Tracking release 2.3.0-beta1
Update of task #7232 (project freeciv): Depends on: = bugs #17049 ___ Reply to this item at: http://gna.org/task/?7232 ___ 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] [task #7232] Tracking release 2.3.0-beta1
Update of task #7232 (project freeciv): Depends on: = bugs #16963 ___ Reply to this item at: http://gna.org/task/?7232 ___ 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] [task #7231] S2_3 translatable string freeze
Update of task #7231 (project freeciv): Depends on: = bugs #16963 ___ Reply to this item at: http://gna.org/task/?7231 ___ 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] [task #7231] S2_3 translatable string freeze
Update of task #7231 (project freeciv): Depends on: = bugs #16958 ___ Reply to this item at: http://gna.org/task/?7231 ___ 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 #17091] cleanup saving old savegame format
URL: http://gna.org/bugs/?17091 Summary: cleanup saving old savegame format Project: Freeciv Submitted by: syntron Submitted on: Dienstag 16.11.2010 um 17:22 Category: None Severity: 2 - Minor Priority: 3 - Low Status: Ready For Test Assigned to: syntron Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: 2.3.0 ___ Details: after the changes to the settings handling, setting saveversion to -1 is not possible anymore. Thus, saving a game in the old savegame format does not work. The first patch removes the useless code while the second patch adds the 'oldsave' command which allows this again. It is for 2.3.99 and perhaps should only be applied if needed. ___ File Attachments: --- Date: Dienstag 16.11.2010 um 17:22 Name: 20101116-trunk-add-oldsave-command.patch Size: 3kB By: syntron http://gna.org/bugs/download.php?file_id=11236 --- Date: Dienstag 16.11.2010 um 17:22 Name: 20101116-trunk-cleanup-saving-old-savegame-format.patch Size: 2kB By: syntron http://gna.org/bugs/download.php?file_id=11237 ___ Reply to this item at: http://gna.org/bugs/?17091 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
Re: [Freeciv-Dev] memory requirement (statistics)
On Tue, 16 Nov 2010, Matthias Pfafferodt wrote: After the increase of the number of players and the map size I did plan a check of the memory requirement of the different freeciv versions. I finished this now and the attached pdf files shows some results. The first two pages show the RAM used by the server as listed by pmap. A savefile with the default settings and aifill = X, map size = Y at turn 100 was loaded. Only one value of X or Y was changed while the other was set to 10. The requirements increase fro release to release; but with 2.3 it goes down for bigger maps. I also tested a game with aifill 100 and mapsize 100 - the server allocates up to 900MB RAM! The last two slides show the size of the savegame. For small number of players and map sizes is is OK. But increasing these numbers the size of the savegame increases and, if both are set to 100 the uncompressed savegame reaches a size of over 100MB. For such savegames the time needed to compress the data is significant. For the client, the memory consumption is increased from 1.14 to 2.2 (xaw to gtk2). After that, nearly no change is visible. The client uses up to 500MB, mostly for the graphical toolkit. If there are questions please ask. These statistics are very interesting. It is a good idea to keep an eye on the memory usage, since this would allow the game to scale better. Another aspect of memory usage that I would also find interesting, is how the memory usage scales when running multiple Freeciv servers on the same host. For example, does running 10 servers at the same time also require 10 times the memory? Regards, Andreas R. www.freeciv.net ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17092] pft_fill_utype_*() initialized value
URL: http://gna.org/bugs/?17092 Summary: pft_fill_utype_*() initialized value Project: Freeciv Submitted by: pepeto Submitted on: mardi 16.11.2010 à 17:35 Category: agents Severity: 3 - Normal Priority: 5 - Normal Status: Ready For Test Assigned to: pepeto Originator Email: Open/Closed: Open Release: trunk, S2_3 Discussion Lock: Any Operating System: None Planned Release: 2.3.0 ___ Details: The can_invade_tile() callback is not initialized. ___ File Attachments: --- Date: mardi 16.11.2010 à 17:35 Name: 0003-Fix-initialization-of-the-pf_parameter-can_invade_ti.patch Size: 892 o By: pepeto http://gna.org/bugs/download.php?file_id=11239 ___ Reply to this item at: http://gna.org/bugs/?17092 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2207] Extended tools for pf_reverse_map
URL: http://gna.org/patch/?2207 Summary: Extended tools for pf_reverse_map Project: Freeciv Submitted by: pepeto Submitted on: mardi 16.11.2010 à 17:36 Category: general Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: pepeto Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.3.0 ___ Details: ___ File Attachments: --- Date: mardi 16.11.2010 à 17:36 Name: 0001-Extended-tools-for-pf_reverse_map.patch Size: 6 ko By: pepeto http://gna.org/patch/download.php?file_id=11240 ___ Reply to this item at: http://gna.org/patch/?2207 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2208] Removed hard-coded references to MAX_COST for pf_reverse_map
URL: http://gna.org/patch/?2208 Summary: Removed hard-coded references to MAX_COST for pf_reverse_map Project: Freeciv Submitted by: pepeto Submitted on: mardi 16.11.2010 à 17:37 Category: agents Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: pepeto Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.3.0 ___ Details: ___ File Attachments: --- Date: mardi 16.11.2010 à 17:37 Name: 0002-Removed-hard-coded-reference-to-MAX_COST-for-pf_reve.patch Size: 7 ko By: pepeto http://gna.org/patch/download.php?file_id=11241 ___ Reply to this item at: http://gna.org/patch/?2208 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2207] Extended tools for pf_reverse_map
Update of patch #2207 (project freeciv): Category: general = agents ___ Reply to this item at: http://gna.org/patch/?2207 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #17090] Last iterator can be processed many times in pf_map_iterate()
Update of bug #17090 (project freeciv): Category: general = agents ___ Reply to this item at: http://gna.org/bugs/?17090 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #1303] [Metaticket] Remove warmap
Update of patch #1303 (project freeciv): Depends on: = patch #2207 ___ Reply to this item at: http://gna.org/patch/?1303 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
Re: [Freeciv-Dev] memory requirement (statistics)
Am Dienstag, 16. November 2010, 18:24:25 schrieb Andreas Røsdal: On Tue, 16 Nov 2010, Matthias Pfafferodt wrote: After the increase of the number of players and the map size I did plan a check of the memory requirement of the different freeciv versions. I finished this now and the attached pdf files shows some results. The first two pages show the RAM used by the server as listed by pmap. A savefile with the default settings and aifill = X, map size = Y at turn 100 was loaded. Only one value of X or Y was changed while the other was set to 10. The requirements increase fro release to release; but with 2.3 it goes down for bigger maps. I also tested a game with aifill 100 and mapsize 100 - the server allocates up to 900MB RAM! The last two slides show the size of the savegame. For small number of players and map sizes is is OK. But increasing these numbers the size of the savegame increases and, if both are set to 100 the uncompressed savegame reaches a size of over 100MB. For such savegames the time needed to compress the data is significant. For the client, the memory consumption is increased from 1.14 to 2.2 (xaw to gtk2). After that, nearly no change is visible. The client uses up to 500MB, mostly for the graphical toolkit. If there are questions please ask. These statistics are very interesting. It is a good idea to keep an eye on the memory usage, since this would allow the game to scale better. My aim was mainly to check if the increased number of players or the increased map size significantly increase the memory requirement for the 'default' games (i.e. map size below 20 and player number below 30). The first development versions after these patches needed up to 1.5 times the memory! Another aspect of memory usage that I would also find interesting, is how the memory usage scales when running multiple Freeciv servers on the same host. For example, does running 10 servers at the same time also require 10 times the memory? I do not know ;-) The memory usage can be split into two main types - libraries which can be used by several programs and program code (anon memory; see page 2). This memory is needed for _each_ server! An exemplary pmap output is attached. The anon memory displayed in the graph is the sum of [heap] + all [anon] + [stack] + [vdso] + [vsyscall]. But keep in mind that memory measurements are never exact. This are only the numbers reported by pmap and presented by me. I do not know how pmap gets these numbers or if my interpretation is correct! Matthias Regards, Andreas R. www.freeciv.net -- Matthias Pfafferodt - http://www.mapfa.de Matthias.Pfafferodt at mapfa.de 11314: freeciv-server START SIZE RSS PSS DIRTYSWAP PERM MAPPING 0040 2048K 1204K 1204K 0K 0K r-xp /mnt/data/sdc6/matthias/git/tmp/memory/R2_3_0svn18459/server/freeciv-server 007ff000 4K 4K 4K 4K 0K r--p /mnt/data/sdc6/matthias/git/tmp/memory/R2_3_0svn18459/server/freeciv-server 0080 24K 24K 24K 20K 0K rw-p /mnt/data/sdc6/matthias/git/tmp/memory/R2_3_0svn18459/server/freeciv-server 00806000 28660K 27936K 27936K 27936K 0K rw-p [heap] 7f09fe96e000 8K 8K 0K 0K 0K r-xp /lib64/libdl-2.11.2.so 7f09fe97 2048K 0K 0K 0K 0K ---p /lib64/libdl-2.11.2.so 7f09feb7 4K 4K 4K 4K 0K r--p /lib64/libdl-2.11.2.so 7f09feb71000 4K 4K 4K 4K 0K rw-p /lib64/libdl-2.11.2.so 7f09feb72000304K172K 10K 0K 0K r-xp /lib64/libncurses.so.5.7 7f09febbe000 2044K 0K 0K 0K 0K ---p /lib64/libncurses.so.5.7 7f09fedbd000 16K 16K 16K 16K 0K r--p /lib64/libncurses.so.5.7 7f09fedc1000 24K 24K 24K 24K 0K rw-p /lib64/libncurses.so.5.7 7f09fedc7000 1368K580K 8K 0K 0K r-xp /lib64/libc-2.11.2.so 7f09fef1d000 2048K 0K 0K 0K 0K ---p /lib64/libc-2.11.2.so 7f09ff11d000 16K 16K 16K 16K 0K r--p /lib64/libc-2.11.2.so 7f09ff121000 4K 4K 4K 4K 0K rw-p /lib64/libc-2.11.2.so 7f09ff122000 20K 16K 16K 16K 0K rw-p [anon] 7f09ff127000344K 20K 0K 0K 0K r-xp /lib64/libm-2.11.2.so 7f09ff17d000 2044K 0K 0K 0K 0K ---p /lib64/libm-2.11.2.so 7f09ff37c000 4K 4K 4K 4K 0K r--p /lib64/libm-2.11.2.so 7f09ff37d000 4K 4K 4K 4K 0K rw-p /lib64/libm-2.11.2.so 7f09ff37e000244K172K 12K 0K 0K r-xp /lib64/libreadline.so.6.1 7f09ff3bb000 2048K 0K 0K 0K 0K ---p /lib64/libreadline.so.6.1 7f09ff5bb000 8K 8K 8K 8K 0K r--p
[Freeciv-Dev] [bug #17080] unused events
Follow-up Comment #1, bug #17080 (project freeciv): which events should be connected to E_TREATY_EMBASSY? Probably when an embassy is got by diplomatic treaty. ___ Reply to this item at: http://gna.org/bugs/?17080 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16726] Poor tileset screenshot savegame
Update of bug #16726 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #5: Committed to the /data/scenario/ directory, but not added to distro. ___ Reply to this item at: http://gna.org/bugs/?16726 ___ 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 #16251] Superfluous ocean sprites defined in tilesets
Additional Item Attachment, bug #16251 (project freeciv): File name: s2_3-superfluous_oceanic_tiles_hex2t.diff Size:10 KB ___ Reply to this item at: http://gna.org/bugs/?16251 ___ 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] [task #7246] Publish Amplio for 2.3 as stand-alone package
URL: http://gna.org/task/?7246 Summary: Publish Amplio for 2.3 as stand-alone package Project: Freeciv Submitted by: dmarks Submitted on: Wednesday 11/17/2010 at 10:40 Should Start On: Wednesday 11/17/2010 at 00:00 Should be Finished on: Tuesday 12/14/2010 at 00:00 Category: None Priority: 1 - Later Status: None Privacy: Public Percent Complete: 0% Assigned to: dmarks Open/Closed: Open Discussion Lock: Any Effort: 0.00 Planned Release: 2.3.0 ___ Details: Create a separate tileset package for 2.3 compatible 'classic' Amplio and then remove it from svn. ___ Reply to this item at: http://gna.org/task/?7246 ___ 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 #13813] Where are the FUADEC pics?
Follow-up Comment #3, bug #13813 (project freeciv): MIA are also a couple of of scripts and tools under old.freeciv.org/graphics/utils/ including tileselect-0.3.scm.gz and palettes.tar.gz. Perhaps Paul or Vasco knows where the old.freeciv.org box is at these days. ___ Reply to this item at: http://gna.org/bugs/?13813 ___ 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 #2205] Better Saxony flag
Update of patch #2205 (project freeciv): Assigned to:None = dmarks ___ Reply to this item at: http://gna.org/patch/?2205 ___ 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 #17095] Freeland: match_with has too many types (5, max 3)
URL: http://gna.org/bugs/?17095 Summary: Freeland: match_with has too many types (5, max 3) Project: Freeciv Submitted by: dmarks Submitted on: Wednesday 11/17/2010 at 14:28 Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: S2_3 Discussion Lock: Any Operating System: None Planned Release: ___ Details: Loading Freeland (smallest size) tileset in 2.3 causes the following warnings. Using this work-in-progress test version I pieced together using the 3.0-alpha version the author released a couple of years ago. http://download.gna.org/freeciv/incoming/freeland-2.2.99-debug.tar.gz rdmarkst...@gaslight:~/fc/22$ ./client/freeciv-gtk2 --tiles=freeland 1: [tile_grassland] match_with has too many types (5, max 3) 1: [tile_plains] match_with has too many types (5, max 3) 1: [tile_desert] match_with has too many types (5, max 3) 1: [tile_tundra] match_with has too many types (5, max 3) 1: [tile_arctic] match_with has too many types (5, max 3) 1: [tile_coast] match_with has too many types (5, max 3) 1: [tile_floor] match_with has too many types (5, max 3) 1: [tile_swamp] match_with has too many types (5, max 3) 1: [tile_jungle] match_with has too many types (5, max 3) 1: [tile_forest] match_with has too many types (5, max 3) 1: [tile_hills] match_with has too many types (5, max 3) 1: [tile_mountains] match_with has too many types (5, max 3) 1: [tile_grassland] match_with has too many types (5, max 3) 1: [tile_plains] match_with has too many types (5, max 3) 1: [tile_desert] match_with has too many types (5, max 3) 1: [tile_tundra] match_with has too many types (5, max 3) 1: [tile_arctic] match_with has too many types (5, max 3) 1: [tile_coast] match_with has too many types (5, max 3) 1: [tile_swamp] match_with has too many types (5, max 3) 1: [tile_jungle] match_with has too many types (5, max 3) 1: [tile_forest] match_with has too many types (5, max 3) 1: [tile_hills] match_with has too many types (5, max 3) 1: [tile_mountains] match_with has too many types (5, max 3) 1: [tile_grassland] match_with has too many types (5, max 3) 1: [tile_plains] match_with has too many types (5, max 3) 1: [tile_desert] match_with has too many types (5, max 3) 1: [tile_tundra] match_with has too many types (5, max 3) 1: [tile_arctic] match_with has too many types (5, max 3) 1: [tile_coast] match_with has too many types (5, max 3) 1: [tile_swamp] match_with has too many types (5, max 3) 1: [tile_jungle] match_with has too many types (5, max 3) 1: [tile_forest] match_with has too many types (5, max 3) 1: [tile_hills] match_with has too many types (5, max 3) 1: [tile_mountains] match_with has too many types (5, max 3) 1: [tile_grassland] match_with has too many types (5, max 3) 1: [tile_plains] match_with has too many types (5, max 3) 1: [tile_desert] match_with has too many types (5, max 3) 1: [tile_tundra] match_with has too many types (5, max 3) 1: [tile_arctic] match_with has too many types (5, max 3) 1: [tile_coast] match_with has too many types (5, max 3) 1: [tile_floor] match_with has too many types (5, max 3) 1: [tile_swamp] match_with has too many types (5, max 3) 1: [tile_jungle] match_with has too many types (5, max 3) 1: [tile_forest] match_with has too many types (5, max 3) 1: [tile_hills] match_with has too many types (5, max 3) 1: [tile_mountains] match_with has too many types (5, max 3) ___ Reply to this item at: http://gna.org/bugs/?17095 ___ 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 #17096] Freeland: assertion 'v1 count v2 count v3 count' failed.
URL: http://gna.org/bugs/?17096 Summary: Freeland: assertion 'v1 count v2 count v3 count' failed. Project: Freeciv Submitted by: dmarks Submitted on: Wednesday 11/17/2010 at 14:30 Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: S2_3 Discussion Lock: Any Operating System: None Planned Release: ___ Details: Playing a game with the Freeland (small size) tileset results in hundreds of these assertions: 1: in tileset_setup_tile_type() [tilespec.c::3037]: assertion 'v1 count v2 count v3 count' failed. 1: Please report this message at http://gna.org/projects/freeciv/ Using this work-in-progress test version I pieced together using the 3.0-alpha version the author released a couple of years ago. http://download.gna.org/freeciv/incoming/freeland-2.2.99-debug.tar.gz ___ Reply to this item at: http://gna.org/bugs/?17096 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev