When writing lua scripts for my logitech g502, I've gotten rapid fire to work, but it will continue to execute mouse presses after the mouse one button is released as long as the ctrl key is held. I am wondering if there is any kind of iteration that would allow me to signal a function that presses and releases the mouse but under the conditional that the same mouse button is pressed.(For example, ctrl must be held and rapid fire only executes when mouse button 1 is held down, as opposed to until ctrl is released).
I am wondering if there is any kind of iteration that would allow me to signal a function that presses and releases the mouse but under the conditional that the same mouse button is pressed.(For example, ctrl must be held and rapid fire only executes when mouse button 1 is held down, as opposed to until ctrl is released).
The actual problem is you're trying to simultaneously read real status and simulate press/release the same mouse button.
The only way to resolve this problem is (as you have suggested) to bind fire to additional key.
For example, in the game config you assign both left mouse button and keyboard key combination CtrlP to "Fire". Please note that P without a modifier must be NOT assigned to any action in the game.
And your script would be the following:
Do what I did. Get a mouse with an unlockable free-spinning mouse wheel. Bind one direction to your second quick-melee key, the other to your second primary fire key. Unlock, spin, re-spin every five to ten seconds to maintain maximum speed.
It will ask you to make a script, open it with block notes, and past that there, then save, right click script and "Compile Script". a new file will appear on the box the scrip is in. Double click it and its done.
As a programmer, having to type all day long and spamming keys while playing was causing my fingers to hurt, so I made a macro that only works while the WF window is active and does:
-slide attacks (Atterax/OrthosP), charge attacks(Redeemer) or quick melee while pressing C (adjustable delay to match different weapon attack speed).
-fires hold-type weapons like bows and opticor while holding V (adjustable timer to match charge speed).
-bullet/double jump when tap MB4 (both to travel in the plains and to activate operator zenurik dash).
-casts any skill in an interval (for equinox sleep focus farm). This could be used as afk-farming with other abilities, so I prevented it by turning itself off if no keypress in 10s.
-has a mini-ui that displays what is selected and a quick reminder of which numpad key is assigned to each gear wheel slot (no macro for gear, just WF keybindings).
In a recent thread, someone quoted one of the devs' answer form years ago that said keyboard built-in macros wouldn't result in a ban and also streamers (even partners) say that they use macros, so as long as you can't leave the game alone farming things while you go have dinner, it should be ok.
Sometime the combo for berserker melee is too fast for button mashing, or weapons like akbolto can fire way faster than you usually can click.
Or better still high cyclic rate automatic weapons can fire slower when you scroll slowly.
I use my wheel to move its a lot easier once you are use to it you. no longer have accidental clicks on mobs or pylons. For me makes using my left click for spells a lot easier then having to stop or hold shift down to force stop my moving so i could fire.
I became use to it after a day; and now I can't play without it. It does not give me any problems, you don't really need to SPAM it. Just makes getting around large packs easier without accidentally attacking a mob or clicking something you don't want to.
I'm currently using the wheel scrolling for moving, and yes, it can be very useful in cases you don't want to accidentally click on something and ruin your plan. Like Shapookya said, additional mouse buttons also do the work and can be more comfortable.
However, there is one moment that makes MY wheel better. I'm using Logitech Performance MX mouse with Hyper-Fast Scroll technology - in this mode the wheel rotates almost without friction and can keep rolling for 8-10 seconds after the initial finger movement. The computer recognizes this continuous spinning as a long series of separate clicks (called "rapid fire" by OP).
The most interesting thing I've discovered recently is that these wheel commands reset the commands coming from my keyboard, from the buttons that I'm holding pressed down. So, for example, if I'm holding "1" for Explosive Blast while wheel-controlled running, it will activate on cooldown without any crazy button mashing or NumPad trick.
Since this possibility comes from actual mechanical option of the mouse and not from any kind of software, I don't think that it can be considered a macro and thus shouldn't be bannable (if macros turn out to be bannable at all). Didn't use it during season (didn't play those spammer Wiz and Sader builds), don't know if such tricks were punished during banwaves. May be they can still be regarded as automation... What do you think?
If ur fire delay is lower, the gun is gonna fire at a faster rate, consistently and if u jus toggle on ur fps, there is gonna be a spike in the latency. This will create an impact. Ppl jus rush to the forums if there are minor spikes.. imagine spikes of 5-10ms while shooting. The weapon gets jammed occasionally as well.
2. Hold delay: This is the part which arent available in hardware macros. This is the time for which you set the assigned key to click repeatedly (in this case the lmb). So, it is like someone is holding your mouse on behalf of you for a certain amount of time to click for the set time interval.
Your whole position is denigrating anyone who would accuse such a thing, and flip it on them, they are bad, they don't know how to use semi-auto guns. The net result is a blanket DENIAL which amounts to the same thing. YOU need to chill... and stop insulting other players integrity for telling the truth about macroing, the dirty little secret of APB for years... Anyone can check the internet, these "sites" have had APB "macro" script offerings going back to 2012 and sold as part of "cheat" pkgs.
------------------------
(Just a quick internet search... oh looky, all those exact guns you were talking about...)
I know that these weapons are impossible to shoot stable and smooth all the time with fastest fire rate, how do i know this is that i have been playing this game since 2011 and tested the weapon with different mouses and tried the weapons with all kind different situations.
Not sure why you think that's impossible, it's literally moving your finger. A stable, (close to) perfect rate of fire is easily doable with the OSCAR, and might take some practice with the Carbine. You can even get used to the VBR's firerate with CJ3 as long as your finger is quick enough.
Some ppl have fast fingers some dont, thats part of the skill lvl area. You learn, you develop through hrs and hrs of play and you play fairly. Some ppl are good, others not so much thats why there is a threat system. To separate into groups of similarly skilled players so ppl arent rolled over and play is fair.
While I agree that macro software is technically a third party tool, keep in mind that alot of the marksman players have used the weapons for hundreds or thousands of hours, allowing them to adjust the fire rate in fights in ways that can't be matched by any macro. You don't always want max fire rate.
d3342ee215