bugGlobulation 2 - Bugs: bug #22558, problem with new clearing area...

 
 

bug #22558: problem with new clearing area behaviour

Submitted by:  Leo Wandersleb <giszmo>
Submitted on:  Wed 12 Mar 2008 12:56:52 AM UTC  
 
Severity: 3 - NormalStatus: Postponed
Assigned to: Bradley Arsenault <genixpro>Open/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 05 Apr 2008 08:48:00 PM UTC, comment #6:

ok i guess we can for now postpone this. flags will do the job if many units are needed. still i hope to get rid of clearing flags with those cool new areas :)

Leo Wandersleb <giszmo>
Project Member
Mon 24 Mar 2008 06:55:52 AM UTC, comment #5:

I have fixed the first bug, it was caused by damaged units claiming a clearing area, but units don't harvest clearing areas if their medical is bad, causing this dumb bug.

I'm not sure of your description of the second bug, but it sounds like your problem is that clearing area claims aren't getting spread out. This is due to a fundamental flaw in the way the system works, each unit looks for the closest resource to it. If your units aren't thoroughly spread out, they may all claim the same resource square when there are lots to choose from, simply because it is the closest.

Bradley Arsenault <genixpro>
Project AdministratorIn charge of this item.
Wed 19 Mar 2008 08:01:50 PM UTC, comment #4:

running the attached map i experienced the following:
letting the game go resulted in globs claiming resources loosing the claim to a glob that already is close to it and clears it ... so finally at least 20 globs that would have been able to help clear only had lines flashing every once in a while without them getting closer to the clearing area while starving globs claimed wood they never cleared.

next thing i experienced was that globs only claimedwood very close to the discovered area. as it would be reasonable to clear only visible resources i wondered if this was on purpose. i paused and removed the clearing area from the region where lines ended. i unpaused for 1s and noticed that only 4 wood were claimed at all. again i removed the clearing area well around the 4 claimed wood what again resulted in only the 4 wood now closest to the discovered area got claimed.

Leo Wandersleb <giszmo>
Project Member
Tue 18 Mar 2008 12:06:21 AM UTC, comment #3:

I've made it so that a glob thats closer replaces a glob thats farther when it goes to a clearing area. The path lines can be a bit erratic though.

Bradley Arsenault <genixpro>
Project AdministratorIn charge of this item.
Sun 16 Mar 2008 01:00:25 AM UTC, comment #2:

as obvious in the attached map, units don't get assigned meaningfull. that is distance is not taken into account what makes far globs claim resources closer globs could claim else.

in this special case i would want all the globs to go to the area that is "claim resources that are not yet accessible" but this would only be of interest for constructed special cases like this one.

(file #15270)

Leo Wandersleb <giszmo>
Project Member
Thu 13 Mar 2008 09:09:08 PM UTC, comment #1:

A new clearing area claim system has been put into effect. Its not optimum in terms of resource-unit clearing assignment, but it does solve the issue of multiple workers going after a single resource.

Bradley Arsenault <genixpro>
Project AdministratorIn charge of this item.
Wed 12 Mar 2008 12:56:52 AM UTC, original submission:

as seen in the screen shot, all free globs now run to the closest resource to clear. this causes them to all jump back and fourth for every single res that grows keeping them away from resources to clear that are only some 10 fields off.
in the pic attached, all my 150 free units switch between several res to clear with barely anything getting cleared at all.

i have no solution apart from the target-count overkill that every res to clear gets one (the closest) unit assigned.
one other solution would be to have the cleared area paved so all those res can't pop all over the map.

Leo Wandersleb <giszmo>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15270:  clearStarvers.map.gz added by giszmo (46KiB - application/x-gzip)
file #15242:  clearing1.png added by giszmo (304KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by genixpro (Posted a comment)
  • -unavailable- added by giszmo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 13 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Jan 2009 08:38:52 PM UTCgiszmoOpen/ClosedOpen=>Closed
    Sat 05 Apr 2008 08:48:00 PM UTCgiszmoStatusNone=>Postponed
    Wed 19 Mar 2008 08:01:50 PM UTCgiszmoStatusFixed=>None
      Open/ClosedClosed=>Open
    Tue 18 Mar 2008 12:06:21 AM UTCgenixproOpen/ClosedOpen=>Closed
    Tue 18 Mar 2008 12:06:20 AM UTCgenixproStatusNone=>Fixed
    Sun 16 Mar 2008 01:00:25 AM UTCgiszmoAttached File-=>Added clearStarvers.map.gz, #15270
      StatusFixed=>None
      Assigned toNone=>genixpro
      Open/ClosedClosed=>Open
    Thu 13 Mar 2008 09:09:08 PM UTCgenixproStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 12 Mar 2008 12:58:41 AM UTCgiszmoAttached File-=>Added clearing1.png, #15242

    Back to the top


    Powered by Savane 3.1-cleanup1