RatPoison-dev / RatPoison

Latest Ver: 1.7; Default Menu Key is F1; Charlatano's Successor; dn
GNU Affero General Public License v3.0
327 stars 95 forks source link

Triggerbot sometimes doesnt work #15

Closed justasbeast closed 5 years ago

justasbeast commented 5 years ago

Triggerbot not always reacts to enemies

TheRatCode commented 5 years ago

@justasbeast @JeeyM Triggerbot relies on bSpotted to know if the enemy is in LoS, if you use Show Target (Enemy highlights yellow when inside aim fov) triggerbot should react to the enemy normally if the target is yellow and bones 3 through 7 (torso/chest bones) or bone 8 (head bone) is inside the bone trigger fov. Let me know if this is not the case and it isn't reacting when it should.

TheRatCode commented 5 years ago

@JeeyM Does it not work at all? Or just has times where it should shoot but doesnt? Latest version 1.2.6 is working fine for me.

TheRatCode commented 5 years ago

@JeeyM As long as bone trigger is enabled it should be working fine, I tested by having force aim and bone trigger on F (70) and it worked fine, is force aim working? If not your key might be wrong http://cherrytree.at/misc/vk.htm

TheRatCode commented 5 years ago

@JeeyM Are you using only body bone/head bone or both?

TheRatCode commented 5 years ago

It might not fix your issue but I did find a problem where bone trigger won't activate if bone trigger head bone isn't enabled. It's the only possible solution I have atm, will come in an update either today or tomorrow.

TheRatCode commented 5 years ago

@JeeyM I did find a couple issues with variables not resetting on each target call, let me know if the latest update (1.3) fixes bone trigger for you

TheRatCode commented 5 years ago

@JeeyM Fullscreen shouldnt be the problem, not sure what it could be for you if everything else is working

TheRatCode commented 5 years ago

@JeeyM Since you're using fullscreen the menu is turned off correct?

TheRatCode commented 5 years ago

@JeeyM If menu = true in general.kts when windowed or borderless F1 should open the menu

TheRatCode commented 5 years ago

@JeeyM If you dont have box esp, skeleton esp, bomb timer or recoil crosshair enabled the menu wont launch either, maybe thats the case.

TheRatCode commented 5 years ago

@JeeyM Setting one of those to true will enable the menu, is enable_bone_trigger = true in scripts.kts?

TheRatCode commented 5 years ago

@JeeyM Id recommend settings recoil crosshair = true to use the menu to test bone trigger, settings look like it should be working but clearly its not. Edit: flat aim & path aim arent in scripts.kts anymore either you copy/pasted settings or have an outdated version (I'm assuming the former so it shouldnt be a problem)

TheRatCode commented 5 years ago

@JeeyM I've found the problem (hopefully), will push an update in a couple minutes

TheRatCode commented 5 years ago

@JeeyM Yes bone trigger is relying on the menu being initialized to function, fixing it so it works without the menu.

TheRatCode commented 5 years ago

@JeeyM Just pushed the update, lmk how it goes