Jump to content
3000AD Forums
Sign in to follow this  
Cc

Script CTD

Recommended Posts

Anyone else using GBS3 having intermittent Crash To Desktop problems?

A script I was working on,and seemed to work just fine,now generates intermittent CTD's.

Never had a script that would compile (parse) successfully ever generate a CTD.

Plus, this is a simple script.

Oh....this is using the latest .30.14 patch.

And the latest GBS3 from the patch server.

[ 07-02-2005, 12:40 AM: Message edited by: Cc ]

Share this post


Link to post
Share on other sites

quote:

Anyone else using GBS3 having intermittent Crash To Desktop problems?

A script I was working on,and seemed to work just fine,now generates intermittent CTD's.

Nope but then I haven't been doing any scripting lately.

You know the drill by now you need to

[*]identify the exact cause.

[*]be able to reproduce it every time

[*]get the problem verified by someone else.

First rule of thumb when this sort of thing happens

[*]full uninstall, manual delete of dir, clean install

[*]Re download GBS, extract files.

You may have inadvertently changed one of the data files while viewing it.

[*]Reparse script check the output for any warnings /errors as it parses.

[*]Play script.

quote:

Never had a script that would compile (parse) successfully ever generate a CTD.


I have particularly with GBS 1 and my first large script and again with a later version with code revisions / additions but back then we had access to the debug logs so tracking down the cause was easy

quote:

Plus, this is a simple script.


If the above doesn't fix it cut it down and make it even simpler.

i.e. cut and paste sections of your existing code into a new script create 1 NPC without orders etc

keep building it up and playing until a problem occurs.

I've not seen any reports of the original game scripts (ACM or IA) CTD with the latest RC so I would suspect the problem is at your end.

Share this post


Link to post
Share on other sites

Can't identifty the exact cause,seems intermittent

I did reproduce one problem every time,and eliminated it from the script.

No..the problem is somewhat solid.

The Weird problem is,it use to work (I thought).

Going to try your suggestions.

Thanks for the response.

Excellent information.

Share this post


Link to post
Share on other sites

quote:

I did reproduce one problem every time,and eliminated it from the script.

Well what was the lines of code that caused the problem or was it an programming/logic error on your part?

Share this post


Link to post
Share on other sites

No.....actually it wasn't program logic.

I assigned a Gammlan cruiser a fixed asset of Radine ,Plutonium,and Iridium.

If the cruiser was destroyed,they would be in a cargo pod.

But I commented that line out,and still had problems.

Plus other obscure CTD's.

Maybe my best bet is to start from scratch.

The only reason I posted is because it use to work.

I simply removed it from behind the stove.(From the back burner).

Share this post


Link to post
Share on other sites

quote:

The #1 rule for using my tools, is to know wtf you're doing.

but you wont know what you're doing until you've been tooling around.

bit of a catch 22 situation there.

Share this post


Link to post
Share on other sites

quote:


Originally posted by Pugwash:

quote:

The #1 rule for using my tools, is to know wtf you're doing.

but you wont know what you're doing until you've been tooling around.

bit of a catch 22 situation there.


...then its just like the game

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×