Author Topic: [fixed] Worker builds at distance of new building  (Read 1257 times)

james876

  • Guest
[fixed] Worker builds at distance of new building
« on: 6 June 2011, 02:33:57 »
I found a bug: when a worker to build a basic build, he is far away from the building.

BTW: I tested the megaglest3.5.3-dev_i386_win32_bin.exe I have the operating system is win7 32bit. Thank you!

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Worker builds at distance of new building
« Reply #1 on: 6 June 2011, 03:16:17 »
Please remember to start a new thread/topic for every new issue. Thank you.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Worker builds at distance of new building
« Reply #2 on: 6 June 2011, 04:26:11 »
Also, which revision was this?  :| And does it always only happen on the 4hills map?

james876

  • Guest
Re: Worker builds at distance of new building
« Reply #3 on: 6 June 2011, 06:47:53 »
The same problem also produced in other map, I tested the game version is: megaglest3.5.3-dev_i386_win32_bin.exe, thank you!

skankerror

  • Guest
Re: Worker builds at distance of new building
« Reply #4 on: 6 June 2011, 08:24:15 »
I noticed it with last svn (r2324) on ubuntu 10.10 32bit. It happens in any maps with any factions.

I think it appeared when this issue was solved : https://forum.megaglest.org/index.php?topic=7223.0

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Worker builds at distance of new building
« Reply #5 on: 6 June 2011, 08:38:47 »
Thanks for the info. We'll try to reproduce it now.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Worker builds at distance of new building
« Reply #6 on: 6 June 2011, 10:50:13 »
I've seen this happen before, though rarely. The recent change skankerror pointed to (which is also the topic james876 originally posted his to) may have made it happen more often, though. (I haven't really tried this or later revisions, yet.)

The worker issue occurs sometimes when workers have two adjacent buildings on their work queue. Then it can happen that, by the time the first building is done, one of the workers starts building the second building without actually moving into position - he just turns into the direction of the new building but keeps his position. I think this only happens when multiple workers are assigned these queued tasks and only if the worker actually building (not repairing) starts building the first building at a position that is between the location the first and the second building are to be erected at.

In this very case (screenshot posted by james876) there is only one building involved, though. I assume the worker who is building the building from a distance has previously been mining gold and had a queued task to build this building afterwards. Can you confirm this, james876?
« Last Edit: 6 June 2011, 10:54:08 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Mr War

  • Guest
Re: Worker builds at distance of new building
« Reply #7 on: 6 June 2011, 11:35:38 »
Suggest u use 5.3.2 not 5.3.3_dev for now. the dev version solves worker size issue with building things

james876

  • Guest
Re: Worker builds at distance of new building
« Reply #8 on: 6 June 2011, 13:44:20 »
@ tomreyn: Yes, I can confirm what you say, is indeed the case. Thank you! BTW: This issue needs to be resolve, thank you!
 

@Mr War: svn (r2324) still have this problem. Thank you!
« Last Edit: 6 June 2011, 13:47:12 by james876 »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Worker builds at distance of new building
« Reply #9 on: 9 June 2011, 21:40:49 »
Should be fixed in svn rev#3242

Thanks