[REQ] Definition of TradeList

07/15/2009 11:34 xellios#1
This is of kinshi's thread (Trade for CoEmu v2)
how to define the TradeList? I got everything else.
just this one
Help will be appreciated!
07/15/2009 11:41 tanelipe#2
PHP Code:
 CSocket.Client.TradeList = new Dictionary<intStruct.ItemInfo>(); 
That is part of his Trade release, so you define trade list in the Client files ( no idea what the class is called. )

PHP Code:
public Dictionary<intStruct.ItemInfoTradeList =  new Dictionary<intStruct.ItemInfo>(); 
07/15/2009 11:50 xellios#3
Quote:
Originally Posted by tanelipe View Post
PHP Code:
 CSocket.Client.TradeList = new Dictionary<intStruct.ItemInfo>(); 
That is part of his Trade release, so you define trade list in the Client files ( no idea what the class is called. )

PHP Code:
public Dictionary<intStruct.ItemInfoTradeList =  new Dictionary<intStruct.ItemInfo>(); 
hmm i added the trade things i didnt change something else and now im getting dced when i login ;o?
07/15/2009 12:06 tanelipe#4
That code won't cause it. Perhaps you should try debugging your application and see where it throws error; That is the most likely cause of dcing after adding code like that if you didn't change anything else
07/15/2009 12:24 xellios#5
Quote:
Originally Posted by tanelipe View Post
That code won't cause it. Perhaps you should try debugging your application and see where it throws error; That is the most likely cause of dcing after adding code like that if you didn't change anything else
ok but now i have it working if i put an item in the trade the other player dces ? Can u help me with that (Im getting no error in debugging mode or compiled one) if i put a item in so wuts the problem