Importing Players From Another League

Importing Players From Another League

Postby Robmeister89 » Tue Dec 24, 2019 12:43 pm

Code: Select all
DDSPF Error Log
-------------
Date: 12/24/2019 10:39:21 AM
Source: Draft Day Sports - Pro Football 2019
Message: Object reference not set to an instance of an object.
Stack Trace:    at #=qHE0rsQccT7O7t8NN6o4oyGMyGTcrTLP8bjMASPw_XZs5bAMSPL3j_YagsoZsQPxM..ctor(Player #=qdIq5MadtOv0HW1vbTJqh2Q==)
   at #=qwd_5_7DY6kR49uoJew9JIeyGugmY5o6rIf6$adskLp8=.#=qtGNddP4HQ9MeUx9f1ptLVDOZOGp9GVnF2Gap7KvVJs4=(Object #=qecdscr4dlmc1UV6bBr8QUw==, EventArgs #=qUtiYQURg_zFPMrZCX_vjLg==)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-----------------------------------------------------------------


I get this error when trying to view player cards of certain players I'm importing from another league. If you can tell me whats missing I can add it (or whatever needs to be done) to the players file.

I'm importing 8 players and it only hits the error on 2 or 3 of them. I fixed the contracts to ensure they're not at 0 (one was and threw a different error).
Robmeister89
Senior Member
 
Posts: 737
Joined: Sat Oct 10, 2015 10:56 am

Re: Importing Players From Another League

Postby brooks_piggott » Tue Dec 24, 2019 1:17 pm

It's probably flags or traits. I think you set them to None?
User avatar
brooks_piggott
Moderator
 
Posts: 3677
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX

Re: Importing Players From Another League

Postby Robmeister89 » Sat Dec 28, 2019 11:31 am

Flags and traits are both set to none for all 8 players. Still got an error when viewing a player's Analysis screen on the player card. I can send you the csv (or json) file if necessary.
Robmeister89
Senior Member
 
Posts: 737
Joined: Sat Oct 10, 2015 10:56 am

Re: Importing Players From Another League

Postby brooks_piggott » Sat Dec 28, 2019 1:04 pm

I didn't catch that you were looking at the analysis panel. That panel may have issues for imported players (specifically defenders) that have not played in a game yet. I added some code for the next patch (no eta) but for now I would avoid that tab until after they've played in a game.
User avatar
brooks_piggott
Moderator
 
Posts: 3677
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX

Re: Importing Players From Another League

Postby Robmeister89 » Sun Jan 05, 2020 8:21 pm

Brooks_Piggott wrote:I didn't catch that you were looking at the analysis panel. That panel may have issues for imported players (specifically defenders) that have not played in a game yet. I added some code for the next patch (no eta) but for now I would avoid that tab until after they've played in a game.

An update to PF19?
Robmeister89
Senior Member
 
Posts: 737
Joined: Sat Oct 10, 2015 10:56 am

Re: Importing Players From Another League

Postby brooks_piggott » Mon Jan 06, 2020 11:53 am

No, this would be patched in PF20.
User avatar
brooks_piggott
Moderator
 
Posts: 3677
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX

Re: Importing Players From Another League

Postby Robmeister89 » Thu Jan 09, 2020 2:53 pm

Brooks_Piggott wrote:No, this would be patched in PF20.

Oh I see. It just seemed like that comment was directed towards me and since we're playing on PF19 I just assumed. Well, at least it'll be fixed in future games.
Robmeister89
Senior Member
 
Posts: 737
Joined: Sat Oct 10, 2015 10:56 am


Return to DDS: Pro Football 2019 General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests