اMSA
اMSA
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
if someone can help me
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
im breaking my head with that
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
i tried put in start of macro and does nothing ;-;
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
in that part its active exection by call
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
using System.Runtime.InteropServices;
using System.Text;

public class Program
{
[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string name,string key,string val,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);
WritePrivateProfileString("since_start", "gather", null, "./timer.ini");
}
}
using System.Runtime.InteropServices;
using System.Text;

public class Program
{
[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string name,string key,string val,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);
WritePrivateProfileString("since_start", "gather", null, "./timer.ini");
}
}
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
or repeat x times with repeat thing
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
and if correct go to end label
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
using System.Runtime.InteropServices;
using System.Text;

public class Program
{
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section,string key,string def,StringBuilder retVal,int size,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);

var RetVal = new StringBuilder(255);
GetPrivateProfileString("since_start", "gather", "" , RetVal, 255, "./timer.ini");

long last = long.Parse(RetVal.ToString());

string old = System.Windows.Forms.Clipboard.GetText();
if (time - last >= 6000000000) System.Windows.Forms.Clipboard.SetText("end");
}
}
using System.Runtime.InteropServices;
using System.Text;

public class Program
{
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section,string key,string def,StringBuilder retVal,int size,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);

var RetVal = new StringBuilder(255);
GetPrivateProfileString("since_start", "gather", "" , RetVal, 255, "./timer.ini");

long last = long.Parse(RetVal.ToString());

string old = System.Windows.Forms.Clipboard.GetText();
if (time - last >= 6000000000) System.Windows.Forms.Clipboard.SetText("end");
}
}
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
it will check :
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
so after farm
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
using System.Runtime.InteropServices;
using System.Net;
using System.Text;
using System;

public class Program
{
// ↓↓↓↓↓↓↓↓ CHANGE THESE TO THE VARIABLES YOU WANT
const string message = "gathering Pine 10mins e_lol";
const string color = "255";

[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section,string key,string def,StringBuilder retVal,int size,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);

var RetVal = new StringBuilder(255);
GetPrivateProfileString("settings", "webhook", "", RetVal, 255, "./config.ini");
string webhook_url = RetVal.ToString();
GetPrivateProfileString("last_collected", "planterssms", "", RetVal, 255, "./timer.ini");



long last = long.Parse(RetVal.ToString());

long tup = time - last ;

long left = 72000000000 - tup;


TimeSpan timespan = TimeSpan.FromSeconds(left / 10000000);
string duration = timespan.Hours.ToString() + ":" + timespan.Minutes.ToString();



ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
WebClient wc = new WebClient();
wc.Headers[HttpRequestHeader.UserAgent] = "Jitbit";
wc.Headers[HttpRequestHeader.ContentType] = "application/json";
wc.UploadString(webhook_url, "{\"embeds\":[{\"description\":\"" + "" + " " +
message + "\",\"color\":\"" + color + "\",\"footer\":{\"text\":\"" + System.DateTime.Now.ToString("HH:mm") + "\"}}]}");
}
}
using System.Runtime.InteropServices;
using System.Net;
using System.Text;
using System;

public class Program
{
// ↓↓↓↓↓↓↓↓ CHANGE THESE TO THE VARIABLES YOU WANT
const string message = "gathering Pine 10mins e_lol";
const string color = "255";

[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section,string key,string def,StringBuilder retVal,int size,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);

var RetVal = new StringBuilder(255);
GetPrivateProfileString("settings", "webhook", "", RetVal, 255, "./config.ini");
string webhook_url = RetVal.ToString();
GetPrivateProfileString("last_collected", "planterssms", "", RetVal, 255, "./timer.ini");



long last = long.Parse(RetVal.ToString());

long tup = time - last ;

long left = 72000000000 - tup;


TimeSpan timespan = TimeSpan.FromSeconds(left / 10000000);
string duration = timespan.Hours.ToString() + ":" + timespan.Minutes.ToString();



ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
WebClient wc = new WebClient();
wc.Headers[HttpRequestHeader.UserAgent] = "Jitbit";
wc.Headers[HttpRequestHeader.ContentType] = "application/json";
wc.UploadString(webhook_url, "{\"embeds\":[{\"description\":\"" + "" + " " +
message + "\",\"color\":\"" + color + "\",\"footer\":{\"text\":\"" + System.DateTime.Now.ToString("HH:mm") + "\"}}]}");
}
}
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
get that
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
using System.Runtime.InteropServices;
using System.Text;

public class Program
{
[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string name,string key,string val,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);
WritePrivateProfileString("since_start", "gather", time.ToString(), "./timer.ini");
}
}
using System.Runtime.InteropServices;
using System.Text;

public class Program
{
[DllImport("kernel32")]
private static extern long WritePrivateProfileString(string name,string key,string val,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);
WritePrivateProfileString("since_start", "gather", time.ToString(), "./timer.ini");
}
}
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
now the farm part
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
so have very of that
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
get time from it too idk how explain that
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
that its a webhook sender
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
using System.Runtime.InteropServices;
using System.Net;
using System.Text;
using System;

public class Program
{
// ↓↓↓↓↓↓↓↓ CHANGE THESE TO THE VARIABLES YOU WANT
const string message = "traveling Pine!";
const string color = "4762204";

[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section,string key,string def,StringBuilder retVal,int size,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);

var RetVal = new StringBuilder(255);
GetPrivateProfileString("settings", "webhook", "", RetVal, 255, "./config.ini");
string webhook_url = RetVal.ToString();
GetPrivateProfileString("last_collected", "planterssms", "", RetVal, 255, "./timer.ini");



long last = long.Parse(RetVal.ToString());

long tup = time - last ;

long left = 72000000000 - tup;


TimeSpan timespan = TimeSpan.FromSeconds(left / 10000000);
string duration = timespan.Hours.ToString() + ":" + timespan.Minutes.ToString();



ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
WebClient wc = new WebClient();
wc.Headers[HttpRequestHeader.UserAgent] = "Jitbit";
wc.Headers[HttpRequestHeader.ContentType] = "application/json";
wc.UploadString(webhook_url, "{\"embeds\":[{\"description\":\"" + "" + " " +
message + "\",\"color\":\"" + color + "\",\"footer\":{\"text\":\"" + System.DateTime.Now.ToString("HH:mm") + "\"}}]}");
}
}
using System.Runtime.InteropServices;
using System.Net;
using System.Text;
using System;

public class Program
{
// ↓↓↓↓↓↓↓↓ CHANGE THESE TO THE VARIABLES YOU WANT
const string message = "traveling Pine!";
const string color = "4762204";

[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section,string key,string def,StringBuilder retVal,int size,string filePath);

[DllImport("kernel32.dll")]
public static extern void GetSystemTimeAsFileTime(out long systemTimeAsFileTime);

public static void Main()
{
long time;
GetSystemTimeAsFileTime(out time);

var RetVal = new StringBuilder(255);
GetPrivateProfileString("settings", "webhook", "", RetVal, 255, "./config.ini");
string webhook_url = RetVal.ToString();
GetPrivateProfileString("last_collected", "planterssms", "", RetVal, 255, "./timer.ini");



long last = long.Parse(RetVal.ToString());

long tup = time - last ;

long left = 72000000000 - tup;


TimeSpan timespan = TimeSpan.FromSeconds(left / 10000000);
string duration = timespan.Hours.ToString() + ":" + timespan.Minutes.ToString();



ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
WebClient wc = new WebClient();
wc.Headers[HttpRequestHeader.UserAgent] = "Jitbit";
wc.Headers[HttpRequestHeader.ContentType] = "application/json";
wc.UploadString(webhook_url, "{\"embeds\":[{\"description\":\"" + "" + " " +
message + "\",\"color\":\"" + color + "\",\"footer\":{\"text\":\"" + System.DateTime.Now.ToString("HH:mm") + "\"}}]}");
}
}
33 replies
CC#
Created by اMSA on 2/9/2023 in #help
❔ broken c# (its a large code explained)
btw have 1 or 2 of that just with other name
33 replies