News:

Help! We're trapped in the computer, and the computer is trapped in 2008! Someone call the time police!

Main Menu

New Feature

Started by Furious, October 09, 2005, 11:29:11 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Armin

That's wayy to easy though.  :(
Hitmen: art is gay

Blaze

Easy and efficient... so it must be all wrong?
And like a fool I believed myself, and thought I was somebody else...

Joe

Just figure out what port starcraft is connected on (netstat), open a raw socket, and send Battle.net broadcasts from Battle.net (the TCP protocol allows you to specify where it came from) to StarCraft (again, send it to SC's port).
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Newby

Quote from: Joe[e2] on October 11, 2005, 07:32:44 PM
Just figure out what port starcraft is connected on (netstat), open a raw socket, and send Battle.net broadcasts from Battle.net (the TCP protocol allows you to specify where it came from) to StarCraft (again, send it to SC's port).

You need to initiate a connection first... and if you send a SYN packet with the spoof source address of Battle.net, it's going to send a RST back to Battle.net..
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Blaze

Which is why my method would be best.
And like a fool I believed myself, and thought I was somebody else...

Joe

QuoteYou need to initiate a connection first... and if you send a SYN packet with the spoof source address of Battle.net, it's going to send a RST back to Battle.net..

Not if theres nothing to be responded to. IIRC, a client doesn't send back SID_IRecievedYourBroadcastAndImLettingYouKnow. =p
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Newby

Quote from: Joe[e2] on October 11, 2005, 09:40:33 PM
QuoteYou need to initiate a connection first... and if you send a SYN packet with the spoof source address of Battle.net, it's going to send a RST back to Battle.net..

Not if theres nothing to be responded to. IIRC, a client doesn't send back SID_IRecievedYourBroadcastAndImLettingYouKnow. =p

TCP != UDP.

You can't send a packet to a computer and assume it'll get there. Because you can't send the packet in the first place without initiating a connection (via SYN).

The server has to acknowledge your syn (through SYN/ACK sent back to you).
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

MyndFyre

UDP:
a->b I sent a message.

TCP:
a->b SYN
b->a SYN | ACK
a->b ACK
a->b message
b->a message received
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

Joe

Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Blaze

And like a fool I believed myself, and thought I was somebody else...

Ryan Marcus

Hmm.. Using Starcraft's built in print function is a tad more complicated then it looks, not to mention it would not be cross platform.

I got my idea to work:

Basicly, you hit F8 to toggle on and off.

When on, a  small box appears with a list of channels on the left, and the chat on the right. When you click on a channel on the left (or type one in) the bot joins that channel and begins to add the text to that window.

If you don't have F keys, its command/control + 8.

It works great.. I use it. Should be in the first beta release of my bot: http://luxer.cjb.net
Thanks, Ryan Marcus

Quote
<OG-Trust> I BET YOU GOT A CAR!
<OG-Trust> A JAPANESE CAR!
Quote
deadly: Big blue fatass to the rescue!
496620796F75722072656164696E6720746869732C20796F75722061206E6572642E00