Giter Club home page Giter Club logo

Comments (7)

WantedDV avatar WantedDV commented on June 24, 2024

This has nothing to do with bots. The "start match" procedure begins with checking if it should be a private or public match, then decides to use ranking and if so retrieves the players stat data. By using the command xblive_privatematch 1;xpartygo;xblive_privatematch 0 we have skipped the part of the startup process that assigns the player to a team, therefore it is not suitable for starting a public lobby.

I think the best way to fix this would be to pass all the checks required for the lobby to begin a countdown and start the match. Starting with:

  • setting to a ranked lobby: xblive_privatematch 0, onlinegame 1
  • allow starting match with only one player party_minplayers 1
  • if necessary disable anything that could allow host migrations

h1-mod and s1x use a dvar force_ranking that might be helpful here, but I imagine using xblive_privatematch 1... to start the match would break that anyways.

from iw7-mod.

WantedDV avatar WantedDV commented on June 24, 2024

The Infected game mode works despite being a team mode. I'm guessing this is because the player is assigned to the Human team by default. This supports the idea that the issue comes from the player not being assigned to a team. Maybe all this issue needs is a hook to assign team?

from iw7-mod.

ZNicksonZ343 avatar ZNicksonZ343 commented on June 24, 2024

So... the TDM problem was fixed?

from iw7-mod.

Ston3Cold avatar Ston3Cold commented on June 24, 2024

So... the TDM problem was fixed?

Well, hooking the disable host migration dvar does result in the game not kicking you back to the lobby, but then you as the player, do not get assigned to a team. This causes some issues with the hud and you cannot identifiy your teammates from the enemies.

So we're halfway there, but need to find a way to force assign the player to a team via the public playlists, to solve the hud issues.

from iw7-mod.

ZNicksonZ343 avatar ZNicksonZ343 commented on June 24, 2024

I started a match and setted 'xblive_privatematch 0' but then I couldn't spawn the bots. I think the 'spawnbot' dvar is missing or something

from iw7-mod.

Ston3Cold avatar Ston3Cold commented on June 24, 2024

I started a match and setted 'xblive_privatematch 0' but then I couldn't spawn the bots. I think the 'spawnbot' dvar is missing or something

You must type:

xblive_privatematch 1;xpartygo;xblive_privatematch 0

Once the lvl has completed loading, while the camera is panning, you must type xblive_privatematch 1 again, otherwise it will kick you out.

If done in time, you can choose your loadout and start playing.

from iw7-mod.

ZNicksonZ343 avatar ZNicksonZ343 commented on June 24, 2024

Alright, thanks man.

from iw7-mod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.