0 Members and 3 Guests are viewing this topic.
public static void OnPlayerKill(object[] args) { Networks.SmartRefresh(); int shooter = (int)args[0]; int victim = (int)args[1]; IsBot(shooter); if (victim != shooter) { Zombies.Type Zombie = Zombies.ZombieTypeByName(Networks.stats.PlayerName[shooter]); if (Zombie != Zombies.Type.None) { Accounts.Upgrade(shooter, Zombie); if (Accounts.acc[shooter].exp >= Accounts.acc[shooter].maxexp) { Thread.Sleep(400); cmd.DrawText(shooter, "New level: " + Convert.ToString(Accounts.LevelUp(shooter)), 360, 1.2, 30, 200, 200, 200, 128); } } } }
Then you're spamming adminport with 300 packets per second? Right, you can hide outcoming connections using TCPAdminPM, but you can't hide the incoming ones which will be sent to all connected admins causing a nice spam and blocking the server's connection.
jrgp: I worry others will say 'its crap!' cuz I dont have yet time to implement the missing functions...