Tomy
Tomy
CC#
Created by Tomy on 11/19/2023 in #help
✅ Any idea why I cant use sendkey?
Im new to c#. where do I have to put this? 😄
4 replies
CC#
Created by Tomy on 11/12/2023 in #help
Send message with c#?
Thanks
16 replies
CC#
Created by Tomy on 11/12/2023 in #help
Send message with c#?
//send me messenger/instagram/telegram text or any kind of notification?
16 replies
CC#
Created by Tomy on 11/12/2023 in #help
Send message with c#?
just send me a message "Ticket available"
16 replies
CC#
Created by Tomy on 11/12/2023 in #help
Send message with c#?
with a bot or from my account
16 replies
CC#
Created by Tomy on 11/12/2023 in #help
Send message with c#?
wdym with what
16 replies
CC#
Created by Tomy on 11/12/2023 in #help
Send message with c#?
class Program
{
static void Main(string[] args)
{
while(true)
{
String datum = DateTime.Now.ToString();
WebClient client = new WebClient();
string content = client.DownloadString("https://www.mujegpalya.hu/hu/jegyek");
if (content.Contains("<strong>Hamarosan...</strong>"))
{
Console.WriteLine($"[{DateTime.Now}]Ticket: Soon....");
}
else
{
Console.WriteLine($"[{DateTime.Now}] Ticket: Available");
//send me messenger/instagram/telegram text or any kind of notification?
Thread.Sleep(2000);
Environment.Exit(0);
}
Thread.Sleep(10000);
}

}
}
}
class Program
{
static void Main(string[] args)
{
while(true)
{
String datum = DateTime.Now.ToString();
WebClient client = new WebClient();
string content = client.DownloadString("https://www.mujegpalya.hu/hu/jegyek");
if (content.Contains("<strong>Hamarosan...</strong>"))
{
Console.WriteLine($"[{DateTime.Now}]Ticket: Soon....");
}
else
{
Console.WriteLine($"[{DateTime.Now}] Ticket: Available");
//send me messenger/instagram/telegram text or any kind of notification?
Thread.Sleep(2000);
Environment.Exit(0);
}
Thread.Sleep(10000);
}

}
}
}
16 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
._.
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
idk what it is, but it seems like I cant do it with string+writeline
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
I might have to look into stringbuilder
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
I cant get it working :/
class Palya
{
public static string palya1 =
@"
\x1b[31m################\x1b[0m
# #
# #
# \u001B[1m\u001B[33mK\u001B[39m\u001B[22m #
# #
# #
##################";

public static string palya2 =
@"\x1b[36m################\x1b[0m
# #
# #
# #
# #
# #
##################";

public static void PalyaBetoltes()
{
Console.WriteLine("\x1b[36mSzoveg\x1b[0m");
Console.Write(palya1);
}
}
class Palya
{
public static string palya1 =
@"
\x1b[31m################\x1b[0m
# #
# #
# \u001B[1m\u001B[33mK\u001B[39m\u001B[22m #
# #
# #
##################";

public static string palya2 =
@"\x1b[36m################\x1b[0m
# #
# #
# #
# #
# #
##################";

public static void PalyaBetoltes()
{
Console.WriteLine("\x1b[36mSzoveg\x1b[0m");
Console.Write(palya1);
}
}
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
Can u give me an example? K = character, # = wall
public static string map1 =
@"
##################
# #
# #
# K #
# #
# #
##################
";
public static string map1 =
@"
##################
# #
# #
# K #
# #
# #
##################
";
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
Thats gonna be wild 🔥
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
yoo
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
Also if I want to color the wall gray, and trees green+brown, how can I do it in 1 print?
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
Is there any idea how to process the scaling? Because when Map = "###" I cant print ███ ███ ███ then go back lines and print more characters after it ███ ███ ███ ███ ███ ███
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
I had a project and while printing the Fox&Rabbit simulation grid I could see the things appear line by line when the simulation map size was too big
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
Thank you soo much
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
But thats a good idea
35 replies
CC#
Created by Tomy on 11/9/2023 in #help
❔ Console RPG Game
Geeeez, gonna be fun to build it
35 replies