v0.9 Bug Report Thread

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

Moderators: th15, Moderators

SHAD0Wdump
BANNED
Posts: 413
Joined: Thu Nov 06, 2008 9:35 pm

Post by SHAD0Wdump »

Code: Select all

___________________________________________
ERROR in
action number 1
of Alarm Event for alarm 2
for object EImpederDeployer:

Creating instance for non-existing object: 0
Impeder deployers on custom ships will crash the game when activated,impeder deployers used on stock ships work fine.
Zae
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 20
Joined: Thu Jan 22, 2009 7:39 am
Location: Somewhere.

Post by Zae »

Massive error! i downloaded the new shipmkaer and BSF forever but when i try and load my custom ship it says:

Code: Select all

ERROR in
action number 1
of Create Event
for object __newobject992:

In script initSections:
In script setSectionColours:
Error in code at line 15:
       amt = point_distance(0,0,lengthdir_x(l_offsetlen,l_offsetdir) + lengthdir_x(len,dir+image_angle),lengthdir_y(l_offsetlen,l_offsetdir) + lengthdir_y(len,dir+image_angle))/l_owner.l_size-global.World_MinColour

at position 184: Division by 0.



And when i click ignore it says:

Code: Select all

___________________________________________
ERROR in
action number 1
of End Step Event
for object ShipSection:

Error in code at line 275:
       image_angle = l_owner.image_angle + l_angle + rs_rotang

at position 20: Unknown variable l_owner
Kaelis
Moderator
Posts: 1590
Joined: Fri Dec 14, 2007 4:46 am

Post by Kaelis »

Post that ship, Zae.
FIREST0RM000
Captain
Captain
Posts: 486
Joined: Thu Aug 07, 2008 11:32 pm

Post by FIREST0RM000 »

In shipmaker, when using weapon layering ( "W" key), on a weapon that is already layered, SM returned this error. this was immediately after returning to the window from BSF. it wasn't fatal, and it only happened once, but reporting none the less.

Code: Select all

ERROR in
action number 1
of Key Press Event for W-key Key
for object obj_weapon:

Data structure with index does not exist.


ERROR in
action number 1
of Key Press Event for W-key Key
for object obj_weapon:

Data structure with index does not exist.
Edit: tried again, but I couldn't repeat it :?
FIREST0RM000
Captain
Captain
Posts: 486
Joined: Thu Aug 07, 2008 11:32 pm

Post by FIREST0RM000 »

Another error: started sandbox game in windowed mode, switched to full screen with the alt + enter shortcut, and the game crashed, saying something about "failed to apply surfaces, game will restart in no surfaces mode." surfaces were fine until I did that. no error log was generated.
Zae
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 20
Joined: Thu Jan 22, 2009 7:39 am
Location: Somewhere.

Post by Zae »

Here's the ship, Kaelis. It's just a test one.

http://www.mediafire.com/?sharekey=20ae ... b646a932ef

It has the sb4 and shp file included.
Exethalion
Vice Admiral
Vice Admiral
Posts: 1033
Joined: Tue Nov 13, 2007 6:36 pm
Location: Stuttgart, DE
Contact:

Post by Exethalion »

I've noticed that every now and then whilst in shipmaker the arrow key functions (pan view and the shift+arrow nudges) stop working completely. I have to save and re-open shipmaker to rectify it. :?
TsunamiWombat
Ensign
Ensign
Posts: 2
Joined: Tue Jan 27, 2009 9:52 am

Post by TsunamiWombat »

Error new with the .90 ship maker, whenever I try to load ANY ship with curved pieces (it doesn't effect the solid angle ones for some reason) or stretched pieces, I get these error messages (I clicked ignore a few dozen times to cycle through)

I have all graphic options OFF except for Particle effects, I recieve the error in windowed or fullscreen. I am running a Pentium 4 and an ATI Radeon x300.

This is the ship in question.

http://img101.imageshack.us/img101/4639 ... atoap1.jpg
___________________________________________
ERROR in
action number 1
of Create Event
for object __newobject992:

In script initSections:
Error in code at line 19:
max(0, ((1-abs(l_section.l_offsetdir)/180)+(1-l_section.l_offsetlen/(l_size)))/2 ))

at position 83: Division by 0.

___________________________________________
CLIPPED AGAIN!
Last edited by TsunamiWombat on Tue Jan 27, 2009 10:10 am, edited 1 time in total.
TsunamiWombat
Ensign
Ensign
Posts: 2
Joined: Tue Jan 27, 2009 9:52 am

Post by TsunamiWombat »

See the ship above, this is the same one dissassembled so you can see all the parts.

Another issue, about this ship specifically. At first I thought my bug was because the game seems to think my ship is much, much more huge then it actually is.

http://img101.imageshack.us/img101/952/igfwhutvc0.jpg

PS: That isn't the issue, as NO curved ships work. That is, no curved ships in .sb4 format. My old .sb3's seem to still work for the most part, though 1 or 2 crashed me.
FIREST0RM000
Captain
Captain
Posts: 486
Joined: Thu Aug 07, 2008 11:32 pm

Post by FIREST0RM000 »

problem with one of my new ships. deleted all of the weapons and I still get this.
http://filesmelt.com/Filehosting2/downl ... ruiser.shp

Code: Select all

ERROR in
action number 1
of Create Event
for object __newobject992:

In script nTur2:
Error in code at line 24:
     l_section[argument6].l_child[l_section[argument6].l_childnum] = l_weapon[wj]

at position 4: Unknown variable l_section or array index out of bounds

EDIT: I took off the thruster ex's and the last two sabot guns I found and now it works. not sure what the problem is yet, but I'll try to find it.
EDIT2: the Sabot guns are definitely the problem, though they did work on the ship for a while before crashing it. I probably just changed a setting somewhere, though what, I don't know.
Last edited by FIREST0RM000 on Tue Jan 27, 2009 11:36 am, edited 1 time in total.
Draco18s
Lieutenant Commander
Lieutenant Commander
Posts: 73
Joined: Thu Jan 22, 2009 3:19 am

Post by Draco18s »

Right-click menu incorrectly indicates that "Set Parent" can be done with the P key.
bl3d4
Commander
Commander
Posts: 229
Joined: Sat Mar 01, 2008 2:04 pm
Location: What? I'm somewhere? Where? Ask the GPS!

Post by bl3d4 »

Need some help here... the Ship Deployer Module dosent let me deploy one of my custom ships. In the game, when I try to activate the module, it gives me this is a pop-up:


Invalid Ship File


Then, this:
___________________________________________
ERROR in
action number 1
of Other Event: User Defined 0
for object ShipDeployer:

Error in code at line 13:
obj.speed = l_special2

at position 14: Cannot assign to the variable
We are bits of stellar matter that got cold by accident, bits of a star gone wrong.
- Sir Arthur Eddington
"Gods are fragile things; they may be killed by a whiff of science or a dose of common sense."
-- Chapman Cohen
Triggerhappypilot
Ensign
Ensign
Posts: 5
Joined: Mon Jan 26, 2009 11:53 am

Post by Triggerhappypilot »

The teller torpedos fire backwards out of their launcher. it doesn't affect their performance, but it look odd.
Jafo
Captain
Captain
Posts: 253
Joined: Wed Jan 16, 2008 11:46 pm

Post by Jafo »

Nano Matrix - initial range is 0.10, however, even if you increase the range (eg. 200) it will not repair the ship.

ThrusterEx - changing exhaust colour has no effect, it stays the default white.
Kaelis
Moderator
Posts: 1590
Joined: Fri Dec 14, 2007 4:46 am

Post by Kaelis »

Please refrain from reposting existing bugs.

Please don't post huge images - post links instead.

Please post your sb4s.


If you guys keep disregarding these pointers, it will be just harder for us to fix those bugs.
Locked