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.
(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: