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

Jan 10 2010, 6:03 am ProtoTank Post #21



When I want to host, i just rape everyone else's wireless in my house and hook the external modem right to my computer. haha.



I'm only here because they patched SC1 and made it free.

Jan 10 2010, 6:33 am Jack Post #22

>be faceless void >mfw I have no face

apos, you might try this: http://www.kratronic.com/tools/recorder/functions/index.html

Looks more functional and has a free 90 day trial, which should be plenty.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jan 10 2010, 8:13 pm Apos Post #23

I order you to forgive yourself!

I made my first test! Well it's not much but it's still pretty good.
In order to make it work, you will need to start starcraft and go to any channel. Once this is done, start the file and it will do a couple actions.
It will start by typing Hey in the channel, if it doesn't type that, you will need to restart.

I made a simple icon for the program.

Edit: You will need to be on Brood War
Edit2: I made it using Chaos Luncher (Starcraft in a window) it seems like it doesn't work as well without it.

Post has been edited 1 time(s), last time on Jan 10 2010, 9:18 pm by apos.




Jan 12 2010, 3:23 am Apos Post #24

I order you to forgive yourself!

I was able to start making a Stealthbot script. Right now, it can start my macro and move a map from the download folder to an other folder I named "Host". What I'm, planning to do with this is once the map is moved, the macro can, via starcraft, go to that specific folder and select the map.




Jan 12 2010, 3:29 am Jack Post #25

>be faceless void >mfw I have no face

I just wish I wasn't banned from online games, or I'd be testing and using this. Good work apos!



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jan 16 2010, 4:49 pm rayNimagi Post #26



Any progress on the bot?



Win by luck, lose by skill.

Jan 17 2010, 12:38 am Jack Post #27

>be faceless void >mfw I have no face

Are you going to let anyone use your hosting bot? Or is it just going to be people who ask and you like?



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jan 17 2010, 8:10 am Enoptromancy Post #28



This is actually an interesting concept.
I might take a look at the battle.net protocol, and also the in-lobby communication (I know some simple things about them, bnet uses TCP, lobby uses UDP links between each player, if anyone can point me to specifics of the protocols so I don't have to figure everything out for myself, it would be a great help.) and write an efficient program to do this without requiring starcraft running, and run it off my dedicated server.
Source code will be available to all.



None.

Jan 17 2010, 8:12 am Jack Post #29

>be faceless void >mfw I have no face

You might be able to find info about all that at bnet dev, or the place that hosts Zynastor's map hack. I can find links if you like.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Jan 17 2010, 8:19 am Enoptromancy Post #30



I have found information on the client to battle.net protocol. I'll start by implementing that, and move on to the client <-> client protocol once I can properly authenticate to BNet, and handle communication.



None.

Jan 18 2010, 8:41 pm Apos Post #31

I order you to forgive yourself!

Quote from Enoptromancy
I have found information on the client to battle.net protocol. I'll start by implementing that, and move on to the client <-> client protocol once I can properly authenticate to BNet, and handle communication.

That's pretty good, I'm going to add soon a verification to my script so that it can verify if the map that was asked to be hosted exists on the computer and if not, it will tell that it doesn't exists. I just want to know how your program will work exactly though.




Jan 18 2010, 10:05 pm ProtoTank Post #32



This would be so nice. I am always just connecting and reconnecting my Ethernet when I want to host, then my room mates get pissed at me when they are deprived from the wireless that I let them suckle from.



I'm only here because they patched SC1 and made it free.

Jan 19 2010, 10:07 am Enoptromancy Post #33



Quote from Apos
Quote from Enoptromancy
I have found information on the client to battle.net protocol. I'll start by implementing that, and move on to the client <-> client protocol once I can properly authenticate to BNet, and handle communication.

That's pretty good, I'm going to add soon a verification to my script so that it can verify if the map that was asked to be hosted exists on the computer and if not, it will tell that it doesn't exists. I just want to know how your program will work exactly though.
I plan to connect to the BNet server with the specified credentials, then listen for a whisper with game details (Map, Game name, password, etc)
Then create the game, giving the requester access to various commands to control the game (kick/ban, close/open slots, start game, etc)
Once I figure out the peer to peer protocol used in the lobby, I will start development on it.
And yes, verification that the map file exists is a must. I might make it possible to specify an optional argument in the command to start a game, as a direct URL to the SCM/SCX, however that is very easily abused (people giving it a huge, multi-gigabyte file to tie up the bot, and the bandwidth of the server is one of my fears.)
Better yet, a download map command, access for which would be given to trusted people only, would probably work better too.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
Please log in to shout.


Members Online: Roy