Avorion

Avorion

Increasing Threat
110 Comments
Rassilon 5 May @ 9:05am 
Slower incline of the Severness of the Pirate attacks would be a good thing for a Lite version.
Not sure if possible, but it would be cool if they only attack the Players ships.

Reason is:
i settled outside the Barrier in a NPC Faction. Despite me being quite ok geared ( i limit myself at Tech 37 and only use Xanion tho) they overran the sector. I managed to survive it, but Most NPC Stations got wiped.

also, with the stronger waves i have no mean to prevent them killing Cargo ships from AI in time. Wich means 180 Minutes = Dead Sector.


I tried a couple of times to bribe them, but got the message "We dont offer that Service at the Moment" or something like that.


I would like to make clear, that i really like the mod as it is and its probably very good balanced for people who do not shoot themselves in their feet :D
KnifeHeart  [author] 4 May @ 6:08pm 
What would you want to change in a lite version?
Rassilon 4 May @ 2:33am 
I really like the idea of that mod and it would be a blast in a regular Playthrough.
Sadly for my approach (handicapping myself for longer Playtime) its too hard.

Is there a way to adjust some screws in the file myself? Or would you consider doing an additional "lite" version?

Either Way, thanks for the work with this and other mods of yours.
KnifeHeart  [author] 5 Feb @ 1:22pm 
Both.
MarvinEhre 19 Jan @ 2:20pm 
Do the pirates attack all of my ships, or my player ship specifically?
Arsenaln't Shipnot 19 Jan @ 10:59am 
Wait, this is a way for me to get more pirate ships. Oh, this is perfect, thanks for making the mod.
biggey 2 Sep, 2024 @ 12:22pm 
Cool thanks for the info
KnifeHeart  [author] 2 Sep, 2024 @ 11:54am 
Yeah there's three ways.

1 - it will decrease slowly over time
2 - IIRC destroying pirate shipyards / clearing pirate sectors will lower it
3 - you can bribe some pirates.
biggey 29 Aug, 2024 @ 8:14pm 
is there a way to decrease threat somehow?
KnifeHeart  [author] 12 Jul, 2024 @ 6:13am 
... yes?
[R.P.C.]johnlemoore 11 Jul, 2024 @ 11:15pm 
does this even still work?
Enlonwhite 21 Sep, 2023 @ 4:52am 
I have loved this mod, feels like pirate being an actual threat. I have noticed two condtional things to address.
First, Using faction packs can make some pirate ships really really strong (not unbeatable just hard to kill)

Second, I setup faster events, aka pirate attacks happen more often. Which would seem not too bad until you take too long to kill them and another event happens soon after.
This second would not be so bad, but the Hazard zone timer was set to Ridiculous times of 160+ minutes a majority of the time. Which made it impossible to really get money/sell stuff from stations I had built.
I understand using multiple mods could cause some issues, but I dont understand how the hazard time go so large with the mods I have.

Still scalling threat feels better to have than not (just need get npc stations to get stronger XD)
KnifeHeart  [author] 10 May, 2023 @ 7:22am 
Awesome. Glad to hear it.
Amalek 9 May, 2023 @ 8:36pm 
Works great now! Thanks for the quick response and fix.
KnifeHeart  [author] 9 May, 2023 @ 7:42pm 
I believe that I've fixed the problem. Please let me know if you have any further issues.
Amalek 9 May, 2023 @ 5:43pm 
Awesome! I look forward to the update.
KnifeHeart  [author] 9 May, 2023 @ 11:55am 
I see where the issue is and I've fixed it. I'll test what I've done tonight.
Amalek 9 May, 2023 @ 9:37am 
C:\Users\jc\AppData\Roaming\Avorion\mods\2208370349\data/scripts/player/background/increasingthreatmails.lua:15: in function <C:\Users\jc\AppData\Roaming\Avorion\mods\2208370349\data/scripts/player/background/increasingthreatmails.lua:14>
Script "C:\Users\jc\AppData\Roaming\Avorion\mods\2208370349\data/scripts/player/background/increasingthreatmails.lua" or one of its requirements is not in its original state, skipping sending of stack trace.
Amalek 9 May, 2023 @ 9:37am 
Tried a new game with only IT & ESCC, still mail error for infiltrator but bribe mail works.

could not execute function 'IncreasingThreatMails.onInformantHired' in '"C:\Users\jc\AppData\Roaming\Avorion\mods\2208370349\data/scripts/player/background/increasingthreatmails.lua"':
C:\Users\jc\AppData\Roaming\Avorion\mods\2208370349\data/scripts/player/background/increasingthreatmails.lua:25: attempt to perform arithmetic on local '_DecapTime' (a nil value)
C:\Users\jc\AppData\Roaming\Avorion\mods\2208370349\data/scripts/player/background/increasingthreatmails.lua:25: in function 'sendUpdateMail'
KnifeHeart  [author] 7 May, 2023 @ 10:09pm 
That's really weird. It almost looks like you don't have the right version of it installed, or messed with the files or something. Not saying you did, but that you would cause it to get funky like that.

I don't think anything has been changed in this game for months, so all of the last test that I did should have been working. I'll fire it up again and see if I can figure it out.
Amalek 7 May, 2023 @ 9:24pm 
I used it before just fine but now i get all kinds of errors.

\AppData\Roaming\Avorion\mods\2208370349\data/scripts/player/background/increasingthreatmails.lua" or one of its requirements is not in its original state, skipping sending of stack trace.

\AppData\Roaming\Avorion\mods\2208370349\data/scripts/player/background/increasingthreatmails.lua:25: attempt to perform arithmetic on local '_DecapTime' (a nil value)

ShipAI:setStatus() is deprecated and will be removed in a future update. Use ShipAI:setStatusMessage() instead.

Side 2 Mission: Error: couldn't find blocked location

Error: No sector found at 99:146, min: 301, max: 330

FactionID [1] is not registered.

I run several other mods, extra missions mods and the SDK class core mods with lots of faction packs and custom turrets. Been messing around trying to figure out what might be the issue. Any advice would be awesome because i love your mod, great work.
KnifeHeart  [author] 7 May, 2023 @ 1:09am 
Yes.
Amalek 6 May, 2023 @ 12:59pm 
Does this mod still work? I have hired an informant and all I get is some pirate traits having nothing to do with their hate level toward me. No email received and cant seem to find it anywhere else.
KnifeHeart  [author] 22 Jan, 2023 @ 7:31am 
np.
RogueRaiden 22 Jan, 2023 @ 7:08am 
looks like that fixed it, only thing that posted now was the warning

WARNING / ERROR - entry was nil and _PlayerIndex is nil activating escape clause and terminating - if you can figure out why this happened please post a comment on the mod page @ https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2208370349 . Thanks!
RogueRaiden 22 Jan, 2023 @ 6:58am 
awesome, thank you! :D
KnifeHeart  [author] 21 Jan, 2023 @ 6:27pm 
Should be fixed.
KnifeHeart  [author] 21 Jan, 2023 @ 6:14pm 
Intriguing. Okay, I think I can fix that!
RogueRaiden 21 Jan, 2023 @ 11:59am 
yup, just double checked to be sure. pops after i log in
KnifeHeart  [author] 21 Jan, 2023 @ 11:56am 
So basically, you log in and that message appears immediately? Interesting. Innnnteresting.
RogueRaiden 21 Jan, 2023 @ 11:54am 
no other players. all i really had done was mine and prepare ships. some pirates had attacked the sector and got destroyed by the local authorities. that message appears right after logging into the server. im not sure if i had attacked any pirates at this point. i would assume yes.
KnifeHeart  [author] 21 Jan, 2023 @ 11:25am 
Interesting. I have more questions.

Do any players exist on the server at all? Have you done anything on the server yet? This happens _immediately_ after starting up?
RogueRaiden 21 Jan, 2023 @ 4:15am 
on starting this test server after updating the mod. i should still be the only player, no alliance has been created by me.

https://pastebin.com/23RZG47E
RogueRaiden 20 Jan, 2023 @ 12:22pm 
alrighty, no rush :)
KnifeHeart  [author] 20 Jan, 2023 @ 11:23am 
I'll see if I can figure something out either later this month or early next month.
KnifeHeart  [author] 20 Jan, 2023 @ 11:21am 
It's probably an alliance that caused this. Man do I hate how Alliances were implemented in this game.
KnifeHeart  [author] 20 Jan, 2023 @ 11:15am 
Boxel hasn't accounted for entry being null in their script so I have no idea how to deal with that.
RogueRaiden 20 Jan, 2023 @ 10:49am 
loaded into the galaxy after restarting the server
https://pastebin.com/qUgXvDNS
Zappy The Floof 26 Dec, 2022 @ 1:32pm 
thanks
KnifeHeart  [author] 21 Dec, 2022 @ 8:59pm 
No but it doesn't prevent it either. You must have another mod installed that allows for that.
Zappy The Floof 21 Dec, 2022 @ 6:19pm 
Does this allow pirates to use faction pack ships? ive seen pirates using federation ships
RogueRaiden 7 Dec, 2022 @ 8:52pm 
awesome, thank you!
KnifeHeart  [author] 7 Dec, 2022 @ 8:08pm 
It is individual.

However, if multiple players are in the same sector, certain attacks will be calculated based on the player with the highest threat value.
RogueRaiden 6 Dec, 2022 @ 10:03am 
does this affect players on a server globally or individually? as in, could one person make the pirates very angry at them without making the pirates angry with everyone?
KnifeHeart  [author] 10 Oct, 2022 @ 6:35pm 
Issue w/ Alliances is, in theory, fixed. Let me know if it pops up again.
KnifeHeart  [author] 9 Oct, 2022 @ 4:11pm 
This should still work. Alliances are bugged at the moment and I haven't had time to look at it due to my father being in the hospital, but I'll try and get to it this month.
Skittish_Jew 7 Oct, 2022 @ 10:13pm 
Hey guys, does this work on the latest update for the game for online servers? Very cool idea and would love to have it working on mine.
Checkmate 21 Sep, 2022 @ 2:11am 
Also, it only happens to alliance ships, it doesn't happen if the ship is not in an alliance.
Checkmate 21 Sep, 2022 @ 2:10am 
And I tested it in singleplayer multiple times using only this mod and its dependence.
I created multiple galaxies in creative to test it and could replicate it consistently.
KnifeHeart  [author] 21 Sep, 2022 @ 2:09am 
Alright. I'll take a look at it sometime later this week.