A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »problems compiling scripts.

Author Topic: problems compiling scripts. (17 messages, Page 1 of 1)
Moderators: Dennis

creator843
Joined: Jul 10, 2012

I LOVE HALO!


Posted: Oct 3, 2012 05:43 PM    Msg. 1 of 17       
hi,everytime I try to compile some scripts sapien suddenly closes without reason i go to debug and this appear.


10.03.12 17:26:32 a hobo pc 01.01.00.0609 ----------------------------------------------
10.03.12 17:26:32 reference function: _write_to_error_file
10.03.12 17:26:32 reference address: 401b13
10.03.12 17:26:32 Couldn't read map file './a_hobobeta.map'
10.03.12 17:26:32 CreateDevice succeeded with refresh rate = 0
10.03.12 17:26:33 DirectInput: 'Acquire (keyboard)' returned (DIERR_OTHERAPPHASPRIO#-2147024891)
10.03.12 17:26:34 Increasing sound decompression buffer size to 1048576 bytes
10.03.12 17:26:45 crosshair item 0 for halo3\hud\weapon interfaces\master\reachammo references an invalid sequence
10.03.12 17:26:45 crosshair item 0 for halo3\hud\weapon interfaces\master\reachammo references an invalid sequence
10.03.12 17:26:46 crosshair item 0 for halo3\hud\weapon interfaces\master\master references an invalid sequence
10.03.12 17:26:47 crosshair item 1 for halo3\hud\weapon interfaces\sniper rifle\sniper rifle references an invalid sequence
10.03.12 17:26:47 crosshair item 1 for halo3\hud\weapon interfaces\sniper rifle\sniper rifle references an invalid sequence
10.03.12 17:27:33 ### the biped 'characters\sentinel_crawler\sentinel_crawler' has no 'head' marker
10.03.12 17:27:33 ### the biped 'characters\sentinel_marauder\sentinel_marauder' has no 'head' marker
10.03.12 17:31:21 local player 0, weapon (0x0), deleted unexpectedly
10.03.12 17:34:43 EAX: 0x00000020
10.03.12 17:34:43 EBX: 0x00000000
10.03.12 17:34:43 ECX: 0x0018D020
10.03.12 17:34:43 EDX: 0x001ECCC4
10.03.12 17:34:43 EDI: 0x0012E9D0
10.03.12 17:34:43 ESI: 0x00000000
10.03.12 17:34:43 EBP: 0x0012E8A8
10.03.12 17:34:43 ESP: 0x0012E898
10.03.12 17:34:43 EIP: 0x7C91E514, C3 8D A4 24 ?????
10.03.12 17:34:43 EXCEPTION halt in \halopc\haloce\source\cseries\cseries.c,#368: size>=0 && size<MAXIMUM_STRING_SIZE


just in case ill leve this here...


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Oct 3, 2012 05:46 PM    Msg. 2 of 17       
Quote: --- Original message by: creator843
10.03.12 17:34:43 EXCEPTION halt in \halopc\haloce\source\cseries\cseries.c,#368: size>=0 && size<MAXIMUM_STRING_SIZE

its not liking the length of some string you've written. Without seeing the script, this is as far as we can help you.


creator843
Joined: Jul 10, 2012

I LOVE HALO!


Posted: Oct 3, 2012 06:33 PM    Msg. 3 of 17       
Quote: --- Original message by: kirby_422
Quote: --- Original message by: creator843
10.03.12 17:34:43 EXCEPTION halt in \halopc\haloce\source\cseries\cseries.c,#368: size>=0 && size<MAXIMUM_STRING_SIZE

its not liking the length of some string you've written. Without seeing the script, this is as far as we can help you.


(script startup cinematic1
(cinematic_start)
(cinematic_show_letterbox true)
(show_hud false)
(sound_looping_start sound\halo2\music\inamberclad1\in_amber_clad none 1.00)
(camera_control 1)
(camera_set fire1 50)
(sleep 30)
(camera_set fire2 50)
(sleep 30)
(camera_set fire3 50)
(sleep 30)
(camera_set fire4 50)
(sleep 30)
(camera_set fire5 50)
(sleep 30)
(camera_set fire6 50)
(sleep 30)
(camera_set fire7 50)
(sleep 30)
(camera_set fire8 50)
(sleep 30)
(camera_set fire9 50)
(sleep 30)
(camera_set fire10 50)
(sleep 30)
(camera_set fire11 50)
(sleep 30)
(camera_set fire12 50)
(sleep 30)
(camera_set fire13 50)
(sleep 30)
(camera_set fire14 50)
(sleep 30)
(camera_set fire15 50)
(sleep 30)
(camera_set fire16 50)
(sleep 30)
(camera_set fire17 50)
(sleep 30)
(camera_set fire18 50)
(sleep 30)
(cinematic_stop)
(show_hud_help_text true)
(sleep 200)
(show_hud_help_text false)
(cinematic_show_letterbox false)
(show_hud true)
(camera_control 0)
)

(script continuous ninja
(sleep_until (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) true))
(unit_set_desired_flashlight_state (unit (list_get (players) 0)) 0)
(cheat_all_powerups)
(sleep 300)
)

(script startup ai
(sleep 300)
(sv_say "FIRE FIGHT!")
(sleep 200)
(sv_say "round 1")
(sleep 200)
(sv_say "weave 1")
(sleep 200)
(sv_say "begin!")
(sleep 200)
(ai_place A/A)
(game_save)
(sleep 200)
(sleep_until (< (ai_living_count A/A) 3))
(ai_place A/A)
(sleep 200)
(sleep_until (< (ai_living_count A/A) 1))
(game_save)
(sv_say "weave 2")
(sleep 200)
(sv_say "begin!")
(ai_place A/B)
(sleep 200)
(sleep_until (< (ai_living_count A/B) 3))
(ai_place A/B)
(sleep 200)
(sleep_until (< (ai_living_count A/B) 1))
(game_save)
(sv_say "weave 3")
(sleep 200)
(sv_say "begin")
(sleep 200)
(ai_place A/C)
(sleep_until (< (ai_living_count A/C) 3))
(ai_place A/C)
(sleep 200)
(sleep_until (< (ai_living_count A/C) 1))
(game_save)
(sv_say "REINFORCEMENTS ODST!")
(ai_place E/E)
(sleep 200)
(sv_say "weave 4")
(sleep 200)
(sv_say "begin!")
(sleep 200)
(ai_place A/D)

(sleep_until (< (ai_living_count A/D) 3))
(ai_place A/D)
(sleep 200)
(sleep_until (< (ai_living_count A/D) 1))
(ai_place A/D)
(ai_place A/A)
(sleep 200)
(sleep_until (< (ai_living_count A/A) 3))
(game_save)
(sleep 200)
(sv_say "weave5")
(sleep 200)
(sv_say "begin")
(sleep 200)
(ai_place A/A)
(sleep 200)
(sleep_until (< (ai_living_count A/A) 1))
(ai_place A/B)
(sleep 200)
(sleep_until (< (ai_living_count A/B) 3))
(ai_place A/B)
(sleep 200)
(sleep_until (< (ai_living_count A/B) 1))
(ai_place A/C)
(sleep 200)
(sleep_until (< (ai_living_count A/C) 3))
(ai_place A/C)
(sleep 200)
(sleep_until (< (ai_living_count A/D) 3))
(ai_place A/D)
(sleep 200)
(sleep_until (< (ai_living_count A/D) 1))ñ
(game_save)
(ai_place A/D)
(sv_say "REINFORCEMENTS ODST!")
(ai_place E/E)
(sleep 200)
(sv_say "weave7")
(sleep 200)
(sv_say "begin!")
(ai_place A/E)
(ai_place A/A)
(sleep_until (< (ai_living_count A/E) 1))
(ai_place A/E)
(sleep 200)
(sleep_until (< (ai_living_count A/E) 1))
(ai_place A/D)
(sleep 200)
(sv_say "REINFORCEMENTS MARINES!")
(sleep 200)
(ai_place E/F)
(sleep 250)
(ai_place A/B)
(ai_place A/D)
(ai_place A/A)
(ai_place A/E)
(sleep_until (< (ai_living_count A/E) 0))

(sleep 200)
(sv_say "el covenant arribo")
(sleep 200)
(sv_say "weave8")
(sleep 200)
(sv_say "begin!")
(sleep 200)
(ai_place F/G)
(sleep_until (< (ai_living_count F/G) 1))
(ai_place F/G)
(sleep_until (< (ai_living_count F/G) 1))
(sleep 200)
(sv_say "weave9")
(sleep 200)
(sv_say "begin!")
(sleep 200)
(ai_place F/H)
(sleep_until (< (ai_living_count F/H) 1))
(ai_place F/H)
(sleep_until (< (ai_living_count F/H) 1))
(sleep 200)
(sv_say "REINFORCEMENTS!")
(sleep 200)
(ai_place E/E)
(ai_place E/F)
(sv_say "ronda 1 terminada")
(sleep 200)
(sv_say ".......ronda misteriosa...")
(sleep 200)
(sv_say "begin!")
(ai_place A/D)
(ai_place A/E)
(sleep_until (< (ai_living_count A/E) 0))
(ai_place F/F)
(ai_place G/A)
(ai_place G/B)
(sleep_until (< (ai_living_count G/A) 0))
(sv_say "REINFORCEMENTS!")
(ai_place E/E)
(ai_place G/C)
(ai_place G/B)
(sleep_until (< (ai_living_count G/C) 0))
(ai_place A/A)
(ai_place A/B)
(ai_place G/B)
(ai_place G/A)
(sv_say "Felisidades!!")
(sleep 60)
(sv_say "as terminado el firefight beta TMM!")
(sleep 60)
(sv_say "muy pronto Firefight [hrch]cell by dumpAI y creator843")
(sleep 60)
(sv_say "el TMM te tiene muchas solpresas mas! presiona scape para salir")
(sleep 60)
(sv_say "eso es todo espero te alla gustado :)")
)


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Oct 3, 2012 06:49 PM    Msg. 4 of 17       
hmm, I don't see any abnormally sized strings. I even tested compiling a script with a string more than 10x your longest one, and it didnt have any issues. Are you using any foreign characters that aren't showing in your forum post?


creator843
Joined: Jul 10, 2012

I LOVE HALO!


Posted: Oct 3, 2012 06:59 PM    Msg. 5 of 17       
Quote: hmm, I don't see any abnormally sized strings. I even tested compiling a script with a string more than 10x your longest one, and it didnt have any issues. Are you using any foreign characters that aren't showing in your forum post?
not realy,the map was already working before this error and nothing changes,just add a few lines to the script longer than you can see

could be the fact that,i have more than one hsc file?

sorry i miss that :P

here are all the scripts on total.

(script startup ai_enhancement
(ai_try_to_fight_player A)
)

(script continous spawn
(sleep 1000)
(object_create_anew we)
(sleep 1000)
)

(script startup trig_vehi
(begin
(sleep_until (volume_test_objects trig1 (players)) 15)
(object_create vehicle1)
(sv_say "vulcan machine gun spawned")
)
)

(script startup ai
(ai_allegiance player human)
)

(script startup ai_enhancement3
(ai_try_to_fight_player F)
)


(script startup ai_enhancement4
(ai_try_to_fight_player G)
)

(script startup ai_enhancement5
(ai_follow_target_players E)
)

(script startup trig_vehi2
(begin
(sleep_until (volume_test_objects trig2 (players)) 15)
(object_create vehicle2)
(sv_say "vulcan machine gun spawned")
)
)

(script startup cinematic1
(cinematic_start)
(cinematic_show_letterbox true)
(show_hud false)
(sound_looping_start sound\halo2\music\inamberclad1\in_amber_clad none 1.00)
(camera_control 1)
(camera_set fire1 50)
(sleep 30)
(camera_set fire2 50)
(sleep 30)
(camera_set fire3 50)
(sleep 30)
(camera_set fire4 50)
(sleep 30)
(camera_set fire5 50)
(sleep 30)
(camera_set fire6 50)
(sleep 30)
(camera_set fire7 50)
(sleep 30)
(camera_set fire8 50)
(sleep 30)
(camera_set fire9 50)
(sleep 30)
(camera_set fire10 50)
(sleep 30)
(camera_set fire11 50)
(sleep 30)
(camera_set fire12 50)
(sleep 30)
(camera_set fire13 50)
(sleep 30)
(camera_set fire14 50)
(sleep 30)
(camera_set fire15 50)
(sleep 30)
(camera_set fire16 50)
(sleep 30)
(camera_set fire17 50)
(sleep 30)
(camera_set fire18 50)
(sleep 30)
(cinematic_stop)
(show_hud_help_text true)
(sleep 200)
(show_hud_help_text false)
(cinematic_show_letterbox false)
(show_hud true)
(camera_control 0)
)

(script continuous ninja
(sleep_until (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) true))
(unit_set_desired_flashlight_state (unit (list_get (players) 0)) 0)
(cheat_all_powerups)
(sleep 300)
)

(script startup ai
(sleep 300)
(sv_say "FIRE FIGHT!")
(sleep 200)
(sv_say "round 1")
(sleep 200)
(sv_say "weave 1")
(sleep 200)
(sv_say "begin!")
(sleep 200)
(ai_place A/A)
(game_save)
(sleep 200)
(sleep_until (< (ai_living_count A/A) 3))
(ai_place A/A)
(sleep 200)
(sleep_until (< (ai_living_count A/A) 1))
(game_save)
(sv_say "weave 2")
(sleep 200)
(sv_say "begin!")
(ai_place A/B)
(sleep 200)
(sleep_until (< (ai_living_count A/B) 3))
(ai_place A/B)
(sleep 200)
(sleep_until (< (ai_living_count A/B) 1))
(game_save)
(sv_say "weave 3")
(sleep 200)
(sv_say "begin")
(sleep 200)
(ai_place A/C)
(sleep_until (< (ai_living_count A/C) 3))
(ai_place A/C)
(sleep 200)
(sleep_until (< (ai_living_count A/C) 1))
(game_save)
(sv_say "REINFORCEMENTS ODST!")
(ai_place E/E)
(sleep 200)
(sv_say "weave 4")
(sleep 200)
(sv_say "begin!")
(sleep 200)
(ai_place A/D)

(sleep_until (< (ai_living_count A/D) 3))
(ai_place A/D)
(sleep 200)
(sleep_until (< (ai_living_count A/D) 1))
(ai_place A/D)
(ai_place A/A)
(sleep 200)
(sleep_until (< (ai_living_count A/A) 3))
(game_save)
(sleep 200)
(sv_say "weave5")
(sleep 200)
(sv_say "begin")
(sleep 200)
(ai_place A/A)
(sleep 200)
(sleep_until (< (ai_living_count A/A) 1))
(ai_place A/B)
(sleep 200)
(sleep_until (< (ai_living_count A/B) 3))
(ai_place A/B)
(sleep 200)
(sleep_until (< (ai_living_count A/B) 1))
(ai_place A/C)
(sleep 200)
(sleep_until (< (ai_living_count A/C) 3))
(ai_place A/C)
(sleep 200)
(sleep_until (< (ai_living_count A/D) 3))
(ai_place A/D)
(sleep 200)
(sleep_until (< (ai_living_count A/D) 1))ñ
(game_save)
(ai_place A/D)
(sv_say "REINFORCEMENTS ODST!")
(ai_place E/E)
(sleep 200)
(sv_say "weave7")
(sleep 200)
(sv_say "begin!")
(ai_place A/E)
(ai_place A/A)
(sleep_until (< (ai_living_count A/E) 1))
(ai_place A/E)
(sleep 200)
(sleep_until (< (ai_living_count A/E) 1))
(ai_place A/D)
(sleep 200)
(sv_say "REINFORCEMENTS MARINES!")
(sleep 200)
(ai_place E/F)
(sleep 250)
(ai_place A/B)
(ai_place A/D)
(ai_place A/A)
(ai_place A/E)
(sleep_until (< (ai_living_count A/E) 0))

(sleep 200)
(sv_say "el covenant arribo")
(sleep 200)
(sv_say "weave8")
(sleep 200)
(sv_say "begin!")
(sleep 200)
(ai_place F/G)
(sleep_until (< (ai_living_count F/G) 1))
(ai_place F/G)
(sleep_until (< (ai_living_count F/G) 1))
(sleep 200)
(sv_say "weave9")
(sleep 200)
(sv_say "begin!")
(sleep 200)
(ai_place F/H)
(sleep_until (< (ai_living_count F/H) 1))
(ai_place F/H)
(sleep_until (< (ai_living_count F/H) 1))
(sleep 200)
(sv_say "REINFORCEMENTS!")
(sleep 200)
(ai_place E/E)
(ai_place E/F)
(sv_say "ronda 1 terminada")
(sleep 200)
(sv_say ".......ronda misteriosa...")
(sleep 200)
(sv_say "begin!")
(ai_place A/D)
(ai_place A/E)
(sleep_until (< (ai_living_count A/E) 0))
(ai_place F/F)
(ai_place G/A)
(ai_place G/B)
(sleep_until (< (ai_living_count G/A) 0))
(sv_say "REINFORCEMENTS!")
(ai_place E/E)
(ai_place G/C)
(ai_place G/B)
(sleep_until (< (ai_living_count G/C) 0))
(ai_place A/A)
(ai_place A/B)
(ai_place G/B)
(ai_place G/A)
(sv_say "Felisidades!!")
(sleep 60)
(sv_say "as terminado el firefight beta TMM!")
(sleep 60)
(sv_say "muy pronto Firefight [hrch]cell by dumpAI y creator843")
(sleep 60)
(sv_say "el TMM te tiene muchas solpresas mas! presiona scape para salir")
(sleep 60)
(sv_say "eso es todo espero te alla gustado :)")
)

now could be a problem?
Edited by creator843 on Oct 3, 2012 at 07:04 PM


grunt_eater
Joined: Jan 26, 2011

Everything except biped rigging.


Posted: Oct 3, 2012 10:32 PM    Msg. 6 of 17       
...beats me...


Masters1337
Joined: Mar 5, 2006

halonaminator's unfortunate idol


Posted: Oct 3, 2012 10:40 PM    Msg. 7 of 17       
I've never seen a script that long. I'd combine them all into 1 and see what happens.


The Lodeman
Joined: Sep 16, 2012

Hipster Lodeman: Enjoyed goats before it was cool.


Posted: Oct 4, 2012 01:20 AM    Msg. 8 of 17       
Having multiple .hsc files is absolutely no problem as the engine just combines them automatically. If I have time tonight I'll go through your scripts and see if I can help.

Cheers.


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Oct 4, 2012 11:50 AM    Msg. 9 of 17       
Quote: --- Original message by: Masters1337
I've never seen a script that long. I'd combine them all into 1 and see what happens.

.. really? you've never seen scripts that long?.. Why don't you look at a10 for a moment.. I make scripts 20x that long all the time lol. Anyways, halo can easily handle multiple hsc files. There is external things in your system that can negatively effect the count (never tracked down the cause, I just deal with it lol. In fact, right now something is effecting what names get compiled lol. I cant compile when the names start with certain letters. 'a' always works, etc) but even if an external thing is effecting your scripts, it doesn't crash sapien, it just makes sapien not notice things.


Anyways, I don't see anything wrong script (or even string, which debug.txt blames) wise. I myself would put quotes around the sound_loop path, but that shouldn't cause any errors if you don't. If I have time during the weekend, ill try compiling it in a test map, see if it crashes me as well. For now, try moving them into separate folders, compile one at a time; try to narrow down which one causes the crash.


creator843
Joined: Jul 10, 2012

I LOVE HALO!


Posted: Oct 4, 2012 01:17 PM    Msg. 10 of 17       
Quote: --- Original message by: kirby_422
Quote: --- Original message by: Masters1337
I've never seen a script that long. I'd combine them all into 1 and see what happens.

.. really? you've never seen scripts that long?.. Why don't you look at a10 for a moment.. I make scripts 20x that long all the time lol. Anyways, halo can easily handle multiple hsc files. There is external things in your system that can negatively effect the count (never tracked down the cause, I just deal with it lol. In fact, right now something is effecting what names get compiled lol. I cant compile when the names start with certain letters. 'a' always works, etc) but even if an external thing is effecting your scripts, it doesn't crash sapien, it just makes sapien not notice things.


Anyways, I don't see anything wrong script (or even string, which debug.txt blames) wise. I myself would put quotes around the sound_loop path, but that shouldn't cause any errors if you don't. If I have time during the weekend, ill try compiling it in a test map, see if it crashes me as well. For now, try moving them into separate folders, compile one at a time; try to narrow down which one causes the crash.
ok thanks kirby ill do it.

Quote: aving multiple .hsc files is absolutely no problem as the engine just combines them automatically. If I have time tonight I'll go through your scripts and see if I can help.

Cheers.
thanks dude =D


ChBgt909
Joined: Sep 10, 2011

ᶘ ᵒᴥᵒᶅ


Posted: Oct 4, 2012 07:55 PM    Msg. 11 of 17       
make sure scripts are in alphabetical order so each script get their proper reference, if any of course


Masters1337
Joined: Mar 5, 2006

halonaminator's unfortunate idol


Posted: Oct 5, 2012 05:12 AM    Msg. 12 of 17       
Er I meant a list of script files, not a script. Oops.
Edited by Masters1337 on Oct 5, 2012 at 05:13 AM


creator843
Joined: Jul 10, 2012

I LOVE HALO!


Posted: Oct 6, 2012 08:11 PM    Msg. 13 of 17       
hi there..i still dont fix the problem D:,now that im thinking maybe is the hud message that i add? (i think i dont show it on the script) because when create it and add the line to the scripts is now causing problems...maybe i dont know... well this is how the hud-message looks*just in case*

A=>>Round 1
B=>>weave 1
C=>>SURVIVE!


Dumb AI
Joined: Sep 18, 2011

Dead.


Posted: Oct 6, 2012 10:20 PM    Msg. 14 of 17       
Do you want me to spell check all of your scripts?


creator843
Joined: Jul 10, 2012

I LOVE HALO!


Posted: Oct 7, 2012 09:51 AM    Msg. 15 of 17       
yes please...i still cant fix this problem D: is there any other information you guys need?¿So that way i can get a better help?


Dumb AI
Joined: Sep 18, 2011

Dead.


Posted: Oct 7, 2012 11:52 AM    Msg. 16 of 17       
Are you spelling the commands right? (No offense,Chris)
Typos can screw up your scripts.


creator843
Joined: Jul 10, 2012

I LOVE HALO!


Posted: Oct 7, 2012 02:33 PM    Msg. 17 of 17       
Quote: --- Original message by: Dumb AI
Are you spelling the commands right? (No offense,Chris)
Typos can screw up your scripts.
i already fix it.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 4:04 AM 187 ms.
A Halo Maps Website