Author Topic: Know Reconnect  (Read 1518 times)

MalediC

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-2
    • View Profile
Know Reconnect
« on: March 04, 2014, 04:31:26 am »
First, Good Day! ^^

Good, i need know about reconnect system.
Example
I Have :
1 TCP Socket
1 Server TCP Socket with port 6120
1 UDP Server to broadcast 6112
1 Ghost++ with port 6150 (game created)

i started my server tcp with port 6120 , change port of map to 6120 and use UDP Server to broadcast with map packet (modified) on port 6112..
ok,ok..



Broadcast successfully

Go test to enter in game!





Success..

Now i need add support for use gproxy++
For use gproxy++ is only send packet : F8 01 08 00 01 00 00 00 ? or what?

Because i tried to send that packet to ghost on enter game.. more my Warcraft 3 closed and after closed my connection with TCP Socket

« Last Edit: March 04, 2014, 04:35:04 am by MalediC »

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: Know Reconnect
« Reply #1 on: March 04, 2014, 08:24:16 am »
You have to give more details. Just by reading your post it seems clear that your modified map packet in the GAMEINFO is causing problems, depending on how you modified it?

MalediC

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-2
    • View Profile
Re: Know Reconnect
« Reply #2 on: March 04, 2014, 09:07:33 am »
I resolved, was the packet 0xF8 sending to Warcraft..
Now i need know about system of reconnect.. example
I connect to game, ok.. send packet to use GProxy++, ok..
Shutdown internet to check.. wait.. and reconnect & change port of TCP Client to 6113 , use same ip address of old connection and try connect.
Ok also..

and now? What do I do?