Jump to content

[HELP] 1 or less players are required to start 'race' if not using GM


Recommended Posts

Hello!

 

I can't seem to find a solution for this message: 1 or less players are required to start 'race-fuzimu321312312123' if not using ghostmode

 

Even if map has enabled ghostmode, race resource also has enabled "ghostmode" and I have one-spawn and autoghostmode - it still doesn't work. Do you know what I can change in RACE gamemode to prevent that from happening? I remember on older builds i only needed one-spawn to execute maps properly, and now it doesn't work... Map has only 1 spawnpoint but I don't want to add new ones.

 

Help is appreciated, thx.

Edited by J4cobLIVEmain
Link to comment

Fixed it by myself.

 

Basically - open race_server.lua in "RACE" gamemode and delete this line:

 -- Check race can start ok
    if g_IgnoreSpawnCountProblems ~= res and not g_MapOptions.ghostmode then
        local numSpawnPoints = #map:getAll('spawnpoint')
        if getTotalPlayerCount() > numSpawnPoints then
            -- unload map xml
            map:unload()
            outputRace( (numSpawnPoints).." or less players are required to start '"..tostring(getResourceName(res)).."' if not using ghostmode" )
            return false
        end
    end

 

And voile! You can now start race with 1 spawnpoints if you have autoghostmode, without needing to put additional spawnpoints.

  • Like 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...