snollygolly / sourceio-automation

:video_game: A bot to automatically play s0urce.io for you
MIT License
28 stars 27 forks source link

Added draggable GUI for script #4

Closed LeeConnelly12 closed 7 years ago

LeeConnelly12 commented 7 years ago

Added a draggable GUI window for the script. So far only has stop, restart bot buttons along with Github link.

I think it would be nice to have a GUI to change the word frequency and other options without having to type app.stop() in console and modifying the script.

snollygolly commented 7 years ago

This is fantastic! I think having the word frequency, attacker index, mine frequency, etc. exposed in the GUI would be great. Great work, and I hope to see more later :shipit:

LeeConnelly12 commented 7 years ago

Thanks I appreciate it,

gonna be honest though, that draggable function was a snippet from stack overflow, i tried rewriting it in jquery to keep the consistency but haven't got anywhere lol.

On 26 June 2017 at 23:47, Matt Horning notifications@github.com wrote:

Merged #4 https://github.com/snollygolly/sourceio-automation/pull/4.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snollygolly/sourceio-automation/pull/4#event-1139557741, or mute the thread https://github.com/notifications/unsubscribe-auth/AYghV60wqsyNngJ_AxLZFyYF5uvycZbvks5sIDUWgaJpZM4OF8RL .

snollygolly commented 7 years ago

I rewrote it to show you what that might look like. Let me know if you have any questions: https://github.com/snollygolly/sourceio-automation/pull/5

LeeConnelly12 commented 7 years ago

Yeah that function looks much better now,

looks more like it is part of the script instead of a random snippet.

On 27 June 2017 at 01:41, Matt Horning notifications@github.com wrote:

I rewrote it to show you what that might look like. Let me know if you have any questions: #5 https://github.com/snollygolly/sourceio-automation/pull/5

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snollygolly/sourceio-automation/pull/4#issuecomment-311220262, or mute the thread https://github.com/notifications/unsubscribe-auth/AYghV9SWllHy6ToJpaUWQk7lscyQ1qEvks5sIE-tgaJpZM4OF8RL .