I order you to forgive yourself!
On battle.net it seems like a lot of people can't host, so maybe having a bot to host the game for you could resolve the problem.
This is one of the possibility a hosting bot could offer and there are probably a lot more.
Here are the ideas:
- The bot will work by whisper commands
- It will be able to host any map in the download folder
- It can do any normal action a host can do (Start game, Cancel Game, Ban, Boot, Close Slot, Open Slot...)
- You can specify if the bot should stay in game or leave during the briefing
- If the bot stays in game, an AI could be executed
What I thought was finding a way to make a macro do all that, I am not sure yet how the macro would detect a player whisper and I have never programed before. This is just in case someone else would be able to make it.
Please ask questions if you didn't fully understand and if you would be interested in making it. This is open to anybody willing to help.
Just here for the activity... well not really
I like this idea, considering I can't host.
If somebody is able to code this, props to them.
Though, on the down side, the game list might be flooded with advertisements.
guy lifting weight (animated smiley):
O-IC
OI-C
"Oh, I see it"
>be faceless void >mfw I have no face
It would be fairly simple to make a script that hosts a map, waits a few minutes, starts the game, presses cancel and repeats. However, I don't know how to make a program that can be whispered to, and do something based on those whispers.
Red classic.
"In short, their absurdities are so extreme that it is painful even to quote them."
I like this idea, considering I can't host.
I don't know how turning it into a bot is going to change anything, unless it uses an already-forwarded port.
None.
I order you to forgive yourself!
I like this idea, considering I can't host.
I don't know how turning it into a bot is going to change anything, unless it uses an already-forwarded port.
The bot will be on my computer
>be faceless void >mfw I have no face
Ah, you would allow others to access the bot, while it runs on your computer which CAN host. You might also ask the guys that made GHost++ to get it to work for SC.
Red classic.
"In short, their absurdities are so extreme that it is painful even to quote them."
I order you to forgive yourself!
I think a cool thing would be to whisper to my bot running on stealthbot and then, when it detects it will do an action on the computer (host the specified map with specified name.) It will be something similar to that I think.
Just here for the activity... well not really
I think it's like a bot that sits in Op SEN or whatever, and you can get it to host for you.
guy lifting weight (animated smiley):
O-IC
OI-C
"Oh, I see it"
>be faceless void >mfw I have no face
If there's a way to get SBot to run .exes, which there should be via a script, then I could make an Autohotkey exe that hosts a game. The trick would be getting it to choose a particular map, and it would require a bot plus a seperate SC CD key.
I'm not doing this alone though. If one of you makes a stealthbot script that runs an exe (with the parameter blah.scx) if you type .host blah.scx, then I'll try script the exe.
Post has been edited 1 time(s), last time on Jan 10 2010, 2:24 am by zany_001.
Red classic.
"In short, their absurdities are so extreme that it is painful even to quote them."
I order you to forgive yourself!
I'm registered on the stealthbot forum so I asked the question for the script there.
Would it be hard to make a script so that when there is a specific whisper command, it would run an .exe file that I choose?
Also, I want to give a parameter to the .exe file.
I never made any script so if someone could help me or do it I would appreciate it.
That's what I posted. Not sure if it was enough.
Post has been edited 1 time(s), last time on Jan 10 2010, 2:40 am by apos.
>be faceless void >mfw I have no face
Add that you want to pass the exe a parameter too. I'll go read up on Autohotkey scripts.
Red classic.
"In short, their absurdities are so extreme that it is painful even to quote them."
If you make it to your computer you can never turn it off unless you make specific times when you can use it and not and if you go on vacation that would be another isue. if it i connected to your computer then they could steal your internet or something or make your connection slow
None.
I order you to forgive yourself!
If you make it to your computer you can never turn it off unless you make specific times when you can use it and not and if you go on vacation that would be another isue. if it i connected to your computer then they could steal your internet or something or make your connection slow
The people will not have a real access to my computer, the whisper command will be all they can do and if they ask for other things like turn off the computer, it will get ignored.
I order you to forgive yourself!
I got this script
Script information
Program Loader (LoadProgram)
Author: 7thAce
Version: 1.1.1
Description: Loads programs with a command. Specify a filepath to have the script default that program to the filepath. See the command for more information.
Commands:
/load <Program name> [Filepath]
Loads the program specified by the program name. If you have never loaded that program, you need to specify a filepath for the script.
Once you define a filepath, you can omit the Filepath argument if you want to load the same program.
Example:
/load Starcraft C:/Program Files/Starcraft/Starcraft.exe
That will launch Starcraft. From now on, all I have to do is type
/load Starcraft
to launch it. If I wanted to redefine the filepath, then I would just type the Filepath argument again.
/load Starcraft C:/Program Files/Example Folder/Starcraft/Starcraft.exe
Important: To allow for multiple words in the Program name, use /load <Program name>::[Filepath]
Yes, with the colons. Not the prettiest way to tell if you want a multiple word name, but it works, and I couldn't come up with another way to do it.
Example:
/load Diablo 2::C:/Program Files/Diablo II/Diablo II.exe
Notes: Please read the top of the script for information. Anyone know why IPB auto-removes forward slashes from my post? All filepaths should have forward slashes, not backslashes.
Future updates: Please reply with feedback on a Multiload command (launches multiple programs at once). If I get enough good feedback, I'll add it. If you can suggest another way to allow for filepath creation and multiple words without using "::", please post so I can add it in. Would clean up the code a lot.
Download: Copy the script into a new text file in your scripts folder, or download it and place the text file in your scripts folder.
Code:
Spoiler
Script("Name") = "LoadProgram"
Script("Author") = "7thAce"
Script("Major") = 1
Script("Minor") = 1
Script("Revision") = 1
Script("Description") = "Loads a specified program."
'Changelog
'1.1.1:
'Fixed a dumb mistake on my part (Thanks Distinct)
'1.1.0:
'Added the ability to use multiple words for a load name
'Use /load <program name>::[Filepath]
'Yes, with the 2 colons. That's how the script knows that you are using multiple words
'Just a note, you can't use the character in your Program name. But that shouldn't be an issue, should it?
'Future ideas:
'Multiload - Loads multiple programs at once with a command.
'Ex. /load Stealthbots
'The script then loads your 3 bots (or whatever).
'Please! - Reply on the topic if you think this is a good (or bad) idea.
Sub Event_Pressedenter(Text)
If left(lcase(text), 6) = "/load " Then
Args = Split(text)
Vetothismessage()
If instr(text, "") = 0 Then
Args = Split(Text, " ", 2)
Prgmname = args(1)
Filepath = Getconfigentry(Prgmname, "Filepath", "Load paths.ini")
If filepath = vbnullstring Then
Addchat vbyellow, "No filepath specified - please specify one with /load <program name> <filepath>"
Else
Set wshShell = CreateObject("WScript.Shell")
Call wshShell.Exec(Filepath)
Addchat vbgreen, "Loading " & Prgmname & " from previously defined location... (" & Filepath & ")"
End If
Else
If ubound(Args) >= 2 and instr(text, "") > 0 Then
If instr(text, "::") > 0 Then
Args = split(text, "::")
Prgmname = Split(args(0), " ", 2)(1)
Filepath = Args(1)
Else
Args = split(text, " ", 3)
Prgmname = args(1)
Filepath = args(2)
End If
WriteConfigEntry Prgmname, "Filepath", Filepath, "Load paths.ini"
Addchat vbgreen, "Created entry for " & Prgmname & ". (" & Filepath & ")"
Set wshShell = CreateObject("WScript.Shell")
Call wshShell.Exec(Filepath)
Addchat vbgreen, "Loading " & Prgmname & "..."
Else
Addchat vbyellow, "Please follow the correct syntax. /load <program name> [filepath]"
End If
End If
End If
End Sub
All it does is launch a program. Now we need to find how we can use it.
What he's saying is, if your computer turns off, the bot stops. People might get a little annoyed. Plus, ("And here, we see another example of DJC's newness!") if they spam whispers ("Wow, he probably doesn't even know what a whisper in this context IS!"), they can lag you.
None.
I order you to forgive yourself!
Well this is a service that I offer to the people that can't host, it will happen that the bot won't be on but when it's there, the people will be able to use it. Stealthbot automatically saves all conversations and all whisper on a separate text file so I can always check who is not using it right and use the /squelch command.
Also, this is still pretty much just an idea still, I already made a macro that can give the command to starcraft though.
this should be used for private purposes with your friends (like me
) becase of the lag and bot being offline
None.
>be faceless void >mfw I have no face
apos what macro is this? If it's not enough to host alone, I'll try rig up a Autohotkey exe. Hardest thing is to get it to choose a specific map. There's probably a better way but I don't know it, short of coding an entire host bot.
Red classic.
"In short, their absurdities are so extreme that it is painful even to quote them."
I order you to forgive yourself!
I used jitbit macro recorder cause I can save the macro to .exe that way I can share it to anyone that doesn't have jitbit. It can also do things like IF this is true, do that... It can do alot.
>be faceless void >mfw I have no face
Sweet, i gotta check this out. Sounds a bit like autohotkey but better.
Red classic.
"In short, their absurdities are so extreme that it is painful even to quote them."