Hey guys,
I'm back doing some coding for the first time this year and I cannot seem to fix a problem I had a while back after splitting my GameServer & AuthServer.
In my AuthServer I currently have a dictionary called AwaitingPool and it will store a uint(Forward Packet Identifier) and also store a reference to the user's account. Looks abit like
My GameServer needs to confirm upon confirmation of login that the Key exists in the dictionary and also to pull out the Account.
What the odd thing is, is that I try to pull out the key and my GameServer claims the Dictionary is absolutely empty, I do a test with both consoles making a command on both, to get the count on the dictionary after I try to login, AuthServer claims my key and account is in there while at the same time my GameServer claims it is empty.
AuthServer is referenced by the GameServer as a project.
Anybody know what's going on?
I'm back doing some coding for the first time this year and I cannot seem to fix a problem I had a while back after splitting my GameServer & AuthServer.
In my AuthServer I currently have a dictionary called AwaitingPool and it will store a uint(Forward Packet Identifier) and also store a reference to the user's account. Looks abit like
Code:
public static Dictionary<uint, Database.AccountTable> AwaitingPool = new Dictionary<uint, Database.AccountTable>();
What the odd thing is, is that I try to pull out the key and my GameServer claims the Dictionary is absolutely empty, I do a test with both consoles making a command on both, to get the count on the dictionary after I try to login, AuthServer claims my key and account is in there while at the same time my GameServer claims it is empty.
AuthServer is referenced by the GameServer as a project.
Anybody know what's going on?