Bug Reports

Archive of old Custom Edition threads.

Moderators: th15, Moderators

Bad Boy
Vice Admiral
Vice Admiral
Posts: 1276
Joined: Mon Jan 21, 2008 4:34 am
Location: Halifax, Canada

Post by Bad Boy »

Code: Select all

___________________________________________
ERROR in
action number 1
of Key Press Event for S-key Key
for object obj_sidebar:

In script saveShip:
In script saveShipSHP:
In script saveMLDTSHP:
Error in code at line 7:
   text += endl + "//Weapon links, drivers and triggers"

at position 17: Wrong type of arguments to +.

___________________________________________
ERROR in
action number 1
of Key Press Event for S-key Key
for object obj_sidebar:

Error opening file for writing.

___________________________________________
ERROR in
action number 1
of Key Press Event for S-key Key
for object obj_sidebar:

In script saveShip:
In script saveShipSHP:
In script saveMLDTSHP:
Error in code at line 7:
   text += endl + "//Weapon links, drivers and triggers"

at position 17: Wrong type of arguments to +.

___________________________________________
ERROR in
action number 1
of Key Press Event for S-key Key
for object obj_sidebar:

In script saveShip:
In script saveShipSHP:
In script saveMLDTSHP:
Error in code at line 7:
   text += endl + "//Weapon links, drivers and triggers"

at position 17: Wrong type of arguments to +.
I have no idea what happened, the ship has no weapons yet, no rotsects, no moving sections, nothing but plain sections at the moment, and when I tried to save this popped up.

I opened it with a new sm window and it opens, but the depth is completely screwed up, and I get this message:

Code: Select all

___________________________________________
ERROR in
action number 1
of Key Press Event for O-key Key
for object obj_sidebar:

Error in function real().
Edit: Also, when I try to change the depth of a section in the reopenned version, random sections seem to change depths rather then the one I want to change.
Danny420Dale
Vice Admiral
Vice Admiral
Posts: 1344
Joined: Sat Sep 22, 2007 2:28 pm

Post by Danny420Dale »

Instant crash-on-takeoff for newest bsfce version.


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

Error in code at line 292:
( ( tr_mode == 0 || tr_mode == 1 ) && (tr_ontype != 0 || tr_offtype != 0) ) then

at position 43: Unknown variable tr_ontype
User avatar
Arcalane
Pseudofeline Overlord
Posts: 4034
Joined: Thu Sep 13, 2007 10:37 am
Location: UK

Post by Arcalane »

Works for me. I'm getting this when I try to load custom ships with links though;

Code: Select all

FATAL ERROR in
action number 1
of Key Press Event for F2 Key
for object ctr_Testroom:

COMPILATION ERROR in code action
Error in code at line 370:
   
nLink2(6,0nTrigW)

at position 12: Symbol , or ) expected.
  /l、
゙(゚、 。 7
 l、゙ ~ヽ
 じしf_, )ノ
Siber
Captain
Captain
Posts: 319
Joined: Wed Dec 05, 2007 1:43 am
Location: Florida, USA

Post by Siber »

After a spot of testing I have come to a conclusion. If a section is already moving or rotating and you trigger the other option, everything is cool. If the section is doing nothing and you trigger either, all the sections parented to it vanish. This is somewhat problematic, as you might imagine. An example. I've also noted some issues with triggered sections in the 'safe' category redepthing when triggered the first time, but I've been unable to isolate that issue.

It'd be super sweet, though, if we could trigger both rotation and movement on a section instead of just one or the other. Super sweet. As awesome as a six armed guitarist playing a triple guitar.
seriously Anna. seriously oh my gawd seriously.

Author of DAF and Sillyness
Co-founder Homeworld:@
Danny420Dale
Vice Admiral
Vice Admiral
Posts: 1344
Joined: Sat Sep 22, 2007 2:28 pm

Post by Danny420Dale »

This is what happens when I load an old .sb4, one of my Scalpel bombers.


___________________________________________
FATAL ERROR in
action number 1
of Key Press Event for O-key Key
for object obj_sidebar:

COMPILATION ERROR in code action
Error in code at line 1:
››¿À­¾Àµº³v››àäàvvvv››¿±¯Àµ»º¿vvvÚ¿ÑÏÍ”
Lord-General Thunder
Commander
Commander
Posts: 214
Joined: Wed Feb 20, 2008 1:59 am
Location: Canada

Post by Lord-General Thunder »

Kaelis wrote:ThrusterEx - Apparently you missed this:
Kaelis wrote:EDIT: Nevermind all bugs with loading and saving. Ive fixed them. don't try load old sb4s and don't make ships with ThrusterEx for now... ill make a new release once im done with triggers.
Well, just FYI, the only issue I had with them was the mangled .sb4. I parented a dozen or so to a core to test them out and they worked fine.
Last edited by Lord-General Thunder on Fri Jan 23, 2009 9:31 am, edited 1 time in total.
[img]http://i30.photobucket.com/albums/c348/DraTuicichNovae/BLANKcopy-6.jpg[/img]
Siber
Captain
Captain
Posts: 319
Joined: Wed Dec 05, 2007 1:43 am
Location: Florida, USA

Post by Siber »

I'm not sure if this is the right place for this, but I see no better.
[11:14:28] <Kaelis> Siber?
[11:14:31] <Kaelis> Hey Seraph.
[11:14:45] <Anna> Siber is not here, afaik.
[11:14:53] <Kaelis> Dammit
[11:14:58] <Kaelis> His link doesn't work...
[11:15:54] <Kaelis> Seraph, he does know that he can just use two sections, one parented to another, to get his movement+rotation trigger?
I am aware of that, but it seems decidedly sub par from a builder's perspective.

If you can enable both with one trigger, you place a section, edit its movement, set up 2-4 triggers, and then later of you want to edit the movement or triggers you go to that section.

If you want to get movement and rotation currently you get to set up one section with one half of the movement, set up 2-4 triggers on it, hide it, set up a second section, set up the other half the movement on it, and set up 2-4 triggers on it. If you later want to edit the movement or triggers you have to dig out the hidden section and edit the triggers in two places, and possibly flip back and forth between the two sections editing the movement.

This is perfectly possible, but much much more of a pain in the ass.

Have another download link: http://filesmelt.com/Filehosting2/downl ... erdemo.sb4
seriously Anna. seriously oh my gawd seriously.

Author of DAF and Sillyness
Co-founder Homeworld:@
Danny420Dale
Vice Admiral
Vice Admiral
Posts: 1344
Joined: Sat Sep 22, 2007 2:28 pm

Post by Danny420Dale »

Built new ship, tried loading in sandbox.


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

In script nSecT:
Error in code at line 31:
if obj.tr_ontype == obj.tr_offtype && obj.tr_ontype < 11 then

at position 9: Unknown variable tr_ontype



File here.

http://www.mediafire.com/?pznzpgxr0im
lightstriker
Commodore
Commodore
Posts: 721
Joined: Mon Jun 30, 2008 7:49 am
Location: "not here" would probably be accurate

Post by lightstriker »

ERROR in
action number 1
of Draw Event
for object ctr_GUI:
Error in code at line 292:
draw_healthbar(barx + 1 + barlength/2,bary,barx + barlength,bary +GUI_HealthBarHeight*2 ,seltarg.l_syshp/seltarg.l_maxsyshp*100,$000000,$0000FF,$00AA00,0,1,0)
at position 115: Unknown variable l_syshp
Siber
Captain
Captain
Posts: 319
Joined: Wed Dec 05, 2007 1:43 am
Location: Florida, USA

Post by Siber »

Vanishing sections appear to be mostly fixed in the latest version, but are still present on the new move+rotate trigger. yay.
seriously Anna. seriously oh my gawd seriously.

Author of DAF and Sillyness
Co-founder Homeworld:@
Danny420Dale
Vice Admiral
Vice Admiral
Posts: 1344
Joined: Sat Sep 22, 2007 2:28 pm

Post by Danny420Dale »

With new release, opening a ship:


___________________________________________
ERROR in
action number 1
of Key Press Event for O-key Key
for object obj_sidebar:

Error in function real().
Kaelis
Moderator
Posts: 1590
Joined: Fri Dec 14, 2007 4:46 am

Post by Kaelis »

This error means theres something wrong with your sb4; bug with saving sb4s in previous version. Open it up in text editor of your choice, go to the very end of the file, and there should be a long (depending on the ship) line like this:

nWepMir,0,0nWepMir,1,0nWepMir,2,0nWepMir,3,0nWepMir,4,0nWepMir...

Or nSecMir, nDooMir, nModMir.

Just delete it. You will have to remirror the ship. You could just press ignore, but that might potentially mess up mirroring, depth and other things, and in some cases you won't even notice theres something wrong with your ship.
Danny420Dale
Vice Admiral
Vice Admiral
Posts: 1344
Joined: Sat Sep 22, 2007 2:28 pm

Post by Danny420Dale »

Hm, ok.

[20:04] <danny420dale> k quick hits: thrusterexes ALWAYS point directly aft even when installed at another angle
[20:05] <danny420dale> and they don't keep color when mirroring.
Lord-General Thunder
Commander
Commander
Posts: 214
Joined: Wed Feb 20, 2008 1:59 am
Location: Canada

Post by Lord-General Thunder »

This is what happens when I load a ship with even a single section.
BSFCE1.1811.exe wrote:ERROR in
action number 1
of Create Event
for object __newobject994:

In script nSecT:
Error in code at line 31:
if obj.tr_ontype == obj.tr_offtype && obj.tr_ontype < 11 then

at position 9: Unknown variable tr_ontype
Hestia4.sb4
Hestia4.shp

Ships with sections still refuse to even load in-game. :(
[img]http://i30.photobucket.com/albums/c348/DraTuicichNovae/BLANKcopy-6.jpg[/img]
Kaelis
Moderator
Posts: 1590
Joined: Fri Dec 14, 2007 4:46 am

Post by Kaelis »

You have an old version of BSFCE. The latest one is numbered 1.812.
Locked