Bug Fixer :)

Bug Fixer :)

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
BigHead
Posts: 145
Joined: 12 Jul 2007, 18:55

Bug Fixer :)

Post by BigHead »

My idea is that all such fixes will be placed in one widget. I don't know if there are other things that need fixing (except of desync but who's gonna make a lua widget to fix that? :-) ). However if anything else can get fixed via lua, lets put into this widget.

Fix: "Build pos blocked" bug
Con unit is standing in the way of the build order but refuses to move..
Image

Fix: "Unit can't reach destination" bug
I don't know if it's the way I place my buildings or what but I used to get it in 3/5 games. I am sure you all encounter this bug. You give your factory some orders but units leaving the factory don't follow them. You can see what I mean by looking at the pictures below:
Image Image

Download:
http://www.unknown-files.net/3577/big_f ... s_blocked/
Last edited by BigHead on 30 Sep 2007, 16:45, edited 1 time in total.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

A recent engine commit fixed this
issue in much the same way. ;)
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Hey, this is actually a really good idea...
Tim-the-maniac
Posts: 250
Joined: 22 Jul 2006, 19:58

Post by Tim-the-maniac »

theres also this bug: http://ray.iamacup.com/spring.JPG
(con unit is standing in the way of the build order but refuses to move)
User avatar
BigHead
Posts: 145
Joined: 12 Jul 2007, 18:55

Post by BigHead »

You're right I sometimes encounter that bug as well. Do you now a way to reproduce it? I think it can be fixed by lua but I need to be able to reproduce it for testing purposes.
Tim-the-maniac
Posts: 250
Joined: 22 Jul 2006, 19:58

Post by Tim-the-maniac »

Just placing a solar with its corner overlapping where the con unit is will get that bug 100% for me.
User avatar
BigHead
Posts: 145
Joined: 12 Jul 2007, 18:55

Post by BigHead »

I actually fixed it :-) Took me about 30mins. I'll update the widget after I do some testing and polishing.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

You might want to restrict the Unit can't reach destination fix to the current spring version and below so it won't be loaded in the next version.
User avatar
BigHead
Posts: 145
Joined: 12 Jul 2007, 18:55

Post by BigHead »

Image
... but I can't upload it :(

rattle: Done, thx for your suggestion.
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Post by Pendrokar »

reupload this widget to UF!
User avatar
BigHead
Posts: 145
Joined: 12 Jul 2007, 18:55

Post by BigHead »

Fix: "Build pos blocked" bug
Con unit is standing in the way of the build order but refuses to move..
Image

Download:
http://www.unknown-files.net/3577/big_f ... s_blocked/
Post Reply

Return to “Lua Scripts”