Player of 0AD Posted Saturday at 19:47 Report Share Posted Saturday at 19:47 3 minutes ago, 0 calories said: just run that python script ffm attached you can get it yourself Can you explain how to do it step by step? Couldn't make it work Quote Link to comment Share on other sites More sharing options...
chrstgtr Posted Saturday at 20:20 Report Share Posted Saturday at 20:20 1 hour ago, Atrik said: introducing a feature that replace alt-clicking for sniping by a less spammy one (in this case, this thread wouldn't have to exist). See the attack area thread. Sniping exists. We should just implement attack area. 1 Quote Link to comment Share on other sites More sharing options...
ffm2 Posted Saturday at 21:46 Author Report Share Posted Saturday at 21:46 1 hour ago, Player of 0AD said: Can you explain how to do it step by step? Couldn't make it work Put the script in the right folder: On Windows (Vista or newer): C:\Users\{name_of_user}\Documents\My Games\0ad\replays\ On OSX: ~/Library/Application Support/0ad/replays/ On Linux: ~/.local/share/0ad/mods/ (may be found in GUI via Home/.local/share/0ad/replays/) Adjust line 8 to be the folder containing the replay: path = "0.0.26/1ADDA938C7135CC0/" # stockfish; max. 96, total 1407 Install dependencies: small: matplotlib, numpy, python 3; (Or I use Spyder [on Windows install Anaconda] if you'd like to use a visual variable explorer, but not necessary just to run this). run the script: python load_replay.py 2 Figures get saved to the folder containing the replay and also pop up as windows in which you can zoom, pan etc. Quote Link to comment Share on other sites More sharing options...
ffm2 Posted Saturday at 21:56 Author Report Share Posted Saturday at 21:56 But note that you need more than one or two games. I also encourage to look at the turn in the text file if you found something to double check. Attached is one game that seems suspicious with berhudar and weirdJokes and others, but if you look at other games of weirdJokes (berhudar has only one upload) you don't see him with that high of a number. I think this was a heavy lagging game since a lot of players have such high values. e.g. just glancing at total number of commands: https://replay-pallas.wildfiregames.ovh/Replays/ReplayDetails/46D647BA5A8FA5C8 https://replay-pallas.wildfiregames.ovh/Replays/ReplayDetails/C7CF37877668B4F0 Quote Link to comment Share on other sites More sharing options...
BreakfastBurrito_007 Posted Saturday at 22:02 Report Share Posted Saturday at 22:02 (edited) The funny thing is when I was 130 earlier like you saw I was sniping and my units were walking around the barracks to get to the individual targets I set. I failed this one bad lol. This was before Sniper got a new PC so the game was horrendously laggy. I can confirm all of these were manual clicks (my mouse costs 4 dollars and comes from grocery store) Edited Saturday at 22:10 by BreakfastBurrito_007 Quote Link to comment Share on other sites More sharing options...
ffm2 Posted Saturday at 22:09 Author Report Share Posted Saturday at 22:09 Yeah, since you can know which unit gets this command. (just for clarity 130 in the total game [number in the legend], you had 6 per turn max.) Quote Link to comment Share on other sites More sharing options...
BreakfastBurrito_007 Posted Saturday at 22:11 Report Share Posted Saturday at 22:11 2 minutes ago, ffm2 said: Yeah, since you can know which unit gets this command. (just for clarity 130 in the total game [number in the legend], you had 6 per turn max.) Ah ok that’s way less impressive. Quote Link to comment Share on other sites More sharing options...
ffm2 Posted Saturday at 22:22 Author Report Share Posted Saturday at 22:22 https://clickspeedtest.com/ says: According to Recordsetter - a website that lets player post record for everything, Per the same website, Dylan Allred from Las Vegas holds the world record for most mouse clicks in 10 seconds. The data suggest that Allerd click the mouse 1,051 times in 10 seconds. Assuming they have some verification for this records. With a smooth game that would be 1051 / 10 * 0.2 = 21 clicks per turn. Then additionally to this you'd need also point on the target and then click (not just clicking like this test) Quote Link to comment Share on other sites More sharing options...
Player of 0AD Posted 14 hours ago Report Share Posted 14 hours ago 18 hours ago, ffm2 said: https://clickspeedtest.com/ says: According to Recordsetter - a website that lets player post record for everything, Per the same website, Dylan Allred from Las Vegas holds the world record for most mouse clicks in 10 seconds. The data suggest that Allerd click the mouse 1,051 times in 10 seconds. Assuming they have some verification for this records. With a smooth game that would be 1051 / 10 * 0.2 = 21 clicks per turn. Then additionally to this you'd need also point on the target and then click (not just clicking like this test) So many clicks per second is very unrealistic. That would be 100 clicks per second. At another spot the side says that the record is 17 clicks per second, which is more realistic. Quote Link to comment Share on other sites More sharing options...
ffm2 Posted 14 hours ago Author Report Share Posted 14 hours ago For normal clicks. There's "advanced" techniques like Jitter-, Butterfly- and Drag-clicking up to 30+cps. But I think someone with drag-clicks would miss a lot of soldiers i.e. with alt-click send units with walk. Quote Link to comment Share on other sites More sharing options...
ffm2 Posted 14 hours ago Author Report Share Posted 14 hours ago These are other games with berhudar who reaches quite high values but not every time. Sorry for the big legends. Quote Link to comment Share on other sites More sharing options...
AInur Posted 12 hours ago Report Share Posted 12 hours ago An idea: in order to ascertain the cause of these superhuman click rates, we can write a keylogger program that captures the mouse input of a volunteer. Then we can match the inputs to the turn times to check whether the commands were indeed issued by the physical hardware or 0ad bug or snipe script. One very simple example is to log the mouse click activity of the volunteer over the duration of one game and check the maximum mouse click rate Quote Link to comment Share on other sites More sharing options...
AInur Posted 8 hours ago Report Share Posted 8 hours ago @ffm2, can you explain the difference between single attack and group attack? Here are 2 graphs from a replay that I saved: Being Astra- (1550) myself, I am sure that I didn't click on units 8 times in one second. I was not that fast. My main attack moves were Ctrl+Q and occasionally selecting 25 archers as dedicated snipers. My snipe move was holding down shift then right click on enemy units, which makes the sniper team kill off selcted enemies one by one. I didn't use Alt-click as I don't know how. 1 Quote Link to comment Share on other sites More sharing options...
ffm2 Posted 8 hours ago Author Report Share Posted 8 hours ago 24 minutes ago, AInur said: the difference between single attack and group attack A single attack looks like this in the commands.txt: cmd 8 {"type":"attack","entities":[10681],"target":8109,"queued":false,"pushFront":false,"allowCapture":false,"formation":"special/formations/null"} The one unit with the entity ID 10681 get the command to attack unit 8109, not queued. AFAIK this can be done either selecting the unit and right click on the enemy unit or selecting this unit and other units with higher entity IDs and hold alt right click on the enemy unit A group command looks like this: cmd 6 {"type":"attack","entities":[452,6571,6572],"target":203,"queued":false,"pushFront":false,"allowCapture":false} The units 452 6571 and 6572 get the command to attack the unit 203 at the same time probably with one control group and just right click. 24 minutes ago, AInur said: My snipe move was holding down shift then right click on enemy units this should look something like this: cmd 1 {"type":"attack","entities":[9341,9342],"target":9345,"queued":true,"pushFront":false,"allowCapture":false,"formation":"special/formations/null"} so with "queued":true. In these two plots it should always be not queued as this is the pattern I was looking for. Please check the replay and think what you would do in the situation on the timestamp. Maybe you can replicate it. 2 Quote Link to comment Share on other sites More sharing options...
AInur Posted 7 hours ago Report Share Posted 7 hours ago (edited) 25 minutes ago, ffm2 said: either selecting the unit and right click on the enemy unit This is exactly what I did, but repeated maybe 2 times in 1 second? I often use alt + E to select cavalry and alt to select infantry. Maybe that was counted in this. I made an upgraded version of your script which batch processes all replays in the replay folder, writing the output graphs to each replay folder. This is more automatic, faster and fail proof snipe_analyser_pro.py Edited 7 hours ago by AInur 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.