Sign in to follow this  
Followers 0
speed_minixter

Do A Bot That Starts When Cpu Boot...

14 posts in this topic

som1 tell how to do it if its possible and not too complicated explications because im a bit noob to autoit!! :D

Share this post


Link to post
Share on other sites



you mean a bot that runs when your pc starts up ??


Share this post


Link to post
Share on other sites

yes... when my pc starts up i want the bot to run.

and i have another question i cant get the value that i write in my GUI

$input_1 = GUISetControl("input","", 10,10, 290,40)
$button_2 = GUISetControl("button", "Save", 180,150, 60,30)

Case $msg1 = $input_1
Case $msg = $button_2
  IniWrite( "Config.ini", "Config", "message", $msg1)
  IniWrite( "Config.ini", "Config", "nombre", $msg2)

if i type hello it wont write in the INI like i would like it ot do...

som1 got a solution?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

If you mean a script, put it in the startup folder, in the run or run once registry, etc etc.

Bot usually is short for Robot, or non player controlled(character) or computer assisted player. You could have autoit start up a game, and start up a Bot.

Please be a bit more specific in asking questions.

AutoIt is not the best choice for Bot gaming, but it is great for having the computer do all your work for ya. We discussed a messenger bot for instance to autoreply, and even do tasks when commanded via a msg.

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

try

$msg1 = GuiRead ($input_1)
$msg2 = GuiRead ($button_2)
 IniWrite( "Config.ini", "Config", "message", $msg1)
 IniWrite( "Config.ini", "Config", "nombre", $msg2)

case is used for select..case..endselect.

Manual shows many examples


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

wouldn't it be cool if someone wrote a game that was designed for only being played by people's scripted bots? making the real contest who can write the best code?


"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

For my fisrt question yes i want it in the startup folder so it can start by himself after my computer is done booting. should i do a regwrite or move my script in th startup folder?

when i write this command

$msg1 = GuiRead ($Input_1)

it give me what is in the second brackets

$input_1 = GUISetControl("input","(here)", 10,10, 290,40)

so how can i get the additional information that i write in my gui input box! :D

Edited by speed_minixter

Share this post


Link to post
Share on other sites

RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "someting", "REG_SZ", """C:\blabla.exe""")

add this and the bot will run everytime you start ur pc up


Share this post


Link to post
Share on other sites

thx dude :D

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

Normally I would put it in the startup folder, it is easy, and it loads after windows loads up.

Registry Run loads first, and can cause a few issues if you have no delay on it.

Up to you. Also if you don't know what you are doing, reg editing can be dangerous.

So basically:

Novice=Startup folder

Intermediate=Registry

Advanced=RunAsService

of course knowing why and why not is 99% of the answer.

So, even the most advanced users use Startup folder when it is the best solution.

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

#11 ·  Posted

yes start folder is good to :D

with Registry you can put the .exe file where you want :huh2:


Share this post


Link to post
Share on other sites

#12 ·  Posted

yes start folder is good to :D

with Registry you can put the .exe file where you want :huh2:

Never heard of putting a shortcut to the exe in the Startup folder?

Share this post


Link to post
Share on other sites

#13 ·  Posted

For those that would like some of the more advanced ability without needing to know as much, check out the Startup Control Panel (CPL) on the linked page. This is a GUI based way to add, remove, and deactivate programs that start on boot in 5 different registry locations. I use it all the time when I wish to start tasks on boot. It also lets me run some administrator related services without appearing in the user's "startup" folder (where even a novice user could find and delete it.)


[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Share this post


Link to post
Share on other sites

#14 ·  Posted

there already is a scripted bot game but its in pbasic

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0