This project is read-only.

Type or namespace "Server" could not be found

Oct 2, 2015 at 9:19 PM
Hey!
I need some help.

Image

Why VS is telling me that "Type or namespace "Server" could not be found"? I'm "using" the QueryMaster and I have already added it to the references.

Now look at this:
Image

Adding QueryMaster.GameServer solves the previous problem, but leaves me with another problem: "Cannot implicity convert type 'bool' to 'QueryMaster.GameServer.Rcon'

Thanks for helping me!
Oct 2, 2015 at 9:34 PM
hi Mewtw0w0,

Few things have changed with the update.
server.GetControl would now return a bool value.
Server.Rcon would be initialized if rcon password is right.
here is a sample
if (server.GetControl(rconPassword))
     Console.WriteLine(server.Rcon.SendCommand("status"));
else
     Console.WriteLine("invalid password");
Go to this link know about other changes.