UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: Wolf_Silver on March 11, 2016, 06:29:05 pm

Title: Script runtime error
Post by: Wolf_Silver on March 11, 2016, 06:29:05 pm
Hey , so recently i have a freeze after 5 about seconds of gameplay and sometimes when i shoot zombie so i has check all zones and spawner kvp include .gsc and apparently no problem... i have  also a lot of custom script so i check my last script but no problem also....
but i think problem is in the raw or csv file because freeze happens now on all maps... i reinstalled all gsc in raw/maps but thats continue... :(

i has already running /developer 2 + /developer_script 1 + /logfile 2 at launch and while playing but no real debug on that... just (in console.log) :
Code Snippet
Plaintext
script runtime error: potential infinite loop in script - killing thread.
@ 13226

as you can see the "@ 13226" is very intriguing!

i am using the T4M

thanks for help :) i have no idea how to fix them
Title: Re: Script runtime error
Post by: smasher248 on March 11, 2016, 06:30:58 pm
what i do when its not a zone is just remove scripts 1 by 1 til it stops and fix the script causing it
Title: Re: Script runtime error
Post by: Wolf_Silver on March 11, 2016, 06:34:23 pm
that's what I've done but no effect (only for custom script) and scripts custom are not in map test but that still freeze
Title: Re: Script runtime error
Post by: Harry Bo21 on March 11, 2016, 07:30:23 pm
If you've disabled the player sounds this is why

Certain quotes are set to use waittill( "sound_done" ) so will cause a infinite loop if they try to play a sound that doesn't exist
Title: Re: Script runtime error
Post by: Wolf_Silver on March 11, 2016, 08:04:19 pm
yeah thanks that's certainly it:

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fimg4.hostingpics.net%2Fpics%2F189197Capture.png&hash=42d5d24f098653b40046f735f4ae504f4e694da1)

i will trie to fix that but i don't rembember that i had disabled character dialog... strange

Double Post Merge: March 11, 2016, 08:17:03 pm
fixed by changing in dlc3.csv:
Code Snippet
Plaintext
//sound,dlc3_vox,nazi_zombie_factory,all_sp

in:
Code Snippet
Plaintext
sound,dlc3_vox,nazi_zombie_factory,all_sp