#1
|
|||
|
|||
Anyone with C# knowledge, help!!
After stresstest server console spit out few concerning errors. I am talking about:
1. SteamServer: onP2PSessionConnectFail:76561198045500781 2. Code:
================================================= 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.VATpvLMwoT504eTREMq0(Object , Object , Int32 ) at KK2EMvep5fUQCy603pm.khM9d2eTZxHghhRZVPC.rVYjh4yKUBy(Int32 ) at KK2EMvep5fUQCy603pm.khM9d2eTZxHghhRZVPC.UqHjhPq9upU(L0sNrAXhSmkYqGtQ711 ) at KK2EMvep5fUQCy603pm.khM9d2eTZxHghhRZVPC.netInput(L0sNrAXhSmkYqGtQ711 ) at QKX8967UgaXiiiq3aZw.rCNm8P7LGACUvEKr3YT.P7QW3p9rrYQ(L0sNrAXhSmkYqGtQ711 ) ================================================= 3. Code:
================================================= System.NullReferenceException: Object reference not set to an instance of an object. at 1oRQNi251AvCBOCWmrE.WFkLoY2llaaRexK06hG.GuLME6wN6WT(d3AIqKC0nGbWA4MM3Qb , Boolean ) at OVXMNFVvWjHKUls2QRn.IQFGxbVFlG9ZGxUGG2b.rgu0Tukx0b5() at bUB82Ng6mdDnuT0t20X.QWVFT3gIFOGrCmH0f76.Y3lB3JWxLpt(L0sNrAXhSmkYqGtQ711 ) ================================================= ___________________ attaching .cs and .mis file alltogether with log. Any help will be appreciated.
__________________
Asus P6T V2 Deluxe, I7 930, 3x2 GB RAM XMS3 Corsair1333 Mhz, Nvidia Leadtek GTX 470, Acer 1260p screen projector, Track IR 4 OS ver5, Saitek Pro Flight Rudder, Saitek X52, Win 7 x64 ultimate Last edited by _79_dev; 05-23-2012 at 06:32 AM. |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
@_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? |
#4
|
|||
|
|||
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.
__________________
Asus P6T V2 Deluxe, I7 930, 3x2 GB RAM XMS3 Corsair1333 Mhz, Nvidia Leadtek GTX 470, Acer 1260p screen projector, Track IR 4 OS ver5, Saitek Pro Flight Rudder, Saitek X52, Win 7 x64 ultimate |
|
|