#1 18-08-2013 18:12

cst1992
Registered: 18-08-2013
Posts: 2

cleo mods compatibility for the schools

I have recently observed that the schools missions crash when I have cleo mods installed. Is there any specific mod in cleo that is causing the problem? I don't know. I am not a cleo expert.
What do others on the forums think about this? What may be causing incompatibility between the cleo mods and schools? Normal missions can be played just fine with cleo mods installed.

Last edited by cst1992 (18-08-2013 18:15)

Offline

#2 18-08-2013 18:14

cst1992
Registered: 18-08-2013
Posts: 2

Re: cleo mods compatibility for the schools

I've found this code is causing the crashes,

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'SPDOMTR' 
jump @SPDOMTR_32 
jump @SPDOMTR_25 

:SPDOMTR_25
jump @SPDOMTR_32 

:SPDOMTR_32
wait 0 
if and
  not Actor.Dead($PLAYER_ACTOR)
  Actor.Defined($PLAYER_ACTOR)
  Actor.Driving($PLAYER_ACTOR)
 $ACTIVE_INTERIOR == 0 
else_jump @SPDOMTR_112 
0811: 0@ = actor $PLAYER_ACTOR car // versionC 
0390: load_txd_dictionary "SPDMTR" 
038F: load_texture "SPDMTR1" as 8 // Load dictionary with 0390 first 
wait 2000 
jump @SPDOMTR_119 

:SPDOMTR_112
jump @SPDOMTR_32 

:SPDOMTR_119
wait 0 
02E3: 3@ = car 0@ speed 
3@ *= 2.2224 
3@ *= 1.61 
0092: 2@ = float 3@ to_integer 
if 
 2@ > 99 
else_jump @SPDOMTR_194 
7@ = 565.0 
jump @SPDOMTR_204 

:SPDOMTR_194
7@ = 570.0 

:SPDOMTR_204
03E3: set_texture_to_be_drawn_antialiased 1 
038D: draw_texture 8 position 538.5 360.0 size 258.0 50.0 RGBA 255 255 255 200 
03F0: enable_text_draw 1 
0349: set_text_draw_font 3 
060D: draw_text_shadow 0 color_RGBA 225 225 225 225 
0340: set_text_draw_RGBA 0 0 0 255 
045A: draw_text_1number 7@ 340.5 GXT 'MTR_1' number 2@ 
03F0: enable_text_draw 0 
if or
  not $ACTIVE_INTERIOR == 0 
wasted_or_busted 
  Actor.Dead($PLAYER_ACTOR)
  not Actor.InCar($PLAYER_ACTOR, 0@)
else_jump @SPDOMTR_345 
jump @SPDOMTR_352 

:SPDOMTR_345
jump @SPDOMTR_119 

:SPDOMTR_352
wait 0 
03F0: enable_text_draw 0 
Car.RemoveReferences(0@)
jump @SPDOMTR_32

What is causing the crash?

Offline

Board footer

Powered by FluxBB