Data Realms Fan Forums
http://45.55.195.193/

Line 10 of devices wont read
http://45.55.195.193/viewtopic.php?f=72&t=16320
Page 1 of 1

Author:  pieman280 [ Sat Aug 22, 2009 6:24 am ]
Post subject:  Line 10 of devices wont read

I need help. Today I decided to make a one handed SMG. I edited the default SMG code, I did that right, but my game failed to read the Adddevice part, and I had to cut it from the game. Then it crashed on devices.ini at the SMG part. I cut that out. Next, it crashed on the sprayers part. I hadn't even opened that folder!!! :x

My game is giving out random errors on the devices in base. Is there a way to fix this, or do I need to reinstall.

Author:  Grif [ Sat Aug 22, 2009 6:44 am ]
Post subject:  Re: Line 10 of devices wont read

NOTE: This is why you do not edit essential folders without backing up first.

It takes about thirty seconds to .rar up the essential CC folders, and about twenty seconds to fix them after that, versus minutes to download, install, and fix the game.

Author:  LowestFormOfWit [ Sat Aug 22, 2009 7:51 pm ]
Post subject:  Re: Line 10 of devices wont read

Also, these lines must look "exactly" like this. By "exactly" I mean case sensitive:
Code:
AddDevice = HDFirearm
   PresetName = <YourSMGNameHere>
   Description = <BlahDescriptionHere>
   AddToGroup = Weapons
   OneHanded = 1

^Main Hand Version (Usable with a Shield).
Code:
AddDevice = HDFirearm
   PresetName = <YourSMGNameHere>
   Description = <BlahDescriptionHere>
   AddToGroup = Shields
   OneHanded = 1

^ OffHand Version (Takes place of a Shield; Can use with Main Hand weapon.

Take Grifs advice too.
Back It Up
Before You ♥♥♥♥ It Up.

Author:  pieman280 [ Sun Aug 23, 2009 3:02 am ]
Post subject:  Re: Line 10 of devices wont read

I copied and pasted the code to make sure I got it all right. The weird thing as I said before was that it was crashing on things I hadn't touched. And intead of crashing on the one handed code, it was crashing on the entire device code. It was weird.

Well, I'll back up my files more often. I reinstalled, and everything works fine again. :)

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/