Author Topic: Bugs & Crash Reports  (Read 1456819 times)

Offline RolandVasko

  • Colonel
  • ****
  • Posts: 181
    • View Profile
Re: Bugs & Crash Reports
« Reply #3495 on: January 31, 2020, 03:15:13 am »
well, a little bit ..cleaner, but still  anywayz.. :/

how to correctly add, /install all those little (sub)mods? ??  for fluenly, errorlessly running? 



[31-01-2020_02-06-56]   [INFO]   OpenXcom Version: Extended 6.1.1 (v2019-11-02)
[31-01-2020_02-06-56]   [INFO]   Platform: Windows 64 bit
[31-01-2020_02-06-56]   [INFO]   Data folder is:
[31-01-2020_02-06-56]   [INFO]   Data search is:
[31-01-2020_02-06-56]   [INFO]   - C:/Users/LytaRyta/Documents/OpenXcom/
[31-01-2020_02-06-56]   [INFO]   - C:/DATA~~(D)/Games/Dioxine_XPiratez_K2/
[31-01-2020_02-06-56]   [INFO]   User folder is: C:/DATA~~(D)/Games/Dioxine_XPiratez_K2/user/
[31-01-2020_02-06-56]   [INFO]   Config folder is: C:/DATA~~(D)/Games/Dioxine_XPiratez_K2/user/
[31-01-2020_02-06-56]   [INFO]   Options loaded successfully.
[31-01-2020_02-06-56]   [INFO]   SDL initialized successfully.
[31-01-2020_02-06-56]   [INFO]   SDL_mixer initialized successfully.
[31-01-2020_02-06-56]   [INFO]   Attempted locale:
[31-01-2020_02-06-56]   [INFO]   Detected locale: C
[31-01-2020_02-06-56]   [INFO]   Attempting to set display to 640x480x8...
[31-01-2020_02-06-56]   [INFO]   Display set to 640x480x8.
[31-01-2020_02-06-56]   [INFO]   Loading data...
[31-01-2020_02-06-56]   [INFO]   Scanning standard mods in ''...
[31-01-2020_02-06-56]   [INFO]   Scanning user mods in 'C:/DATA~~(D)/Games/Dioxine_XPiratez_K2/user/'...
[31-01-2020_02-06-56]   [WARN]   scanModDir('C:/DATA~~(D)/Games/Dioxine_XPiratez_K2/user/', 'mods'): Can't scan Black_Cat Mod, skipping.
[31-01-2020_02-06-56]   [ERROR]   FileMap::mapExtResources(xcom2, TFTD): external resources not found.
[31-01-2020_02-06-57]   [INFO]   Active mods:
[31-01-2020_02-06-57]   [INFO]   - xcom1 v1.0
[31-01-2020_02-06-57]   [INFO]   Loading rulesets...
[31-01-2020_02-06-58]   [WARN]   disabling mod with invalid ruleset: xcom1
[31-01-2020_02-06-58]   [ERROR]   failed to load 'UFO: Enemy Unknown / X-Com: UFO Defense'; mod disabled
Error for 'CYBERDISC_WEAPON': offset '-2' has incorrect value in set 'BIGOBS.PCK'




...another try :o :/

[31-01-2020_02-43-07]   [INFO]   OpenXcom Version: Extended 6.1.1 (v2019-11-02)
[31-01-2020_02-43-07]   [INFO]   Platform: Windows 64 bit
[31-01-2020_02-43-07]   [INFO]   Data folder is:
[31-01-2020_02-43-07]   [INFO]   Data search is:
[31-01-2020_02-43-07]   [INFO]   - C:/Users/LytaRyta/Documents/OpenXcom/
[31-01-2020_02-43-07]   [INFO]   - C:/DATA~~(D)/Games/Dioxine_XPiratez_K2/
[31-01-2020_02-43-07]   [INFO]   User folder is: C:/DATA~~(D)/Games/Dioxine_XPiratez_K2/user/
[31-01-2020_02-43-07]   [INFO]   Config folder is: C:/DATA~~(D)/Games/Dioxine_XPiratez_K2/user/
[31-01-2020_02-43-07]   [INFO]   Options loaded successfully.
[31-01-2020_02-43-07]   [INFO]   SDL initialized successfully.
[31-01-2020_02-43-07]   [INFO]   SDL_mixer initialized successfully.
[31-01-2020_02-43-07]   [INFO]   Attempted locale:
[31-01-2020_02-43-07]   [INFO]   Detected locale: C
[31-01-2020_02-43-07]   [INFO]   Attempting to set display to 640x480x8...
[31-01-2020_02-43-08]   [INFO]   Display set to 640x480x8.
[31-01-2020_02-43-08]   [INFO]   Loading data...
[31-01-2020_02-43-08]   [INFO]   Scanning standard mods in ''...
[31-01-2020_02-43-08]   [INFO]   Scanning user mods in 'C:/DATA~~(D)/Games/Dioxine_XPiratez_K2/user/'...
[31-01-2020_02-43-13]   [ERROR]   FileMap::mapExtResources(xcom2, TFTD): external resources not found.
[31-01-2020_02-43-13]   [INFO]   Active mods:
[31-01-2020_02-43-13]   [INFO]   - piratez v0.99IJ4 OXCE 3.10b 14-Jul-2018
[31-01-2020_02-43-13]   [INFO]   Loading rulesets...
[31-01-2020_02-43-14]   [WARN]   disabling mod with invalid ruleset: xcom1
[31-01-2020_02-43-14]   [ERROR]   cannot find broken mod in mods list: xcom1
[31-01-2020_02-43-14]   [ERROR]   clearing mods list
[31-01-2020_02-43-14]   [ERROR]   failed to load 'UFO: Enemy Unknown / X-Com: UFO Defense'; mod disabled
Error for 'CYBERDISC_WEAPON': offset '-2' has incorrect value in set 'BIGOBS.PCK'
« Last Edit: January 31, 2020, 03:48:00 am by RolandVasko »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11448
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs & Crash Reports
« Reply #3496 on: January 31, 2020, 11:22:08 am »
You're trying to run Piratez with the wrong OXCE version. Use the one provided with the mod.

If it still doesn't work, come again.

Offline RolandVasko

  • Colonel
  • ****
  • Posts: 181
    • View Profile
Re: Bugs & Crash Reports
« Reply #3497 on: February 05, 2020, 11:21:00 am »
ook, already running well, thx,

just 1minor ..fringe thing - now i just started (for try and look for news) new campaign, and besides those 3 obligates very first entry topics for "research" (meetings at hall, look-around at machinery, visit nearby town, and hire local peasants), it gives any Space Monster as i suppose by look-at, Harbinger of (from) Hell :o :S lôl

(..what is, apparently, and suppoesly middle, - near end game tier.. thing to research..

Offline Rubber Cannonball

  • Colonel
  • ****
  • Posts: 195
    • View Profile
Re: Bugs & Crash Reports
« Reply #3498 on: February 05, 2020, 11:00:12 pm »
ook, already running well, thx,

just 1minor ..fringe thing - now i just started (for try and look for news) new campaign, and besides those 3 obligates very first entry topics for "research" (meetings at hall, look-around at machinery, visit nearby town, and hire local peasants), it gives any Space Monster as i suppose by look-at, Harbinger of (from) Hell :o :S lôl

(..what is, apparently, and suppoesly middle, - near end game tier.. thing to research..

It is relatively easy to bork up the research tree and have something show up at the very beginning that shouldn't.  Perhaps you have a conflicting mod installed.

Offline Eddie

  • Commander
  • *****
  • Posts: 560
    • View Profile
Re: Bugs & Crash Reports
« Reply #3499 on: February 10, 2020, 11:49:24 pm »
I wrote a script that fixes the pirate flag morale inversion issues. Now the pirate flag will not reduce the morale of your troops with bravery >100.

Code: [Select]
items:
  - type: STR_PIRATE_FLAG
    tags:
      IS_BATTLECRY: 1
  - type: STR_PIRATE_PIPES
    tags:
      IS_BATTLECRY: 1
  - type: STR_PIRATE_GUITAR
    tags:
      IS_BATTLECRY: 1
     
extended:
  tags:
    RuleItem:
      IS_BATTLECRY: int

  scripts:
    damageUnit:
      - offset: 1
        code: |
          var ptr RuleItem item_rule;
          var int temp;
         
          damaging_item.getRuleItem item_rule;
          item_rule.getTag temp Tag.IS_BATTLECRY;  #check if attacking item is pirate flag
          if neq temp 0;
            unit.Stats.getBravery temp;  #check if bravery is >100
            if gt temp 100;
              set to_morale 0;           #prevent the item from affecting moral,
            end;                         #which it would reduce for bravery >100
          end;
          clear temp;
         
          return;

A similar approach can be used to fix similar inversions for example in fire and plasma damage. (Right now, getting hit by fire or plasma will increase your morale if bravery >100). But I don't know where this inversion is a feature and not a bug. Need Dioxines input for that.

File with script is attached, simply place it in the ruleset folder of piratez mod.
« Last Edit: February 10, 2020, 11:53:45 pm by Eddie »

Offline legionof1

  • Moderator
  • Commander
  • ***
  • Posts: 1899
  • Bullets go that way. Money comes this way.
    • View Profile
Re: Bugs & Crash Reports
« Reply #3500 on: February 11, 2020, 04:52:41 pm »
Thank you for the effort but this has been discussed before and is intended. I personally disagree because it's counterintuitve to understand for most players.

Offline Eddie

  • Commander
  • *****
  • Posts: 560
    • View Profile
Re: Bugs & Crash Reports
« Reply #3501 on: February 11, 2020, 09:26:35 pm »
Are you sure it's intended specifically for the battle flag? Please post a link to that discussion, I would really like to know the arguments for why this is a good idea.

Offline amjh

  • Sergeant
  • **
  • Posts: 17
    • View Profile
Re: Bugs & Crash Reports
« Reply #3502 on: February 12, 2020, 04:22:41 am »
I wish high-level bravery would be rebalanced in general, but that would require an engine update and data file updates to unmodded content.

Offline Rubber Cannonball

  • Colonel
  • ****
  • Posts: 195
    • View Profile
Re: Bugs & Crash Reports
« Reply #3503 on: February 12, 2020, 05:28:47 am »
Are you sure it's intended specifically for the battle flag? Please post a link to that discussion, I would really like to know the arguments for why this is a good idea.

Perhaps you never saw this post in the OXCE main thread:

So morale damage is no longer inversed when above BRA 110? Not a big thing, but, EDDIE, why? Why did you do that to me? Why do you hate me? (We both know that only Piratez use >110 BRA) I just only learned about it now.

As to why he wants it that way, you'll have to ask him.  My guess is perhaps ultra high bravery is a form of insanity.  :)

Offline legionof1

  • Moderator
  • Commander
  • ***
  • Posts: 1899
  • Bullets go that way. Money comes this way.
    • View Profile
Re: Bugs & Crash Reports
« Reply #3504 on: February 12, 2020, 08:26:56 am »
snip
As to why he wants it that way, you'll have to ask him.  My guess is perhaps ultra high bravery is a form of insanity.  :)

That is in fact the design intent. If your so brave someone trying to root around in your skull is less annoying then a fly your probably well of the deep end. or a robot.

I don't have a direct quote to provide atm since the discussion i had with dioxine was on the discord server many months ago. But we had many days of discussion over it, and while i don't agree with it because it's unintuitive, that's the way

Offline Eddie

  • Commander
  • *****
  • Posts: 560
    • View Profile
Re: Bugs & Crash Reports
« Reply #3505 on: February 12, 2020, 08:10:46 pm »
I saw how Dioxine reacted to my proposal. I never understood that reaction and never saw any arguments why he wants it that way. I'm just curious what the reasoning is, I'm sure there is one.

The only thing I could think of was to make some units much harder to mind control by making it impossible to lower their moral by psi panic attack. If the rest is then unintended side effects, that can be remedied by selective scripts as I tried to do here.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11448
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs & Crash Reports
« Reply #3506 on: February 12, 2020, 08:13:07 pm »
I saw how Dioxine reacted to my proposal. I never understood that reaction and never saw any arguments why he wants it that way. I'm just curious what the reasoning is, I'm sure there is one.

I remember he had some complex plans to use that feature, but I don't think it came to fruition.

Offline legionof1

  • Moderator
  • Commander
  • ***
  • Posts: 1899
  • Bullets go that way. Money comes this way.
    • View Profile
Re: Bugs & Crash Reports
« Reply #3507 on: February 13, 2020, 07:23:33 am »
That is feature of the engine present in vanilla anything with 110 bravery or more is immune to MC and takes virtually no damage from panic(all non weapon morale hits for that matter). It's how you make robots be robots when it comes to psi. But robots don't have commendations and bravery buffs from gear either.

Beyond 110 is the untouched realm of the wierdness, only present in mods(and even then very few).

Offline Khazaar

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Re: Bugs & Crash Reports
« Reply #3508 on: February 14, 2020, 02:59:54 pm »
I noticed two things that might be bugs:

Training neposim doesnt remove the crewmembers from that available training unlike other trainings. It would be nice if the cremembers would dissapear bc I retrainded a Gal by accident and it doesnt do anything, it just costs money...

Training MMA on very high skilled members (eg. Freaks or very powerful Gals) actaully reduces hp freshness and other skills, I´m not sure if that is intended or a bug.

Offline Eddie

  • Commander
  • *****
  • Posts: 560
    • View Profile
Re: Bugs & Crash Reports
« Reply #3509 on: February 14, 2020, 03:16:23 pm »
@Khazaar

Needs two added lines to prevent double nepotism. But I'm not sure if it's feature or bug. I've attached a file where I changed it, needs to replace the current one in your mod folder.

Transformations reducing stats is a mix of engine limitation and balance. I've explained it here https://openxcom.org/forum/index.php/topic,5345.msg121385.html#msg121385