Jump to content

[Fixed]Some warning messages!


gameboy
 Share

Recommended Posts

Today, I tested the latest SVN23036, and some warning messages appeared in the game: 

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

Edited by gameboy
  • Thanks 1
Link to comment
Share on other sites

@Stan` I tested the latest SVN23072, and when I entered the game, this warning message still appeared.

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

WARNING: CCmpRangeManager: No owners in query for entity 0

commands.txt

Link to comment
Share on other sites

@Freagarach  @Stan`  I commented out the two lines and the warning did not reappear.

q.ownersMask = 0;
        for (size_t i = 0; i < owners.size(); ++i)
            q.ownersMask |= CalcOwnerMask(owners);

        //if (q.ownersMask == 0)
        //    LOGWARNING("CCmpRangeManager: No owners in query for entity %u", source);

        q.interface = requiredInterface;
        q.flagsMask = flagsMask;

        return q;
    }

Link to comment
Share on other sites

  • 3 weeks later...

@Itms, @Freagarach, @elexis, @Stan` , @bb_, @vladislavbelov, @Alexandermb, @LordGood When I started a new game and ordered all the soldiers and women farmers to build houses, the warning came up that I built five or six houses at a time. this warning appeared. The map I chose is: farmland (2), playing factions: Macedonia, Athens. 

commands.txt

Edited by gameboy
Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...