Page 3 of 3

Re: System link / 4-Player Coop For Halo 1

Posted: Tue Mar 31, 2009 7:29 pm
by adolif
*EDIT*

I have been convinced by some PM's to not leave Halomods (I said I would leave before I edited this post). Now I need help with this coop system link mod.

I haven't really listed or investigated the individual causes of the desync problem. Everybody who participated in playing/testing, please list every possible scenario in which the game will desync that you have encountered. I already know the most common one, bsp switching. A list of error-causes would greatly help development. I'm thinking of testing Arsenic's scripter on The Maw to see if I can eliminate the issue completely on that map. Also, I would like to scedule some XBC testing sessions. Anybody willing to help will be greatly thanked.

Re: System link / 4-Player Coop For Halo 1

Posted: Sat Apr 11, 2009 9:52 pm
by Cryticfarm
Ok this is exactly what I do, but I can't get rid of the select game type screen :\
1. FTP to my clean halo thingy.
2. Patch map and xbe.
3. Overwrite the ui and xbe.
4. Turn on halo.
5. Select multiplayer.
6. Select splitscreen.
7. Add controllers.
8. Pick the map (battle creek).
9. GAMETYPE SELECTION POPS UP.

Re: System link / 4-Player Coop For Halo 1

Posted: Sun Apr 12, 2009 12:08 am
by adolif
Cryticfarm wrote:Ok this is exactly what I do, but I can't get rid of the select game type screen :\
1. FTP to my clean halo thingy.
2. Patch map and xbe.
3. Overwrite the ui and xbe.
4. Turn on halo.
5. Select multiplayer.
6. Select splitscreen.
7. Add controllers.
8. Pick the map (battle creek).
9. GAMETYPE SELECTION POPS UP.

Well, if you are patching it with my PPF patch, then it may be a mismatch of the offsets (or some other compatibility issue). I made the patch with the original NTSC ui.map. If this doesn't help, the mod IS nothing more than a dependency swap made in HHT with the ui widget tags. I'll post the tag names in a bit, unless you want to go looking. (They are obvious names, but there are many tags in that tag class, so ya....)

Re: System link / 4-Player Coop For Halo 1

Posted: Tue Apr 14, 2009 11:45 am
by mtxboxfreak
Having taken a look at the SP scripts, I've got a theory for explaining (and fixing) the bsp-switch desync issues. It needs some testing first to confirm, so once I get my xbox back (Sunday) I'll post an update with my findings.

Re: System link / 4-Player Coop For Halo 1

Posted: Thu Apr 16, 2009 1:11 am
by icanttype
this is awesome

Re: System link / 4-Player Coop For Halo 1

Posted: Mon Apr 20, 2009 9:17 am
by mtxboxfreak
I was hoping that the bsp switching issues were due to a bug in engine, since SP wasn't designed for >2 people, however this doesn't seem to be the case. :|

The fact that 3/4 people can play without much trouble on a single xbox, i.e. things only fall apart over system link, leads me to believe that Halo's netcode is simply not up to the job.

Our other option is to try to hack around the issue via scripts, as thinkreddie suggested about a page ago. I'll see what progress I can make on that front.
thinkreddie wrote:Modify them to teleport players near each other BEFORE the next BSP loads, not after.
Does anyone have any idea how we could do a script such as that? This is what I've got so far...

Code: Select all

(script continuous bsphack_01
    (begin
        // Wait until a player gets inside the loading zone
        (sleep_until (volume_test_objects some_trigger_volume (players)) 1)
        // Teleport all the players in
        (object_teleport (list_get (players) 0) some_flag)
        (object_teleport (list_get (players) 1) some_flag)
        (object_teleport (list_get (players) 2) some_flag)
        (object_teleport (list_get (players) 3) some_flag)
        // Wait until the players have all left the zone
        (sleep_until (not (volume_test_objects some_trigger_volume (players))) 1)
        // Loop
    )
)
We'd need a script for each loading zone. There's also volume_teleport_players_not_inside, and debug_teleport_player functions, which might be useful too.

Using a continuous script should ensure that backtracking players don't break things.

Re: System link / 4-Player Coop For Halo 1

Posted: Tue Apr 21, 2009 2:46 pm
by thinkreddie
That's the idea. I've been away for a while, so I wasn't aware that Arsenic now supports scripts... I'm gonna check this out.

Re: System link / 4-Player Coop For Halo 1

Posted: Wed Apr 22, 2009 2:01 am
by mtxboxfreak
thinkreddie wrote:I wasn't aware that Arsenic now supports scripts.
As far as I know it's still a WIP.