- add posibility to Mount not self mounts, so possible to sit on mounts of other players, now i didn't found functions how to do this
- add new function to make pet's skills autousable on/off (if from client it is possible, i sure that it can be implemented by AB API)
- add new check function - PlayerInMyRaid (because now we have only checking function if player is in party - and it is not working for Raid players checking, it give true only for players in the same party-column of raid, all others - return fals... but when you in raid with more that 5 players we really need some function to check who is in our raid! plz! )
It would be nice if the Log() method supported multiple colors.
Out,
It would be nice if the Log() method supported multiple colors.
Thanks,
user
Check API pls before post requests. Method Log () have a some overloaded versions and support colors, tabs etc.
2Out: Pls, add a method for level up actabilities. Ready to give the account for tests.
what you mean? can you help me please?1) You can use direct skill.
There is a method to lvl up actabilities.Actability.IncreaseLevel()
+ 1 tipJust use:
Log("Big ERROR in RED", Color.red);
Log("Good Log in Green", Color.green);
asked: totalschaden for this information![]()
public void Log(string s)
{
base.Log(DateTime.Now.ToString("hh:mm:ss.fff",System.Globalization.CultureInfo.InvariantCulture) + ":" + s);
}
public void Log(string s, System.Drawing.Color c)
{
base.Log(DateTime.Now.ToString("hh:mm:ss.fff", System.Globalization.CultureInfo.InvariantCulture) + ":" + s,c);
}
попробывал еще вот так:
UseDoodadSkill("Оселать", me.target.boundObj, true);
SendKeys.Send("H");
ни то ни другое не работает![]()
public class Test : Core
{
const uint WM_KEYDOWN = 0x0100;
const uint WM_KEYUP = 0x0101;
int key_H = (int)0x48;
[DllImport("user32.dll")]
static extern bool PostMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
public static string GetPluginAuthor()
{
return "Plugin Author";
}
public static string GetPluginVersion()
{
return "1.0.0.0";
}
public static string GetPluginDescription()
{
return "My plugin description";
}
//Call on plugin start
public void PluginRun()
{
PostMessage(GetGameClientHandle(), WM_KEYDOWN, key_H, 0);
}
//Call on plugin stop
public void PluginStop()
{
}
}
Just use:
Log("Big ERROR in RED", Color.red);
Log("Good Log in Green", Color.green);
asked: totalschaden for this information![]()
[color=#aaaaaa]07-01-2015 08:00:00am [[/color][color=#ffffff]botimus[/color][color=#aaaaaa]] moving to target: [/color][color=#ff8888]Kraken[/color]
Check API pls before post requests. Method Log () have a some overloaded versions and support colors, tabs etc.
2Out: Pls, add a method for level up actabilities. Ready to give the account for tests.
+ 1 tip
To add time to the message log (override Log method in MyPlugin):
Code:public void Log(string s) { base.Log(DateTime.Now.ToString("hh:mm:ss.fff",System.Globalization.CultureInfo.InvariantCulture) + ":" + s); } public void Log(string s, System.Drawing.Color c) { base.Log(DateTime.Now.ToString("hh:mm:ss.fff", System.Globalization.CultureInfo.InvariantCulture) + ":" + s,c); }
private void log(string text) {
Log(DateTime.Now.ToString("G").Replace(" AM", "am").Replace(" PM", "pm")+" [[ color=#ffffff]"+me.name+"[ /color ] "+text, bot.logName);
}