Skip to content

Instantly share code, notes, and snippets.

@ZeusAFK
ZeusAFK / ZeusAFK_Multiclient.cs
Created August 24, 2012 14:25
USKO Knight Online World Multiclient source code in C#.NET by ZeusAFK
// By ZeusAFK
// Multiclient ARP patch source code for knight online
// For fun and learning only
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
@ZeusAFK
ZeusAFK / koaddrs
Created October 15, 2012 17:57
Knight Online pointers and offsets
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ZeusAFK_koxp.NET
{
@ZeusAFK
ZeusAFK / KO_MX KO_MY Update Algorith.c
Created October 19, 2012 13:39
KO_MX, KO_MY Update Algorith
void UpdateMouse(){
DWORD ADDR_CHRB = RDWORD(0xD74C9C);
float CharX =*(FLOAT*)(ADDR_CHRB + 0xD8);
float CharY =*(FLOAT*)(ADDR_CHRB + 0xE0);
for(int i = 1; i < 1000; i++){
float MouseX1 =*(FLOAT*)(ADDR_CHRB + 0xD84 + i);
float MouseX2 =*(FLOAT*)(ADDR_CHRB + 0xD84 - i);
@ZeusAFK
ZeusAFK / speed.c
Created October 19, 2012 13:51
speed hack c++ knight online
void run(float x, float y, short mode) {
printf("Moving to: %f, %f Mode: %d\n", x, y, mode);
BYTE pBytes1[] = { 0x06, 0 ,0 ,0 ,0 , 0x2F, 0x00, 0x2D, 0x00, mode};
WORD buffer(0);
buffer=((int) x) * 10;
CopyBytes(pBytes1 + 1, buffer);
buffer=((int) y) * 10;
CopyBytes(pBytes1 + 3, buffer);
SendPackets(pBytes1, sizeof(pBytes1));
}
@ZeusAFK
ZeusAFK / Addresses.cs
Created October 19, 2012 14:19
Address class knight online
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ZeusAFK_koxp.NET
{
@ZeusAFK
ZeusAFK / bypass.c
Created October 22, 2012 18:54
bypass code test
// dllmain.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"
#include <Windows.h>
#include <stdio.h>
#include <iostream>
#include <stdlib.h>
#include <fstream>
#include <strsafe.h>
using namespace std;
@ZeusAFK
ZeusAFK / uskobypass.c
Created October 22, 2012 21:58
bypass code for knightonline
#include "stdafx.h"
#include <Windows.h>
#include <stdio.h>
#include <iostream>
#include <stdlib.h>
#include <fstream>
#include <strsafe.h>
using namespace std;
@ZeusAFK
ZeusAFK / skills.cs
Created November 1, 2012 15:30
SuperArcher knight online
public void SuperArcher()
{
Packet("3101" + AlignDWORD(new IntPtr(int.Parse(FindClass().ToString() + "515"))).Substring(0, 6) + "00" + CharID() + EnemyID() + "0000000000000000000000000D00");
Packet("3102" + AlignDWORD(new IntPtr(int.Parse(FindClass().ToString() + "515"))).Substring(0, 6) + "00" + CharID() + EnemyID() + "000000000000040000000000");
Packet("3103" + AlignDWORD(new IntPtr(int.Parse(FindClass().ToString() + "515"))).Substring(0, 6) + "00" + CharID() + EnemyID() + "0000000000000400000000000000");
Packet("3104" + AlignDWORD(new IntPtr(int.Parse(FindClass().ToString() + "515"))).Substring(0, 6) + "00" + CharID() + EnemyID() + AlignDWORD(new IntPtr(CharX())).Substring(0, 4) + AlignDWORD(new IntPtr(CharZ())).Substring(0, 4) + AlignDWORD(new IntPtr(CharY())).Substring(0, 4) + "9BFF040000000000");
Packet("3103" + AlignDWORD(new IntPtr(int.Parse(FindClass().ToString() + "515"))).Substring(0, 6) + "00" + CharID() + EnemyID() + "000
@ZeusAFK
ZeusAFK / ZeusAFK.log
Created November 1, 2012 15:36
Packet Log
Packet: 608B0D7CD3C300BF804A8300FFD761C3
Packet: 608B0D7CD3C300BF804A8300FFD761C3
Packet: 608B0D7CD3C300BF804A8300FFD761C3
Packet: 608B0D7CD3C300BF804A8300FFD761C3
Packet: 3101742E0300F3086E29FB020000B1010000000000000D00
Packet: 3102742E0300F3086E29FB020000B101000000000000
Packet: 3103742E0300F3086E29FB020000B1010000000000000000
Packet: 3101742E0300F3086E29FB020000B1010000000000000D00
Packet: 3102742E0300F3086E29FB020000B101000000000000
Packet: 3103742E0300F3086E29FB020000B1010000000000000000
@ZeusAFK
ZeusAFK / warmup.java
Created November 10, 2012 13:16
solucion a los problemas del WarmUp final latinoamericana ACM-ICPC
package acm2012;
import java.text.DecimalFormat;
import java.util.Scanner;
public class ACM2012 {
static Scanner in = new Scanner(System.in);
public static void main(String[] args) {