Re: OpenSauce Halo CE SDK Update #2 (RC)
If sapien is trying to run your scripts which have OS-based additions, then of course it's going to crash; there are no functionality definitions to them. Turn "run_game_scripts" or w/e the global is called to false.
Have no means of testing any updates to OS_Sapien right now, I don't know when the final release will be.
Re: OpenSauce Halo CE SDK Update #2 (RC)
I know you can't test an update like this but-
Would you be willing to do a quick update to bring OS_Toolbeta and OS_Sapienbeta's maximum global limit up to Open Sauce's default max...?
Re: OpenSauce Halo CE SDK Update #2 (RC)
The tools and the engine module both use the same shared memory upgrades header, so they're both in sync. The tools wouldn't be telling you to increase the maximum globals when they're added via cheape...
Re: OpenSauce Halo CE SDK Update #2 (RC)
Sorry i read the debug wrong, number of tagfieldtypes is giving an exception. typing this on my phone but here goes: fields[field_index].type>=0 && fields[field_index].type<NUMBER_OF_TAG_FIELD_TYPES
Re: OpenSauce Halo CE SDK Update #2 (RC)
I know this seems obvious, and forgive me for saying this (to all programmers), but I think I can explain the error.
fields, which is a specific type, has an index, field_index that is greater than or equal to 0. And the above is also less than the number of tag field types.
From my perspective, it sounds like you have altered the field_index, but have not changed the number of tag field types to accommodate the new field_index.
If this is wrong, please forgive me, I am a "computing noob" at this XD
Re: OpenSauce Halo CE SDK Update #2 (RC)
Im just adding globals via xml in che Ape... I havent modified the tools at all. And also i know this is small but ive managed to properly add my own timer option to the os menu! doesnt do any timing... yet, however. :P
Re: OpenSauce Halo CE SDK Update #2 (RC)
IIRC adding globals changes the field_index because globals are counted as fields...
What I mean is like "global boolean test" has a value of 1 or 0, which makes it a field type.
Unless that is not the case, I believe that is the problem then.
Re: OpenSauce Halo CE SDK Update #2 (RC)
Quote:
Originally Posted by
Dwood
Sorry i read the debug wrong, number of tagfieldtypes is giving an exception. typing this on my phone but here goes: fields[field_index].type>=0 && fields[field_index].type<NUMBER_OF_TAG_FIELD_TYPES
You need to debug the tag groups you've added via cheape. One of them it would seem has a fucked up field type. This isn't anything related to scripting at all, hence the words "TAG_FIELD".
just remove all non-stock tag groups from your cheape built tag_groups.map file and continue with your scripting additions
Re: OpenSauce Halo CE SDK Update #2 (RC)
Apparently scythe is having a problem, too. check my profile page as im still posting from my phone.
Re: OpenSauce Halo CE SDK Update #2 (RC)
Yes i know this is nub but i feel it necessary to announce that i have managed successfully to add my own menu independent of the stock menu... makes me happy because now i understand more key cpp concepts, datatypes, and how enums work. Thats some strong coding there, korn... now i understand why you coded the way you did... kinda lol.