Matenia 628 Posted November 28, 2017 Share Posted November 28, 2017 Hey guys, I recently ported some of my fightclass framework to vanilla. I'm happy with where it currently is but will probably push updates. You can find a working version (and any future update) in my repository on GitHub. This framework is intended for all the developers on the wRobot Discord channel who keep working on the same issues over and over again. Hopefully this will encourage people to make pull requests and contribute to an overall community effort. Also, hopefully it will help with some of the more regular Discord users not having to answer a lot of questions over and over. Enjoy: https://github.com/Schaka/VanillaFightclassFramework Marsbar, Shaolin2, orls and 4 others 7 Link to comment https://wrobot.eu/forums/topic/7860-c-framework-for-wrobot-1121-fightclasses/ Share on other sites More sharing options...
sjb11211 0 Posted February 1, 2018 Share Posted February 1, 2018 It would be fantastic to have a simple guide Link to comment https://wrobot.eu/forums/topic/7860-c-framework-for-wrobot-1121-fightclasses/#findComment-38754 Share on other sites More sharing options...
Matenia 628 Posted February 1, 2018 Author Share Posted February 1, 2018 There is no simple guide. It's a C# project you can fire up in Rider or VS. There's a main class that contains the rotation, as any other fightclass would, and a few helpers classes to run the rotation and validate spells/range/etc. If you add the wRobot dlls in your Bin folder as dependencies and compile it successfully, the resulting DLL works as a fightclass in wRobot. Link to comment https://wrobot.eu/forums/topic/7860-c-framework-for-wrobot-1121-fightclasses/#findComment-38755 Share on other sites More sharing options...
Marshalek 1 Posted July 13, 2018 Share Posted July 13, 2018 This is awesome. Thanks @Matenia Link to comment https://wrobot.eu/forums/topic/7860-c-framework-for-wrobot-1121-fightclasses/#findComment-45529 Share on other sites More sharing options...
xj3r3myx 2 Posted August 2, 2018 Share Posted August 2, 2018 It looks like it is currently built for a mage correct? Can you tell me more about the RotationStep.cs file ? it appears to allow me to target different targets and cast spells. Would you be able to spend 10 or 15 minutes on Discord assisting me with understanding some parts of the code? My c# is limited and I am not sure how much you are willing to help teach someone else..... Seems like there is lots of cool LUA code to get different tasks done such as finding the highest spell rank ETC. Thank you for sharing this! Link to comment https://wrobot.eu/forums/topic/7860-c-framework-for-wrobot-1121-fightclasses/#findComment-46281 Share on other sites More sharing options...
Matenia 628 Posted August 2, 2018 Author Share Posted August 2, 2018 RotationStep takes a Rotation to execute, a function which evaluates whether the step can be executed (predicate) and a function which evaluates a target (there are some functions in CombatUtil already). The targetFinder function also takes a the predicate as a parameter, so that you can (and have to) evaluate if it applies to the target you chose. This is where you validate things like line of sight being available. Link to comment https://wrobot.eu/forums/topic/7860-c-framework-for-wrobot-1121-fightclasses/#findComment-46284 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now