Quartermaster Posted June 18, 2012 Share Posted June 18, 2012 The light drone blaster weapon is missing a terminating '/' tag for one of its lines (burst fire I believe, but I saved the change before writing it down). After making this fix I have not encountered some of the errors that others are having. My guess is that the messed up tag was preventing the weapons that follow it from loading for the ground combat. Quote Link to comment Share on other sites More sharing options...
Quartermaster Posted June 18, 2012 Author Share Posted June 18, 2012 To add to this, the burstfire tag for this weapon is also missing the 'ap' and 'accuracy' parameters. Quote Link to comment Share on other sites More sharing options...
Sleet01 Posted June 18, 2012 Share Posted June 18, 2012 Will test when I get home. What values did you use for burstfire AP and Accuracy? Quote Link to comment Share on other sites More sharing options...
Quartermaster Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) Will test when I get home. What values did you use for burstfire AP and Accuracy? I replaced the BurstFire line with this: <BurstFire ap="32" accuracy="55" sound="Weapon Alien Plasma" delay="0.8" shotCount="5" suppressionValue="50" suppressionRadius="4"/> I set the values of AP and accuracy to that of the machinegun. Since I was updating my editor I didn't have a chance to play too much but in the three battles I fought since then I did not have a problem. However, I have not been using a lot of the high suppression causing weapons (like the machinegun). Edited June 18, 2012 by Quartermaster Quote Link to comment Share on other sites More sharing options...
Comassion Posted June 18, 2012 Share Posted June 18, 2012 Thanks for the fix - good find. I'll try it out tonight. Note - everyone who wants try this fix should make a backup copy before they change the file, and test the game under each one - that way we may be able to determine which specific bugs are linked to this particular file error. Quote Link to comment Share on other sites More sharing options...
waju Posted June 18, 2012 Share Posted June 18, 2012 The light drone blaster weapon is missing a terminating '/' tag for one of its lines My burst fire line looks similar to others in the weapons file. Can you post up your code? Quote Link to comment Share on other sites More sharing options...
Quartermaster Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) My burst fire line looks similar to others in the weapons file. Can you post up your code? I'm doing this backwards at this point, but the burstfire line for the light drone blaster looked something like this: <BurstFire sound="Weapon Alien Plasma" delay="0.8" shotCount="5" suppressionValue="50" suppressionRadius="4"> It looks like the developer copied and pasted the old SingleFire line (the old fire mode for the weapon), and forgot to add AP, accuracy, and the slash to close the section. Edited June 18, 2012 by Quartermaster Quote Link to comment Share on other sites More sharing options...
waju Posted June 18, 2012 Share Posted June 18, 2012 Sorry. For some reason, I thought your two posts were made by different people. Tried this for the Suppressed Alien Death Syndrome, to no avail Quote Link to comment Share on other sites More sharing options...
Max_Caine Posted June 18, 2012 Share Posted June 18, 2012 Likewise. Didn't seem to make any difference. But hey, I like Suppressed Alien Death Syndrome! "Responsible players don't let their aliens get suppressed before dying. Suppressed Alien Death Syndrome. Together, we can beat it." Quote Link to comment Share on other sites More sharing options...
waju Posted June 18, 2012 Share Posted June 18, 2012 "Responsible players don't let their aliens get suppressed before dying. Suppressed Alien Death Syndrome. Together, we can beat it." Symptoms of Suppression include: - Cowering and Crouching - Being labeled with a Superman "S" - Wanting to "End the GAME" In extreme cases, CTD has been reported. Ask your local Xenonaut about Suppression. Quote Link to comment Share on other sites More sharing options...
waju Posted June 19, 2012 Share Posted June 19, 2012 I replaced the BurstFire line with this:<BurstFire ap="32" accuracy="55" sound="Weapon Alien Plasma" delay="0.8" shotCount="5" suppressionValue="50" suppressionRadius="4"/> After some more playing, it seems that this fix only works after starting a completely new game after completely closing out of the Xenonauts program. It did not work for old saves, or for new games started in the same session of playing 'corrupted' saves. Quote Link to comment Share on other sites More sharing options...
Comassion Posted June 19, 2012 Share Posted June 19, 2012 Great find Quartermaster. For everyone who hasn't made the change yet, here are the full steps for doing so. 1. Make these changes with Xenonauts closed. Quitting Desura couldn't hurt either, just in case. 2. The file you want to change is weapons_gc.xml. In the Desura install on my box, it's located in C:\Program Files (x86)\Desura\Common\xenonauts\assets 3. The line you want to change is line number 585 (you can also search for 'lightdroneblaster'). This is the line to change: <BurstFire sound="Weapon Alien Plasma" delay="0.8" shotCount="5" suppressionValue="50" suppressionRadius="4"> 4. Change the line to this instead: <BurstFire ap="32" accuracy="55" sound="Weapon Alien Plasma" delay="0.8" shotCount="5" suppressionValue="50" suppressionRadius="4"/> 5. Save the file. 6. Start up Xenonauts. Your saves from your older games are still corrupt - do not load them (you can probably overwrite them). 7. Start a new game and enjoy. You should encounter fewer Crash to Desktop bugs. Quote Link to comment Share on other sites More sharing options...
Chris Posted June 19, 2012 Share Posted June 19, 2012 Thanks for posting this up, it does help. Quote Link to comment Share on other sites More sharing options...
LeftyRighty Posted June 19, 2012 Share Posted June 19, 2012 (edited) hmmm... can't edit file because the desura folders are readonly... even if I change them not to be... copied out, admin, altered, copied back, admin... did i mention i dislike vista? Edited June 19, 2012 by LeftyRighty Quote Link to comment Share on other sites More sharing options...
lamhirh Posted June 19, 2012 Share Posted June 19, 2012 kill UAC >_> Quote Link to comment Share on other sites More sharing options...
waju Posted June 19, 2012 Share Posted June 19, 2012 hmmm... can't edit file because the desura folders are readonly... even if I change them not to be.. Instead of double clicking the file, right-click on it and select "Edit". Quote Link to comment Share on other sites More sharing options...
Quartermaster Posted June 20, 2012 Author Share Posted June 20, 2012 Thanks for posting this up, it does help. Thank you! Quote Link to comment Share on other sites More sharing options...
LeftyRighty Posted June 20, 2012 Share Posted June 20, 2012 Instead of double clicking the file, right-click on it and select "Edit". I was using an xml editor, but even tried basic notepad. Wasn't an issue with altering the file, just vista being an £$% and not letting me save it. still, done now. Quote Link to comment Share on other sites More sharing options...
drakhon999 Posted June 20, 2012 Share Posted June 20, 2012 this has not fixed the problem for me Quote Link to comment Share on other sites More sharing options...
Sleet01 Posted June 20, 2012 Share Posted June 20, 2012 This worked a treat. Six missions, no CTD. Quote Link to comment Share on other sites More sharing options...
LeftyRighty Posted June 20, 2012 Share Posted June 20, 2012 this has not fixed the problem for me Which problem did you still get? there are several CTD issues in this version, this fix only addresses one of them... Quote Link to comment Share on other sites More sharing options...
PRiME Posted June 24, 2012 Share Posted June 24, 2012 Thanks for fix. Also I don't know if it matters but above that line it had <Singleshot /> so I changed it to </Singleshot> which is how the rest of the XML is terminating the lines. Perhaps doesn't matter. Quote Link to comment Share on other sites More sharing options...
Buzzles Posted June 24, 2012 Share Posted June 24, 2012 Thanks for fix. Also I don't know if it matters but above that line it had <Singleshot /> so I changed it to </Singleshot> which is how the rest of the XML is terminating the lines. Perhaps doesn't matter. Depends on how the tag is used. If it's "<Singleshot> other text" then it needs to be terminated like normal HTML ie: <Singleshot> other text </Singleshot>. However if it's simply a single string like "<Singleshot arguments="bah">" then you can just self terminate it ie: <Singleshot arguements="blah" /> as XML/XHTML allows that. Quote Link to comment Share on other sites More sharing options...
PRiME Posted June 24, 2012 Share Posted June 24, 2012 yeah, i put it back the way it was. Still I get crashes sometimes when shooting aliens. I need to be ultra careful but even then it crashes sometimes. Very odd bug, shame there isn't a crashdump txt file for this game that was very detailed on what made it crash. Probably just a code Hick-up Quote Link to comment Share on other sites More sharing options...
Buzzles Posted June 24, 2012 Share Posted June 24, 2012 (edited) Weapon.Laserpistol happens to be missing it's <BurstFire/> tag. I know Chris removed burst fire from the laser pistol as it wasn't meant to be there, but all the others that don't have a burst fire still contain the empty tag. Also: @PRiME: Yes, looking at it, it should be <Singleshot/> as there's no other single shot tag for it. Edited June 24, 2012 by Buzzles Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.