Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e) - Page 2

Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by jamerlan »

I tried under windows vs AI and it crashed. Infolog and demo are atttached
Attachments
20120817_200659_Small Supreme Battlefield V2_89.0.1-87-gce4d36e post_release.sdf
(418.43 KiB) Downloaded 22 times
infolog.txt
(24.9 KiB) Downloaded 39 times
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by jamerlan »

next attempt - commander stuck
demo attached. It's very short
Attachments
20120817_202203_Small Supreme Battlefield V2_89.0.1-87-gce4d36e post_release.sdf
(36.73 KiB) Downloaded 26 times
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by jamerlan »

next try.

Big troubles... unplayable.

03:15 - commander can't build water lab

12:10 - 14-00 - water t1 cons can't build adv shipyard.

demo attached.
Attachments
20120817_202639_Small Supreme Battlefield V2_89.0.1-87-gce4d36e post_release.sdf
(907.29 KiB) Downloaded 20 times
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by jamerlan »

I tested more... can't reproduce "Even after removing dragoon teeth units cannot go though where dt use to br . U need to individually micro step by srep every single unit So that work" in singleplayer. Maybe it's reproducible only if enemy built these dt. Or it was fixed (I doubt).
User avatar
Silentwings
Moderator
Posts: 3686
Joined: 25 Oct 2008, 00:23

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by Silentwings »

First try with it - used the MT build and had a serious problem right off. The map (dsd) was black with some blue-ish green sections of noise on it. Tried /advmapshading 0 but nothing changed. See picture & stuff.

Image
Attachments
20120819_074709_DeltaSiegeDry_89.0.1-87-gce4d36e post_release.sdf
(12.73 KiB) Downloaded 21 times
infolog.txt
(22.1 KiB) Downloaded 28 times
User avatar
Silentwings
Moderator
Posts: 3686
Joined: 25 Oct 2008, 00:23

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by Silentwings »

Second try - used non-MT. Had the same problem with the map. Built some units and they seemed to work fine.

You can see something odd with pathing, though. The commander turns back and forth for about 20 seconds while trying to start to build the veh lab.
Attachments
20120819_075427_DeltaSiegeDry_89.0.1-87-gce4d36e post_release.sdf
(75.86 KiB) Downloaded 22 times
infolog.txt
(20.2 KiB) Downloaded 28 times
User avatar
Silentwings
Moderator
Posts: 3686
Joined: 25 Oct 2008, 00:23

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by Silentwings »

Third try - used a diff map (tropical). Same-ish problem with map, although its not completely black this time its much darker than it shold be and the noise is still present.

For what it's worth, the segments of the map which display noise seem to alter at random as i move around the map.

Image
Attachments
infolog.txt
(21.79 KiB) Downloaded 33 times
20120819_080412_Tropical-v2_89.0.1-87-gce4d36e post_release.sdf
(12.93 KiB) Downloaded 20 times
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by Kloot »

03:15 - commander can't build water lab

12:10 - 14-00 - water t1 cons can't build adv shipyard.
The commander turns back and forth for about 20 seconds while trying to start to build the veh lab.
89.0 CHANGELOG wrote: don't add target's radius to the builder's builddistance (...) ->
from now on the to be built unit's centerpos has to be in buildrange not its border
What this means: if a builder's range is smaller than the distance to a buildee's center, it may be forced to move inside the footprint to get in range and then other code will order the builder out again to clear said footprint --> repeat until the end of the universe.

Now check BA builder ranges vis a vis large structures.

Hint: this (too short ranges) is also the reason you "have troubles with constructors".
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by jamerlan »

Kloot, do you mean that build distances for BA constructors should be increased to the radius of biggest building they can build?

If yes, I think it can change balance etc.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by Kloot »

ask jK for a better solution ;)
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6235
Joined: 29 Apr 2005, 01:14

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by FLOZi »

jamerlan wrote:Kloot, do you mean that build distances for BA constructors should be increased to the radius of biggest building they can build?

If yes, I think it can change balance etc.
Change should be quite minimal unless you have really huge buildings
User avatar
Silentwings
Moderator
Posts: 3686
Joined: 25 Oct 2008, 00:23

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by Silentwings »

Thanks Kloot - will see what I can do about that. I can't think of any situations where increasing build distance to > max radius of building would majorly alter the balance?

Although I don't think its a major problem for BA, tbh it seems to me an un-natural requirement to place on constructors in general. For example, I can't think of how a player tells precisely if the nano they are building will help a nearby factory or not.

Any thoughts on the black ground bug? I've not had it in plain 0.89 but I did a portable install of the test build so it may be using different gfx settings to my normal.
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by Johannes »

What is the reason for the builddistance change?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by jK »

Forb had a bug with it.
The code was full of special cases between mobile & immobile units. I unified and modularized the code (the distance checking is now done in a single code function).
Regarding the issue kloot mentioned, it's not specific to the change here, still it was increased by it. First unit are still able to build units with bigger unitradius than their buildrange (it's a special case in the distance check). If the footprint is much greater than the buildrange, but unitradius is shorter than buildrange, the problem kloot mentioned occurs. The solution is footprint & unitradius are need to be ~equal, still the unitradius shouldn't be bigger than footprint, just a _bit_ smaller.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by jK »

Silentwings wrote:Any thoughts on the black ground bug? I've not had it in plain 0.89 but I did a portable install of the test build so it may be using different gfx settings to my normal.
Running out of video memory and/or broken gfx drivers -> switch them
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by dansan »

* ST & MT both render fine for me on dsd and zion (linux 3.5.0, gentoo, 64bit, nvidia 304.37 blob).
* BA7.70 and bar-736 arm&core-coms can build veh lab w/o problem.
* BA7.70 arm-com can build sea lab w/o problem (didn't tested with others) (see screen00027).

Regarding the build range I noted the following (seen in BA-7.70 and BAR-736): to start a building the com moves a little nearer to the center of the buildee than absolutely necessary (see screen00025). If you then move the com away and tell it to continue building it builds from further away (see screen00024).

No idea if mod or engine must fix this, just wanted to report it...

A question: is the green circle calculated correctly? I noted (in prev. versions) that nanos can reclaim from a little outside this circle - commonly used in dsd-com-blow-tech.
Attachments
screen00025.png
start building
(1.7 MiB) Downloaded 2 times
screen00027.png
sea lab
(902.82 KiB) Downloaded 2 times
screen00024.png
continue building outside range?
(745.86 KiB) Downloaded 2 times
User avatar
Silentwings
Moderator
Posts: 3686
Joined: 25 Oct 2008, 00:23

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by Silentwings »

Running out of video memory and/or broken gfx drivers -> switch them
I don't think so - there is plenty of video memory free and my gfx card has had no problems with spring (ever!) until this test build.

Sounds sensible to me what you've done with build radius, but probably the code (a widget iirc) which displays buildradii needs to be adapted for it.
User avatar
jpcordovae
Posts: 28
Joined: 30 Apr 2009, 21:11

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by jpcordovae »

HI to all, I have an error compiling this spring branch as you can see here:

http://pastebin.com/f3eFu7JZ

boost version: 1.49
gcc version 4.7.1 (GCC)

JP
varikonniemi
Posts: 447
Joined: 03 Jul 2011, 11:54

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by varikonniemi »

Built fine on ubuntu 12.04 x64
Quick playtest vs AI in zk, no glitches noticed.
Google_Frog
Moderator
Posts: 2450
Joined: 12 Oct 2007, 09:24

Re: Engine Testing - 10. Aug 2012 (89.0.1-87-gce4d36e)

Post by Google_Frog »

89.0.1-106-g13bc2f1 seems to work. With QTPFS units tend to get stuck on the terrain but that is configurable.
Post Reply

Return to “Engine”