You are viewing a potentially older version of this package. View all versions.
JarheadHME-ChangeHostSlot-1.0.0 icon

ChangeHostSlot

Change what slot you host your lobbies in

Date uploaded 2 years ago
Version 1.0.0
Download link JarheadHME-ChangeHostSlot-1.0.0.zip
Downloads 874
Dependency string JarheadHME-ChangeHostSlot-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack_GTFO-3.2.0 icon
BepInEx-BepInExPack_GTFO

BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.

Preferred version: 3.2.0

README

Change what slot you host lobbies in!

Get [BOT] Woods every time!

Set the slot you wish to be in config\ChangeHostSlot.cfg

Does not change anything for non-hosts, including joining other lobbies

If you find a bug (please don't :) ), give me a ping in the gtfo modding server (@jarheadhme)

CHANGELOG

1.1.1

  • Add map character list sorting

1.1.0

  • Change GUID (HostSlot.GUID -> JarheadHME.ChangeHostSlot)
  • Prevent crashing if HikariaCore is present
    • HikariaCore also does a native detour over SNet_PlayerSlotManager.Internal_ManageSlot(), and multiple detours is not supported
    • So now it tries to patch HikariaCore's detour method, and if it fails (HikariaCore isn't present), then it does the detour.
      • I believe this shouldn't have significant ramifications on HikariaCore (as I skip the running of the detour in question if my changes take place so that the original original method doesn't run again), since I believe it only updates a player list in the settings menu, and it should get updated again almost immediately after from the method getting called with SNet_SlotHandleType.Set instead
  • Also adds an additional config json to specify player ids to snap to certain slots when joining you

1.0.0

  • Initial Release