Quote:
Originally Posted by blackout069
Its not, i completely abused your sever while playing on it. Dupe bug not fixed and many other shit as well XD
|
i actually explained why i didn't bother fixing any original bugs
but in case you missed it,
i don't remember saying ALL BUGS FIXED and in case it went over your head
the topic is a complete joke
Quote:
|
if you want to use bugs in our server please don't
|
i said the MOST ADVANCED (which is true) as a joke
it's not the MOST SECURE but yeah these exploits you were using in old SSN are fixed in the new server that i dropped
Code:
public class AntiExploit
{
[PacketHandler(0x30B8, Direction.Server)]
public heheType HandleStall(Packet pck, ProxyClient client)
{
if (pck.Remain <= 0) return heheType.BB;
uint playerID = pck.ReadUInt();
if (playerID == client.character.UniqueID)
{
string stallName = pck.ReadAscii();
client.character.Stall.Name = stallName;
client.SendNotice(stallName);
}
return heheType.NO;
}
[PacketHandler(0xB0B1, Direction.Server)]
public heheType HandleStallOpen(Packet pck, ProxyClient client)
{
bool flag = pck.ReadBool();
client.character.Stall.IsOpen = flag;
return heheType.NO;
}
[PacketHandler(0xB0BA, Direction.Server)]
public heheType HandleStallAction(Packet pck, ProxyClient client)
{
byte flag = pck.ReadByte();
byte type = pck.ReadByte();
if (flag == 1 && type == 6)
client.character.Stall.Description = pck.ReadAscii();
if (flag == 1 && type == 5) // stall network
{
byte flag1 = pck.ReadByte(); // is stall network prompt? 1 : 0
byte flag2 = pck.ReadByte(); // is stall network? 1 : 0
if (flag1 == 1 && flag2 == 1)
client.character.Stall.StallNetwork = true;
if (flag1 == 0)
client.character.Stall.IsModifying = true;
}
return heheType.NO;
}
[PacketHandler(0x70B5, Direction.Client)]
public heheType HandleStallInjection(Packet pck, ProxyClient client)
{
//byte flag = pck.ReadByte();
if (client.character.Stall.IsOpen)
{
client.SendNotice("HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH");
return heheType.BB;
}
return heheType.NO;
}
[PacketHandler(0xB0B2, Direction.Server)]
public heheType HandleStallClose(Packet pck, ProxyClient client)
{
byte flag = pck.ReadByte();
if (flag == 1 && client.character.Stall.IsOpen)
client.character.Stall.IsOpen = false;
else
return heheType.BB;
return heheType.NO;
}
}
if u plan on using this for your server
i can't guarantee how safe it is
do your own fixes and double check code please