Giter Site home page Giter Site logo

Comments (6)

Rampastring avatar Rampastring commented on May 20, 2024

"Exception has been thrown by the target of an invocation" doesn't tell anything, but you can take a look at the log to see the inner exception that is the actual problem. In this case it was an out-of-bounds array / list access somewhere in the code.

Could use more information on what was going on when it happened.

from xna-cncnet-client.

GrantBartlett avatar GrantBartlett commented on May 20, 2024

"The first time it happened right after game end, the second time I believe it randomly happened in game lobby. I try pay attention to it next time when I get it again."

from xna-cncnet-client.

GrantBartlett avatar GrantBartlett commented on May 20, 2024

I beleive I've just got this error now.
error

ClientCrashLog_11_12_2016_13_47.txt

from xna-cncnet-client.

Rampastring avatar Rampastring commented on May 20, 2024

Crashed in CnCNetGameLobby.Channel_UserAdded(object sender, ChannelUserEventArgs e), on

if (Players.Count + AIPlayers.Count > MAX_PLAYER_COUNT)
AIPlayers.RemoveAt(AIPlayers.Count - 1);

Based on the screenshot and investigating the log, player "mixo" had left the game earlier, but afterwards the game host had still sent a player options message that had "mixo" in it, leading the client to have 8 players in the internal player list. When the new user joined, Players.Count reached 9, which is above the maximum of 8 and caused the client to crash.

from xna-cncnet-client.

Rampastring avatar Rampastring commented on May 20, 2024

Potentially fixed in 0965180

from xna-cncnet-client.

Rampastring avatar Rampastring commented on May 20, 2024

Assumed fixed. Re-open or create a new issue if something similar is still seen.

from xna-cncnet-client.

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.