Page 1 of 1

Game Crashes when slight changes to scripts

Posted: Sun Dec 13, 2015 4:44 am
by Truth
please help, i'm trying to make a new unit but when ever i change the weapon scripts even slightly! with just a letter of the name of the weapon added or deleted all of a sudden openRA crashes. also the tutorial on https://github.com/OpenRA/OpenRA/wiki/C ... a-new-unit for unit creating is out dated :(

P.s i can't also add anything to it (ex. copy and paste weapon and rename it) without it crashing :(
p.s i am using notepad ++

Posted: Sun Dec 13, 2015 2:11 pm
by abcdefg30
I think you have to give us more information.
What weapons did you copy / which changes did you make exactly?

Posted: Sun Dec 13, 2015 8:55 pm
by Truth
NOTE: It stopped happening after a reinstalled the game (idk why) XD
what was happening was any changes to the weapons folder in \OpenRA\mods\ra\weapons caused my game to crash on start up,
even copying and pasting a weapon such as the Scud, pasting it at the bottom and then giving it a new name and new statistics etc. will crash the game.

bellow are all the logs:
note that i couldn't get the file to submit so i sent a .rar folder of it instead so if you want to get into it use .zip or winrar

Posted: Mon Dec 14, 2015 8:09 pm
by Graion Dilach
Exception of type `System.ArgumentOutOfRangeException`: Maximum range is less than the minimum range.
Need I say more? This is from exception.log btw.

Posted: Tue Dec 15, 2015 5:27 am
by Truth
Graion Dilach wrote:
Exception of type `System.ArgumentOutOfRangeException`: Maximum range is less than the minimum range.
Need I say more? This is from exception.log btw.
haha XD alright