The End of an Era?

You can talk about anything. (please read forum rules before posting)

Moderator: thunderchero

User avatar
WonderMax13
Cadet 4th Year
Cadet 4th Year
Posts: 19
Joined: Mon Dec 13, 2021 8:05 pm

Re: The End of an Era?

Post by WonderMax13 »

thunderchero wrote: Thu May 05, 2022 10:27 pm patches can be applied manually by hex editing the trek.exe
or
use bofpatcher
viewtopic.php?p=35394#p35394
the bofpatcher use files with the extension ".patch"
here is the patch for NBU mod
production_food_energy_deficit_warning_100%.patch

after you extract the bofpatcher
run the bof_patcher.exe
in new window select NBU trek.exe by browsing to install path.
place the new patch you downloaded above in the "patch" folder that you unzipped
once patch files are loaded select "Production AI building behavior, the auto-build feature & food/energy deficit warning 100%" from list
click add button
click apply button
done
close bofpatcher before attempting to test/play

then repeat above on NBUL version
The patched worked pretty much instantly on my new game, everyone kicked back into gear and the AI are starting to do stuff again, advancing, building better ships etc. UPDATE: So it did fix my old game for about 3 turns or so. Everyone kicked into gear, before I knew it all the powers were building up again, it was glorious, then it crashed 3-5 turns later.

Have yet to try it on the game that completely died however I'm looking forward to trying, will report back when I do! Star Trek modders is now some asian porn domain though, you guys might wanna look into that.
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1927
Joined: Sun Apr 27, 2008 2:00 am

Re: The End of an Era?

Post by Spocks-cuddly-tribble »

WonderMax13 wrote: Fri May 06, 2022 1:31 amthen it crashed 3-5 turns later.

Have yet to try it on the game that completely died however I'm looking forward to trying, will report back when I do!
Thunderchero tested your old game with patch (see above - still crash).

Many patches require starting new games to work properly:
Spocks-cuddly-tribble wrote: Wed May 04, 2022 2:36 pm(might still not solve deviation issue in saved game data?)
Plus it would be helpful to know whether NBU epic games still crash when the patch was applied from start. :wink:

WonderMax13 wrote: Fri May 06, 2022 1:31 amStar Trek modders is now some asian porn domain though, you guys might wanna look into that.
Not our business (for a short time afc owned 'startrekmodding'). Nowadays that also happens a lot just via a simple typo in many popular domains.
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: The End of an Era?

Post by thunderchero »

Spocks-cuddly-tribble wrote: Fri May 06, 2022 8:42 am
WonderMax13 wrote: Fri May 06, 2022 1:31 amStar Trek modders is now some asian porn domain though, you guys might wanna look into that.
Not our business (for a short time afc owned 'startrekmodding'). Nowadays that also happens a lot just via a simple typo in many popular domains.
I bet he was referring to the spam posts last night. when you see them do like Flocke did and just click on the "!" mark on top right of offending topic.

"human" bots are getting though here lately, The last one about an hour ago posted in AIO beta said he was having crashes in combat on UDM and turn time did not improve on UM5 but in his signature was spam link.

I swear from the post details sometime they are real people.

Edit; before I finished writing this reply another bot signed up and posted :sad:
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1927
Joined: Sun Apr 27, 2008 2:00 am

Re: The End of an Era?

Post by Spocks-cuddly-tribble »

I see, the same old issue with increased frequency.

Most the hidden spam links (to increase google rank of clickbait domain?) weren't star trek related. With trek related bait domain the human bots (most troll-farm employees in poor countries) target us more frequent.

Just give the IP-addresses to the supremacy guys so they can test different boom-levels for their new self destruction feature via remote detonating said locations. :up:
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
User avatar
WonderMax13
Cadet 4th Year
Cadet 4th Year
Posts: 19
Joined: Mon Dec 13, 2021 8:05 pm

Re: The End of an Era?

Post by WonderMax13 »

Spocks-cuddly-tribble wrote: Fri May 06, 2022 1:09 pm I see, the same old issue with increased frequency.

Most the hidden spam links (to increase google rank of clickbait domain?) weren't star trek related. With trek related bait domain the human bots (most troll-farm employees in poor countries) target us more frequent.

Just give the IP-addresses to the supremacy guys so they can test different boom-levels for their new self destruction feature via remote detonating said locations. :up:
Well the game's going well, so well in fact that a single turn at one stage took almost 9 minutes with the average being 4-5 there's just that much going on now haha. Fleets everywhere. But I'm keeping the peace because I have alliances with all the major powers.
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1927
Joined: Sun Apr 27, 2008 2:00 am

Re: The End of an Era?

Post by Spocks-cuddly-tribble »

WonderMax13 wrote: Sun May 08, 2022 8:33 ama single turn at one stage took almost 9 minutes with the average being 4-5
That's awful, almost unplayable (larger maps I guess?).

You might try this single byte workaround: viewtopic.php?p=54732#p54732
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: The End of an Era?

Post by thunderchero »

Spocks-cuddly-tribble wrote: Sun May 08, 2022 1:26 pm
WonderMax13 wrote: Sun May 08, 2022 8:33 ama single turn at one stage took almost 9 minutes with the average being 4-5
That's awful, almost unplayable (larger maps I guess?).

You might try this single byte workaround: viewtopic.php?p=54732#p54732
it is already applied to NBU mod
User avatar
WonderMax13
Cadet 4th Year
Cadet 4th Year
Posts: 19
Joined: Mon Dec 13, 2021 8:05 pm

Re: The End of an Era?

Post by WonderMax13 »

Spocks-cuddly-tribble wrote: Sun May 08, 2022 1:26 pm
WonderMax13 wrote: Sun May 08, 2022 8:33 ama single turn at one stage took almost 9 minutes with the average being 4-5
That's awful, almost unplayable (larger maps I guess?).

You might try this single byte workaround: viewtopic.php?p=54732#p54732
Can you explain as if I'm a Pakled on how to implement this please haha. And yea you're right, no building upgrade large version.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: The End of an Era?

Post by thunderchero »

use this patch with bofpatcher
loop.patch
(357 Bytes) Downloaded 34 times
User avatar
WonderMax13
Cadet 4th Year
Cadet 4th Year
Posts: 19
Joined: Mon Dec 13, 2021 8:05 pm

Re: The End of an Era?

Post by WonderMax13 »

thunderchero wrote: Sun May 08, 2022 10:28 pm use this patch with bofpatcher
loop.patch
I'm assuming it's the one that shows up as global loop patch?
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: The End of an Era?

Post by thunderchero »

yes
User avatar
WonderMax13
Cadet 4th Year
Cadet 4th Year
Posts: 19
Joined: Mon Dec 13, 2021 8:05 pm

Re: The End of an Era?

Post by WonderMax13 »

thunderchero wrote: Sun May 08, 2022 11:16 pmyes
Worked a treat, turns are down to 3-4 minutes now. Much more bearable! Thankyou!.

Will this affect AI behaviour at all?
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7934
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: The End of an Era?

Post by thunderchero »

here is what i wrote when patch first came out
thunderchero wrote: Fri Oct 08, 2021 9:57 am Update on my testing,

I found some time to run a couple more tests. I got some confusing results.

If I add the patch mid game, turn processing is greatly decreased in every test I have done.

but if I use starting seed to test same start. And after the same amount of turns with the patch from turn 1, it is almost like the AI will adapt with intel/research/diplomacy and building more ships (each test they built 200 - 500 more ships :shock: ) and turn processing time ends up being about the same. :???:

in last 3 tests the AI has also been at war more often with other majors and more systems were subjugated.

So I am confused as to how much this patch will decrease turn time. I really expect this to have more effect in games like Galaxy mod when turn time can be up to 8 min, but when turn time is under 1 min the effect is much less.
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3246
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: The End of an Era?

Post by Flocke »

thunderchero wrote: Tue May 03, 2022 10:09 pm yes that is how you attach

UE shed no light on issue, but you did get a crash log I have not seen

Version Under Test: 72
File: ..\..\source\game\solarapi.c, Line: 2606, energyPerStructure != 0.0
Initialize State: 31
Player Empire: 1 Starting Seed: 1639517698
Galaxy shape: 3 Galaxy Size: 2

I will try to look it up tomorrow in ida to see what it is related to.
So I spent some time to analyse this the past days. That single crash is caused by the Dilithium Refinery in the Ferengi Gamma Eridon system. When you turn down the enrgy or scrap the building you can pass one more turn.

The next turn however the same error shows up again but this time is rooted by something different.
I added some helper functions to UE to remove all buildings, but that only helped on first crash.

I further tried to remove all ships and stuff but that didn't help either.

I will continue to check that save when I find time, but right now I'd guess it is caused by some AI code of that save that isn't analysed yet. The chance to find it therefore isn't good right now. :sad:
Last edited by Flocke on Wed May 11, 2022 12:27 am, edited 1 time in total.
Post Reply

Return to “General Chat”