project-navigation
News
Download
Forum
Contribute
Media
FAQ
About
Contact
Personal tools
Login
Register
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New board
Home
Help
Search
Login
Register
UFO:Alien Invasion
»
Technical support
»
Feature Requests
»
Critical crash while trying to manipulate production units
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Critical crash while trying to manipulate production units (Read 2382 times)
Yeager
Guest
Critical crash while trying to manipulate production units
«
on:
February 01, 2008, 06:46:15 pm »
...without selecting them.
If you don't select an unit which is being produced and you want to manipulate its count the game crashes.
I think this is a typical null pointer exception for the game doesn't know the object to be manipulated.
So the solution would be a try-catch-measure (writing in c#, don't know the equivalent in c, but at least an IF-Statement would do it) to hinder the game in crashing if the user/player didn't select any item/object.
«
Last Edit: February 01, 2008, 06:47:52 pm by Yeager
»
Logged
SpaceWombat
Guest
Re: Critical crash while trying to manipulate production units
«
Reply #1 on:
February 01, 2008, 07:16:20 pm »
As far as I remember there was always something selected in my production queue.
(At least some picture was in the right screen indicating what is selected). Was this at the very beginning of a new mission/base?
Try and catch or first item on the list selected by default should fix it imho.
Logged
Yeager
Guest
Re: Critical crash while trying to manipulate production units
«
Reply #2 on:
February 03, 2008, 03:18:07 am »
Hmm,
cannot reproduce this failure again.
Maybe there are some other aspects leading to the crash.
No, it wasn't at the beginning of a mission.
Just during play, when I wanted to reduce some fragmentary grenade production.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
UFO:Alien Invasion
»
Technical support
»
Feature Requests
»
Critical crash while trying to manipulate production units