Jump to content

briancd2

Members
  • Posts

    5
  • Joined

  • Last visited

About briancd2

  • Birthday 01/07/1998

Profile Information

  • Location
    Alabama

Recent Profile Visitors

84 profile views

briancd2's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. ​It's not game automation (literally opens a msgbox for each button; nothing else). It's clearly a helpful tool with information regarding what rewards are located in a specific place that anyone can go to. The information can be accessed through the game's wiki as well. This tool was only made to make the process of getting this information faster. Thank you though.
  2. I honestly can't seem to figure out why this isn't working; however, I just learned about making a Gui and I wasn't very good at autoit initially. If someone could explain it or even clean it up, I'd be grateful. I didn't see the point in adding all the other functions yet considering that the 2 I had weren't working. #include <GuiConstantsEx.au3> GUI() Func GUI() Opt("GUIOnEventMode", 1) Opt("GUICoordMode", 1) GUICreate("BabyPandaDGAF's Wonderful Creation", 600, 475) GUISetOnEvent($GUI_EVENT_CLOSE, "Close") GUISetState() ;First Column GUICtrlCreateButton("Tower 1 Capture", 0, 0, 150, 68) GUISetOnEvent(-1, "T1C") GUICtrlCreateButton("Tower 1 Defense", 0, 68, 150, 68) GUISetOnEvent(-1, "T1D") GUICtrlCreateButton("Tower 1 Exterminate", 0, 136, 150, 68) GUISetOnEvent(-1, "T1E") GUICtrlCreateButton("Tower 1 Interception", 0, 204, 150, 68) GUISetOnEvent(-1, "T1I") GUICtrlCreateButton("Tower 1 Mobile Defense", 0, 272, 150, 68) GUISetOnEvent(-1, "T1MD") GUICtrlCreateButton("Tower 1 Sabotage", 0, 340, 150, 68) GUISetOnEvent(-1, "T1Sa") GUICtrlCreateButton("Tower 1 Survival", 0, 408, 150, 68) GUISetOnEvent(-1, "T1S") ; Second Column GUICtrlCreateButton("Tower 2 Capture", 150, 0, 150, 68) GUISetOnEvent(-1, "T2C") GUICtrlCreateButton("Tower 2 Defense", 150, 68, 150, 68) GUISetOnEvent(-1, "T2D") GUICtrlCreateButton("Tower 2 Exterminate", 150, 136, 150, 68) GUISetOnEvent(-1, "T2E") GUICtrlCreateButton("Tower 2 Interception", 150, 204, 150, 68) GUISetOnEvent(-1, "T2I") GUICtrlCreateButton("Tower 2 Mobile Defense", 150, 272, 150, 68) GUISetOnEvent(-1, "T2MD") GUICtrlCreateButton("Tower 2 Sabotage", 150, 340, 150, 68) GUISetOnEvent(-1, "T2Sa") GUICtrlCreateButton("Tower 2 Survival", 150, 408, 150, 68) GUISetOnEvent(-1, "T2S") ; Third Column GUICtrlCreateButton("Tower 3 Capture", 300, 0, 150, 68) GUISetOnEvent(-1, "T3C") GUICtrlCreateButton("Tower 3 Defense", 300, 68, 150, 68) GUISetOnEvent(-1, "T3D") GUICtrlCreateButton("Tower 3 Exterminate", 300, 136, 150, 68) GUISetOnEvent(-1, "T3E") GUICtrlCreateButton("Tower 3 Interception", 300, 204, 150, 68) GUISetOnEvent(-1, "T3I") GUICtrlCreateButton("Tower 3 Mobile Defense", 300, 272, 150, 68) GUISetOnEvent(-1, "T3MD") GUICtrlCreateButton("Tower 3 Sabotage", 300, 340, 150, 68) GUISetOnEvent(-1, "T3Sa") GUICtrlCreateButton("Tower 3 Survival", 300, 408, 150, 68) GUISetOnEvent(-1, "T3S") ; Fourth Column GUICtrlCreateButton("Tower 4 Capture", 450, 0, 150, 68) GUISetOnEvent(-1, "T4C") GUICtrlCreateButton("Tower 4 Defense", 450, 68, 150, 68) GUISetOnEvent(-1, "T4D") GUICtrlCreateButton("Tower 4 Exterminate", 450, 136, 150, 68) GUISetOnEvent(-1, "T4E") GUICtrlCreateButton("Tower 4 Interception", 450, 204, 150, 68) GUISetOnEvent(-1, "T4I") GUICtrlCreateButton("Tower 4 Mobile Defense", 450, 272, 150, 68) GUISetOnEvent(-1, "T4MD") GUICtrlCreateButton("Tower 4 Sabotage", 450, 340, 150, 68) GUISetOnEvent(-1, "T4Sa") GUICtrlCreateButton("Tower 4 Survival", 450, 408, 150, 68) GUISetOnEvent(-1, "T4S") While 1 Sleep(100) WEnd EndFunc Func T1C() MsgBox(0, "Tower 1 Capture Rewards", "Boar Prime Receiver" & @CRLF & "Lex Prime Receiver" & @CRLF & "Paris Prime Grip" & @CRLF & "Forma Blueprint" & @CRLF & "Odonata Prime Blueprint" & @CRLF & "Void Key" & @CRLF & "Fusion Core") EndFunc Func T1D() MsgBox(0, "Tower 1 Defense Rewards", "Rotation A: Forma Blueprint, Fusion Core, Orokin Cell, and Void Key") EndFunc Func Close() Exit 0 EndFunc
  3. Whenever I make a new script for anything, it's usually just to replace my own original method of doing things. The auto-clicker was me attempting to make something that could replace my other clicker even though I could have just easily downloaded another. Most scripts I make are for enjoyment; however, I originally wanted to learn Java and gave up on it pretty fast, so I see this as a gateway to simple coding.
  4. I looked at what you showed me and I couldn't relate it to what I was attempting to do, but I found out how to fix my problem. I actually feel very dumb right now. Func Bind() MsgBox(0, "Welcome", "F6 to pause. F7 to end the program. F8 to start. F9 to open this window.") EndFunc Func Terminate() Exit 0 EndFunc Func Pause() MsgBox(0,"Pause", "Press Ok when you're ready to resume.") Sleep(1500) EndFunc Func Begin() While 1 MouseClick("") WEnd EndFunc HotKeySet("{F6}", "Pause") HotKeySet("{F7}", "Terminate") HotKeySet("{F8}", "Begin") HotKeySet("{F9}", "Bind") Bind() While 1 Sleep(1) WEnd
  5. I'm brand new to coding, always been fascinated with it, and I can't seem to get this auto-clicker to work for me. Whenever I try to run the code, it gives me an error for lines 9 and 29. MsgBox(0, "Welcome", "This program was made by briancd2.") Func Change() Global $clicker = InputBox("", "How many clicks would you like to send?", "100") Global $switch = InputBox("", "Left(1) or Right(2) click?", "2") EndFunc Func hotkeys() MsgBox(0, "Hotkeys", "Press F6 to pause. Press F7 to begin. F8 to end the program. F9 to change clicks and right/left click. F10 to reopen this." EndFunc If Change() = True Then begin() EndIf hotkeys() If $switch = 1 Then $switcher = "left" ElseIf $switch = 2 Then $switcher = "right" Else $switch > 2 Then MsgBox(0, "", "Change your click to Left(1) or Right(2).") Change() EndIf Func click() MouseClick($switch,(,($clicker,(0)))) Sleep(500) change() EndFunc Func begin() While 1 click() WEnd EndFunc Func Terminate() Exit 0 EndFunc Func Pause() MsgBox(0,"Pause", "Press Ok when you're ready to resume.") Sleep(1500) EndFunc HotKeySet("{F7}", "begin") HotKeySet("{F8}", "Terminate") HotKeySet("{F6}","Pause") HotKeySet("{F9}", "change") HotKeySet("{F10}", "hotKey") While 1 Sleep(1) WEnd I honestly have no idea what I've done wrong; however, this is one of the only scripts I've made, so I wouldn't know what was wrong anyways.
×
×
  • Create New...