Crash On Startup

Discuss all things Battleships Forever that aren't Ships and Shipmaker - Missions, Development, etc.!

Moderators: th15, Moderators

Post Reply
Joshua
Ensign
Ensign
Posts: 4
Joined: Fri Dec 04, 2009 11:47 am

Crash On Startup

Post by Joshua »

So, I click on the Ship Maker (or the game itself), and this happens:

Image
Image

After checking the Readme, I tried restarting. Still happens. Deleted the bgm and bass .dlls. Still happens.

I'm running this on XP Pro with an Intel Core 2 Duo with a 9600 GTS card and 2 GB of RAM.
Silverware
Commodore
Commodore
Posts: 626
Joined: Fri Apr 17, 2009 11:50 am

Post by Silverware »

If you wanna be helpful click the link for Technical Information
It will help people figure out what is wrong.

Try reinstall, and if it still does it change the ini to set bgm and other sounds to 0 (zero)
Joshua
Ensign
Ensign
Posts: 4
Joined: Fri Dec 04, 2009 11:47 am

Post by Joshua »

The technical information can't be copy & pasted and is extremely long.

And I tried reinstalling. That didn't work. Nor did changing the ini.

game_errors.log contains this:

Code: Select all

FATAL ERROR in
action number 1
of Other Event: User Defined 1
for object TwinAutocannon:

COMPILATION ERROR in code action
Error in code at line 27:
   
  bullet = instance_create(x+lengthdir_x(10,image_angle-25)y+lengthdir_y(10,image_angle-25),l_bullet)

at position 61: Symbol , or ) expected.
Joshua
Ensign
Ensign
Posts: 4
Joined: Fri Dec 04, 2009 11:47 am

Post by Joshua »

Image
Image
Image

Hopefully that's useful.
Kaelis
Moderator
Posts: 1590
Joined: Fri Dec 14, 2007 4:46 am

Post by Kaelis »

Im fairly sure this isnt Shipmakers fault (expert for the game_errors.log error, but thats probably unrelated). But what the culprit is, i don't know. System configuration, drivers, DirectX, .NET frameworks, other redists? Who knows. You should probably consult google.
Silverware
Commodore
Commodore
Posts: 626
Joined: Fri Apr 17, 2009 11:50 am

Post by Silverware »

I do see the error in that code tho
Missing Comma

(10,image_angle-25)y+lengthdir_y
shud be
(10,image_angle-25),y+lengthdir_y

Hell i've failed things missing a comma like that before heaps.
=P
Fixed code:

bullet = instance_create(x+lengthdir_x(10,image_angle-25),y+lengthdir_y(10,image_angle-25),l_bullet)

Probably wanna check that out.
But if it were broke everyone's would return that constantly, cause of how game maker first does a basic check on the code.
User avatar
Arcalane
Pseudofeline Overlord
Posts: 4034
Joined: Thu Sep 13, 2007 10:37 am
Location: UK

Post by Arcalane »

The issue is highlighted even more by the fact the way the image_angle is being reduced by 25, not 10 as it is in the latest version;

Code: Select all

bullet = instance_create(x+lengthdir_x(10,image_angle-10),y+lengthdir_y(10,image_angle-10),l_bullet)
Try updating first, since it sounds like someone got their hands on a very old copy.
Danny420Dale
Vice Admiral
Vice Admiral
Posts: 1344
Joined: Sat Sep 22, 2007 2:28 pm

Post by Danny420Dale »

Arcalane wrote:it sounds like someone got their hands on a very old copy.
BLASTER SHARDS!!!
User avatar
Arcalane
Pseudofeline Overlord
Posts: 4034
Joined: Thu Sep 13, 2007 10:37 am
Location: UK

Post by Arcalane »

Danny420Dale wrote:BLASTER SHARDS!!!
Oooh, delicious hypocrisy! You tell me about people posting one-liners in Custom Ships in the IRC channel, and then do your own two-worder here not seven hours later!

I don't think I need to spell out what that means, do I?
th15
Administrator
Posts: 947
Joined: Sun May 13, 2007 12:01 am

Post by th15 »

I think it's probably the window dropping system that ship maker uses. Kaelis, you know anything more about that?
Sean 'th15' Chan
[img]http://img63.imageshack.us/img63/6344/bfbanner2vy5.gif[/img]
Joshua
Ensign
Ensign
Posts: 4
Joined: Fri Dec 04, 2009 11:47 am

Post by Joshua »

Arcalane wrote:The issue is highlighted even more by the fact the way the image_angle is being reduced by 25, not 10 as it is in the latest version;

Code: Select all

bullet = instance_create(x+lengthdir_x(10,image_angle-10),y+lengthdir_y(10,image_angle-10),l_bullet)
Try updating first, since it sounds like someone got their hands on a very old copy.
I've tried 90d and 90b, and even one that has a version number of 0.86.1.0, and they all get the same results.

I've tried updating XP, the .Net framework (I have 1.1, 2.0, 3.0 and 3.5 with all the latest updates), tried disabling the firewall and all my anti-spyware, anything and everything I could think of.

So far the only thing that seems to work is installing it on a different computer.
Post Reply