Jump to content
  • 0

Cambiador de CH


lordakiuss

Question

Hola, syser no marca error, ni en los CH ni en la db, cliente tampoco marca error en el syser.

                                                               Sin-t-tulo.png

Al cambiar de CH, el minimapa no cambia por lo que doy a entender que sigo en el mismo CH.

Esta funcion es la que hace el cambio de CH. 

Sin-t-tulo.png

Los files traen por defecto el proxy_ip instalado, he estado intentado de insertar este codigo con el proxy_ip y no he sido capaz. Solicito ayuda 🙂

 

//Find
	p.lAddr = lAddr;
	p.wPort = wPort;

///Change
#if defined(__BL_MOVE_CHANNEL__)
	p.lAddr	= lCustomAddr ? lCustomAddr : lAddr;
	p.wPort	= wCustomPort ? wCustomPort : wPort;
#else
	p.lAddr = lAddr;
	p.wPort = wPort;
#endif

 

	p.bHeader	= HEADER_GC_WARP;
	p.lX	= x;
	p.lY	= y;

	p.lAddr = lAddr;



#ifdef ENABLE_PROXY_IP
	if (!g_stProxyIP.empty())
		p.lAddr = inet_addr(g_stProxyIP.c_str());
#endif

	p.wPort = wPort;



	GetDesc()->Packet(&p, sizeof(TPacketGCWarp));

 

 

Alguno puede decirme como se inserta correctamente. Gracias!!

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...