Staredit Network > Forums > General StarCraft > Topic: A hosting bot
A hosting bot
Jan 9 2010, 8:34 pm
By: Apos  

Jan 9 2010, 8:34 pm Apos Post #1

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.




Jan 9 2010, 11:13 pm l)ark_ssj9kevin Post #2

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"


Jan 9 2010, 11:42 pm Jack Post #3

>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."

Jan 10 2010, 1:20 am Falkoner Post #4



Quote
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.

Jan 10 2010, 1:50 am Apos Post #5

I order you to forgive yourself!

Quote from Falkoner
Quote
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




Jan 10 2010, 2:02 am Jack Post #6

>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."

Jan 10 2010, 2:12 am Apos Post #7

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.




Jan 10 2010, 2:12 am l)ark_ssj9kevin Post #8

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"


Jan 10 2010, 2:16 am Jack Post #9

>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."

Jan 10 2010, 2:34 am Apos Post #10

I order you to forgive yourself!

I'm registered on the stealthbot forum so I asked the question for the script there.

Quote
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.




Jan 10 2010, 2:37 am Jack Post #11

>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."

Jan 10 2010, 2:45 am SailRaiser Post #12



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 :bash:



None.

Jan 10 2010, 2:51 am Apos Post #13

I order you to forgive yourself!

Quote from SailRaiser
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 :bash:

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.




Jan 10 2010, 3:11 am Apos Post #14

I order you to forgive yourself!

I got this script
Script information

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

All it does is launch a program. Now we need to find how we can use it.




Jan 10 2010, 3:35 am DavidJCobb Post #15



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.

Jan 10 2010, 3:47 am Apos Post #16

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.




Jan 10 2010, 3:48 am SailRaiser Post #17



this should be used for private purposes with your friends (like me :D) becase of the lag and bot being offline



None.

Jan 10 2010, 4:57 am Jack Post #18

>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."

Jan 10 2010, 5:09 am Apos Post #19

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.




Jan 10 2010, 5:59 am Jack Post #20

>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."

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[11:31 pm]
Vrael -- :wob:
[08:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
Please log in to shout.


Members Online: Roy