Model causing healthbar and xp lua to crash...

Model causing healthbar and xp lua to crash...

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Model causing healthbar and xp lua to crash...

Post by Forboding Angel »

What is causing this?

.give 1 storage @2075,341,1766
[string "LuaUI\Widgets\gui_xp.lua"]:92: attempt to perform arithmetic on field 'power_xp_coeffient' (a nil value)
Removed widget: Rank Icons
Giving 1 storage to team 0
gl.DrawFuncAtUnit: error(2) = [string "LuaUI\Widgets\unit_healthbarsnew.lua"]:255: Incorrect arguments to gl.Translate(x, y, z) [string "LuaUI\Widgets\unit_healthbarsnew.lua"]:255: Incorrect arguments to gl.Translate(x, y, z)
Removed widget: HealthBarsNew
[string "LuaUI/Widgets/unit_healthbars.lua"]:414: attempt to perform arithmetic on field 'height' (a nil value)
Removed widget: HealthBars

Image
Last edited by Forboding Angel on 28 Oct 2007, 03:36, edited 1 time in total.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

If it's the model file try Save As to clean it up.
User avatar
rcdraco
Posts: 781
Joined: 22 Nov 2006, 02:50

well

Post by rcdraco »

Texture Mapping / Show UV mapping / Edit / Flip UV's

The Edit is in the top left of the new window, it shows up eventually.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

OMFG way to pay attention...


.give 1 storage @2075,341,1766
[string "LuaUI\Widgets\gui_xp.lua"]:92: attempt to perform arithmetic on field 'power_xp_coeffient' (a nil value)
Removed widget: Rank Icons
Giving 1 storage to team 0
gl.DrawFuncAtUnit: error(2) = [string "LuaUI\Widgets\unit_healthbarsnew.lua"]:255: Incorrect arguments to gl.Translate(x, y, z) [string "LuaUI\Widgets\unit_healthbarsnew.lua"]:255: Incorrect arguments to gl.Translate(x, y, z)
Removed widget: HealthBarsNew
[string "LuaUI/Widgets/unit_healthbars.lua"]:414: attempt to perform arithmetic on field 'height' (a nil value)
Removed widget: HealthBars

^^ that's the problem. THe model is fine, I flip my uv's instead of flipping the texture.
Death Dragon
Posts: 23
Joined: 20 Oct 2007, 09:47

Post by Death Dragon »

If the thread had a better name they'd know what the problem is.

Edit:
Looks like the name is better now.
Last edited by Death Dragon on 28 Oct 2007, 04:37, edited 1 time in total.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

I was not refering to the textures, I know why they're flipped. If some values (such as height) may have gone corrupted a clean s3o (as produced by Save As) might solve this, other than that no idea.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

rattle wrote:I was not refering to the textures, I know why they're flipped. If some values (such as height) may have gone corrupted a clean s3o (as produced by Save As) might solve this, other than that no idea.
crap, doesn't work :(
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Fixed btw, had to reimport the obj and redo the s3o.

Is there a good and very stable upspring out there with no noticeable quirks?
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Post by Pressure Line »

*edit* actually forget it. i give up.
Post Reply

Return to “Help & Bugs”