View unanswered posts | View active topics It is currently Wed Jan 08, 2025 10:37 pm



Reply to topic  [ 5 posts ] 
 An unexplained Error 
Author Message
User avatar

Joined: Fri Dec 22, 2006 5:23 am
Posts: 75
Location: Enclave Test Labs
Reply with quote
Post 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.


Mon Jan 05, 2009 6:45 am
Profile
User avatar

Joined: Thu Mar 13, 2008 5:02 am
Posts: 46
Location: Michigan, United States
Reply with quote
Post 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.


Mon Jan 05, 2009 8:08 am
Profile
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post 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.


Mon Jan 05, 2009 9:47 am
Profile
User avatar

Joined: Thu Mar 13, 2008 5:02 am
Posts: 46
Location: Michigan, United States
Reply with quote
Post Re: An unexplained Error
It shouldn't, but I've had memory issues related to mods.


Mon Jan 05, 2009 3:19 pm
Profile
User avatar

Joined: Fri Feb 16, 2007 8:43 pm
Posts: 1695
Location: AH SHIT FUCK AUGH
Reply with quote
Post 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.


Mon Jan 05, 2009 10:47 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.054s | 14 Queries | GZIP : Off ]