-
Posts
1215 -
Joined
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by TheSmokie
-
-
public static void CastSpellRank(string spell, int rank) { Lua.LuaDoString("CastSpellByName('" + spell +"(Rank " + rank +")')"); }
simple function should work
-
I believe in vanilla cat form is a stance, not a spell, I could be completely wrong.
-
8 minutes ago, pudge said:
Why? It works well on land too, for example, to simulate movements in combat.
I was only saying what I’ve used it for,
-
This is use for vehicles in game.
-
Your using 2 go to spot, i think this will cause problems, use something like this
pathToFollow = PathFinder.FindPath(new Vector3(-5814.899, 650.6406, 94.55161));
but set it to find the npc vectors.
-
i still keep geting this problem with @Matenia FIghtclass / ABG product. i know for a fact its not my pc, i recently update my pc and i am able to run 5 wows and RAID on a 6th window with no fps drops
-
Hey @pudge, i did something like this a long time ago, I've found it to be be to long, and it would slow down quester because loading all the vectors then move too. idk could be because i had it very long or somewhat. but you wanna make the MovementManager.go into a while loop. so it keeps moving.
-
public static class Loader { public static void LoadProfile(string file) { QuesterSetting.CurrentSetting.ProfileName = file; Products.ProductRestart(); } }
-
I’m glad I could help ! ?
-
You have two. Options :
use the quester function, Load Profile
or
use the function your using with a product restart function
-
Note: if it runs to cast, you can set a Thread.Sleep
-
i had this problem a few days ago, i fix it with this simple function.
public static void GoInteractwithNpc(Vector3 vector, int Npc, int GossipOption) { if (wManager.Wow.Bot.Tasks.GoToTask.ToPosition(vector)) { Interact.InteractGameObject(ObjectManager.GetWoWUnitByEntry(Npc).First().GetBaseAddress); } Usefuls.SelectGossipOption(GossipOption); }
-
@ScripterQQ i found this, might help ya !
-- Tabled Cast Time Checking for When you Last Cast Something. CheckCastTime = {} Nova_CheckLastCast = nil function Nova_CheckLastCast(spellid, ytime) -- SpellID of Spell To Check, How long of a gap are you looking for? if ytime > 0 then if #CheckCastTime > 0 then for i=1, #CheckCastTime do if CheckCastTime[i].SpellID == spellid then if GetTime() - CheckCastTime[i].CastTime > ytime then CheckCastTime[i].CastTime = GetTime() return true else return false end end end end table.insert(CheckCastTime, { SpellID = spellid, CastTime = GetTime() } ) return true elseif ytime <= 0 then return true end return false end
-
-
The problem he is having that with the rotation I released, the spells are firing off way to fast and causing spells to be skipped even if they have conditions
-
Is the rotation your using is the pqr I released?
-
Back to the other post you made, no one will help you if you do not have a key.
-
@Andoido You can just use a simple Logging.OnChangedStatus attachment, please note this is @Matenia free source code, i didnt make nor have anything to do with making this code. all i done was made it to work inside a quester custom script.
All you have to do is edit CreateFrameIfNecessary() to your interface code and edit the WhatsGoingOnFrame.SetText(""{0}"") to your SetText Frame.
This saves you so many lines of code, you profile has over 1000 lines of frame editing code.
public static class QuesterFrame { public static readonly List<string> _invalidStatus = new List<string> { "Quester" }; public static void Starter() { Logging.OnChangedStatus += LoggingOnOnChangedStatus; } private static void LoggingOnOnChangedStatus(object sender, Logging.StatusChangeEventArgs statusChangeEventArgs) { string status = Logging.Status; if (!_invalidStatus.Contains(status)) { Lua.LuaDoString(FormatLua(@"WhatsGoingOnFrame.text:SetText(""{0}"")", status)); } } public static void CreateFrameIfNecessary() { Lua.LuaDoString(@" if not WhatsGoingOnFrame then WhatsGoingOnFrame = CreateFrame(""Frame"") WhatsGoingOnFrame:ClearAllPoints() WhatsGoingOnFrame:SetBackdrop(StaticPopup1:GetBackdrop()) WhatsGoingOnFrame:SetHeight(100) WhatsGoingOnFrame:SetWidth(250) WhatsGoingOnFrame.text = WhatsGoingOnFrame:CreateFontString(nil, ""BACKGROUND"", ""GameFontNormal"") WhatsGoingOnFrame.text:SetAllPoints() WhatsGoingOnFrame.text:SetText(""Initializing..."") WhatsGoingOnFrame.text:SetTextColor(1, 1, 0, 1) WhatsGoingOnFrame:SetPoint(""CENTER"", 0, 200) WhatsGoingOnFrame:SetBackdropBorderColor(1, 0, 0, 0.8) WhatsGoingOnFrame:SetMovable(true) WhatsGoingOnFrame:EnableMouse(true) WhatsGoingOnFrame:SetScript(""OnMouseDown"",function() WhatsGoingOnFrame:StartMoving() end) WhatsGoingOnFrame:SetScript(""OnMouseUp"",function() WhatsGoingOnFrame:StopMovingOrSizing() end) WhatsGoingOnFrame.Close = CreateFrame(""BUTTON"", nil, WhatsGoingOnFrame, ""UIPanelCloseButton"") WhatsGoingOnFrame.Close:SetWidth(20) WhatsGoingOnFrame.Close:SetHeight(20) WhatsGoingOnFrame.Close:SetPoint(""TOPRIGHT"", WhatsGoingOnFrame, 3, 3) WhatsGoingOnFrame.Close:SetScript(""OnClick"", function() WhatsGoingOnFrame:Hide() DEFAULT_CHAT_FRAME:AddMessage(""WhatsGoingOn |cffC41F3Bclosed |cffFFFFFFWrite /WhatsGoingOn to enable again."") end) SLASH_WHATEVERYOURFRAMESARECALLED1=""/WhatsGoingOn"" SlashCmdList.WHATEVERYOURFRAMESARECALLED = function() if WhatsGoingOnFrame:IsShown() then WhatsGoingOnFrame:Hide() else WhatsGoingOnFrame:Show() end end end"); } public static string FormatLua(string str, params object[] names) { return string.Format(str, names.Select(s => s.ToString().Replace("'", "\\'").Replace("\"", "\\\"")).ToArray()); } }
-
Who are you talking to?
-
Thanks for the idea droidz!
-
This is what i used to handle taking proposal,
public static void AcceptProposalHandler(LuaEventsId id, List<string> args) { if (id == LuaEventsId.LFG_PROPOSAL_SHOW) { Lua.LuaDoString("AcceptProposal();"); } }
You are going to need a way to check if you are in the que or not.
public static bool Qued(string GetLFGType) { return Lua.LuaDoString<bool>("local mode, submode = GetLFGMode(LE_LFG_CATEGORY_LFD); if mode == '" + GetLFGType + "' then return true; end"); }
we are both working on the same project, wanna work together on this? two brains better then one LOL Message me if your up for it.
-
Oh you talking about Rdf HC, youll need someone to build you a product for that. note you will need to pay for it. i know @Matenia might be interested in this.
-
Quester product will be your friend but I’d recommend you buy a key before asking for help. No one helps user w/o a key
-
my pc is a i5, with 8gb of ram, it should run with no problem
WOW crash when fighting in BG
in WRobot for Wow Battle for Azeroth - Help and support
Posted
Are you using advanced battleground product or normal battleground?