Data Realms Fan Forums
http://45.55.195.193/

Freeze on gun select
http://45.55.195.193/viewtopic.php?f=72&t=16246
Page 1 of 1

Author:  PhantomAGN [ Sun Aug 16, 2009 7:22 pm ]
Post subject:  Freeze on gun select

Mac, B23, no mods besides my own WIP.
I've finally added the (crappy prototype) sprite to a gun I've made, and CC loads fine.
In the Buy menu, the gun appears, and has the correct sprite, and rollover. However, when you order it, the game freezes.
Simply exchanging the sprite for another gun stops the crash, but obviously then I'm back to square one.

What have I done wrong, and what can I do to fix it?

Author:  Duh102 [ Sun Aug 16, 2009 7:29 pm ]
Post subject:  Re: Freeze on gun select

Post the sprite, I'll try paletting it for you. Probably something funny in that.

Author:  PhantomAGN [ Sun Aug 16, 2009 7:42 pm ]
Post subject:  Re: Freeze on gun select

Alright.
I was pretty certain it is in palette, I went so far as to set up photoshop with the correct color table, and then drew the gun right on tope of a palette.bmp using only the pencil and eye dropper.
Here you go, thanks for helping.

Attachments:
File comment: Warning.... It's a bit junky.
LightRifleA000.bmp [1.48 KiB]
Not downloaded yet

Author:  Duh102 [ Sun Aug 16, 2009 7:46 pm ]
Post subject:  Re: Freeze on gun select

Hm, the colormap looked ok when I opened it, but see if this is any better.
Attachment:
LightRifleA000.bmp [1.47 KiB]
Not downloaded yet

Could be that one of the colors was out of order, didn't give it more than a glance.

Author:  PhantomAGN [ Sun Aug 16, 2009 7:53 pm ]
Post subject:  Re: Freeze on gun select

Exactly the same issue, but that was a good idea.
I'm wondering if there is anything that could be an issue in the .ini file that is sprite specific perhaps.
Would an out-of-sprite offset cause a crash?
The gun is more or less the same shape as the coa heavy sniper, and that's what I took for the gun's base .ini.

Author:  Duh102 [ Sun Aug 16, 2009 7:57 pm ]
Post subject:  Re: Freeze on gun select

Did you change the offsets when you exchanged the sprite out?
Out of sprite offsets wouldn't do anything, there have been plenty of those without crashes. It'd just act weird.

Author:  PhantomAGN [ Sun Aug 16, 2009 8:00 pm ]
Post subject:  Re: Freeze on gun select

No, no changed offsets. It woul not make sense for that to be the cause anyway, if nobody's holding it.
BUT.
The plot thinkens.
I put all my other guns into a craft, and bought it.
Then I was able to add this gun to the order. It still froze, but the moving rocket proved this time it was not instant, and it did show up in the inventory for once.

Author:  Duh102 [ Sun Aug 16, 2009 8:10 pm ]
Post subject:  Re: Freeze on gun select

There isn't any Sparkle Magic on this particular piece of kit, is there? I've never had this problem myself, but apparently the Dummy Behemoth Rocket Fist has it.

Author:  PhantomAGN [ Sun Aug 16, 2009 8:22 pm ]
Post subject:  Re: Freeze on gun select

No sparkle magic in this version, I'm nothing like adept enough.
...
I wrapped up the rte for zipping up, and commented out the dumb guns.
Magically, that fixed it.
I have absolutely no idea what I did, but somewhere in there was a file that needed commenting.
Oh well, I'll just go check what's dependent on what again.
Thanks for the help, I'm grateful of the rapid response.

Attachments:
File comment: If you'd still like to see it, here you go.
It's such a WIP that I'm embarrassed.

Testing.rte.zip [1.58 MiB]
Downloaded 158 times

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