Closed Tetrahedrite closed 11 years ago
Looking at the code of Program.cs, line 28, you most likely got the BotControlClass
wrong in some way.
@Philipp15b I pasted your Program.cs But Equal Error Again.. null error at parameter type.
There's (most likely) nothing wrong with the Program.cs
file, the BotControlClass
in the config json is wrong. Make sure to check that.
@Philipp15b Oh, Thanks. My Settings.json is wrong
The Bot Run Successful. But I just trade to bot, But program is errored.
I used "master" Branch.
Exception: System.ArgumentNullException: Can't be null Parameter Name : type Path: System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Bi nder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) Path: System.Activator.CreateInstance(Type type, Object[] args) Path: SteamBot.Program.<>cDisplayClass5.b 1(Bot bot, SteamID sid) File
C:\Users\Develop7\Desktop\New Folder (3)\usegitSOURCE\SteamBot\SteamBot\Program.
cs:Line 28
Path: SteamBot.Bot.GetUserHandler(SteamID sid) File C:\Users\Develop7\Desktop
\New Folder (3)\usegitSOURCE\SteamBot\SteamBot\Bot.cs:Line 440
Path: SteamBot.Bot.ba(TradeProposedCallback callback)
File C:\Users\Develop7\Desktop\New Folder (3)\usegitSOURCE\SteamBot\SteamBot\Bot.cs
:Line 373
Path: SteamKit2.CallbackMsg.Handle[T](Action`1 handler) File C:\Users\Develop
7\Desktop\New Folder (3)\usegitSOURCE\SteamBot\Lib\SteamKit2\SteamKit2\Steam3\Steam
Client\CallbackMgr\CallbackMsg.cs:Line 72
Path: SteamBot.Bot.HandleSteamMessage(CallbackMsg msg) File C:\Users\Develop7
\Desktop\New Folder (3)\usegitSOURCE\SteamBot\SteamBot\Bot.cs:Line 347
Path: SteamBot.Bot.<.ctor>b1() File C:\Users\Develop7\Desktop\New Folder (3)\u
segitSOURCE\SteamBot\SteamBot\Bot.cs:Line 121
Path: System.Threading.ThreadHelper.ThreadStart_Context(Object state)
Path: System.Threading.ExecutionContext.Run(ExecutionContext executionContext
, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
Path: System.Threading.ExecutionContext.Run(ExecutionContext executionContext
, ContextCallback callback, Object state)
Path: System.Threading.ThreadHelper.ThreadStart()