Jump to content

Zer0

Elite user
  • Content Count

    104
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Zer0 got a reaction from Harvest Golem in c# offmesh connection to use elevator   
    Here's the method I've made to handle elevators:
    public static void AddTransportOffMesh( Vector3 waitForTransport, Vector3 stepIn, Vector3 objectDeparture, Vector3 objectArrival, Vector3 stepOut, int objectId, ContinentId continentId, string name = "", float precision = 0.5f) { OffMeshConnection offMeshConnection = new OffMeshConnection(new List<Vector3> { waitForTransport, new Vector3(stepIn.X, stepIn.Y, stepIn.Z, "None") { Action = "c#: Logging.WriteNavigator(\"Waiting for transport\"); " + "while (Conditions.InGameAndConnectedAndProductStartedNotInPause) " + "{ " + $"var elevator = ObjectManager.GetWoWGameObjectByEntry({objectId}).OrderBy(o => o.GetDistance).FirstOrDefault(); " + $"if (elevator != null && elevator.IsValid && elevator.Position.DistanceTo(new Vector3({objectDeparture.X.ToString().Replace(",", ".")}, {objectDeparture.Y.ToString().Replace(",", ".")}, {objectDeparture.Z.ToString().Replace(",", ".")})) < {precision.ToString().Replace(",", ".")}) " + "break; " + "Thread.Sleep(100); " + "}" }, new Vector3(stepOut.X, stepOut.Y, stepOut.Z, "None") { Action = "c#: Logging.WriteNavigator(\"Wait to leave Elevator\"); " + "while (Conditions.InGameAndConnectedAndProductStartedNotInPause) " + "{ " + $"var elevator = ObjectManager.GetWoWGameObjectByEntry({objectId}).OrderBy(o => o.GetDistance).FirstOrDefault(); " + $"if (elevator != null && elevator.IsValid && elevator.Position.DistanceTo(new Vector3({objectArrival.X.ToString().Replace(",", ".")}, {objectArrival.Y.ToString().Replace(",", ".")}, {objectArrival.Z.ToString().Replace(",", ".")})) < {precision.ToString().Replace(",", ".")}) " + "break; " + "Thread.Sleep(100); " + "}" }, }, (int)continentId, OffMeshConnectionType.Unidirectional, true); offMeshConnection.Name = name; OffMeshConnections.Add(offMeshConnection, true); } And here is how I use it:
    AddTransportOffMesh(new Vector3(2865.628, 6211.75, 104.262), // wait for transport new Vector3(2878.712, 6224.032, 105.3798), // Step in new Vector3(2878.315, 6223.635, 105.3792), // Object departure new Vector3(2892.18, 6236.34, 208.908), // Object arrival new Vector3(2880.497, 6226.416, 208.7462, "None"), // Step out 188521, ContinentId.Northrend, "Warsong Hold Elevator UP"); AddTransportOffMesh(new Vector3(2880.497, 6226.416, 208.7462, "None"), // wait for transport new Vector3(2891.717, 6236.516, 208.9086, "None"), // Step in new Vector3(2892.18, 6236.34, 208.908), // Object departure new Vector3(2878.315, 6223.635, 105.3792), // Object arrival new Vector3(2865.628, 6211.75, 104.262), // Step out 188521, ContinentId.Northrend, "Warsong Hold Elevator DOWN"); I've used this for our FlightMaster plugin. In theory, it should also work for other transports.
  2. Like
    Zer0 got a reaction from Harvest Golem in MovementManager.Go   
    If you want to move to the first spot on the list, use
    GoToTask.ToPosition(path[0]); If you want to find nearest spot on the list, you can do it this way:
    using System.Linq; List<Vector3> closestSpots = path .OrderBy(spot => spot.Position.DistanceTo(ObjectManager.Me.Position)) .ToList(); Vector3 closestSpot = closestSpots[0]; I haven't tested it and there's probably a more efficient way to do it, but that should work.
  3. Like
    Zer0 reacted to Energia in Problem with GoToTask.ToPositionAndIntecractWithNpc on TBC   
    Hi all,
    I want to join to the victims of this problem. This one happening not very often. NPC window is not showing up at all (as if the bot never interacted with npc). Examples - pick up / turn in quests or discovering flight master. Even when my bot is played and I will click on npc bot refuses to pick up / turn in the quest at all. 
    For me that was on TBC servers only too. 1 think I want to mention is that I tried to disable all my plugins, I am not using any addons. Tried to reset wrobot, relogger, PC... Nothing helped. 
  4. Like
    Zer0 got a reaction from Energia in Problem with GoToTask.ToPositionAndIntecractWithNpc on TBC   
    Hi,
    I have noticed a problem recently with GoToTask.ToPositionAndIntecractWithNpc(...).
    Sometimes, the bot will succesfully move to the NPC, but then fail to interact with it, despite being in interaction range.
    It's very random and hard to reproduce. When that happens, GoToTask.ToPositionAndIntecractWithNpc returns false. The gossip option argument doesn't seem to make a difference. I've encountered this issue a few times on my private server, and others in the team have also encountered this issue on the Endless server. It does not happen on the WotLK expansion at all. It happens with our flightmaster plugin, but also with the quester (quests pickup for example).
    Has anyone ever encountered this issue, and has any idea where it could come from?
  5. Thanks
    Zer0 got a reaction from Apexx in Detect Target Immunities (ie: Immune to Diseases)   
    This is how I do it (TBC).
    Although as Matenia pointed out, some mobs might only be temporary immune to a school. That being said, I'd rather handle those rare exceptions than random immunities that differ from server to server.
     
    EventsLuaWithArgs.OnEventsLuaWithArgs += LuaEventsHandler; private void LuaEventsHandler(LuaEventsId id, List<string> args) { if (args[11] == "IMMUNE")) { Logging.Write($"{ObjectManager.Target.Name} is immune to {args[9]}"); // Your code to handle spell ban // args[9] is the name of the spell } }  
  6. Thanks
    Zer0 got a reaction from Sjd6795 in Reapply DoTs   
    Hi, if you want to check if your target has a debuff, you can use ObjectManager.Target.HaveBuff("buff name"").
    In your situation, you simply could use.
    if (!ObjectManager.Target.HaveBuff("Rend")) { // Cast rend } This will ensure that Rend is always up on your target.
  7. Like
    Zer0 got a reaction from Talamin in How do I impliment Fight Class Settings   
    Looks good to me at first sight.
    Maybe you forgot to declare the following method?
    public static void ShowConfiguration() { TestingSettings.Load(); TestingSettings.CurrentSetting.ToForm(); TestingSettings.CurrentSetting.Save(); } You also need to load the settings in the Initialize() method of the FC:
    TestingSettings.Load();  
  8. Thanks
    Zer0 got a reaction from Photogenic in Conditions in xml ??   
    I don't know about ObjectManager.Me.InCombatWithFlagOnly
    ObjectManager.Me.InCombatFlagOnly is the way to go.
  9. Thanks
    Zer0 got a reaction from Bambo in Need a bot for wow classic official servers   
    47 views / 36 likes. Forget about bots, my man, you've got an unprecedented YouTube career waiting for you.

    In all seriousness, I kinda feel bad for those who will fall for this scam. It's obvious to an experimented user, but probably not so much for newcomers.
  10. Like
    Zer0 reacted to Matenia in Fightclass Framework for 2.4.3/3.3.5a and more   
    If you've seen my 1.12 fightclass framework, this is basically the much enhanced version.
    It should work for WoW 2.4.3 and 3.3.5a, possibly many more expansions. The only thing you would have to do is adjust the way combatlog events are parsed, if paramters have changed in your expansion. Everything else should be handled by wRobot. 

    Below you can find the GitHub repository. It also contains a very simple enhancement shaman fightclass as an example that you could change to fit your own needs.
    This is for developers only. If you're a regular user, I recommend just buying my fightclasses. They are, in my opinion, fairly priced.

    Features:
    - checks with server if a spell was successful
    - support for different types of spells 
    - no more double casts of any sort (heals, debuffs, damage)
    - possibility to ignore server responses
    - easy offtarget handling
    - performant caching and rotation handling
    - possibility to use as a healing framework
    - support for wanding
    - multilanguage support
    - dispel by debuff type
     

    https://github.com/Schaka/wRobotFightclassFrameworkEnhanced
     
    @Droidz would be nice if you could sticky/pin this thread
  11. Like
    Zer0 got a reaction from Messerboogie in Calling for developers and testers   
    Due to the lack of free available third party products in the store (plugins, fight classes, grinders, questers), I have decided to gather developers and testers under an umbrella project called "Project Wholesome".
    The goal of Project Wholesome is to develop, test, and freely share wRobot products. All the code created under the project will be transparent, open-source, and then released in the store for free. I insist on the fact that not a single line of code released under Project Wholesome  will be sold for profit. We already have a few people working together on fight classes and on profile creation.
    Developers : You want to help the community grow and participate in providing quality products or you want to learn how to create plugins, fight classes and profiles. You are willing to share your knowledge and your code to others. You are aware that you are not in for the money. You will take testers' feedback into account to polish your product. Once you finish a product, you will release it for free in the store, although you can call for donations on the product page. 
    Testers : You will have access to unfinished/beta products from our team under the condition that you provide active feedback through bug reports in the discord channel. You are willing to treat developers with respect and patience, keeping in mind that they are providing a service for free.
    Project Wholesome is all about trust, and keeping wRobot alive. We start small, setting realistic goals, but we intend to create a momentum and keep it growing as much as possible. If you are interested, feel free to join our channel.

    https://discord.gg/NEq4VA6
  12. Thanks
    Zer0 reacted to Talamin in Calling for developers and testers   
    We have enough space on our Discord for new Developers. So if someone wants to join on the Project, just follow Zeros Link :-)
  13. Like
    Zer0 got a reaction from Kelemvor in undermentioned wow key...   
    Ça veut dire qu'il faut que tu réinitialises tes raccourcis dans le jeu et que tu les laisses par défaut.
    Assure-toi aussi d'utiliser le client anglais du jeu.
  14. Like
    Zer0 got a reaction from CocoChanel in Botting for classic   
    Also be aware that if someone contacts you to sell you a bot for Classic, it's most likely a scam.
    Be careful people.
  15. Thanks
    Zer0 got a reaction from Kamogli in Calling for developers and testers   
    I absolutely encourage the project members to set up their own individual donation system. Now if you're referring to a shared account for the entire project, I don't think I'll do that for several reasons. First, we're just a few for now, and it doesn't make much sense. But for the sake of argument, let's say we do. How do you redistribute the money fairly? What do you invest in so everyone is happy? What happens when someone leaves? I'm not too keen on involving money in the process. I know too well what happens in this type of situation and I'd rather avoid the headache.
    That's why I make it clear from the beginning that anyone joining us won't be in for the money. Also, if we're being realistic, 99% of users will just use our product without leaving any feedback, or even knowing our existence, let alone donate money.
  16. Like
    Zer0 got a reaction from Icvrewq in Calling for developers and testers   
    An All-In-One Fightclass for TBC has been released. 9 classes included, 1-70. Enjoy.
     
  17. Like
    Zer0 got a reaction from xenon1337b in Calling for developers and testers   
    Due to the lack of free available third party products in the store (plugins, fight classes, grinders, questers), I have decided to gather developers and testers under an umbrella project called "Project Wholesome".
    The goal of Project Wholesome is to develop, test, and freely share wRobot products. All the code created under the project will be transparent, open-source, and then released in the store for free. I insist on the fact that not a single line of code released under Project Wholesome  will be sold for profit. We already have a few people working together on fight classes and on profile creation.
    Developers : You want to help the community grow and participate in providing quality products or you want to learn how to create plugins, fight classes and profiles. You are willing to share your knowledge and your code to others. You are aware that you are not in for the money. You will take testers' feedback into account to polish your product. Once you finish a product, you will release it for free in the store, although you can call for donations on the product page. 
    Testers : You will have access to unfinished/beta products from our team under the condition that you provide active feedback through bug reports in the discord channel. You are willing to treat developers with respect and patience, keeping in mind that they are providing a service for free.
    Project Wholesome is all about trust, and keeping wRobot alive. We start small, setting realistic goals, but we intend to create a momentum and keep it growing as much as possible. If you are interested, feel free to join our channel.

    https://discord.gg/NEq4VA6
  18. Thanks
    Zer0 got a reaction from Droidz in Calling for developers and testers   
    An All-In-One Fightclass for TBC has been released. 9 classes included, 1-70. Enjoy.
     
  19. Like
    Zer0 got a reaction from Kamogli in Calling for developers and testers   
    An All-In-One Fightclass for TBC has been released. 9 classes included, 1-70. Enjoy.
     
  20. Thanks
    Zer0 reacted to Droidz in Wrobot stopped working !   
    Yes problem is resolved, I added two days to all active subscriptions.
    Sorry again for the inconvenience.
  21. Like
    Zer0 got a reaction from Garub in Calling for developers and testers   
    Due to the lack of free available third party products in the store (plugins, fight classes, grinders, questers), I have decided to gather developers and testers under an umbrella project called "Project Wholesome".
    The goal of Project Wholesome is to develop, test, and freely share wRobot products. All the code created under the project will be transparent, open-source, and then released in the store for free. I insist on the fact that not a single line of code released under Project Wholesome  will be sold for profit. We already have a few people working together on fight classes and on profile creation.
    Developers : You want to help the community grow and participate in providing quality products or you want to learn how to create plugins, fight classes and profiles. You are willing to share your knowledge and your code to others. You are aware that you are not in for the money. You will take testers' feedback into account to polish your product. Once you finish a product, you will release it for free in the store, although you can call for donations on the product page. 
    Testers : You will have access to unfinished/beta products from our team under the condition that you provide active feedback through bug reports in the discord channel. You are willing to treat developers with respect and patience, keeping in mind that they are providing a service for free.
    Project Wholesome is all about trust, and keeping wRobot alive. We start small, setting realistic goals, but we intend to create a momentum and keep it growing as much as possible. If you are interested, feel free to join our channel.

    https://discord.gg/NEq4VA6
  22. Thanks
    Zer0 reacted to Droidz in Wrobot stopped working !   
    Hello,
    I work on it, it is caused by last InvisionCommunity security update.
  23. Like
    Zer0 got a reaction from Kamogli in Calling for developers and testers   
    I'm not going to argue with you. I'm leaving the decision to Droidz. If he thinks we are the threat you think we are, he can ban us from releasing anything free. I'll accept that and move on.
  24. Like
    Zer0 got a reaction from Kamogli in Calling for developers and testers   
    Due to the lack of free available third party products in the store (plugins, fight classes, grinders, questers), I have decided to gather developers and testers under an umbrella project called "Project Wholesome".
    The goal of Project Wholesome is to develop, test, and freely share wRobot products. All the code created under the project will be transparent, open-source, and then released in the store for free. I insist on the fact that not a single line of code released under Project Wholesome  will be sold for profit. We already have a few people working together on fight classes and on profile creation.
    Developers : You want to help the community grow and participate in providing quality products or you want to learn how to create plugins, fight classes and profiles. You are willing to share your knowledge and your code to others. You are aware that you are not in for the money. You will take testers' feedback into account to polish your product. Once you finish a product, you will release it for free in the store, although you can call for donations on the product page. 
    Testers : You will have access to unfinished/beta products from our team under the condition that you provide active feedback through bug reports in the discord channel. You are willing to treat developers with respect and patience, keeping in mind that they are providing a service for free.
    Project Wholesome is all about trust, and keeping wRobot alive. We start small, setting realistic goals, but we intend to create a momentum and keep it growing as much as possible. If you are interested, feel free to join our channel.

    https://discord.gg/NEq4VA6
  25. Like
    Zer0 got a reaction from Stresse in Calling for developers and testers   
    Due to the lack of free available third party products in the store (plugins, fight classes, grinders, questers), I have decided to gather developers and testers under an umbrella project called "Project Wholesome".
    The goal of Project Wholesome is to develop, test, and freely share wRobot products. All the code created under the project will be transparent, open-source, and then released in the store for free. I insist on the fact that not a single line of code released under Project Wholesome  will be sold for profit. We already have a few people working together on fight classes and on profile creation.
    Developers : You want to help the community grow and participate in providing quality products or you want to learn how to create plugins, fight classes and profiles. You are willing to share your knowledge and your code to others. You are aware that you are not in for the money. You will take testers' feedback into account to polish your product. Once you finish a product, you will release it for free in the store, although you can call for donations on the product page. 
    Testers : You will have access to unfinished/beta products from our team under the condition that you provide active feedback through bug reports in the discord channel. You are willing to treat developers with respect and patience, keeping in mind that they are providing a service for free.
    Project Wholesome is all about trust, and keeping wRobot alive. We start small, setting realistic goals, but we intend to create a momentum and keep it growing as much as possible. If you are interested, feel free to join our channel.

    https://discord.gg/NEq4VA6
×
×
  • Create New...