Factory and destination point
Moderator: Content Developer
Factory and destination point
After the construction query of a factory completed, the factory puts destination point at itself. Upon new construction query units stay at the factory and do not go to the previously set destination point. Any ideas to fix it?
Re: Factory and destination point
This is actually a workaround of an older bug, where units would get stuck in labs if the rally point was far away
Re: Factory and destination point
yes, this workaround is annoying
Re: Factory and destination point
maybe you can fix that. When construction is complete, remember the old point, set a new point to the factory, and then restore the old one. Thank you.Beherith wrote:This is actually a workaround of an older bug, where units would get stuck in labs if the rally point was far away
Re: Factory and destination point
Is this bug still present? Maybe this workaround can be removed already?
It's easy to forget to setup new waypoints when factory was idle for some time.
It's easy to forget to setup new waypoints when factory was idle for some time.
Re: Factory and destination point
In new version spring this bag do not fix?Broker wrote:After the construction query of a factory completed, the factory puts destination point at itself. Upon new construction query units stay at the factory and do not go to the previously set destination point. Any ideas to fix it?
Re: Factory and destination point
Can you reproduce it? I can't.Broker wrote:In new version spring this bag do not fix?
"the factory puts destination point at itself" - only when you give "stop" order (or press S shotcut) but not when queue is empty
Re: Factory and destination point
i can (((jamerlan wrote:Can you reproduce it? I can't.Broker wrote:In new version spring this bag do not fix?
"the factory puts destination point at itself" - only when you give "stop" order (or press S shotcut) but not when queue is empty
turn of repeat and try it.
and I think that the stop order must delete queue but not the point of collection.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Factory and destination point
please make a replay where this happens to you (run spring.exe and choose sandbox mode) and upload it, i can't reproduce the bug either.
Re: Factory and destination point
>>and I think that the stop order must delete queue but not the point of collection.
+1
+1
Re: Factory and destination point
there you areSilentwings wrote:please make a replay where this happens to you (run spring.exe and choose sandbox mode) and upload it, i can't reproduce the bug either.
- Attachments
-
- 20130326_191230_DeltaSiegeDry_94.sdf
- demo 5 min
- (94.63 KiB) Downloaded 11 times
Re: Factory and destination point
Silentwings wrote:please make a replay where this happens to you (run spring.exe and choose sandbox mode) and upload it, i can't reproduce the bug either.
all right?
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Factory and destination point
Yes, thanks, I can see your problem now.
This doesn't happen for most people and there is something specific about your configuration that's causing it. Could you rerun that demo (drag the file over spring.exe and it will play as though you are a spectator), and then after that upload the file infolog.txt?
I think one of your widgets is causing the bug - it looks like you have a widget which places a waypoint in the center of a factory when its queue finishes.
infolog.txt will let me see which widgets you've installed.
[If you have modified any of your widgets from the 'standard' versions then please check that its not your modifications that have caused the problem!]
This doesn't happen for most people and there is something specific about your configuration that's causing it. Could you rerun that demo (drag the file over spring.exe and it will play as though you are a spectator), and then after that upload the file infolog.txt?
I think one of your widgets is causing the bug - it looks like you have a widget which places a waypoint in the center of a factory when its queue finishes.
infolog.txt will let me see which widgets you've installed.
[If you have modified any of your widgets from the 'standard' versions then please check that its not your modifications that have caused the problem!]
Re: Factory and destination point
you're right. one of my widgets have an error. I do not know why. this is a very simple widget. can you help me understand why?Silentwings wrote:Yes, thanks, I can see your problem now.
This doesn't happen for most people and there is something specific about your configuration that's causing it. Could you rerun that demo (drag the file over spring.exe and it will play as though you are a spectator), and then after that upload the file infolog.txt?
I think one of your widgets is causing the bug - it looks like you have a widget which places a waypoint in the center of a factory when its queue finishes.
infolog.txt will let me see which widgets you've installed.
[If you have modified any of your widgets from the 'standard' versions then please check that its not your modifications that have caused the problem!]
can factory reclaim?
- Attachments
-
- auto_reclaim_heal_assist.lua
- (3.63 KiB) Downloaded 12 times
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Factory and destination point
According to the Lua wiki:
However, the widget is badly written because canReclaim is the wrong way to check if a contrustor is a lab or not - to check if this you should check if it has the category PLANT.
Since all labs have workertime>0 and canReclaim is not specified in lab unitdefs, yes all labs will return canReclaim=true. I can't say right now this is a bug or not because right now I haven't read enough of unitdefs to tell; sometimes the effects of tags are not what you'd think from the name (for example its necessary that labs have canMove=true, even though they themselves can't move).bool canReclaim Default: builder && reclaimSpeed > 0
Can the unit be issued reclaim commands? For builders only.
float reclaimSpeed Default: workerTime
How fast the builder can reclaim other units and features.
However, the widget is badly written because canReclaim is the wrong way to check if a contrustor is a lab or not - to check if this you should check if it has the category PLANT.
Re: Factory and destination point
Silentwings wrote:According to the Lua wiki:
Since all labs have workertime>0 and canReclaim is not specified in lab unitdefs, yes all labs will return canReclaim=true. I can't say right now this is a bug or not because right now I haven't read enough of unitdefs to tell; sometimes the effects of tags are not what you'd think from the name (for example its necessary that labs have canMove=true, even though they themselves can't move).bool canReclaim Default: builder && reclaimSpeed > 0
Can the unit be issued reclaim commands? For builders only.
float reclaimSpeed Default: workerTime
How fast the builder can reclaim other units and features.
However, the widget is badly written because canReclaim is the wrong way to check if a contrustor is a lab or not - to check if this you should check if it has the category PLANT.
)))
I added a condition unitDefID.isFactory == false. it works.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Factory and destination point
Oh, that's equally good, at least for BA :)
