PDA

View Full Version : Anyone with C# knowledge, help!!


_79_dev
05-22-2012, 11:52 PM
After stresstest server console spit out few concerning errors. I am talking about:

1.


SteamServer: onP2PSessionConnectFail:76561198045500781

2.


=================================================
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at lVR31QXoQWveuZfGYPR.hGDpsrXnFf179EHRZI9.Armies()
at maddox.game.GameDef.selectArmyRequest(IPlayer player, Int32 army)
at KK2EMvep5fUQCy603pm.khM9d2eTZxHghhRZVPC.VATpvLMwoT 504eTREMq0(Object , Object , Int32 )
at KK2EMvep5fUQCy603pm.khM9d2eTZxHghhRZVPC.rVYjh4yKUB y(Int32 )
at KK2EMvep5fUQCy603pm.khM9d2eTZxHghhRZVPC.UqHjhPq9up U(L0sNrAXhSmkYqGtQ711 )
at KK2EMvep5fUQCy603pm.khM9d2eTZxHghhRZVPC.netInput(L 0sNrAXhSmkYqGtQ711 )
at QKX8967UgaXiiiq3aZw.rCNm8P7LGACUvEKr3YT.P7QW3p9rrY Q(L0sNrAXhSmkYqGtQ711 )
=================================================

This I think is related to not visible flags and lack of map after loading mission.

3.


=================================================
System.NullReferenceException: Object reference not set to an instance of an object.
at 1oRQNi251AvCBOCWmrE.WFkLoY2llaaRexK06hG.GuLME6wN6W T(d3AIqKC0nGbWA4MM3Qb , Boolean )
at OVXMNFVvWjHKUls2QRn.IQFGxbVFlG9ZGxUGG2b.rgu0Tukx0b 5()
at bUB82Ng6mdDnuT0t20X.QWVFT3gIFOGrCmH0f76.Y3lB3JWxLp t(L0sNrAXhSmkYqGtQ711 )
=================================================



___________________

attaching .cs and .mis file alltogether with log. Any help will be appreciated.

Smokeynz
05-23-2012, 12:27 AM
1st one not sure about, except the obvious it cant make a connection for some reason.

2nd, Note "armies" within the exception and it is to do with an array, or list.
So the error could be, lists start with 0, but when you count lists they tend to start 1 so you need "list.count-1", so any handling of arrays and lists need to be done with this thought.
To find the list or array envolved, look for the "armies" reference.

To track the fault, you might need a error catch, simply as a logserver report when it occurs. Maybe even a positive report when it works aswell.

3rd, this I believe is a nullpoint thrown because of or related to actors existing once but they have been removed by something else, like destroy or blown up. A reference to that actor is carried out, but the actor isnt there so the instance of an object is in error.
Currently a built in feature.

FG28_Kodiak
05-23-2012, 04:20 AM
@_79_dev
Nothing you can do against.

First Problem with steam, maybe temporary.
Second seems a Core Problem of CLiffs of Dover Core, seems there was no Army present at time the error occour.
Third seems to be a Core Problem too.

Where is the Attachment? ;)

_79_dev
05-23-2012, 06:37 AM
Thanks, I will try to hunt for bugs again. Just added attachment, sorry about that...have a look through it guys and tell me what You think.