dude you must send the packet for all players on the same region
Packet pack = new Packet(0x30DF); // update title packet
pack.WriteUInt32(session.Character.UniqueID); // Char UniqueID
pack.WriteUInt8(TitleID); // title numb
SessionExt.BroadCastToSameRegion(session, pack); // here method thats send the packet for every player on the same region
its simple for each player send the title update packet
i use supermike source...
but i cant use this session:
--- SessionExt.BroadCastToSameRegion(session, pack);
how i can find player around chars with use SUPERMIKE ???
if (agreement)
{
if (ThisRegion == "C->S")
{
m_RemoteSecurity.Send(packet);
}
else
{
m_LocalSecurity.Send(packet);
}
}
else
{
if (ThisRegion == "C->S")
{
m_LocalSecurity.Send(packet);
}
else
{
m_RemoteSecurity.Send(packet);
}
}
what in the actual fuck is that. PLEASE DO NOT USE THIS!
Quote:
Originally Posted by GhosTly93
I've been asking how I can do it for all days
ok here
Code:
class CSCommunication
{
// 2 sockets here
// 2 security instances
// buffer
// constructor
// methods
private void ForwardToClient()
{
var packets = this.clientSecurity.TransferOutGoing();
// loop & send
}
public void SendToClient(Packet pck) // you can always use a bool / enum to switch
{
this.clientSecurity.Send(pck);
this.ForwardToClient();
}
// public properties
public ushort RegionID {get;set;} // this updates everytime the user moves (use the S->C packets for reliability)
}
class SocketListener : Socket
{
// this is where you initialize your server's socket and your clients list
public List<CSCommunication> ConnectedClients = new List<CSCommunication>();
public void BroadCastToSameRegion(Packet pck, ushort region)
=> ConnectedClients.Where(c=>c.RegionID==region).ToList().Foreach(c=>c.SendToClient(pck));
}
notepad++ function names may not be the same but you get the concept
your statement has nothing to do with the code you posted
you had the choice of posting a proper piece of code to help him but instead you just distracted him and possibly put him in the wrong direction.
your statement has nothing to do with the code you posted
you had the choice of posting a proper piece of code to help him but instead you just distracted him and possibly put him in the wrong direction.
[Selling] PGI Title Crate Code ( PGI TITLE SET SKIN ) 07/25/2018 - PlayerUnknown's Battlegrounds Trading - 0 Replies Hallo,
ich verkaufe einen Key, der in PUBG im Shop aktiviert werden kann um eine PGI Title Crate freizuschalten. Diese Crate beinhaltet das gesamte Title Set.
/1 Ich akzeptiere nur Paypal F&F und werde auch nicht first gehen, es sei denn ihr habt 350+/0/0 positive TBMs.
Es wird nur über Epvp getraded, kein Skype, Discord usw. Zudem muss zuvor ein Trade eröffnet werden. Lest euch bitte vorher die Traderegeln von Epvp durch. Mit Abgabe eines Gebotes, stimmt ihr meinem /1 zu.
Mfg
[WTS] Account including all 4 campaigns + Wisdom Title [3] + Treasure title [near 3] 09/06/2009 - Guild Wars Trading - 6 Replies :
Hi, I'm sellin an Account including all 3 campaigns & EOTN.
It has no characters on it except an PvP Elementalist.
There are some green items and materials on storage, and 11 golden rin relicts
It's not plaync-bounded!!
I'm open for offers. (ectos, zkeys, rare pets or rare items only)
Contact:
..: 195759396
[tut] speed teleport (not map teleport) 08/11/2009 - 12Sky2 - 2 Replies you need cheat eng for this find the movement speed address
current: C61778
2. change to 99999
3. enable your run skill
your done you will go so fast you will teleport make sure you don't click in anything bad shit will happen
thank me :mofo: :mofo: :mofo:
How edit topic title? New title. 09/01/2007 - Conquer Online 2 - 2 Replies Since forum turned vbulletin, i cant edit topic title