Jump to content

automatically ask in 1v1 player to be sure it's a human a the other side


seeh
 Share

Recommended Posts

i wrote a simply script that pause the game in a early state and ask.

if nobody answer i could be little bit sure there is nobody there. (BTW in some other games i played versus nobody. was really annoying. maybe you remember)

it looks simple. its a hotkey that only works inside 0ad. if you press y. the python source:

```python
from datetime import datetime  
keyboard.send_keys('y')  
n = str(datetime.now())  
n1 = n[-1:]  
if int(n1) < 3:  
    clipboard.fill_clipboard("hi :) sorry need a minute. BTW are you stil there? HF")  
    keyboard.send_keys('<pause>')    
```

 

 

 

Edited by seeh
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...