Page 27 of 56 FirstFirst ... 17 25 26 27 28 29 37 ... LastLast
Results 261 to 270 of 557

Thread: OpenSauce Halo CE SDK Update #2 (RC)

  1. #261
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    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.

  2. #262
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    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...?

  3. #263
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    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...

  4. #264
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    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

  5. #265

    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

  6. #266
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    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

  7. #267

    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.

  8. #268
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: OpenSauce Halo CE SDK Update #2 (RC)

    Quote Originally Posted by Dwood View Post
    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

  9. #269
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    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.

  10. #270
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •