Author Topic: Bugs, crashes, typos & bad taste  (Read 1389692 times)

Offline Kammerer

  • Colonel
  • ****
  • Posts: 141
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #615 on: July 29, 2017, 08:17:48 pm »
Some more typos:

Quote
M83 Barett Clip
       
Quote
This hangun is the remarkable hybridization
       
magnum rounds - maybe it would be better to write it with a capital?
       
Miscatonic Valley - it should be "Miskatonic" if it is a toponym taken from the world of Lovecraft.
       
STR_BADASS_CHRYSSALID_TERRORIST - an empty string.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #616 on: July 29, 2017, 10:28:02 pm »
Many thanks, all fixed.

Offline tkzv

  • Commander
  • *****
  • Posts: 583
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #617 on: July 30, 2017, 03:21:02 am »
When I get Ironfist, two messages appear: that I can now make it and that I can now rent it. But I'm not allowed to rent it. Bug?

I researched Ethereal Guardian and Ethereal Speaker and got nothing. Is this correct?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #618 on: July 30, 2017, 11:09:28 am »
When I get Ironfist, two messages appear: that I can now make it and that I can now rent it. But I'm not allowed to rent it. Bug?

Sounds like a bug, but I can't find any problems.

Does the same happen with other craft you manufacture?

I researched Ethereal Guardian and Ethereal Speaker and got nothing. Is this correct?

Depends on what you mean by "nothing":

Code: [Select]
    unlocks:
      - STR_ETHEREAL_ORDER
      - STR_ALIEN_ORIGINS
      - STR_ALIEN_DIPLOMACY
      - STR_ENVOY_SHIP
    getOneFree:
      - STR_STAY_ALONE_STAY_ALIVE

If you've had all of this already, then yeah, there would be nothing.

Offline tkzv

  • Commander
  • *****
  • Posts: 583
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #619 on: July 30, 2017, 01:55:14 pm »
Sounds like a bug, but I can't find any problems.

Does the same happen with other craft you manufacture?
I did not pay attention, but I think both messages — rent and manufacture — appeared for the majority of researched craft. I got all but Ironfist in an earlier version: probably mod 0.6.5 and engine from around June.

Right now I can manufacture: airborne Mudranger, Skyraider, Skyranger, Skymarshall, Ironfist, Interceptor, Raven, Thunderstorm, Sentinel. I can purchase or rent: Awacs, Mudranger, vans and cars, helicopter, Dragonfly, MiG-31.

I did not pay attention earlier, but turns out, I'm paying monthly rent for Skymarshalls, Thunderstorms and Ravens I manufactured.

Depends on what you mean by "nothing":

Code: [Select]
    unlocks:
      - STR_ETHEREAL_ORDER
      - STR_ALIEN_ORIGINS
      - STR_ALIEN_DIPLOMACY
      - STR_ENVOY_SHIP
    getOneFree:
      - STR_STAY_ALONE_STAY_ALIVE

If you've had all of this already, then yeah, there would be nothing.
I already had Etherial Order and Alien Origins. I researched both Guardian and Speaker simultaneously and Alien Diplomacy was added to Ufopaedia, but there was no message about it. Also, before I finished the research, the tech tree viewer displayed Alien Diplomacy in purple, not white. UPDATE: Alien Diplomacy appears after I research only one of them, no matter who.

By the way, what item do I need to research Envoy Ship and where do I get it? I captured the ship that carried Guardian and Speaker, I researched Guardian and Speaker, but Envoy Ship doesn't appear in the research topics list.
« Last Edit: July 30, 2017, 02:03:52 pm by tkzv »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #620 on: July 30, 2017, 02:24:21 pm »
The issue with the messages is probably because manufacturable craft also have rent costs, to represent maintenance. I think the "you can now rent" message was introduced later and a conflict emerged.
I will talk to Meridian about this, but he's currently out of office, so it will take some time.

As for the envoy ship, I honestly can't remember, but you can try the tech tree viewer.

Offline tkzv

  • Commander
  • *****
  • Posts: 583
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #621 on: July 30, 2017, 03:04:02 pm »
As for the envoy ship, I honestly can't remember, but you can try the tech tree viewer.
The viewer says the topic "Envoy Ship" requires an item "Envoy Ship" and is unlocked by by Ethereal Guardian or Speaker. I'm asking what this item is and where to get it.

And don't forget the other problem with the viewer — it displayed "Alien Diplomacy" as researched when it was not.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #622 on: July 30, 2017, 05:40:58 pm »
The viewer says the topic "Envoy Ship" requires an item "Envoy Ship" and is unlocked by by Ethereal Guardian or Speaker. I'm asking what this item is and where to get it.

Good point! It was a bug. Fixing.

And don't forget the other problem with the viewer — it displayed "Alien Diplomacy" as researched when it was not.

Are you sure? Elite Ethereals should unlock it.

Offline tkzv

  • Commander
  • *****
  • Posts: 583
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #623 on: July 30, 2017, 07:48:39 pm »
Are you sure? Elite Ethereals should unlock it.
I was pretty sure it was displayed in purple before I finished researching elite Ethereals. But now I can't reproduce it. Probably mistook search results for the list in the topic.

Which reminded me of another problem. Infrequently an agent suddenly loses all time units. It never reproduces in the same circumstances. Is it a known bug, or am I accidentally hitting some secret key combination for "expend all TUs"?

No string for STR_TASOTH_FACTORY_AVAILABLE when the mission is announced the first time.

Studying Tasoth Commando does not open Ufopaedia entry for Tasoth.
« Last Edit: July 30, 2017, 11:24:38 pm by tkzv »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #624 on: July 31, 2017, 12:38:32 am »
Which reminded me of another problem. Infrequently an agent suddenly loses all time units. It never reproduces in the same circumstances. Is it a known bug, or am I accidentally hitting some secret key combination for "expend all TUs"?

You could be. :) Because I haven't experienced it.

BTW this function is available from the button, so it would make sense there is some key bounded to it.

No string for STR_TASOTH_FACTORY_AVAILABLE when the mission is announced the first time.

Thanks, fixed.

Studying Tasoth Commando does not open Ufopaedia entry for Tasoth.

Thanks, also fixed.

Offline mumble

  • Colonel
  • ****
  • Posts: 338
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #625 on: July 31, 2017, 03:10:10 am »
Just want to add, hitting delete functions to clear all TU's if you hit it. This might be your problem right here, if you have a cat on your keyboard or something

 key is handy if  you want to avoid blowing apart a cultist you want alive, though.   

Offline tkzv

  • Commander
  • *****
  • Posts: 583
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #626 on: July 31, 2017, 05:03:30 am »
Thanks, fixed.
Same for STR_ALERT_COMRCURBAN_CORP_1 and STR_ALERT_COMRCURBAN_CORP_2.

Just want to add, hitting delete functions to clear all TU's if you hit it. This might be your problem right here, if you have a cat on your keyboard or something
Thanks. I am very unlikely to press "Del" by accident, thus I never tried it when trying to reproduce :) Could be it.


Another missing string: STR_SYNDICATE_RETALIATION.

Another trouble with staircases, this time in the Apocalypse Outpost mission. The staircases in the corner towers are treated as impassable. See the attached "Temple of Apocalypse staircases.sav"

The algorithm that generates mission maps occasionally creates maps with unreachable sections. It is not much of a problem for farms and even Cyberweb, but some missions in zombie catacombs are unwinnable, because the walls are too thick to break. See the attached "zombies locked.sav".

I understand that's more of a problem with the engine, but is there any way to mitigate it? How should I go about reproducing and reporting it in the vanilla version?
« Last Edit: August 02, 2017, 12:48:05 am by tkzv »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #627 on: August 02, 2017, 08:55:35 pm »
Thanks for the missing string reports tkzv, fixed.

Another trouble with staircases, this time in the Apocalypse Outpost mission. The staircases in the corner towers are treated as impassable. See the attached "Temple of Apocalypse staircases.sav"

More than that; something's very wrong with this tileset. I think I fixed it now.

The algorithm that generates mission maps occasionally creates maps with unreachable sections. It is not much of a problem for farms and even Cyberweb, but some missions in zombie catacombs are unwinnable, because the walls are too thick to break. See the attached "zombies locked.sav".

I understand that's more of a problem with the engine, but is there any way to mitigate it? How should I go about reproducing and reporting it in the vanilla version?

No please don't report it, it's my fault.

I've never had this problem in catacombs, but I guess it's a matter of luck... I'm not sure how to fix that except making all mapblocks boring.

Offline tkzv

  • Commander
  • *****
  • Posts: 583
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #628 on: August 02, 2017, 11:37:09 pm »
I've never had this problem in catacombs, but I guess it's a matter of luck... I'm not sure how to fix that except making all mapblocks boring.
Yes, it's uncommon and hard to reproduce. But I've seen this even on the farms, so it's not just your tilesets' fault.

What is responsible for map generation? Only the engine, or the mod? Can the mod access the pathfinding algorithm? Can you add a check if it's possible to walk to each block from the first block? And repeat generation if the check fails. This will increase the time for map generation, but since bad maps are uncommon, it won't need to repeat more than once.

Speaking of maps, there's a problem with 2x2 monsters (spider queens, shamblers, megaworms) in caves. Most of the time they are confined to a small area and can't leave it. Of course, this makes the game easier :), but still isn't right. If there's a big monster, the majority of passages should be wide enough. Unless someone deliberately placed them there and feeds them :)
« Last Edit: August 03, 2017, 12:34:46 am by tkzv »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #629 on: August 04, 2017, 08:23:27 pm »
What is responsible for map generation? Only the engine, or the mod? Can the mod access the pathfinding algorithm? Can you add a check if it's possible to walk to each block from the first block? And repeat generation if the check fails. This will increase the time for map generation, but since bad maps are uncommon, it won't need to repeat more than once.

To be very concise, every map consists of blocks. Blocks are either 10x10 or 20x20 (theoretically can be bigger, but it's hardly ever used, except for UFOs). The map size is specified by deployment (for example, per UFO, per mission, etc.) - for example, 50x50. Map blocks are picked randomly to fill the map.

Now, this process can be tweaked with so called map scripts. The simplest script possible would be "fill everything with normal 10x10 blocks". Such a script would look like this:

Code: [Select]
  - type: SOME_TERRAIN
    commands:
    - type: fillArea

It wouldn't be a very good map script though, as it wouldn't allow spawning any X-Com soldiers (except if you add X-Com spawns to one of the blocks, but there would be no guarantee this block would be picked)... So in practice it also contains some additional commands, like "add craft", "add this special block where X-Com spawns on", "add UFO" etc. Spawning 20x20 blocks also requires special command, like "put 3 such blocks in random positions (and then fill the rest with small blocks)". But there are also more advanced script commands, which allow to draw roads or spawn a particular block in a particular place etc.

So... the answer is, one could think of some very complex script that would put some sort of limits on map generation... But it's hard work and I'm not prepared to do it at the moment.

Speaking of maps, there's a problem with 2x2 monsters (spider queens, shamblers, megaworms) in caves. Most of the time they are confined to a small area and can't leave it. Of course, this makes the game easier :), but still isn't right. If there's a big monster, the majority of passages should be wide enough. Unless someone deliberately placed them there and feeds them :)

If you spot something like this, please let me know (with a screenshot). This is a map design problem - when such tight spots have spawn nodes, they should be specifically unavailable for large units. But sometimes this special limitation may be missing from a node - I fixed many, but possibly not all.
« Last Edit: August 04, 2017, 08:25:02 pm by Solarius Scorch »