MegaGlest Forum

MegaGlest => Bug reports => Topic started by: Baŝto on 20 August 2013, 16:17:44

Title: 3.8.0 beta1, 64bit archlinux: units stop when too many are on the map
Post by: Baŝto on 20 August 2013, 16:17:44
This occurs when too many units are on the map.
New movement commands are given, but not obeyed.
I’m not sure if they start walking when enough units got killed, but they don’t start walking when a movement command is fulfilled.

this behavior can be observed in this scenario: http://www.file-upload.net/download-7987022/pigdefense.zip.html (http://www.file-upload.net/download-7987022/pigdefense.zip.html)

It’s a towerdefense with just pig waves and just 10sec between new waves, every wave will be 130% of the wave before. Since the pigs are slow and CPUs need some time to die, there is a huge amount of pigs on the map. The CPUs are still alive when the first units stop moving.



Edit (tomreyn): Removed [bug] tag, not needed on the bug reports forum.
Title: Re: [bug] 3.8.0 beta1, 64bit archlinux: units stop when too many are on the map
Post by: titi on 20 August 2013, 16:45:09
I tried it and I have no such problems :-(  . But I played and killed the pigs on my square.

Update: Strange in a second try I got the behaviour you talked about. I will look at it.
Title: Re: [bug] 3.8.0 beta1, 64bit archlinux: units stop when too many are on the map
Post by: Baŝto on 20 August 2013, 17:22:17
I just tested it again.
I uploaded my --verbose output (http://paste.coding4coffee.org/?8da7c390a1036057#pej6DSHDkcpWJfSi4KwpD89TvF3R93MMtJkKr108Vnk=)

That’s a screenshot before (wave 13)…

(http://r54t.img-up.net/screen53920.jpg) (http://r54i.img-up.net/screen53920.jpg)

and after (wave 15) the occurance of that bug.

(http://r61t.img-up.net/screen6998b.jpg) (http://r61i.img-up.net/screen6998b.jpg) (http://z74t.img-up.net/screen7ea8f.jpg) (http://z74i.img-up.net/screen7ea8f.jpg)
Title: Re: 3.8.0 beta1, 64bit archlinux: units stop when too many are on the map
Post by: softcoder on 20 September 2013, 22:21:56
When running this scenario i get lua errors:

Code: [Select]
[] *ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/game/script_manager.cpp::init 468]
error [Error calling lua function [global] error: Runtime error: [string "global"]:54: attempt to call field 'getn' (a nil value)
Stack Trace:
../mk/linux/megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xb01bd2] line: 237
../mk/linux/megaglest:Shared::Lua::LuaScript::endCall()address [0xa9cbdd] line: 596

in the xml file i see a bunch of: x.getn() calls

Are you sure this scenario works?