My ship crashes on me, joy
Moderators: th15, Moderators
My ship crashes on me, joy
Tried putting this ship into the sandbox, and this is what I just happen to come across by:
ERROR in
action number 1
of Create Event
for object __newobject791:
In script nSec:
Error in code at line 29:
l_section[j].l_colour = global.colour[round((l_colour mod 1) * 10),argument7];
at position 73: Negative array index
Not to mention that I can't even upload this thing into the ship database. The computers are playing mind tricks on me or I don't know what:
"Parse error: syntax error, unexpected '{' in /home/tropica/public_html/wyrdysm/battleshipsforever/shipdatabase/upload.php on line 44"
This ship was made and also 'tried' to be played on the latest versions of BSF. I really, really, want to get this ship working or otherwise I wouldn't have asked for help. Tell me solutions before my brain implodes.
Try it for yourselves.
ERROR in
action number 1
of Create Event
for object __newobject791:
In script nSec:
Error in code at line 29:
l_section[j].l_colour = global.colour[round((l_colour mod 1) * 10),argument7];
at position 73: Negative array index
Not to mention that I can't even upload this thing into the ship database. The computers are playing mind tricks on me or I don't know what:
"Parse error: syntax error, unexpected '{' in /home/tropica/public_html/wyrdysm/battleshipsforever/shipdatabase/upload.php on line 44"
This ship was made and also 'tried' to be played on the latest versions of BSF. I really, really, want to get this ship working or otherwise I wouldn't have asked for help. Tell me solutions before my brain implodes.
Try it for yourselves.
Like the others said, check your colors. I would bet it's that black section. The game won't let me use an absolute black section either.
[url=http://www.wyrdysm.com/phpBB2/viewtopic.php?t=1681][img]http://img.photobucket.com/albums/v77/Strideo/BF/AthacianShipyards3.jpg[/img]
Clicky to see my fleets! :D[/url]
Clicky to see my fleets! :D[/url]
Yes, setting any section to pure black will make the engine yell at you.
[url=http://www.fallingsandgame.com/][img]http://www.gaussianstudios.co.cc/hosting/fsgbanneram3.png[/img][/url]
tl;dr-ers will be shot on sight.
[size=75][url=http://bsf.wikidot.com/]BSF Wiki[/url]
"I have measured your 'fun', and science has quantitatively rated it a three." ~Lord Tim (Data Realms Fan Forums)[/size]
tl;dr-ers will be shot on sight.
[size=75][url=http://bsf.wikidot.com/]BSF Wiki[/url]
"I have measured your 'fun', and science has quantitatively rated it a three." ~Lord Tim (Data Realms Fan Forums)[/size]
-
- Vice Admiral
- Posts: 1435
- Joined: Tue Dec 04, 2007 7:31 am
-
- Vice Admiral
- Posts: 1235
- Joined: Wed Jan 02, 2008 4:27 pm
- Location: Elysium
Well, that worked, although the colors didn't turn up quite right...
Next problem, how do you make it so that when it's firing at an enemy it twirls around instead of just standing there firing its shit? My other cores with stations tend to twirl, but this one doesn't.
I'm suspecting it's the speed and the accelerations fault. Well, time to hammer it again methinks.
Next problem, how do you make it so that when it's firing at an enemy it twirls around instead of just standing there firing its shit? My other cores with stations tend to twirl, but this one doesn't.
I'm suspecting it's the speed and the accelerations fault. Well, time to hammer it again methinks.
-
- Vice Admiral
- Posts: 1372
- Joined: Tue Dec 11, 2007 1:31 pm
- Location: Sunny California
Accel = 0Madgamer wrote:Well, that worked, although the colors didn't turn up quite right...
Next problem, how do you make it so that when it's firing at an enemy it twirls around instead of just standing there firing its shit? My other cores with stations tend to twirl, but this one doesn't.
I'm suspecting it's the speed and the accelerations fault. Well, time to hammer it again methinks.
Maxspeed = 0.01
Turn = whatever
good to go.
[img]http://i307.photobucket.com/albums/nn298/ChaosTheory100/Feather_Signature_Ice3.png[/img]
Max speed doesn't matter either just as long as the acceleration is zero. If you can't accelerate you can't really reach any "maximum speed" other than zero.ChaosTheory wrote:Accel = 0Madgamer wrote:Well, that worked, although the colors didn't turn up quite right...
Next problem, how do you make it so that when it's firing at an enemy it twirls around instead of just standing there firing its shit? My other cores with stations tend to twirl, but this one doesn't.
I'm suspecting it's the speed and the accelerations fault. Well, time to hammer it again methinks.
Maxspeed = 0.01
Turn = whatever
good to go.
[url=http://www.wyrdysm.com/phpBB2/viewtopic.php?t=1681][img]http://img.photobucket.com/albums/v77/Strideo/BF/AthacianShipyards3.jpg[/img]
Clicky to see my fleets! :D[/url]
Clicky to see my fleets! :D[/url]
-
- Vice Admiral
- Posts: 1372
- Joined: Tue Dec 11, 2007 1:31 pm
- Location: Sunny California
Max speed doesn't matter either just as long as the acceleration is zero. If you can't accelerate you can't really reach any "maximum speed" other than zero. [/quote]Strideo wrote: good to go.
What if your ship gets blown away and has no accel but high speed, so it gets knocked away at its max speed, hits the wall, and continues bouncing around forever with no acceleration to stop it? Besides, the Game won't let you set maxspeed to 0 anyway.
[img]http://i307.photobucket.com/albums/nn298/ChaosTheory100/Feather_Signature_Ice3.png[/img]
Hmmn, nope.ChaosTheory wrote: What if your ship gets blown away and has no accel but high speed, so it gets knocked away at its max speed, hits the wall, and continues bouncing around forever with no acceleration to stop it? Besides, the Game won't let you set maxspeed to 0 anyway.
What you're saying makes sense and that's sort of what happens with fast ships that have low acceleration. A section blows off and they go flying but with a station it just continues to spin. Even if you give a speed of 7 and you blow a section off you'd think if it were like a ship it would fly away at a speed of 7 but it just sits there spinning around. It must just be how the game engine works. Once it spins the station can't drift away or be knocked from its position.
[url=http://www.wyrdysm.com/phpBB2/viewtopic.php?t=1681][img]http://img.photobucket.com/albums/v77/Strideo/BF/AthacianShipyards3.jpg[/img]
Clicky to see my fleets! :D[/url]
Clicky to see my fleets! :D[/url]
-
- Vice Admiral
- Posts: 1372
- Joined: Tue Dec 11, 2007 1:31 pm
- Location: Sunny California
w/ever.Strideo wrote:Hmmn, nope.ChaosTheory wrote: What if your ship gets blown away and has no accel but high speed, so it gets knocked away at its max speed, hits the wall, and continues bouncing around forever with no acceleration to stop it? Besides, the Game won't let you set maxspeed to 0 anyway.
What you're saying makes sense and that's sort of what happens with fast ships that have low acceleration. A section blows off and they go flying but with a station it just continues to spin. Even if you give a speed of 7 and you blow a section off you'd think if it were like a ship it would fly away at a speed of 7 but it just sits there spinning around. It must just be how the game engine works. Once it spins the station can't drift away or be knocked from its position.
Not that I've tested it . . . so how did we get on this subject anyway? Oh yes, you said maxspeed didn't matter . . . no, I guess it doesn't. But it helps you remember that it is, in fact, a station anyway.
[img]http://i307.photobucket.com/albums/nn298/ChaosTheory100/Feather_Signature_Ice3.png[/img]