Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-10-19 Thread GunChleoc
Thanks for checking again. I think we're fine now :) -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1291904. ___ Mailing list: http

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-10-18 Thread TiborB
Oh, I completely forgot about this. But I tested it now, and no crash anymore... Just let me know if you need me to look at something particular.. -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subscribed to branch lp:~widelands

[Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-10-18 Thread noreply
The proposal to merge lp:~widelands-dev/widelands/bug-1291904 into lp:widelands has been updated. Status: Needs review => Merged For more details, see: https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 -- Your team Widelands Developers is subscribed to branch lp

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-10-18 Thread GunChleoc
Seems like Tibor hasn't had time to check back here, but I'm going to merge this now anyway - I need this branch to finish up one_tribe, which will then be ready for testing :) -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subs

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-10-06 Thread SirVer
Review: Approve lgtm -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1291904. ___ Mailing list: https://launchpad.net/~widelands-de

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-10-04 Thread GunChleoc
Review: Resubmit We still have files like map_building_packet and map_buildingdata_packet, so I think part of the files are still using the old system. I'll leave the function in for this branch. I also fixed the crash that Tibor found - some code didn't get updated properly during one of the

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-09-20 Thread SirVer
Yes. We used to save objects in two steps (this example is for buildings, but bobs and other stuff were the same). We had a buildings_data packet that described what buildings are where and the serial number of this building. Another packet contained 'buildings_data_data' which contained all of

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-09-18 Thread GunChleoc
I just found something else that we might want to lose in instances.h: /// This is just a fail-safe guard for the time until we fully transition /// to the new MapObject saving system virtual bool has_new_save_support() {return false;} Does anybody remember what that is a

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-06-23 Thread TiborB
Review: Needs Fixing I am getting segmentation fault, when starting new network game (AI-only), running for short time (does not matter how long probably), saving it and then when leaving the game (after clicking "yes" on ~'Are you sure you want to leave the game'): #0 0x0079 in ?? () #1

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-06-06 Thread GunChleoc
Fixed :) The bug was already in trunk, it just didn't get triggered. -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1291904. ___ M

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-06-03 Thread GunChleoc
I can reproduce this now. It also doesn't happen in trunk, so the bug is in this branch. -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1291904. _

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-05-17 Thread TiborB
No! Is it identified as Glacier Lake map from april 2? I can not see it in the list for loading single player saves at all. Only in multiplayer... -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subscribed to branch lp:~widelands

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-05-17 Thread GunChleoc
I tried the savegame you uploaded. It gives me an error message with "Unhandled version error" like it should. It is a single player game though and not a multiplayer game though, and you write above that the crash happened with a multiplayer game? Can you please double-check that this is the co

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-05-16 Thread TiborB
I attached another save file, please look at it (yes, it just crashed here). And I dont know what branch it was saved under, but your code should be resistant and not crash if incompatible savegame :) -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Wide

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-05-16 Thread GunChleoc
I can't reproduce my crash now :( Can you please attach your savegame to one of the linked bugs? -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1291904. _

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-05-15 Thread GunChleoc
I am having problems with savegames in trunk now when the encyclopedia has been opened. So, my guess is that the bug is there and not in this branch. It has probably sometjhing to do with my changes in lua_coroutine. -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/23712

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-05-14 Thread TiborB
Review: Needs Fixing When I tried to load saved network game from building_encyclopedia branch, it just crashed: Game: Reading Game Class Data ... GameLoader::load() took 1ms lastserial: 0 pure virtual method called terminate called without an active exception Program received signal SIGABRT, A

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2015-04-15 Thread GunChleoc
Review: Resubmit I managed to fix the text suite (and use it to track down some bugs I had created :P). So, this is ready for review again. -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/w

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2014-10-15 Thread GunChleoc
*done -> gone. Wheres that edit button :( -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/bug-1291904. ___ Mailing list: https://launchp

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2014-10-15 Thread GunChleoc
When I save the map, it is done. So, open the map and save it doesn't work. I delete the scripting directory before opening the map, because otherwise the editor will execute the script. -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team Widelands Develope

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2014-10-15 Thread SirVer
> Resaving maps with --nozip doesn't work for the test suite maps, it kills > them. Wait, what? --nozip should copy over all scripts. If this doesn't work that is a regression. > So, will have to create all of them from scratch. Maybe someone with a big > screen and practice with the editor c

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2014-10-13 Thread GunChleoc
Resaving maps with --nozip doesn't work for the test suite maps, it kills them. So, will have to create all of them from scratch. Maybe someone with a big screen and practice with the editor could do that? -- https://code.launchpad.net/~widelands-dev/widelands/bug-1291904/+merge/237128 Your team

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2014-10-12 Thread SirVer
I very quick check showed that the lua_testsuite.wmf map has problems. It seems that it contains workers in the map data - something that should not be possible. I think this happened because I was working in an experimental branch when I created the first version of this map. To fix this, try t

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2014-10-12 Thread GunChleoc
The problem is with the test suite. I can't track it down, so it probably lies with the binaries somewhere. I decided to allow lower packet versions in some places to keep the tests working, and there was no change in the packet content, just the packet number. I don't know how to fix the binari

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands/bug-1291904 into lp:widelands

2014-10-11 Thread SirVer
Review: Needs Fixing I went over the code and in general it lgtm. I just do not understand some (most?) of the compatibility cruft that you left in there. For example, buildings and ships should only ever be in savegames, never in maps. Could you elaborate on the individual cases, maybe we can