FreeOrion

Forums for the FreeOrion project
It is currently Wed Dec 13, 2017 10:38 pm

All times are UTC


Forum rules


Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Dec 25, 2016 5:56 am 
Offline
Vacuum Dragon

Joined: Wed Aug 26, 2015 6:15 pm
Posts: 506
Still playing 0.4.6 stable.

I was attacking an AI playing George. As ships would approach the homeworld, they were losing damage capability. They were equipped with Mass Drivers. At the homeworld ships continued to lose levels until some went to 0. Once the troop ships arrived and the planet was taken, the ships recovered the turn after. Rather similar to Experiment Zero effects.

I didn't remember anything like that regarding George.


Top
 Profile  
 
PostPosted: Sun Dec 25, 2016 10:33 am 
Online
AI Contributor

Joined: Tue Feb 17, 2015 11:54 am
Posts: 224
Seems like the effect of the Head on the Spike special. It comes into play once you conquer an enemy homeworld.

IIRC, the initial intention was to reduce the maximum damage per weapon by 1. Instead, since the weapon rework it would now reduce the current damage by 1 per turn.

This PR should fix it.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
PostPosted: Sun Dec 25, 2016 12:20 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4289
Location: Sol III
Crap, that's a quite serious bug in a release. We should really do a 0.4.6.1 bugfix release, but I don't know how to find time for that... :(


Top
 Profile  
 
PostPosted: Sun Dec 25, 2016 12:33 pm 
Offline
Creative Contributor
User avatar

Joined: Fri Jun 28, 2013 11:45 pm
Posts: 3291
Vezzra wrote:
Crap, that's a quite serious bug in a release. We should really do a 0.4.6.1 bugfix release, but I don't know how to find time for that... :(

I agree here, this really should have been noticed and it's quite a bad one, I don't think I'd ever noticed it.

If we do do a bugfix, is there anything else that'd need to go in? Alternatively could we bring forward the next release given Fighters are done and play relatively well?

@defaultuser: very good catch, had missed this completely and the entirety of that special should have been rewritten when the refinement system went in, I hope there aren't other effects still using code referring to the old weapon system, will have to check.

_________________
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.


Top
 Profile  
 
PostPosted: Sun Dec 25, 2016 12:49 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4289
Location: Sol III
MatGB wrote:
If we do do a bugfix, is there anything else that'd need to go in?
Definitely, there has been at least one other thing I considered serious enough to warrant a bugfix release, although IIRC it's not been quite as serious as this one. Don't have the time and nerve to go searching for it now.

But once I go ahead and prepare a bugfix release, I'll of course have to review all the fixes that went into master after the 0.4.6 release branch has been created and decide which ones to cherry pick into the release branch. I will restrict that to critical and/or very simple and straightforward fixes though. I definitely do not want to have several rounds of release candidates for a bugfix release.
Quote:
Alternatively could we bring forward the next release given Fighters are done and play relatively well?
As that is a totally new and fresh feature which I still consider rough around the corners, I don't want to rush that release just because we need a bugfix release for 0.4.6. Getting it out until February won't be easy, we should take at least that much time to polish this thing.


Top
 Profile  
 
PostPosted: Sun Dec 25, 2016 2:54 pm 
Offline
Vacuum Dragon

Joined: Wed Aug 26, 2015 6:15 pm
Posts: 506
I guess I didn't mention the important part, which you guys picked up. I had already conquered that world in a quick strike - then lost it back. This was a second attack wave. So the special was applying to those attackers.

I don't usually have cases where I am attacking a homeworld with the Head on a Spike special. You'd either need to have one where an AI took another, or one like I had where it's back and forth invasions.

Interesting.


Top
 Profile  
 
PostPosted: Sun Dec 25, 2016 3:27 pm 
Offline
Creative Contributor
User avatar

Joined: Fri Jun 28, 2013 11:45 pm
Posts: 3291
Exactly, Head On A Spike is something you don't see that often as a player unless the AI is actually doing well: it's been known to happen but there are a few glitches in invasion planning that the team are aware of (and are beyond me).

Having finally managed to work out how to Grep, the only other use of that sort of outdated code is freeorion/SH_EXP_OUTPOST_HULL.focs.txt at master ยท freeorion/freeorion, and Experiment Zero needs updating anyway, it only applies after you've been there for a round, my experience is it dies in the first round and never goes off.

I'll try to open an Issue later, think it should be toned down a bit [i]but[/] made to apply to ships up to a jump away, so you get hit before you launch the attack (with a high priority number so it applies after, for example, the Starlane Bore).

_________________
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group