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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[DevTool for Botbases] RecompileOTron

anything

Member
Joined
May 8, 2011
Messages
203
RecompileOTron - A middle-man botbase to recompile your botbase every time you start HonorBuddy
(For developers only)
when you hit start your botbase is compiled again, Initialize()'ed and Start()'ed. the rest is up to your own botbase to do cool stuff.

https://www.thebuddyforum.com/honor...oper-forum/165049-recompiling-botbase-cc.html
See forum post. After finding no better way to test my botbases I quickly quickly hacked this up to make testing a little easier.
I've been using it about a million times a day since, so I thought I might share it in case its useful to someone else.

chunks of the CSharpCodeProvider is 'borrowed' from .net examples, and from one of highvoltz' old plugins. so a lot of the credit goes there.

could probably be adapted to combat routines also.

known issues:
- because the assemblies arent cleared after use, after many starts (eg >100) HB will begin acting very strangely because it is running out of memory. just restart HB.
- extension methods dont work. I dont know why actually, they must conflict with the existing extension in the namespace.
 

Attachments

Last edited:
thanks
fyi i still use it every day ;) i dont know how people do botbase dev otherwise.
 
thanks
fyi i still use it every day ;) i dont know how people do botbase dev otherwise.

I think most of them have similar plugins, e.g. I used to have a routine/plugin reloader up on forums ;p
 
Back
Top