Data Realms Fan Forums
http://45.55.195.193/

An unexplained Error
http://45.55.195.193/viewtopic.php?f=1&t=13327
Page 1 of 1

Author:  BEANME [ Mon Jan 05, 2009 6:45 am ]
Post subject:  An unexplained Error

Okay, this is driving me nuts, and though I deeply regret revealing the concept of my next mod, I guess I have no choice.
I have recieved an error message (not giving me a spot in the code, just telling me it crashed), displayed below. I have tried many things, and through trial and error (creating syntax errors in the code and seeing how far it goes before I get the same message) I have isolated the error to this code:
Code:
AddDevice = HDFirearm
   PresethName = Roundhouse Gun
   Description = Fires a freaking Roundhouse Kick at your enemies. Awesome!
   AddToGroup = Weapons
   AddToGroup = BEANME's Mods
   Mass = 10
   HitsMOs = 0
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = Roundhouse Gun.rte/RGun.bmp
   SpriteAnimType = 1
   FrameCount = 2


I just don't get it.

Author:  Sashi [ Mon Jan 05, 2009 8:08 am ]
Post subject:  Re: An unexplained Error

Could it be the fact that the parser is searching for "Gun.rte" instead of "Roundhouse Gun.rte"? I think the parser hates spaces in paths, like most things in code do.
Try renaming it to RoundhouseGun.rte and fixing all the paths in your ini's appropriately.

Author:  whitty [ Mon Jan 05, 2009 9:47 am ]
Post subject:  Re: An unexplained Error

That is a memory allocation error. It should have nothing to do with the mod.

I get an error like that every now and then.
Try restarting your computer or re-installing.

Author:  Sashi [ Mon Jan 05, 2009 3:19 pm ]
Post subject:  Re: An unexplained Error

It shouldn't, but I've had memory issues related to mods.

Author:  Shook [ Mon Jan 05, 2009 10:47 pm ]
Post subject:  Re: An unexplained Error

It says "PresethName" instead of "PresetName", try fixing that. Don't know if it'll help, but it's worth a shot. :P
Also, i'm pretty sure that "SpriteAnimType" doesn't work with HDFirearms, try disabling it. Once again, i don't know if it helps though.

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