I am a C#.net developer. Self taught so I don't know many technical terms. I have been able to write a rom name parser and .dat parser so I could sort my own roms though. I've also written some successful programs at work and finally gotten the hang of asynchronous functions. Asynchronous is hard to understand when you are a newbie self taught guy. . . .
Any who I'm looking to edit the chocobot. In the following example, how does the person know what MessageType to look for? I looked at the https://www.thebuddyforum.com/rebor...r-forum/184412-rebornbuddy-documentation.html and coudl not find MessageType 2238. I thought what I might be looking for is detrimental effects, but I don't think it is that MessageType. I'm trying to parse when my chocobo gets a negative effect so I can press the 2 button for ensuna.
Secondly, just to test out that my changes were being read I changed one of his logs that report the amount of MGP you earn from "Chocovot v1.0.0 Obtained MGP!" to "Chocovot v1.0.0 Obtained MGP!AAAAAA" Just because it is a simple way to see if my changes were being read. However even after exiting RebornBuddy and restarting it, it still doesn't have my AAAAA. Is there something further I need to do to get it to re-read the C# scipts?
These are my edits. The first in theory should work. I don't see why it wouldn't.
private void RecieveMessage(object sender, ChatEventArgs e)
{
if (e.ChatLogEntry.MessageType == (MessageType)2238 && e.ChatLogEntry.Contents.Contains("You obtain") && e.ChatLogEntry.Contents.Contains("MGP"))
{
var mgp = e.ChatLogEntry.Contents.Substring(11, (e.ChatLogEntry.Contents.Length - 16));
Logging.Write(Colors.SandyBrown, "[Chocobot v" + Version.ToString() + "] Obtained " + mgp + " MGP!AAAAAAAAA");
}
if (e.ChatLogEntry.Contents.Contains("Indigo Biscuit suffers"))
{
Logging.Write(Colors.SandyBrown, "I am detecting this.");
}
}
Any who I'm looking to edit the chocobot. In the following example, how does the person know what MessageType to look for? I looked at the https://www.thebuddyforum.com/rebor...r-forum/184412-rebornbuddy-documentation.html and coudl not find MessageType 2238. I thought what I might be looking for is detrimental effects, but I don't think it is that MessageType. I'm trying to parse when my chocobo gets a negative effect so I can press the 2 button for ensuna.
Secondly, just to test out that my changes were being read I changed one of his logs that report the amount of MGP you earn from "Chocovot v1.0.0 Obtained MGP!" to "Chocovot v1.0.0 Obtained MGP!AAAAAA" Just because it is a simple way to see if my changes were being read. However even after exiting RebornBuddy and restarting it, it still doesn't have my AAAAA. Is there something further I need to do to get it to re-read the C# scipts?
These are my edits. The first in theory should work. I don't see why it wouldn't.
private void RecieveMessage(object sender, ChatEventArgs e)
{
if (e.ChatLogEntry.MessageType == (MessageType)2238 && e.ChatLogEntry.Contents.Contains("You obtain") && e.ChatLogEntry.Contents.Contains("MGP"))
{
var mgp = e.ChatLogEntry.Contents.Substring(11, (e.ChatLogEntry.Contents.Length - 16));
Logging.Write(Colors.SandyBrown, "[Chocobot v" + Version.ToString() + "] Obtained " + mgp + " MGP!AAAAAAAAA");
}
if (e.ChatLogEntry.Contents.Contains("Indigo Biscuit suffers"))
{
Logging.Write(Colors.SandyBrown, "I am detecting this.");
}
}