• Welcome to Valhalla Legends Archive.
 
Main Menu

Game pause packets

Started by Morfi, October 31, 2009, 07:03 AM

Previous topic - Next topic

Morfi

Hi,

sorry for unprofessional question.
I would like to add observer pause to very popular GHost.

However due the lack of knowledge I don't how to capture and/or separate obs pause packets.
And obviously afterwards implement them.

on codelain my topic stays active for over month, people are active but in fact business isn't finished yet.

thanks in advance for your help and attention

Krauzi

*bump*
im also very interested in this...

Imperceptus

do you know how to capture packets?
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.

Morfi

Quote from: Imperceptus on November 10, 2009, 12:49 PM
do you know how to capture packets?

I tried to do this, however there are so many packets incoming/outgoing that I didn't know which is the one I'm looking for.

However, Varlock found and published this website:
http://w3g.deepnode.de/

in their documentation is everything I needed ;)

Imperceptus

I would strongly recommend you familiarize yourself with using Wireshark and filtering packets. you will come to places in your code where its best to reference your packets as well as documentation.  my experience is that usually what im looking for isn't documented, so i must figure out the packet on my own.
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.

Morfi

Quote from: Imperceptus on November 11, 2009, 11:22 AM
I would strongly recommend you familiarize yourself with using Wireshark and filtering packets. you will come to places in your code where its best to reference your packets as well as documentation.  my experience is that usually what im looking for isn't documented, so i must figure out the packet on my own.

I would really like to. I'm nor familiar with this. I'm fed up with rtfm, rtfm only theory and theory reading tons of text.

It's much better when someone (a person) can follow, help, instruct.

I used wireshark but as I said. I didn't know what is what

Imperceptus

Wireshark comes with examples on how to start, its on the opening screen.  also I understand how it can be to want help. but Help here mainly comes from heuristic methods.  Most of the people here could easily tell you, but would rather show you the way to figure it out yourself so you can learn how to accomplish similar objectives in the future. 

For wireshark filtering packets, if you wanted to filter starcraft tcp packets i think you could use tcp.port == 6112. 
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.

Morfi

I know pal, I know..

Anyway I did use the wireshark weeks ago, added the filter as well but still.
When it was 3x3 game.
I was the referee, I pushed pause button and then I saw ~30 packets and how can I know which one is exactly the one which paused the game?

Imperceptus

I think game packets are UDP (I dont know for sure) but, what I would do Is go hit up http://www.bnetdocs.org/ .

You can right click on messages in the packet lag, choose "Follow" and it might help you find it better. a good way i think, would be to join a ums game, maybe make it a custom map you made so you can stay longer. Type Pause into chat then Pause the game, then type 'unpause' into the chat and unpause the game. this way you could look for the chat messages as a beacon to the pause messages.
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.