View unanswered posts | View active topics It is currently Thu Jan 02, 2025 6:08 pm



Reply to topic  [ 12 posts ] 
 Gun error problems! 
Author Message

Joined: Sun Jul 11, 2010 12:10 am
Posts: 25
Reply with quote
Post Gun error problems!
I seem to have a problem with one of the guns i have recently made which crashes when it loads, yet it doesn't display a error message, it just said it has stopped working, and its not cortex command itself, when i remove the mod it works fine yet when i put the mod in it crashes with no error line like *-* rte aborted it just crashes with no reason!, and no preset names are the same, i checked, any help would be taken thanks! :x And my tabbing is 100% correct.


Thu Nov 18, 2010 4:54 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Gun error problems!
Does anything buyable in the mod have a word in its presetname over 11 characters long?


Thu Nov 18, 2010 5:38 pm
Profile

Joined: Sun Jul 11, 2010 12:10 am
Posts: 25
Reply with quote
Post Re: Gun error problems!
no words over 11 characters.


Thu Nov 18, 2010 5:39 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Gun error problems!
You guys both ninja'd me to it, but to reiterate:

When exactly is it crashing? If it's the buy menu then it's got too many letters in the PresetName.

I'm assuming that isn't the case, and if so then you're probably exceeding CC's capabilities in one of the variables. Put them at regular values, one by one, then change it back and move on to the next one. Do this 'till it stops crashing.

Unless, of course you made two or more errors, in which case you'll need to upload it so we can take a peek.


Thu Nov 18, 2010 5:40 pm
Profile

Joined: Sun Jul 11, 2010 12:10 am
Posts: 25
Reply with quote
Post Re: Gun error problems!
I coppied/ made a template straight from the coalition sniper rifle, changed the sprite + some offsets, but i didn't play with any variables! It crashes just before the main menu loads!

I have gone over this gun for 3 hours and can still not find the problem!
the barret 50.cal i made was ok but i changed the default offsets to the new and correct ones and now its faulty, yet the offsets have only been changed by 1 pixel each! Any help?


Thu Nov 18, 2010 5:49 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Gun error problems!
Yeah, I don't think we'll be able to help unless you upload it. I've got no ideas of what might be wrong based on your explanation. :???:


Thu Nov 18, 2010 7:19 pm
Profile

Joined: Sun Jul 11, 2010 12:10 am
Posts: 25
Reply with quote
Post Re: Gun error problems!
Here it is! nothings wrong with index or sprites! i Still can't find what the holy hell's wrong! :(


Attachments:
File comment: The sniper in questions ini
Sniperbar.ini [7.7 KiB]
Downloaded 176 times
Thu Nov 18, 2010 7:55 pm
Profile

Joined: Sun Jul 11, 2010 12:10 am
Posts: 25
Reply with quote
Post Re: Gun error problems!
Sorry to ask, but do you need all of the gun to diagnose it? Like the sprites index and sounds or will the ini be enough to solve it?


Thu Nov 18, 2010 10:23 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Gun error problems!
Probably just the .ini.
I'm petty sure it isn't any of your other files that are the problem.


Fri Nov 19, 2010 12:03 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Gun error problems!
AddToGroup = Sniper pack has two tabs, it should only have one.

Also, Barrett has two 'T's, and capitalization of objects' names makes your coding look nicer. And the period in caliber goes before the number.
And naming the gun by model would look better than using the general, layman's term. (Barrett M82, M107, or whatever model it is you're emulating)
So if you named it Barrett M82, and said it was .50 caliber in the description, that would look far better.
But I digress, you came for functional repair, not cosmetic criticism, so I guess I'll give it a rest...


Fri Nov 19, 2010 5:19 am
Profile

Joined: Sun Jul 11, 2010 12:10 am
Posts: 25
Reply with quote
Post Re: Gun error problems!
Thanks for solving the problem, and i'll change the cosmetics of the gun now, Seriously thanks! that problem was eating at be for 5 hours! :grin:
Yet my offsets seem a bit dodgy as when he holds the weapon with no sharp aim he holds the gun correctly 2 handed where i wanted him to. Yet when he sharp aims his support arm just lets go of the gun. Any help?


Fri Nov 19, 2010 8:28 am
Profile
User avatar

Joined: Sun May 30, 2010 5:30 am
Posts: 853
Location: Auckland, NZ
Reply with quote
Post Re: Gun error problems!
His second arm cannot reach the support position so he gives up trying.
Make the arms reach longer, or make the support position closer to his shoulder.


Fri Nov 19, 2010 8:45 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 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.043s | 14 Queries | GZIP : Off ]