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

Pause on hold

Cass

New Member
Joined
Jan 24, 2014
Messages
98
Reaction score
2
As wired sugested im tryng to create a plugin to pause bot on hold and resume on relase of specific keys for a semiauto combat routine.

But my plugin wont compile and show, How can i troubleshoot it?

Probably becuase im tryng to give values for a variable used on CombatHotkey.cs .

I included on the namespace but dont know if this is enough

Follow the current version bellow.

I hope someone can give me some advice

Thanks.

View attachment Pause.cs
 
Okay I haven't tested but this should compile. Take a look and you will see some reference differences. Logger was thowing an error as well as your Pause bool due to incorrect linking.

Pro tip, install free version of visual studio. Open the Default Combat project, then add the location of your buddywing.exe to the references and that will show you most non compileable issues. 2nd tip, where that fails your buddywing log file will have info on where the compile failed. Good luck.
 

Attachments

Oh well

made some changes ant its compiling, but the keys are not being recognized. It seems iskeydown and iskeyup only works when the thread have focus T.T

any ideas?

View attachment Pause.cs
 
So if you have the buddywing window focused does it pause?
 
So if you have the buddywing window focused does it pause?

Huumm nope.

I guess its bw that dont recognize the commands. I have no idea why hotkey works but iskeydown dont T.T
 
I got it working for shift and control

Only thing is that if you use f8 to pause and use any shortcut with control or shift it will override the pause

There it goes

View attachment Pause.cs
 
Looks good makes a nice plugin addition, will be very helpful to raiders and pvpers
 
Since last update if you use f9 or f10 to pause the plugin wont resume it since they dont pause the defaultcombat but the bot itself. So its all good if you need to use shift or control while maitaining pause ^.^
 
Back
Top