Report - Current Bugs and Issues

A forum for chatting about in-development game features.
Dragar
Posts: 119
Joined: Wed Mar 21, 2018 12:20 pm

Re: Report - Current Bugs and Issues

Postby Dragar » Fri Dec 31, 2021 12:27 pm

Alas, the bug has returned and I can't migrate my way out of it this time.

Code: Select all

[code]
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85: chibi is missing required field: race -> nil
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85:get_icon:
 Lua state\GUI\~GalaxyMap\@ReportNotificationIcon.lua:67:add_star_map_element:happy_colonists:
  Lua state\GUI\~GalaxyMap\@ReportIcons.lua:823:
   Lua state\GUI\~GalaxyMap\@ReportIcons.lua:812:report_elements:happy_colonists:
    Lua state\GUI\~GalaxyMap\@MapElement.lua:297:gather_map_elements
warning! missing function callback for key "2445"
warning! missing function callback for key "2416"
warning! missing function callback for key "2421"
warning! missing function callback for key "2423"
warning! missing function callback for key "2422"
warning! missing function callback for key "2280"
warning! missing function callback for key "all_reports[10306]._ref"
warning! missing function callback for key "2417"
warning! missing function callback for key "all_reports[10307]._ref"
warning! missing function callback for key "all_reports[10303]._ref"
warning! missing function callback for key "all_reports[10357]._ref"
warning! missing function callback for key "all_reports[10334]._ref"
warning! missing function callback for key "2275"
warning! missing function callback for key "2385"
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85: chibi is missing required field: race -> nil
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85:get_icon:
 Lua state\GUI\~GalaxyMap\@ReportNotificationIcon.lua:48:
  Lua state\GUI\~GalaxyMap\@ReportIcons.lua:694:
   Lua state\GUI\~GalaxyMap\@ReportIcons.lua:733:
    Lua state\GUI\~GalaxyMap\@ReportIcons.lua:927:draw_reports
[/code]

zolobolo
Posts: 1544
Joined: Fri Nov 25, 2016 3:49 pm

Re: Report - Current Bugs and Issues

Postby zolobolo » Fri Dec 31, 2021 1:07 pm

Dragar wrote:Alas, the bug has returned and I can't migrate my way out of it this time.

Code: Select all

[code]
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85: chibi is missing required field: race -> nil
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85:get_icon:
 Lua state\GUI\~GalaxyMap\@ReportNotificationIcon.lua:67:add_star_map_element:happy_colonists:
  Lua state\GUI\~GalaxyMap\@ReportIcons.lua:823:
   Lua state\GUI\~GalaxyMap\@ReportIcons.lua:812:report_elements:happy_colonists:
    Lua state\GUI\~GalaxyMap\@MapElement.lua:297:gather_map_elements
warning! missing function callback for key "2445"
warning! missing function callback for key "2416"
warning! missing function callback for key "2421"
warning! missing function callback for key "2423"
warning! missing function callback for key "2422"
warning! missing function callback for key "2280"
warning! missing function callback for key "all_reports[10306]._ref"
warning! missing function callback for key "2417"
warning! missing function callback for key "all_reports[10307]._ref"
warning! missing function callback for key "all_reports[10303]._ref"
warning! missing function callback for key "all_reports[10357]._ref"
warning! missing function callback for key "all_reports[10334]._ref"
warning! missing function callback for key "2275"
warning! missing function callback for key "2385"
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85: chibi is missing required field: race -> nil
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85:get_icon:
 Lua state\GUI\~GalaxyMap\@ReportNotificationIcon.lua:48:
  Lua state\GUI\~GalaxyMap\@ReportIcons.lua:694:
   Lua state\GUI\~GalaxyMap\@ReportIcons.lua:733:
    Lua state\GUI\~GalaxyMap\@ReportIcons.lua:927:draw_reports
[/code]


I just got this exact error right now as well :)

Code: Select all

Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85: chibi is missing required field: race -> nil
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85:get_icon:
 Lua state\GUI\~GalaxyMap\@ReportNotificationIcon.lua:67:add_star_map_element:happy_colonists:
  Lua state\GUI\~GalaxyMap\@ReportIcons.lua:823:
   Lua state\GUI\~GalaxyMap\@ReportIcons.lua:812:report_elements:happy_colonists:
    Lua state\GUI\~GalaxyMap\@MapElement.lua:297:gather_map_elements
warning! missing function callback for key "all_reports[10293]._ref"
warning! missing function callback for key "all_reports[10288]._ref"
warning! missing function callback for key "all_reports[10292]._ref"
warning! missing function callback for key "1410"
warning! missing function callback for key "1433"
warning! missing function callback for key "1430"
warning! missing function callback for key "1434"
warning! missing function callback for key "all_reports[10291]._ref"
warning! missing function callback for key "1427"
warning! missing function callback for key "all_reports[10290]._ref"
warning! missing function callback for key "all_reports[10289]._ref"
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85: chibi is missing required field: race -> nil
Lua state\GUI\~GalaxyMap\@MoraleReports.lua:85:get_icon:
 Lua state\GUI\~GalaxyMap\@ReportNotificationIcon.lua:48:
  Lua state\GUI\~GalaxyMap\@ReportIcons.lua:694:
   Lua state\GUI\~GalaxyMap\@ReportIcons.lua:733:
    Lua state\GUI\~GalaxyMap\@ReportIcons.lua:927:draw_reports


Uploaded save: Game10302

The reason for this error in my case seems to have been a rebellion triggered due to starvation
If I resolved the starvation AND prevented the rebellion to trigger the issue seems to have been avoided but cants say if one or the other or a combination of the two have resulted in the crash

Dragar
Posts: 119
Joined: Wed Mar 21, 2018 12:20 pm

Re: Report - Current Bugs and Issues

Postby Dragar » Fri Dec 31, 2021 4:03 pm

Hm, the was no starvation in my game. Is it possibly a thing that happens due to reduction in population for other reasons (overpopulation?) maybe?

zolobolo
Posts: 1544
Joined: Fri Nov 25, 2016 3:49 pm

Re: Report - Current Bugs and Issues

Postby zolobolo » Fri Dec 31, 2021 4:52 pm

Dragar wrote:Hm, the was no starvation in my game. Is it possibly a thing that happens due to reduction in population for other reasons (overpopulation?) maybe?

Yes I also had overpopulation on the suspected planet - but the workaround doesnt match (building farm and putting a tank on the suspected planet) as these measures shoud not have affected overpopulation

zolobolo
Posts: 1544
Joined: Fri Nov 25, 2016 3:49 pm

Re: Report - Current Bugs and Issues

Postby zolobolo » Fri Dec 31, 2021 5:20 pm

zolobolo wrote:2018-12-13(37896) 'live'
Galactic council votes can now influence reputation.
2019-10-29(38584) 'live'
In the Galactic Council, AIs will no longer vote for allied empires if those empires have fleets that they judge to be weaker than their own.

So the adjustment regarding military power based voting does seem to have been implemented but while I can confirm the 2018 change has been working for a while I have never seen the effect of the 2019 change and the 2018 change does seem to have ceased to apply

Here is my proposal on how to handle the alteration attempt from 2019:
1. AI will vote on the player (or any other faction for that matter) if Allied + Higher Population
2. AI will reject the outcome If Higher Military owner then the winner (just like how the player gets the same option and will likely select reject in similar situation)
3. All factions that have elected the winner automatically declare war on all the factions that have rejected the result (which shoudl already be the case as it was implemented for the player already)

The nice thing about the above is that it keeps the election mechanic the same as in the 2018 version only based on pop and thus clear and simple
But it also allows for the same twist for the AIs when accepting the result as for the player - emulating their behavior even closer and allowing for the requested additional final conflict between alliance members where an AI faction is very strong in military but not that strong in population

To even better ensure that no conflict potential is lost the formula could be furhter fine-tuned to reject the results if military power is 80% or more of tha of the winner: this would allow conflict with evne those AI factions that are not clearly stronger but are still similarly strong, and if ther are more then one of these we get a perfect storm :)

gaerzi
Posts: 210
Joined: Wed Jul 10, 2019 1:30 pm

Re: Report - Current Bugs and Issues

Postby gaerzi » Sat Jan 01, 2022 10:40 am

Dragar wrote:I've narrowed this down - it looks to be related to having too many types of species on one planet? Removing all the Threshers from Bacab seemed to fix it.

It's not "too many races", it's some of the minor races that cause this issue, because they lack some of the "chibi" icons used for notifications. I believe that if you go to Lua state\GUI\~GalaxyMap\@MoraleReports.lua, line 85, and replace

Code: Select all

      return notification_icons.chibi![report.race]

with

Code: Select all

      return notification_icons.chibi[report.race] or notification_icons.chibi![remove_race_suffix | report.race]

that should fix the crash.

zolobolo
Posts: 1544
Joined: Fri Nov 25, 2016 3:49 pm

Re: Report - Current Bugs and Issues

Postby zolobolo » Sat Jan 01, 2022 6:35 pm

Atacking as tinkers with 3 tanks
One is lost and that loss should be prevented by the shield as far as I can tell:
Shield Effect.JPG
Shield Effect.JPG (41.67 KiB) Viewed 36713 times


But the transportes are left with only two tanks in the end:
Result.JPG
Result.JPG (113.49 KiB) Viewed 36713 times


Either I am reading the UI wrong and there were two losses - one applied and one prevetned by shield - or the shield effect was not applied at the end

User avatar
PrivateHudson
Posts: 206
Joined: Tue Feb 12, 2019 7:59 am
Location: Chelyabinsk, Russia

Re: Report - Current Bugs and Issues

Postby PrivateHudson » Sat Jan 01, 2022 8:45 pm

About the much discussed crash. In both cases when it struck me, and judging by stack trace, it's because discontent harmonized pop (Algorians and Lummox for me) has become content, and the game can't find appropriate race icon to display notification about it. Probably introduced since update that implemented harmonized discontents. Can't ignore the error message, because game has to display notification.

gaerzi
Posts: 210
Joined: Wed Jul 10, 2019 1:30 pm

Re: Report - Current Bugs and Issues

Postby gaerzi » Sun Jan 02, 2022 1:49 pm

PrivateHudson wrote:About the much discussed crash. In both cases when it struck me, and judging by stack trace, it's because discontent harmonized pop (Algorians and Lummox for me) has become content, and the game can't find appropriate race icon to display notification about it. Probably introduced since update that implemented harmonized discontents. Can't ignore the error message, because game has to display notification.

Yep. That's why I said editing the offending line so that it falls back to the normal race icon should fix the issue. Have you tested the code change I suggested?

zolobolo
Posts: 1544
Joined: Fri Nov 25, 2016 3:49 pm

Re: Report - Current Bugs and Issues

Postby zolobolo » Thu Jan 06, 2022 9:16 pm

Proportional mismatch for bases: Space Station seems like its enlarged or Shipyard shrinked (or maybe both :)):
Base Proportions.JPG
Base Proportions.JPG (34.08 KiB) Viewed 36529 times

zolobolo
Posts: 1544
Joined: Fri Nov 25, 2016 3:49 pm

Re: Report - Current Bugs and Issues

Postby zolobolo » Fri Jan 07, 2022 6:19 pm

Orthins have annexed the Tinkers and even though they did seem to inherit their MAchine Altar version of factories it does not seem to have the effect of havign the Tinker pops be harmonized on theri planet with these Altars:
Annexed Tinker Altar Effect.JPG
Annexed Tinker Altar Effect.JPG (67.59 KiB) Viewed 36489 times


This could make sense lore wise if we say that the Tinkers loose their sync ability when they give up independence and join the Orthin is otherwise a bug

User avatar
Centurion XXI
Posts: 21
Joined: Sat Nov 16, 2019 3:28 am
Location: Saint-Petersburg, Russia
Contact:

Re: Report - Current Bugs and Issues

Postby Centurion XXI » Fri Jan 07, 2022 7:43 pm

zolobolo wrote:a bug


I think: it is not error => the Tinkers lost their connection with the Dzibix.

gaerzi
Posts: 210
Joined: Wed Jul 10, 2019 1:30 pm

Re: Report - Current Bugs and Issues

Postby gaerzi » Sat Jan 08, 2022 11:14 am

Harmonized Tinkers would never willingly give up their connection to Dzibix, so either a diplomatic annexation should preserve it, or the Tinkers should never volunteer to be annexed.

User avatar
PrivateHudson
Posts: 206
Joined: Tue Feb 12, 2019 7:59 am
Location: Chelyabinsk, Russia

Re: Report - Current Bugs and Issues

Postby PrivateHudson » Sat Jan 22, 2022 5:30 am

gaerzi wrote:
PrivateHudson wrote:About the much discussed crash. In both cases when it struck me, and judging by stack trace, it's because discontent harmonized pop (Algorians and Lummox for me) has become content, and the game can't find appropriate race icon to display notification about it. Probably introduced since update that implemented harmonized discontents. Can't ignore the error message, because game has to display notification.

Yep. That's why I said editing the offending line so that it falls back to the normal race icon should fix the issue. Have you tested the code change I suggested?

Thank you, gaerzi, your fix works.

User avatar
PrivateHudson
Posts: 206
Joined: Tue Feb 12, 2019 7:59 am
Location: Chelyabinsk, Russia

Re: Report - Current Bugs and Issues

Postby PrivateHudson » Thu Jan 27, 2022 9:25 am

Although there is no line in tech tree between Artificial Organisms and Bionomics for Tinkers, the latter isn't attainable without the former.


Return to “Testing”

Who is online

Users browsing this forum: No registered users and 87 guests

cron