Jump to content

CH changer in Packet


Recommended Posts

Hello guys, i want ask about:

How can i add in packet this code:

TPacketGCChannel p2;
p2.header = HEADER_GC_CHANNEL;
p2.channel = g_bChannel;
d->Packet(&p2, sizeof(p2));

Because i have just this:   .png

problem: 

The problem which I have is, that the channel changer works perfectly fine, but shows wrong Channel under the mini-map.

It works for all channel and also shows correct channel, when I choose the Ch in the login interface.

But when i change the CH while I'm in the game it works and I get "teleported" in the Channel which I have chosen, but under the mini-map it shows the Ch which I choose when I logged in via login interface.

#edit, i did all what was writen in the post: 


    but i havent last think from Mali:  (TPacketGCChannel p2;), because i have just code from up. // may be thats the problem.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.