Jagged Alliance 3

Jagged Alliance 3

Auto Renew Contracts
66 Comments
LotR[Henchman]  [author] 21 Aug, 2024 @ 11:33am 
No problem, happy people have a use for it ;)
Doctor Sandvich 21 Aug, 2024 @ 6:30am 
Excellent, thank you @LotR[Henchman]
Caius 1 May, 2024 @ 2:15am 
Possibly the best QoL mod out there. Especially if u run with infinite diamond mines or have a solid economy. It works.great and only asks u to manually resign the mercs if they ask you a raise, which it dosn't happens much.
LotR[Henchman]  [author] 25 Apr, 2024 @ 10:47pm 
@[CG] Reiyu The Frozen Rose Knigh
I wouldn't use it currently with MP, as it might also change who control a Merc. But thanks for the info, if i find the time i'll have a look and try to make it MP friendly.
[CG] Reiyu The Frozen Rose Knigh 25 Apr, 2024 @ 7:15pm 
So this mod may have an issue in Co-op our mercs in the first island got hired for 28 days just before the first contract renogiate
McLovin 17 Feb, 2024 @ 1:31am 
Yes, these where the options i thought of myself, both not optimal though. I hoped there is maybe a third way. thanks for the confirmation.
LotR[Henchman]  [author] 17 Feb, 2024 @ 1:04am 
@McLovin
Two ways:
a) Simply disable the mod for that, one should be able to enable/disable the mod at any time.
b) If you open the Browser and go to the "MyTeam" tab, in the bottom left should be a button to Release/Fire a merc (imo a bit less preferable as i don't think one gets money back on days already paid, but i might be wrong about that).
McLovin 17 Feb, 2024 @ 12:32am 
How can i NOT rehire a merc? I want to replace someone in my Squad.
LotR[Henchman]  [author] 7 Feb, 2024 @ 10:18am 
@Stellar
Sorry again for the inconvience. Took another look so the fix from 11 hours ago should work fine.
If you want to try to save the game, enterin the mod editor once (mod manager > mod editor) and then loading a game should allow you to open the game console (simply hit return).
Using: AddMoney([amount e.g. 99000], "salary", "noCombatLog")
Should allow you to reset the funds.
LotR[Henchman]  [author] 6 Feb, 2024 @ 10:55pm 
Uploaded a quick fix - will have another look later. Might be missing some medical costs currently.
Problem was that i missed the hiring function including another value now and so it only prolonged for one day - that should be fixed.
Stellar ❤️💙💛 6 Feb, 2024 @ 9:29pm 
Absolutely broken after yesterday game patch, suddenly noticed my 25k day expense went to berserk when mod did kick in, had like 165k or something expense @ daily, too bad noticed this only after several game days of playing, so lost many hours...:steamfacepalm:
LotR[Henchman]  [author] 27 Dec, 2023 @ 1:18am 
Okay uploaded a fix for the level pricing, thanks @JJ Black at pointing that out.
Also it fixes a typo.

Fun fact - for those interested in the vanilla logic.
When a merc levels a "LevelUpPriceIncreaseSchedule" is set (hidden for us to see) - which will raise the price 10 + (1 to 10) days later.
So if you level MD twice on day 6 - you could get the following schedule (pseudo-code):
Day 21 level 2
Day 23 level 3
Now any time after day 23 you open the dialogue to prolong the contract the price will be raised for 1 ! level (up to level 3).
It looks like a logic error on HG part there, as i'd expect it to jump to level 3, but nope, it raises to 2 when you open the dialogue. Now if you close the dialogue and reopen it, it will raise again to level 3....
LotR[Henchman]  [author] 26 Dec, 2023 @ 11:56pm 
Accidentially deleted (when i deleted my initial answer) a message saying this mod didn't increase the merc prices on level up.
I'll double check that - normally it already should increasse the price on level ups as it's refering to a stateflag of the priceincrease, but i might have missed something there.
Thanks for the info.
pipboy834 25 Dec, 2023 @ 7:43pm 
thanks for the gift king
LotR[Henchman]  [author] 24 Dec, 2023 @ 2:23am 
Uploaded a new version - take a look at changes for more extensive info.
Big change is that you can now disable the auto-accept on rehaggling.

Tested the new version and let others test it for a while, it ran fine. Still didn't find the reported "break dismissal of mercs" problem. If anyone got any specifics, let me know.

So have fun peeps :)
LotR[Henchman]  [author] 17 Dec, 2023 @ 11:07am 
@BD
Same question to as towards xandross868, what other mods are you running?
Further, can you describe in which situation it stopped working? To rehire my script is using a vanilla function and the general function shouldn't have any interaction with the menus, so i've yet to see how my mod might be causing it.
BD 17 Dec, 2023 @ 8:22am 
@xandross868 "seems to break dismissing mercs at all."

I'm also getting this bug.
Hachiryoku 16 Dec, 2023 @ 10:15pm 
Thanks for this mod! It saves so much time and tedium. Holy moly.

BTW, for others interested, the following (Audaki’s UI Enhancements), let's you see the relationship status between mercs without needing them to speak.

I am finding this really helpful, even past these mods being combined. I'm actually finding out not all negative conversations have to do with a bad relationship. Some of it's just meant to be comedy. And this helps you see that too.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3035627090
BurgerKing 16 Dec, 2023 @ 5:29pm 
THANK YOU!
Kato is Retired 8 Dec, 2023 @ 9:39pm 
great mod, thank you!
LotR[Henchman]  [author] 3 Dec, 2023 @ 1:42pm 
@TangoHotelCharlie
Thank you :)

@Echo
Okay, i might be closer to have that option. Just gonna have to test it further, to see if i'm not missing some bug.
TangoHotelCharlie 3 Dec, 2023 @ 3:04am 
Omg. This mod is amazing. Thx! :steamhappy:
Echo 28 Nov, 2023 @ 11:29am 
Well, that's fine. Thanks for looking into it, but don't spend too much time on it, as it's not a critical feature. I'm planning to use the mod anyway, I'll just activate it and deactivate it as needed (if I need to let people go when their contract expires etc).
LotR[Henchman]  [author] 28 Nov, 2023 @ 10:53am 
@Echo
I've yet to find a neat way to make sure the roll for haggling when you start the conversation with a merc, gets the same result my script had beforehand. Otherwise my script might tell you to talk to the merc and the new random roll might lead to the merc not giving you the haggling lines. Perhaps i'm having enough time this weekend to find some neat way to link those results, but so far i haven't found it.
Echo 24 Nov, 2023 @ 5:07am 
I'm happy to use the mod, but would love the option to not renew haggles. They signal a problem usually (team composition, happiness, etc.) and I'd rather have that feedback.
LotR[Henchman]  [author] 16 Nov, 2023 @ 11:12am 
@xandros868
Just looked at it and couldn't repdroduce the bug.
What options are you using and what other mods are you running?
xandross868 16 Nov, 2023 @ 10:16am 
seems to break dismissing mercs at all.
Nanaki_enter 15 Nov, 2023 @ 1:47pm 
OMG YES !!! I've been waiting for something like this for months !! Thank you so much, this is such a great quality of life improvement for the game (especially when you like to play with big teams). Can't believe it's not a feature in vanilla !
Method Man 20 Oct, 2023 @ 12:06pm 
Amazing mod, thank you
LotR[Henchman]  [author] 13 Oct, 2023 @ 1:24pm 
Thanks for the feedback to you all :)
blindseye 13 Oct, 2023 @ 1:15pm 
I works great so far, thanks!
chunkylefunga 12 Oct, 2023 @ 1:04pm 
THANK YOU! This has been highly demanded since day 1.
CАCHiRRØ 5 Oct, 2023 @ 7:19am 
baaam, this is something i wanted since day 1, thank you!!!
Jakarta's Stray Dog 4 Oct, 2023 @ 8:02am 
FUCK YEA.This is the true QOL this game desperately needed when you got an army
PoundedChicken 2 Oct, 2023 @ 4:49pm 
@LotR[Henchman] @Wyatt
Thanks guys, I'll look into.
VolcanoeQuaKe`XTX' 2 Oct, 2023 @ 11:00am 
What I needed. Renewing 14 day contracts manually is very annoying.
Wyatt 2 Oct, 2023 @ 10:06am 
@LotR[Henchman] Regarding a possible > 14 days feature, here's a link to a
HireMercFor365Days [fearlessrevolution.com] mod which could prove useful. It's likely outdated by now, but it might help determine how others approached the issue.
Gladius Victorius 2 Oct, 2023 @ 4:52am 
Work perfekt.With the option to avoid to renew the contracts i was able to go on with 3 Days contracts and Train Militia until i take the Red diamont Mine in the Nord what resolve near all money Problems
LotR[Henchman]  [author] 2 Oct, 2023 @ 1:33am 
@PoundedChicken
From what i saw i think it would be possible. But it's not something you can do really easily/cleanly, as the maxDay / MaxDuration is set not over a single variable/constant, but "by hand" in at least 4 places within the code (Mercenary.lua , AIMHiringScreen.lua being the places i know it's done, might still be missing something).
So you'd likely need to overwrite quite a bit of vanilla code/replace larger functions with your own code to basically change one number...

Generally speaking, this game is very moddable. A lot of the game code works through lua, which is fully accessible to modders. But a lot of things might take more effort than it might be worth.
PoundedChicken 1 Oct, 2023 @ 9:09pm 
@LOTR[Henchman] from what you've seen, do you know if its also possible to mod max contract lengths to > 14 days?
Gladius Victorius 1 Oct, 2023 @ 7:10pm 
Wyatt nothing will be more complicate if a Mod get more option to prevent Problems you can still play with your 14 days if you can afford them.And to the active the Mod midgame a small Tipp never do that you start with a combination of Mods and you end with exact the same combination of Mods the game.99% of the Problems player have with a Modded game is always why Player change there Mod Loadorder midgame or add new ones that screw up many times the entire game as Mods that use Codes or items have normal a fix Place where the game will look for them if you change it there is a great chance for Bugs. And to LotR thanks will try it Today and give you Feedback if all is ok
LotR[Henchman]  [author] 1 Oct, 2023 @ 4:33pm 
@Wyatt
There's a changes tab, which i make use of for the actual changes when i upload something.
Using bullet points to make it easier to read, is something i'll consider. Thanks for bringing it up.
What i won't do, is putting a growing list of changes on top, because that would burry the main info further and further.
What i might do, is put a small update warning on top, with a specific warning if mod options need to be reset or something.
---
Now in regards to the change i did after Gladius Victorius wrote here - It shouldn't compliacte things for anyone else, but perhaps me. As a lot of stuff can be implemented with the use of mod options and setting the default values in a way, that it behaves out of the box as it does now.

Thanks for your feedback.
Wyatt 1 Oct, 2023 @ 4:09pm 
@Gladius Victorius I don't know if the features you've requested are what the mod was originally designed for. Why not just activate the mod once you've secured a steady income and are ready for long-term contracts? It'll just complicate matters for the rest of the players otherwise.
Wyatt 1 Oct, 2023 @ 2:30pm 
@LotR[Henchman] Great mod. Thanks for putting in the work and sharing it with the community.

It's likely you'll incorporate a few tweaks to the code in the coming months. Consequently, your opening description would really benefit from a short bullet list detailing the mod's main features.

This would not only inform interested players of your mod 'at-a-glance', but also keep current subscribers notified of the latest developments.
LotR[Henchman]  [author] 1 Oct, 2023 @ 1:29am 
New version with the changes should be up momentarily. Let me know how it works out or if i broke anything in turn. I only gave it a few tests at it shouldn't impact much of the rest of the script and in these it ran fine.
Gladius Victorius 1 Oct, 2023 @ 12:44am 
Yes an option to stop Paying all will be nice or at least only a 3 Day renew if you are low with Money so at the start until you get more money you have a little bit of time . At the Moment i have 9 Merc all Recruits and one veteran with 2 Mines that i have until now i get enough Money to come out +-0 if i pay all. But as i dont make enough Profits, with your Mod the contract get all auto renew and i go the entire time in the red. That lead to the Problem that all what need Money dont Work. Militia want Money Rest at the Bar want money and so on. Later in the game the problem will disapear but until then i will have difficults to hold what i conquer
LotR[Henchman]  [author] 30 Sep, 2023 @ 11:50pm 
@Gladius Victorius
Not really a bug, rather my logic of looking more at a 14 day timeframe.
Now, should it stop you from going into any negative number? If you say yes, i'll happily add a toggle option for that behaviour.
Gladius Victorius 30 Sep, 2023 @ 7:10pm 
Not sure if it a Bug but the Mod let me go heavy inder 0 Money . Have install it today and my first Auto Renew Contract,first i get a warning that i dont have enough Money for all Merc but then he renew the Contracts even there is a warning and i go 20k under 0 what make impossible to train Militia or do anything for that you need money for a long time
heimdall79 30 Sep, 2023 @ 8:31am 
Great! Thanks!
Trenchy 30 Sep, 2023 @ 7:12am 
best mod ever actually with the fix you made now it works and its flawless never have to even do anything just play lol