Welcome to
Mod The Sims
Online: 5447
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 1 (Who?), Viewed: 9349 times.
Search this Thread
Old 17th Jan 2010, 5:26 PM DefaultGame crashes - NL only #1
MogHughson
Original Poster

Miss BHAVing



Join Date: Feb 2006
Posts: 839
Thanks: 64089 in 199 Posts
23 Achievements

View My Journal


I have some BHAV code which does the following:-

Code:
Expression (Global 0x0014 (Game Edition Flags 1) Flag Set? flag# Literal 0x000n (EPx))
On true run EPx only BHAV.
On false bypass EPx only BHAV and do something else.


When run in NL this causes the game to crash.
When run in an EP > NL but < EPx it works fine, the code is never run as expected.

The crash in NL appears to happen as soon as live mode is entered.

Is NL different to later EPs in this lack of toleration for unknown BHAVs even if they are not run?

Cheers
Mog

Mostly I fix Gameplay annoyances. I take requests and have made a few Requested mods already. Visit me on MTS Yearbook
My other projects: British High Street, Postal System for the Sims and Better Parking for Sims
Last edited by MogHughson : 25th Jan 2010 at 12:32 PM.
Old 25th Jan 2010, 12:32 PM #2
MogHughson
Original Poster

Miss BHAVing



Join Date: Feb 2006
Posts: 839
Thanks: 64089 in 199 Posts
23 Achievements

View My Journal


To answer my own question - in case anyone else is interested in the future. Pescado confirms that NL has a weird bug where when it encounters an unknown BHAV, even if that BHAV never runs, it will crash the game. He has made a package he calls NL-AntiCrash which stubs all the missing BHAVs.

Mostly I fix Gameplay annoyances. I take requests and have made a few Requested mods already. Visit me on MTS Yearbook
My other projects: British High Street, Postal System for the Sims and Better Parking for Sims
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.