Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
//as a happy reminder: Do not show password or email for anti-hacks
using System;
using PlayerIOClient;
using System.Threading;
namespace DeathMark
{
class MainClass
{
public static Connection con;
static Client client;
static void Main(string[] args)
{
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Deathmark");
try
{
client = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", "haha, almost posted my login data", "CanYouGuessMyCode?", null);
con = client.Multiplayer.JoinRoom("PWoeeqnQSMb0I", null);
}
catch (Exception i)
{
Console.WriteLine(i.ToString());
}
con.OnMessage += OnMessage;
con.Send("init");
//Thread.Sleep(-1);
}
private static void OnMessage(object sender, Message e)
{
switch (e.Type)
{
case "init":
con.Send("init2");
break;
case "init2":
Console.ForegroundColor = ConsoleColor.Cyan;
Console.WriteLine("Connected! I am EEANATOLY's bot.");
con.Send("say", "This is DeathMark. I am EEANATOLY's bot.");
break;
}
}
}
}
Added Thread.Sleep(-1); To keep the consol open. Code seems pretty fine.
This was in visual studio though. I used the latest NuGet packet for the .dll
Edit: Almost posted the account info of my alt. Lol
Ingame: marten22 My steam: MartenM
Offline
//as a happy reminder: Do not show password or email for anti-hacks using System; using PlayerIOClient; using System.Threading; namespace DeathMark { class MainClass { public static Connection con; static Client client; static void Main(string[] args) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("Deathmark"); try { client = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", "haha, almost posted my login data", "CanYouGuessMyCode?", null); con = client.Multiplayer.JoinRoom("PWoeeqnQSMb0I", null); } catch (Exception i) { Console.WriteLine(i.ToString()); } con.OnMessage += OnMessage; con.Send("init"); //Thread.Sleep(-1); } private static void OnMessage(object sender, Message e) { switch (e.Type) { case "init": con.Send("init2"); break; case "init2": Console.ForegroundColor = ConsoleColor.Cyan; Console.WriteLine("Connected! I am EEANATOLY's bot."); con.Send("say", "This is DeathMark. I am EEANATOLY's bot."); break; } } } }
Does not seem to work for me.
I CAN NOW CONNECT !!
[ Started around 1732405474.9362 - Generated in 0.036 seconds, 12 queries executed - Memory usage: 1.38 MiB (Peak: 1.48 MiB) ]