Page 25 of 38 FirstFirst ... 15 23 24 25 26 27 35 ... LastLast
Results 241 to 250 of 376

Thread: OpenSauce SDK for Halo CE 1.08

  1. #241
    TCTF Cult ****** bobbysoon's Avatar
    Join Date
    Nov 2007
    Location
    Mormon-occupied Caprica
    Posts
    239

    Re: Seven ate Nein...

    Code:
            datum_index GetParentObject(datum_index obj)
            {
                object_header_datum* object_header_datums = Objects::ObjectHeader()->datums;
                object_data* current_obj = (object_data*)object_header_datums[obj.index].address;
    
                 while( current_obj->GetParentObjectIndex()->index != NONE )
                {
                     obj = *current_obj->GetParentObjectIndex();
                    current_obj = (object_data*)object_header_datums[obj.index].address;
                 }
     
                return obj;
            }
    Wouldn't it be a GetRootObject function, since it's while loops up the hierarchy?

    looks like coding is the easy part
    Code:
            bool ToggleMultiTeamVehicles()
            {
                FUNC_PTR(UNIT_CAN_ENTER_SEAT_MOD, 0x56A261, 0x56A3B1, 0x518D41);
    
                // mov bl, 1
                // jmp
                static byte enable_code[] = {0xB3, 0x01, 0xEB};
                // test al, al
                // jz
                static byte disable_code[] = {0x84, 0xC0, 0x74};
    
                static bool enabled = false;
    
                Memory::WriteMemory(GET_FUNC_VPTR(UNIT_CAN_ENTER_SEAT_MOD), (enabled ? disable_code : enable_code), sizeof(enable_code));
                return enabled = !enabled;
            }

    finding the CONSTANTS, on the other hand...
    Last edited by bobbysoon; November 18th, 2008 at 06:33 PM. Reason: cause I'm symanticidal
    Reply With Quote

  2. #242
    Conversation Terrorist Pyong Kawaguchi's Avatar
    Join Date
    May 2007
    Location
    East Usa
    Posts
    3,905

    Re: Seven ate Nein...

    Quote Originally Posted by Kornman00 View Post
    OK, found a few more runtime bugs in Yelo %-), but I fix I fix!

    Also, keep in mind, Open Sauce is for DEVELOPERS. I wasnt working on OS to satisfy everyones whining about Battery not working with the new update hth

    also, DEVELOPERS, DEVELOPERS, DEVELOPERS, DEVELOPERS
    I refer you to my sig
    Reply With Quote

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

    Re: Seven ate Nein...

    Quote Originally Posted by bobbysoon View Post
    [/code]Wouldn't it be a GetRootObject function, since it's while loops up the hierarchy?

    looks like coding is the easy part

    finding the CONSTANTS, on the other hand...
    you're just arguing semantics tbh. If anything, GetRootParentObject would be a more appropriate name. If I'm a player and I get into a vehicle that vehicle is now my parent, but its not my root object since it's not part of me.

    And yes, that is what I was trying to explain to people when they were like "oh is this and this possible??!11??". Anything is possible really...

    Updating first post in 5min
    Reply With Quote

  4. #244
    Look down Dr Pepper's Avatar
    Join Date
    Jul 2007
    Location
    Washington, US
    Posts
    106

    Re: Seven ate Nein...

    I have a question. So, can "developers" make stuff with this and share it with other people?
    Reply With Quote

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

    Re: Seven ate Nein...

    As long as they provide a copy of their modified source, then yes they can. The GPLv3 license was applied so people can learn from other's developments. However I will consider individual people for closed-source releases as long as they talk to me first.
    Reply With Quote

  6. #246
    lol modacity Timo's Avatar
    Join Date
    Aug 2006
    Location
    New Zealand
    Posts
    4,560

    Re: Seven ate Nein...

    So just wondering, sorry if i'm horrible off par but when compiled up does this offer anything straight out of the box?
    Reply With Quote

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

    Re: Seven ate Nein...

    Sure does, OOTB it offers multi-vehicle and gravity changing. If you compile with the Camera component active you'll have an over-the-shoulder view.
    Reply With Quote

  8. #248
    Conversation Terrorist Pyong Kawaguchi's Avatar
    Join Date
    May 2007
    Location
    East Usa
    Posts
    3,905

    Re: Seven ate Nein...

    Got any videos of examples?
    Reply With Quote

  9. #249
    a bit of the old in-out Roostervier's Avatar
    Join Date
    Jan 2007
    Posts
    3,379

    Re: Seven ate Nein...

    Hmm, WoL and I just tried running with the d3d9.dll in our ce root directory, and every time he tried joining my server, I got an exception. Not sure if it's a problem you weren't aware of or not, jut throwing it out there. d:
    Reply With Quote

  10. #250
    lol modacity Timo's Avatar
    Join Date
    Aug 2006
    Location
    New Zealand
    Posts
    4,560

    Re: Seven ate Nein...

    I just exceptioned while starting CE, so you guys are further ahead than me :p
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 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
  •