bug report xta 963

bug report xta 963

Hearken back to the days of yore and enjoy the first major Spring module!

Moderators: Moderators, Content Developer

Post Reply
User avatar
Baracus
Posts: 33
Joined: 29 Sep 2009, 18:19

bug report xta 963

Post by Baracus »

When you lose your com + your lab, your storage gets negative no matter what your income is your units cant fire, none of them

watch this silly way to long replay at minute 35 yellow's lab dies to gunships and his AK's cant fire anymore since he has negative storage of -50

http://replays.adune.nl/?2692

(ps didnt know where to post this, so its here now ^^ )
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: bug report xta 963

Post by slogic »

Yep, really. I could achieve -50 in metal storage. I'm not a pro in lua. I thought it was an engine fault for the first time. If this does not happen for other mods then it is evidently smth wrong with XTA.
Attachments
screen00073.png
(1.09 MiB) Downloaded 9 times
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: bug report xta 963

Post by Jools »

This bug is really weird (W-I-E-R-D), because even if you restore the storage by building labs/constructor units, the storage equation gets somehow screwed up.

In a game yesterday, I built a lab and metal storage, but even with an income of 10/s I could never fill the metal storage to more than about 165 (of 32k). But even when there was 165 metal in it, it was enough to build a HLT, so I think the amount that is displayed is wrong, and that the engine somehow still knows how much metal you have.
Last edited by Jools on 23 Aug 2010, 16:27, edited 1 time in total.
User avatar
Baracus
Posts: 33
Joined: 29 Sep 2009, 18:19

Re: bug report xta 963

Post by Baracus »

Jools wrote:This bug is really weird (W-I-E-R-D), because even if you restore the storage by building labs/constructor units, the storage equation gets somehow screwed up.

In a game yesterday, I built a lab and metal storage, but even with an income of 10/s I could fill the metal storage to more than about 165/32k. But even when there was 165 metal in it, it was enough to build a HLT, so I think the amount that is displayed is wrong, and that the engine somehow still knows how much metal you have.
This does not explain why units cant fire
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: bug report xta 963

Post by BrainDamage »

negative storage = no resources, not even instant

no E -> units cannot fire

the negative storage happends because of a mix of mod & engine function bugs, to fix it, the mod should assign the storage to commanders using unitdefs_post ( would also fix the no storage passed to allies on /take )
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: bug report xta 963

Post by slogic »

What's unitdefs_post?
User avatar
Deadnight Warrior
Posts: 183
Joined: 08 Jun 2009, 17:59

Re: bug report xta 963

Post by Deadnight Warrior »

I've solved that issue (at least it seems so), I only need raaar's Kbot animation tweaks and D-Gun and live fix, and I can post a new beta. I've also fixed the LUA errors caused by stealth gadget.
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: bug report xta 963

Post by slogic »

Deadnight Warrior wrote:I've also fixed the LUA errors caused by stealth gadget.
Yeah, that was irritating.

By the way, i could fix gui_center_n_select_xta.lua widget which issued error when there were no units spawned at game start. Not actual though. But still may be worth to add.
Attachments
gui_center_n_select_xta.lua
(1.03 KiB) Downloaded 37 times
Post Reply

Return to “XTA”