Author Topic: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"  (Read 822 times)

Offline BadgerBadger

  • Hero Member
  • *****
  • Posts: 668
  • BadgerBadgerBadgerBadger
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #15 on: September 09, 2017, 08:47:31 PM »
Linux now sees
Error: tried to read non-existent setting 'CameraMain_RotationLerpSpeed'

   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in C:\vcprojs\\
arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 140
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenU\
niversal\src\UtilityLibraries\ArcenDebugging.cs:line 109
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\Arc\
enDebugging.cs:line 89
   at Arcen.AIW2.Core.GameSettings_AIW2.GetFloat(ArcenFloatSetting_AIW2 Setting) in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\InstallationState\GameSetting\
s.cs:line 119
   at Arcen.AIW2.Core.CameraSettings.get_RotationLerpSpeed() in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\InstallationState\GameSettings.cs:line 184
   at ISRTSCamera.UpdateTransform(Arcen.AIW2.Core.CameraSettings camSettings, Boolean AllowUpdateOfYPos, Single DeltaTimeToUse) in C:\vcprojs\arcengames_aiw_ultra\ArcenA\
IW2Visualization\src\iS.RTS Camera\ISRTSCamera.cs:line 270
   at ISRTSCamera.Update() in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Visualization\src\iS.RTS Camera\ISRTSCamera.cs:line 170

9/9/2017 8:46:17 PM
Error: tried to read non-existent setting 'CameraMain_MovementLerpSpeed'

   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in C:\vcprojs\\
arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 140
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenU\
niversal\src\UtilityLibraries\ArcenDebugging.cs:line 109
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\Arc\
enDebugging.cs:line 89
   at Arcen.AIW2.Core.GameSettings_AIW2.GetFloat(ArcenFloatSetting_AIW2 Setting) in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\InstallationState\GameSetting\
s.cs:line 119
   at Arcen.AIW2.Core.CameraSettings.get_MovementLerpSpeed() in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Core\src\Logic\InstallationState\GameSettings.cs:line 183
   at ISRTSCamera.UpdateTransform(Arcen.AIW2.Core.CameraSettings camSettings, Boolean AllowUpdateOfYPos, Single DeltaTimeToUse) in C:\vcprojs\arcengames_aiw_ultra\ArcenA\
IW2Visualization\src\iS.RTS Camera\ISRTSCamera.cs:line 288
   at ISRTSCamera.Update() in C:\vcprojs\arcengames_aiw_ultra\ArcenAIW2Visualization\src\iS.RTS Camera\ISRTSCamera.cs:line 170

9/9/2017 8:46:17 PM
Error: tried to read non-existent setting 'CameraMain_ZoomLerpSpeed'

   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in C:\vcprojs\\
arcengames_aiw_ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 140
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in C:\vcprojs\arcengames_aiw_ultra\ArcenU\
<repeat>
« Last Edit: September 10, 2017, 06:40:24 PM by BadgerBadger »

Offline keith.lamothe

  • Arcen Games Staff
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,321
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #16 on: September 09, 2017, 11:59:18 PM »
Linux now sees
Error: tried to read non-existent setting 'CameraMain_RotationLerpSpeed'
Well, at least it's getting to the point of executing our code. On Linux, anyway. I assume OSX is still in "not gonna do it, wouldn't be prudent" mode.

What's in your GameData/Configuration/Setting/KDL_Settings.xml in that copy? Or is that file or path missing?
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline BadgerBadger

  • Hero Member
  • *****
  • Posts: 668
  • BadgerBadgerBadgerBadger
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #17 on: September 10, 2017, 12:38:20 AM »
Hmmm. Fascinating. The errors I'm getting seem to be completely in Core code, but I checked a fresh version of Linux out and it is working fine. Perhaps something went wrong in my upgrade process, or somehow my mods broke things (seems  unlikely since it was working fine before I started upgrading). I'll look into it more in the morning.

Offline BadgerBadger

  • Hero Member
  • *****
  • Posts: 668
  • BadgerBadgerBadgerBadger
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #18 on: September 10, 2017, 01:21:25 PM »
Okay, I just checked out a fresh steam install and it fails thusly on linux:

Offline keith.lamothe

  • Arcen Games Staff
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,321
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #19 on: September 10, 2017, 03:26:31 PM »
Okay, I just checked out a fresh steam install and it fails thusly on linux:
Thanks. Looks like it failed to load System.Xml.Dll, and thus failed to load any of the xml data (including settings), and died horribly as a result.

In your AIWar2Linux_Data/Managed/ folder, do you have a System.XML.dll or System.Xml.dll file? Note the case. If it's XML, rename it to Xml, and see if that helps. My inner engineer hopes that's not the problem, as it would imply some cringe-worthy things, but as pragmatist I wouldn't mind it being so easy :)
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline BadgerBadger

  • Hero Member
  • *****
  • Posts: 668
  • BadgerBadgerBadgerBadger
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #20 on: September 10, 2017, 06:03:03 PM »
"cp System.XML.dll System.Xml.dll" seems to have fixed the problem on a new installation. My old install still gives me

Code: [Select]
Found path: /home/user/AIWar2/AIWar2Linux.x86_64
There is no data folder
##utp:{"type":"MemoryLeaks","allocatedMemory":1360,"memoryLabels":[{"Manager":104},{"Terrain":176},{"PoolAlloc":-176},{"GI":1256}]}

Not sure about that, but if a fresh install works then I can live with that and just copy over my local mods

Offline keith.lamothe

  • Arcen Games Staff
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,321
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #21 on: September 10, 2017, 09:53:16 PM »
"cp System.XML.dll System.Xml.dll" seems to have fixed the problem on a new installation.
Awesome, glad to see something yield to a reasonable fix. I can change the build process to make sure that dll is copied with the right case.

Quote
My old install still gives me (...) There is no data folder (...)
I think there was something wrong with one of the builds I did where it just stopped early in the process of emitting the linux stuff. I corrected that in a later push, so I don't know why you would still not have a properly populated data folder. Is your old install still getting normal steam updates?

Is OSX still down? Any change if you ensure its System.Xml.dll is spelled right?

The "* Assertion at domain.c:1471, condition `mono_defaults.monotype_class != 0' not met" in your last (iirc) OSX trace is interesting, I initially thought it was nunit related when I found this:

https://stackoverflow.com/questions/34891349/nunit-on-mono-osx-will-not-run-tests-mono-defaults-runtimetype-class-0

But really that just means "it failed an assertion in the mono runtime itself", which isn't surprising. But when I look up the code for that file:

https://github.com/mono/mono/blob/master/mono/metadata/domain.c

I don't find that assert on line 1471 or anywhere within. The string "monotype_class" does not occur in the entire repository, apparently. If there's a better way of searching that (since we're dealing with a different version of mono, notably), please let me know.

I'm guessing it's due to me using the wrong version of some dll or mispelling it or something like that.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline BadgerBadger

  • Hero Member
  • *****
  • Posts: 668
  • BadgerBadgerBadgerBadger
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #22 on: September 10, 2017, 09:56:26 PM »
I've erased my old install, so I can't tell you. Hopefully noone else hits similar problems.

 I haven't dug out my OSX machine today, I'll try it tomorrow if I get the chance.

Offline keith.lamothe

  • Arcen Games Staff
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,321
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #23 on: September 11, 2017, 10:55:47 AM »
I haven't dug out my OSX machine today, I'll try it tomorrow if I get the chance.
Chris just did another push, so hopefully OSX should work again now, assuming the problem was build-process-related. So let me know if it works now and if it does then I can focus on analyzing the diffs between what he did and what I did.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline BadgerBadger

  • Hero Member
  • *****
  • Posts: 668
  • BadgerBadgerBadgerBadger
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #24 on: September 11, 2017, 11:08:19 AM »
OSX now works! Hurray! However, the UI scaling change exhibits the same problem as on Linux.

Offline TheVampire100

  • Hero Member Mark III
  • *****
  • Posts: 1,248
  • Ordinary Vampire
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #25 on: September 11, 2017, 11:56:34 AM »
Oh, wow, and I thought this would become eventually a meme.

Offline Cinth

  • Global Moderator
  • Core Member Mark II
  • *****
  • Posts: 2,527
  • Resident Zombie
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #26 on: September 12, 2017, 12:53:01 AM »
Quote
and the Dyson Sphere looks amazing. I think there needs to be code to prevent it from covering other interesting things. The superterminal is almost hidden under the Dyson Sphere on one map, which isn't really desirable.
Glad to hear it looks good; I haven't actually seen it in-game yet. Good point on not covering things.


Should be a radius adjustment.
Quote from: keith.lamothe
Opened your save. My computer wept. Switched to the ST planet and ship icons filled my screen, so I zoomed out. Game told me that it _was_ totally zoomed out. You could seriously walk from one end of the inner grav well to the other without getting your feet cold.

Offline keith.lamothe

  • Arcen Games Staff
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,321
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #27 on: September 12, 2017, 08:29:31 AM »
Oh, wow, and I thought this would become eventually a meme.
You'll have to be more specific.


Should be a radius adjustment.
Are you calling me fat?

;)

A very good point.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Cinth

  • Global Moderator
  • Core Member Mark II
  • *****
  • Posts: 2,527
  • Resident Zombie
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #28 on: September 12, 2017, 09:54:37 AM »
Quote from: Cinth on Yesterday at 10:53:01 PM
Should be a radius adjustment.
Are you calling me fat?

 ;)

A very good point.


 :)
You said it...
Quote from: keith.lamothe
Opened your save. My computer wept. Switched to the ST planet and ship icons filled my screen, so I zoomed out. Game told me that it _was_ totally zoomed out. You could seriously walk from one end of the inner grav well to the other without getting your feet cold.

Offline TheVampire100

  • Hero Member Mark III
  • *****
  • Posts: 1,248
  • Ordinary Vampire
Re: AI War 2 v0.518 Released! "Active Selections and Capturing the Uncapturable"
« Reply #29 on: September 12, 2017, 11:50:20 AM »
You'll have to be more specific.
That OSX isn't working and the constant fixing of it.