This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#Set administrator ips here | |
Whitelist=("ADMIN_IP1 ADMIN_IP2 ADMIN_IP3") | |
#Host server flush | |
iptables -F | |
#Host server configuration | |
iptables -A INPUT -m state --state INVALID -j DROP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void LoginServer::UpdateServerList() | |
{ | |
// Update the user counts first | |
m_DBProcess.LoadUserCountList(); | |
Guard lock(m_serverListLock); | |
Packet & result = m_serverListPacket; | |
result.clear(); | |
result << uint8_t(m_ServerList.size()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alloc(ko_login, 512) | |
ko_login: | |
pushad | |
mov edx,[0100429C] //pointer | |
mov ecx,[edx+000000A8] //offset | |
mov eax,[ecx] | |
mov esi,[010050B8] // idbase | |
mov esi,[esi+2C] | |
mov esi,[esi+110] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alloc(ko_packet,512) | |
alloc(ko_send_packet, 512) | |
ko_packet: | |
dec eax //4800 Town Packet (String to Byte) | |
ko_send_packet: | |
mov ecx,[01005074] //KO_PTR_PKT | |
push 00000002 //Packet Length | |
push ko_packet //Packet Address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IV HEX: : 324EAA58BCB3AEE36BC74C56364734F2 | |
// PRIVATE HEX : 871FE52378A188AD22CF5EAA5B181E67 | |
// KEY : 0x2B 'den gelen key var - > aa5515002b490c103656494a4142555251435739475435480055aa - > KEY: 3656494a414255525143573947543548 | |
private readonly byte[] InitialVector = { 0x32, 0x4E, 0xAA, 0x58, 0xBC, 0xB3, 0xAE, 0xE3, 0x6B, 0xC7, 0x4C, 0x56, 0x36, 0x47, 0x34, 0xF2 }; | |
private readonly byte[] PrivateKey = { 0x87, 0x1F, 0xE5, 0x23, 0x78, 0xA1, 0x88, 0xAD, 0x22, 0xCF, 0x5E, 0xAA, 0x5B, 0x18, 0x1E, 0x67 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Vector3 MoveTowards(Vector3 current, Vector3 target) | |
{ | |
float maxDistanceDelta = 6.75f; | |
switch (MySelf.Speed) | |
{ | |
case 67: //Sprint - Swift | |
maxDistanceDelta = 10.125f; | |
break; | |
case 90: //Light Feet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
private void MyThread() | |
{ | |
try | |
{ | |
while (true) | |
{ | |
//Thread içerisinde ne çalışacaksa buraya |
NewerOlder