What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to Write a Custom Class, a Guide for Beginners.

I want to write a CC, is this documentation up to date with the current HB?
Seeking a the HB source program download address mailbox l*****@Gmail.com


EDITED (29Dec2012 by chinajade): Removed personal email address to prevent harvesting by spambots.
 
Last edited by a moderator:
Warning 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Honorbuddy", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. test

And i've watched the movies on youtube from a member here, and read the "beginners guide".. yeah right... nothing works

or else remove/update this whole section.. ffs 2 days without anyprogrss OR sleep!

EDIT!!!


Now that Honnorbuddy has been updated, there have been some changes to the basic layout. Accordingly Blank.cs needs to be changed. Here are the changes that need to be done:
1) In Blank.cs delete the following:
using Styx.Combat.CombatRoutine;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
2) In Blank.cs replace them with:
using Styx.Common;
using Styx.CommonBot;
using Styx.CommonBot.Routines;
3) In the line " private static LocalPlayer Me { get { return ObjectManager.Me; } }" change 'ObjectManager' to 'StyxWoW'

Additional notes to the first post instructions:

If your MSVE is 64 bit capable, in Projects Menu, select
Properties (usually the bottom selection). In the subsequent window select 'Build' and find 'Platform Target' and set it to x86.

Possibly specific to MSVE 2012, Presentation Core is not loaded by default so when you are adding references to Honorbuddy and Tipper.Tools go to 'Assemblies' (instead of 'Browse') and put a check mark by 'Presentation Core'.

- Jim T.

.......... 2 days and i haven't looked back in the thread.. THANKS! And liked and repped
 
Could you please change the first post, CodenameG?
 
This thread needs some updating! I would love to get started on creating CC's and HB2 but I cant find a good and up-to-date guide how to write them...
 
This thread needs some updating! I would love to get started on creating CC's and HB2 but I cant find a good and up-to-date guide how to write them...

yeah I agree. I work from home. If I knew how to write CC's. I would write a Raiding CC and PvP CC For each class and spec. Im serious too. I work from home so I have the time to work with it
 
Hey,
I completely understand a majority of this, but just wondering.
How do you get a GUI in? Would it require a windows form or something?

Cheers.
 
Hey,
I completely understand a majority of this, but just wondering.
How do you get a GUI in? Would it require a windows form or something?

Cheers.

Yup, a windows form.

You'll need to do;

Code:
public override bool WantButton
        {
            get { return true;}
        }

Code:
public override void OnButtonPress()
        {
          // your code to call the GUI
        }
 
What does the 'WantButton' Represent? :|

If its on a windows form i completely understand but. ^
Thanks . :)
 
What does the 'WantButton' Represent? :|

If its on a windows form i completely understand but. ^
Thanks . :)

In honorbuddy, the button that says 'Class Config' - it's basically saying we want that button to be enabled, so that when it's clicked it will do something. If you set it to false, clicking that button doesn't do anything.
 
i would realy love to see this guide updated :) got it working sofar to do a combat rotation (yay, i am so very proud of myself, lol) - but i was actually wanting to do a level24 holy-paladin pvptwink routine. but the guide has no infos on healing (self, party, raidgroups)
 
i would realy love to see this guide updated :) got it working sofar to do a combat rotation (yay, i am so very proud of myself, lol) - but i was actually wanting to do a level24 holy-paladin pvptwink routine. but the guide has no infos on healing (self, party, raidgroups)
Spellmanager.Cast("Spellname", Target);

target can be a wow unit or player.
so what you need to do is build a list of wow players then sort by lowest health. there are 100 diffrent ways to do this. then once you find that player have it run against a tree of IF's
so if it dosnt need much health it will cast flash heal, and if it needs a lot of health cast Heal.
 
thanks :) will have a look into it (it= checking how other routine coders have accomplished this :P)
 
Im installing Visual C ++ 2010, and will follow your intstructions, is 2010 okay? or should i need 2008
 
Which one do i need?

Visual C++ 2010 Express
Visual C# 2010 Express
Visual Basic 2010 Express
Visual Web Developer 2010 Express
Visual Studio 2010 Express for Windows Phone
Visual Studio 2010 Express All-in-One ISO
Visual Studio 2010 Express for Windows Phone ISO

atm i have C++ 2010
 
You'll want any copy of Visual C# Express. (2010 or newer due to the .NET 4.0 requirements.)
 
What if any of this is different if coding a CC for SWTOR? I would assume it is pretty much the same but since that bot is fairly dead I figured I would ask here. Is there anything I need to lookout for?
 
I am learning a new language (C#). I hope this will be a great place to practise. I'm probably buying another wow acct for this... :)
 
Hey CodenameG !
Very good guide TYVM. Do you plan to make one for a GUI settings as well ? I need it like hell for my CC.
Cheers
 
Back
Top